WO2016169071A1 - Digital information transmission method and device for terminal based on proximity sensor - Google Patents

Digital information transmission method and device for terminal based on proximity sensor Download PDF

Info

Publication number
WO2016169071A1
WO2016169071A1 PCT/CN2015/078813 CN2015078813W WO2016169071A1 WO 2016169071 A1 WO2016169071 A1 WO 2016169071A1 CN 2015078813 W CN2015078813 W CN 2015078813W WO 2016169071 A1 WO2016169071 A1 WO 2016169071A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
binary
proximity sensor
transmitting terminal
terminal
Prior art date
Application number
PCT/CN2015/078813
Other languages
French (fr)
Chinese (zh)
Inventor
李云
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016169071A1 publication Critical patent/WO2016169071A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/11Arrangements specific to free-space transmission, i.e. transmission through air or vacuum
    • H04B10/114Indoor or close-range type systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/004Arrangements for detecting or preventing errors in the information received by using forward error control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/1607Details of the supervisory signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage

Definitions

  • the present invention relates to the field of wireless communication technologies, and in particular, to a terminal digital information transmission method and apparatus based on proximity sensors.
  • the data transmission methods on mobile devices are various. From wired to wireless, the speed is from high to low.
  • the basic principle is to convert the original data information into digital signals, and send and receive the information through some modulation method, and then Revert to raw data.
  • Most smartphones on the market are equipped with proximity sensors, which can emit infrared light and receive optical signals to determine whether an object is approaching or moving away, and report it to the application processor (AP) chip. If the object is close, the mobile phone AP is notified.
  • the chip turns off the liquid crystal display (LCD) backlight to reduce the power consumption of the system. When it is away, the mobile phone AP chip is notified to turn on the LCD.
  • LCD liquid crystal display
  • the proximity sensor can transmit and receive optical signals to achieve close-range, non-radiative point-to-point (P2P) secure communication.
  • P2P point-to-point
  • the proximity sensor itself has an infrared emitting light emitting diode (LED) and an infrared light detecting two-part module.
  • the infrared emitting portion can be turned on or off by an external processor, and the infrared receiving portion can detect the received light intensity, and the output value can be read by an external processor.
  • the mobile phone AP chip controls the infrared emitting module to emit infrared light, and the infrared light detector detects the amount of reflected infrared light through the internal infrared detector. When an object is in the infrared emission path, most of the infrared light is reflected back to the inside.
  • the detector can determine the proximity or in a distant state of the object by judging the amount of the received infrared light, and then the proximity sensor can report the state to the AP chip of the mobile phone through the interruption, and the AP chip controls the mobile phone. The features you need.
  • the embodiment of the invention provides a method and a device for transmitting digital information of a terminal based on a proximity sensor, so as to at least solve the problem that the prior art has a complicated transceiver circuit and is not advantageous for miniaturization of the product.
  • a proximity sensor-based terminal digital information transmission method including the following steps:
  • the mobile phone as the transmitting terminal and the mobile phone as the receiving terminal establish a communication link by using respective proximity sensors;
  • the transmitting terminal After establishing the communication link, the transmitting terminal generates a chopping signal corresponding to binary 0 and 1 information by turning on and off its proximity sensor with binary 0 and 1 information;
  • the receiving terminal receives the discontinuous signal with its proximity sensor, thereby obtaining binary 0 and 1 information of the transmitting terminal.
  • the transmitting terminal generates the intermittent signal corresponding to the binary 0 and 1 information by turning the proximity sensor on and off with the binary 0 and 1 information, including:
  • the transmitting terminal generates a first chopping signal corresponding to the binary 0 information by turning off its proximity sensor with binary 0 information;
  • the transmitting terminal generates a second intermittent signal corresponding to the binary 1 information by turning on its proximity sensor with binary 1 information.
  • the receiving terminal receives the discontinuous signal by using the proximity sensor, so that the binary 0 and 1 information of the transmitting terminal is obtained:
  • the method further comprises:
  • the transmitting terminal converts the original information to be transmitted into a data packet of binary 0 and 1 information, and saves the data packet to the buffer area of the transmitting terminal.
  • the method further comprises:
  • the receiving terminal After receiving the plurality of data packets of the binary 0 and 1 information sent by the transmitting terminal, the receiving terminal restores the binary 0 and 1 information included in the received plurality of data packets to original information, and Saved to the buffer area of the receiving terminal.
  • the sending terminal respectively sends verification information to the plurality of data packets in which the binary 0 and 1 information is sent to the receiving terminal, so as to distinguish the data packet by using the verification information.
  • a proximity sensor-based terminal digital information transmission apparatus including:
  • Generating a chopping signal module configured to, after establishing the communication link, the transmitting terminal generates a chopping signal corresponding to binary 0 and 1 information by turning on and off its proximity sensor with binary 0 and 1 information;
  • the receiving module is configured to receive, by the receiving terminal, the discontinuous signal by its proximity sensor, thereby obtaining binary 0 and 1 information of the transmitting terminal.
  • the generating the discontinuous signal module comprises:
  • a first chopping signal unit configured to: the transmitting terminal generates a first chopping signal corresponding to the binary 0 information by turning off its proximity sensor with binary 0 information;
  • a second chopping signal unit is arranged to generate, by the transmitting terminal, a second chopping signal corresponding to the binary 1 information by turning on its proximity sensor with binary 1 information.
  • the receiving module comprises:
  • the receiving unit is configured to receive, when the receiving terminal receives the second intermittent signal by using the proximity sensor, the data packet of the binary 0 and 1 information sent by the transmitting terminal.
  • the method further comprises:
  • a saving unit configured to convert the original information to be transmitted into a data packet of binary 0 and 1 information, and save the data packet to a buffer area of the transmitting terminal.
  • the embodiment of the invention realizes basic half-duplex communication by approaching the light sensor; in contrast, the NFC technology similar to the scope of use requires complex external circuits, special transceiver chips and large-area coil antennas, thereby increasing product cost. And the complexity of the design is not conducive to the miniaturization of the terminal products; and the medium and long-distance transmission protocol equipment such as Bluetooth is complicated, involving more standard patents, which is not conducive to cost reduction of the product; the infrared transceiver module requires a special module circuit; The circuit is simple and can be an effective complement to the close-to-point point-to-point communication method.
  • FIG. 1 is a flowchart of a method for transmitting digital information of a terminal based on a proximity sensor according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of a terminal digital information transmission apparatus based on a proximity sensor according to an embodiment of the present invention
  • 3 is a schematic diagram of processing of proximity transmitter signals of two mobile terminals according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of data transmission and reception between two mobile terminals according to an embodiment of the present invention.
  • FIG. 1 is a flowchart of a method for transmitting digital information of a terminal based on a proximity sensor according to an embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps:
  • Step S101 the mobile phone as the transmitting terminal and the mobile phone as the receiving terminal establish a communication link by using respective proximity sensors;
  • Step S102 after establishing the communication link, the transmitting terminal generates a discontinuous signal corresponding to the binary 0 and 1 information by turning on and off its proximity sensor by using binary 0 and 1 information;
  • Step S103 The receiving terminal receives the discontinuous signal by using its proximity sensor, thereby obtaining binary 0 and 1 information of the transmitting terminal.
  • the transmitting terminal generates the intermittent signal corresponding to the binary 0 and 1 information by turning on and off its proximity sensor with binary 0 and 1 information, including: the transmitting terminal closes its proximity by using binary 0 information. a sensor that generates a first chopping signal corresponding to binary 0 information; the transmitting terminal uses two The binary 1 information turns on its proximity sensor, producing a second intermittent signal corresponding to the binary 1 information. Receiving, by the receiving terminal, the discontinuous signal by its proximity sensor, thereby obtaining binary 0 and 1 information of the transmitting terminal, when the receiving terminal receives the second intermittent signal by using the proximity sensor thereof, Receiving a data packet of binary 0 and 1 information transmitted by the transmitting terminal.
  • the embodiment of the present invention further includes: the sending terminal converts the original information to be transmitted into a data packet of binary 0 and 1 information, and saves the data packet to the buffer area of the sending terminal.
  • the embodiment of the present invention further includes: after receiving the plurality of data packets of the binary 0 and 1 information sent by the sending terminal, the receiving terminal restores the binary 0 and 1 information included in the received plurality of data packets. It is the original information and is saved to the buffer area of the receiving terminal.
  • the sending terminal sends check information to each of the plurality of data packets that send the binary 0 and 1 information to the receiving terminal, so as to distinguish the data packet by using the check information.
  • FIG. 2 is a schematic diagram of a terminal digital information transmission device based on a proximity sensor according to an embodiment of the present invention. As shown in FIG. 2, the method includes: establishing a communication link module 201, generating a discontinuous signal module 202, and receiving a module 203.
  • Establishing a communication link module 201 the mobile phone configured as the transmitting terminal and the mobile phone as the receiving terminal establish a communication link by using respective proximity sensors; the generating the discontinuous signal module 202 is configured to establish the communication link Thereafter, the transmitting terminal generates a chopping signal corresponding to the binary 0 and 1 information by turning on and off its proximity sensor with binary 0 and 1 information; the receiving module 203 is configured to use the proximity sensor of the receiving terminal The discontinuous signal is received to obtain binary 0 and 1 information of the transmitting terminal.
  • the generating the chopping signal module 202 includes: a first chopping signal unit, configured to generate, by the transmitting terminal, a first chopping signal corresponding to the binary 0 information by turning off the proximity sensor with the binary 0 information. a second chopping signal unit configured to cause the transmitting terminal to generate a second chopping signal corresponding to the binary 1 information by turning on its proximity sensor with binary 1 information.
  • the receiving module 203 includes: a receiving unit, configured to receive a data packet of binary 0 and 1 information sent by the sending terminal when the receiving terminal receives the second intermittent signal by using the proximity sensor.
  • the present invention further includes a saving unit configured to convert the original information to be transmitted into a data packet of binary 0 and 1 information, and save the data packet to a buffer area of the transmitting terminal.
  • FIG. 3 is a schematic diagram of the proximity transmitter signal processing of two mobile terminals provided by the embodiment of the present invention. As shown in FIG. 3, the mobile phone A and the mobile phone B are included.
  • the proximity sensor Since there is an infrared light detecting part inside the proximity sensor, it can sense the intensity change of the received infrared light. When the received infrared light exceeds or falls below a certain threshold, an interrupt signal will be generated to inform the mobile phone.
  • the optical signal outside the AP chip has changed.
  • the AP chip reads the data close to the optical sensor. If the reading is greater than the high light intensity threshold, the value is 1, and the light intensity threshold is 0. The error between the two thresholds indicates error. .
  • the threshold value of high light intensity is greater than the value of low light intensity threshold.
  • the data interaction between the two mobile phones is in the half-duplex communication mode, that is, the A mobile phone only turns on the infrared emission LED close to the light sensor, and the LED turns on and off to indicate the transmission of the 1 and 0 information, and the B mobile phone only opens the infrared detection of the proximity light sensor.
  • the module through the cooperation with the mobile phone AP chip, receives the information sequence of 1 and 0, receives the information and stores it in the corresponding cache to be processed, and then converts the AP chip into another information form. This completes the transmission and reception of basic information, and its signal flow diagram is shown in Figure 1.
  • the transmitted information can be packaged with a specific coding tool so that it contains verification information.
  • the receiving end When the receiving end receives a packet, it will verify the received information, if it appears.
  • the error message discards the received information; a certain handshake interaction is required at the time of establishing the communication link, that is, the sequence in which the A mobile phone sends the request communication, and after receiving the reply sequence of the allowed communication sent by the B mobile phone within the specified time, the transmission is continued.
  • the next data packet if there is no reply, it will wait for the specified time to resend. If there is no reply after repeated retransmission, the communication will be interrupted.
  • FIG. 4 is a flowchart of data transmission and reception between two mobile terminals according to an embodiment of the present invention. As shown in FIG. 4, the method includes the following steps:
  • the first step at the data originating end (mobile phone A), the original data is divided and packaged by the data conversion module, converted into a data sequence suitable for transmission by the proximity sensor, stored in the mobile phone data buffer, waiting for the AP controller to access, and then Go to the next step.
  • Step 2 The AP controller (mobile phone A) controls the proximity light sensor according to the sequence of 0 and 1.
  • the preset LED is sent by the infrared LED, and then waits for the mobile phone B to respond. At this time, the B mobile phone opens the light. The sensor receives the path. If the A mobile phone does not receive the response packet of the consent link sent back by the mobile phone B within the specified time (for example, 1 ms), the mobile phone A will send the request again, if there is no B mobile phone within the specified number of requests (for example, 10 times) In response, the A mobile phone interrupts the request and returns the information requesting the failure to the user. If you receive a packet with the consent link from the B mobile phone method and receive it from the A mobile phone, the mobile phone A starts to send the data to be transmitted next.
  • Step 3 After the A and B mobile phones establish a link, the A mobile phone starts to send the first data packet to the B mobile phone, and then the A mobile phone waits for the B mobile phone to receive the normal response packet. If the A mobile phone does not receive the correct response from the B mobile phone within the specified time (for example, 1ms), the A mobile phone resends the data packet just sent at a certain time interval; if it exceeds the specified number of times (for example, 10 times), the A mobile phone returns If the B mobile phone sends a response packet within the specified time and within the specified number of times and receives it by the A mobile phone, the A mobile phone starts to send a second data packet, and each data packet has a packet header of sequence information. Used to distinguish the order of several packets before and after. And so on, until all the data is sent, and finally send the end packet to the B mobile phone to end the transmission. And report the completed information to the A mobile phone.
  • the specified time for example, 1ms
  • the A mobile phone resends the
  • Step 4 The B mobile phone immediately sends a response packet with the consent link after receiving the request packet of the A mobile phone for the first time; if the data packet is received, the CRC check is performed first, and if the data is correct, it is stored.
  • the internal buffer of the mobile phone is sent to the mobile phone A to receive the normal response packet; if the received data is incorrect, the data is discarded; if the next data packet is received and the serial number of the data packet in the cache is the same, the packet is discarded.
  • the mobile phone B is directly transmitted to the data processing module and parsed into the original data for use by the mobile phone. If the end message sent by the mobile phone A is received, the received information is reported to the B mobile phone, and finally the received data is parsed and restored to the transmitted original data.
  • the invention realizes the digital information transmission between two mobile phones by using the proximity sensor, and has the following significant advantages:
  • proximity light sensor as data communication is short-acting, no electromagnetic radiation, high communication concealment, low power and no radiation to the human body, and can be effectively supplemented by other wired and wireless data transmission methods.
  • a proximity sensor-based terminal digital information transmission method and apparatus provided by the embodiments of the present invention have the following beneficial effects: a new mobile phone data transmission method is implemented, using a proximity light sensor as a Data communication has short acting distance, no electromagnetic radiation, high communication concealment, low power and no radiation to the human body, and can be effectively supplemented by other wired and wireless data transmission methods. In addition, no complicated external circuit is required, and the design is simple and easy to implement, which is beneficial to the cost reduction of the terminal product.

Abstract

Disclosed are a digital information transmission method and device for a terminal based on a proximity sensor, which relate to the technical field of wireless communications. The method comprises the following steps: a mobile phone acting as a sending terminal and a mobile phone acting as a receiving terminal use respective proximity sensors to establish a communication link; after the communication link is established, the sending terminal enables and disables the proximity sensor thereof by means of binary 0 and 1 information, and generates an interrupted signal corresponding to the binary 0 and 1 information; and the receiving terminal uses the proximity sensor thereof to receive the interrupted signal so as to obtain the binary 0 and 1 information about the sending terminal. In the present invention, a complex external circuit is not needed, and the design is simple and easy to achieve, thereby facilitating the reducing of costs of a terminal product.

Description

一种基于接近传感器的终端数字信息传输方法及装置Terminal digital information transmission method and device based on proximity sensor 技术领域Technical field
本发明涉及无线通信技术领域,特别涉及一种基于接近传感器的终端数字信息传输方法及装置。The present invention relates to the field of wireless communication technologies, and in particular, to a terminal digital information transmission method and apparatus based on proximity sensors.
背景技术Background technique
目前手机设备上的数据传输手段多种多样,从有线到无线方式,速度由高到低,基本原理都是将原始数据信息转换为数字信号,并通过某种调制方式将信息发送并接收、然后还原为原始数据。市场上的大部分智能手机装配有接近光传感器,它可以自行发射红外光线并接收光信号来判断是否有物体接近或者远离,并上报给应用处理器(AP)芯片,如果物体接近则通知手机AP芯片关闭液晶显示器(LCD)背光降低系统功耗,远离时则通知手机AP芯片打开LCD。At present, the data transmission methods on mobile devices are various. From wired to wireless, the speed is from high to low. The basic principle is to convert the original data information into digital signals, and send and receive the information through some modulation method, and then Revert to raw data. Most smartphones on the market are equipped with proximity sensors, which can emit infrared light and receive optical signals to determine whether an object is approaching or moving away, and report it to the application processor (AP) chip. If the object is close, the mobile phone AP is notified. The chip turns off the liquid crystal display (LCD) backlight to reduce the power consumption of the system. When it is away, the mobile phone AP chip is notified to turn on the LCD.
本文将采用接近传感器可以发射并接收光信号的功能,实现手机近距离无辐射点对点(P2P)安全通信。In this paper, the proximity sensor can transmit and receive optical signals to achieve close-range, non-radiative point-to-point (P2P) secure communication.
1、接近传感器:1. Proximity sensor:
接近传感器本身具有红外发射发光二极管(LED)和红外光检测两部分模块。红外发射部分可由外部处理器控制打开或者关闭,红外接收部分可以检测接收到的光线强度,并输出数值可由外部处理器读取使用。一般情况下,手机AP芯片控制红外发射模块发出红外光线,同通过内部的红外线检测器来检测反射回来的红外线光量,当有物体在红外线发射的通路上的时候大部分的红外线被反射回到内部的红外线检测器中,该检测器可通过判断接收到的红外线光量来确定物体接近或在远离的状态,然后接近传感器可将该状态通过中断上报给手机的AP芯片,由AP芯片来控制手机实现所需要的功能。The proximity sensor itself has an infrared emitting light emitting diode (LED) and an infrared light detecting two-part module. The infrared emitting portion can be turned on or off by an external processor, and the infrared receiving portion can detect the received light intensity, and the output value can be read by an external processor. In general, the mobile phone AP chip controls the infrared emitting module to emit infrared light, and the infrared light detector detects the amount of reflected infrared light through the internal infrared detector. When an object is in the infrared emission path, most of the infrared light is reflected back to the inside. In the infrared detector, the detector can determine the proximity or in a distant state of the object by judging the amount of the received infrared light, and then the proximity sensor can report the state to the AP chip of the mobile phone through the interruption, and the AP chip controls the mobile phone. The features you need.
2、数字信息2, digital information
现代数字通信,将信息用基本的二进制数字来表示,用0和1表示两种不同状态,所有的复杂信息均可通过特定的变换转换成只用0和1表示的字串,使用二进制表示信息非常有利于信息的存储和传输,它构成了现代数字通信的基础。 In modern digital communication, information is represented by basic binary numbers. 0 and 1 are used to represent two different states. All complex information can be converted into a string represented by only 0 and 1 by a specific transformation, and information is represented by binary. It is very conducive to the storage and transmission of information, which forms the basis of modern digital communication.
发明内容Summary of the invention
本发明实施例提供了一种基于接近传感器的终端数字信息传输方法及装置,以至少解决现有技术中因含有复杂的收发电路而不利于产品小型化的问题。The embodiment of the invention provides a method and a device for transmitting digital information of a terminal based on a proximity sensor, so as to at least solve the problem that the prior art has a complicated transceiver circuit and is not advantageous for miniaturization of the product.
根据本发明实施例的一个方面,提供了一种基于接近传感器的终端数字信息传输方法,包括以下步骤:According to an aspect of an embodiment of the present invention, a proximity sensor-based terminal digital information transmission method is provided, including the following steps:
作为发送终端的手机和作为接收终端的手机利用各自的接近传感器建立通信链路;The mobile phone as the transmitting terminal and the mobile phone as the receiving terminal establish a communication link by using respective proximity sensors;
在建立所述通信链路后,所述发送终端通过用二进制0和1信息接通和关闭其接近传感器,产生对应于二进制0和1信息的断续信号;After establishing the communication link, the transmitting terminal generates a chopping signal corresponding to binary 0 and 1 information by turning on and off its proximity sensor with binary 0 and 1 information;
所述接收终端用其接近传感器接收所述断续信号,从而得到发送终端的二进制0和1信息。The receiving terminal receives the discontinuous signal with its proximity sensor, thereby obtaining binary 0 and 1 information of the transmitting terminal.
优选地,所述的所述发送终端通过用二进制0和1信息接通和关闭其接近传感器,产生对应于二进制0和1信息的断续信号包括:Preferably, the transmitting terminal generates the intermittent signal corresponding to the binary 0 and 1 information by turning the proximity sensor on and off with the binary 0 and 1 information, including:
所述发送终端通过用二进制0信息关闭其接近传感器,产生对应于二进制0信息的第一断续信号;The transmitting terminal generates a first chopping signal corresponding to the binary 0 information by turning off its proximity sensor with binary 0 information;
所述发送终端通过用二进制1信息接通其接近传感器,产生对应于二进制1信息的第二断续信号。The transmitting terminal generates a second intermittent signal corresponding to the binary 1 information by turning on its proximity sensor with binary 1 information.
优选地,所述的所述接收终端用其接近传感器接收所述断续信号,从而得到发送终端的二进制0和1信息包括:Preferably, the receiving terminal receives the discontinuous signal by using the proximity sensor, so that the binary 0 and 1 information of the transmitting terminal is obtained:
当所述接收终端用其接近传感器接收到所述第二断续信号时,接收所述发送终端发送的二进制0和1信息的数据包。And receiving, by the receiving terminal, the data packet of the binary 0 and 1 information sent by the transmitting terminal when the second intermittent signal is received by the proximity sensor.
优选地,还包括:Preferably, the method further comprises:
所述发送终端将待传输的原始信息转化为二进制0和1信息的数据包,并将其保存到所述发送终端的缓存区。The transmitting terminal converts the original information to be transmitted into a data packet of binary 0 and 1 information, and saves the data packet to the buffer area of the transmitting terminal.
优选地,还包括: Preferably, the method further comprises:
所述接收终端接收到所述发送终端发送的二进制0和1信息的多个数据包后,将所收到的多个数据包中所包含的二进制0和1信息还原为原始信息,并将其保存到所述接收终端的缓存区。After receiving the plurality of data packets of the binary 0 and 1 information sent by the transmitting terminal, the receiving terminal restores the binary 0 and 1 information included in the received plurality of data packets to original information, and Saved to the buffer area of the receiving terminal.
优选地,所述发送终端向所述接收终端发送二进制0和1信息的多个数据包中分别设有校验信息,以便利用所述校验信息区分所述数据包。Preferably, the sending terminal respectively sends verification information to the plurality of data packets in which the binary 0 and 1 information is sent to the receiving terminal, so as to distinguish the data packet by using the verification information.
根据本发明实施例的另一方面,提供了一种基于接近传感器的终端数字信息传输装置,包括:According to another aspect of the embodiments of the present invention, a proximity sensor-based terminal digital information transmission apparatus is provided, including:
建立通信链路模块,设置为作为发送终端的手机和作为接收终端的手机利用各自的接近传感器建立通信链路;Establishing a communication link module, and setting a communication link between the mobile phone as the transmitting terminal and the mobile phone as the receiving terminal by using respective proximity sensors;
产生断续信号模块,设置为在建立所述通信链路后,所述发送终端通过用二进制0和1信息接通和关闭其接近传感器,产生对应于二进制0和1信息的断续信号;Generating a chopping signal module, configured to, after establishing the communication link, the transmitting terminal generates a chopping signal corresponding to binary 0 and 1 information by turning on and off its proximity sensor with binary 0 and 1 information;
接收模块,设置为所述接收终端用其接近传感器接收所述断续信号,从而得到发送终端的二进制0和1信息。The receiving module is configured to receive, by the receiving terminal, the discontinuous signal by its proximity sensor, thereby obtaining binary 0 and 1 information of the transmitting terminal.
优选地,所述的产生断续信号模块包括:Preferably, the generating the discontinuous signal module comprises:
第一断续信号单元,设置为所述发送终端通过用二进制0信息关闭其接近传感器,产生对应于二进制0信息的第一断续信号;a first chopping signal unit, configured to: the transmitting terminal generates a first chopping signal corresponding to the binary 0 information by turning off its proximity sensor with binary 0 information;
第二断续信号单元,设置为所述发送终端通过用二进制1信息接通其接近传感器,产生对应于二进制1信息的第二断续信号。A second chopping signal unit is arranged to generate, by the transmitting terminal, a second chopping signal corresponding to the binary 1 information by turning on its proximity sensor with binary 1 information.
优选地,所述的接收模块包括:Preferably, the receiving module comprises:
接收单元,设置为当所述接收终端用其接近传感器接收到所述第二断续信号时,接收所述发送终端发送的二进制0和1信息的数据包。The receiving unit is configured to receive, when the receiving terminal receives the second intermittent signal by using the proximity sensor, the data packet of the binary 0 and 1 information sent by the transmitting terminal.
优选地,还包括:Preferably, the method further comprises:
保存单元,设置为所述发送终端将待传输的原始信息转化为二进制0和1信息的数据包,并将其保存到所述发送终端的缓存区。And a saving unit configured to convert the original information to be transmitted into a data packet of binary 0 and 1 information, and save the data packet to a buffer area of the transmitting terminal.
与现有技术相比较,本发明的有益效果在于: Compared with the prior art, the beneficial effects of the present invention are:
本发明实施例通过接近光传感器实现基本半双工通信;相比之下,与之使用范围相近的NFC技术需要复杂的外部电路、专门的收发芯片和面积很大的线圈天线,提高了产品成本和设计复杂度,不利于终端产品的小型化;而蓝牙等中远距离的传输协议设备构成复杂,涉及标准专利较多,不利于产品降成本;红外收发模块需要专门的模块电路;而本发明实现电路简单,可以作为近距离点对点通信方式的一种有效补充。The embodiment of the invention realizes basic half-duplex communication by approaching the light sensor; in contrast, the NFC technology similar to the scope of use requires complex external circuits, special transceiver chips and large-area coil antennas, thereby increasing product cost. And the complexity of the design is not conducive to the miniaturization of the terminal products; and the medium and long-distance transmission protocol equipment such as Bluetooth is complicated, involving more standard patents, which is not conducive to cost reduction of the product; the infrared transceiver module requires a special module circuit; The circuit is simple and can be an effective complement to the close-to-point point-to-point communication method.
附图说明DRAWINGS
图1是本发明实施例提供的一种基于接近传感器的终端数字信息传输方法流程图;1 is a flowchart of a method for transmitting digital information of a terminal based on a proximity sensor according to an embodiment of the present invention;
图2是本发明实施例提供的一种基于接近传感器的终端数字信息传输装置示意图;2 is a schematic diagram of a terminal digital information transmission apparatus based on a proximity sensor according to an embodiment of the present invention;
图3是本发明实施例提供的两个移动终端的接近传器信号处理示意图;3 is a schematic diagram of processing of proximity transmitter signals of two mobile terminals according to an embodiment of the present invention;
图4是本发明实施例提供的两个移动终端间的数据发送和接收的流程图。FIG. 4 is a flowchart of data transmission and reception between two mobile terminals according to an embodiment of the present invention.
具体实施方式detailed description
以下结合附图对本发明的优选实施例进行详细说明,应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The preferred embodiments of the present invention are described in detail below with reference to the accompanying drawings.
图1显示了本发明实施例提供的一种基于接近传感器的终端数字信息传输方法流程图,如图1所示,包括以下步骤:FIG. 1 is a flowchart of a method for transmitting digital information of a terminal based on a proximity sensor according to an embodiment of the present invention. As shown in FIG. 1 , the method includes the following steps:
步骤S101:作为发送终端的手机和作为接收终端的手机利用各自的接近传感器建立通信链路;Step S101: the mobile phone as the transmitting terminal and the mobile phone as the receiving terminal establish a communication link by using respective proximity sensors;
步骤S102:在建立所述通信链路后,所述发送终端通过用二进制0和1信息接通和关闭其接近传感器,产生对应于二进制0和1信息的断续信号;Step S102: after establishing the communication link, the transmitting terminal generates a discontinuous signal corresponding to the binary 0 and 1 information by turning on and off its proximity sensor by using binary 0 and 1 information;
步骤S103:所述接收终端用其接近传感器接收所述断续信号,从而得到发送终端的二进制0和1信息。Step S103: The receiving terminal receives the discontinuous signal by using its proximity sensor, thereby obtaining binary 0 and 1 information of the transmitting terminal.
其中,所述的所述发送终端通过用二进制0和1信息接通和关闭其接近传感器,产生对应于二进制0和1信息的断续信号包括:所述发送终端通过用二进制0信息关闭其接近传感器,产生对应于二进制0信息的第一断续信号;所述发送终端通过用二 进制1信息接通其接近传感器,产生对应于二进制1信息的第二断续信号。所述的所述接收终端用其接近传感器接收所述断续信号,从而得到发送终端的二进制0和1信息包括:当所述接收终端用其接近传感器接收到所述第二断续信号时,接收所述发送终端发送的二进制0和1信息的数据包。Wherein the transmitting terminal generates the intermittent signal corresponding to the binary 0 and 1 information by turning on and off its proximity sensor with binary 0 and 1 information, including: the transmitting terminal closes its proximity by using binary 0 information. a sensor that generates a first chopping signal corresponding to binary 0 information; the transmitting terminal uses two The binary 1 information turns on its proximity sensor, producing a second intermittent signal corresponding to the binary 1 information. Receiving, by the receiving terminal, the discontinuous signal by its proximity sensor, thereby obtaining binary 0 and 1 information of the transmitting terminal, when the receiving terminal receives the second intermittent signal by using the proximity sensor thereof, Receiving a data packet of binary 0 and 1 information transmitted by the transmitting terminal.
本发明实施例还包括:所述发送终端将待传输的原始信息转化为二进制0和1信息的数据包,并将其保存到所述发送终端的缓存区。The embodiment of the present invention further includes: the sending terminal converts the original information to be transmitted into a data packet of binary 0 and 1 information, and saves the data packet to the buffer area of the sending terminal.
本发明实施例还包括:所述接收终端接收到所述发送终端发送的二进制0和1信息的多个数据包后,将所收到的多个数据包中所包含的二进制0和1信息还原为原始信息,并将其保存到所述接收终端的缓存区。The embodiment of the present invention further includes: after receiving the plurality of data packets of the binary 0 and 1 information sent by the sending terminal, the receiving terminal restores the binary 0 and 1 information included in the received plurality of data packets. It is the original information and is saved to the buffer area of the receiving terminal.
其中,所述发送终端向所述接收终端发送二进制0和1信息的多个数据包中分别设有校验信息,以便利用所述校验信息区分所述数据包。The sending terminal sends check information to each of the plurality of data packets that send the binary 0 and 1 information to the receiving terminal, so as to distinguish the data packet by using the check information.
图2显示了本发明实施例提供的一种基于接近传感器的终端数字信息传输装置示意图,如图2所示,包括:建立通信链路模块201、产生断续信号模块202以及接收模块203。所述建立通信链路模块201,设置为作为发送终端的手机和作为接收终端的手机利用各自的接近传感器建立通信链路;所述产生断续信号模块202,设置为在建立所述通信链路后,所述发送终端通过用二进制0和1信息接通和关闭其接近传感器,产生对应于二进制0和1信息的断续信号;所述接收模块203,设置为所述接收终端用其接近传感器接收所述断续信号,从而得到发送终端的二进制0和1信息。FIG. 2 is a schematic diagram of a terminal digital information transmission device based on a proximity sensor according to an embodiment of the present invention. As shown in FIG. 2, the method includes: establishing a communication link module 201, generating a discontinuous signal module 202, and receiving a module 203. Establishing a communication link module 201, the mobile phone configured as the transmitting terminal and the mobile phone as the receiving terminal establish a communication link by using respective proximity sensors; the generating the discontinuous signal module 202 is configured to establish the communication link Thereafter, the transmitting terminal generates a chopping signal corresponding to the binary 0 and 1 information by turning on and off its proximity sensor with binary 0 and 1 information; the receiving module 203 is configured to use the proximity sensor of the receiving terminal The discontinuous signal is received to obtain binary 0 and 1 information of the transmitting terminal.
具体地说,所述的产生断续信号模块202包括:第一断续信号单元,设置为所述发送终端通过用二进制0信息关闭其接近传感器,产生对应于二进制0信息的第一断续信号;第二断续信号单元,设置为所述发送终端通过用二进制1信息接通其接近传感器,产生对应于二进制1信息的第二断续信号。所述的接收模块203包括:接收单元,设置为当所述接收终端用其接近传感器接收到所述第二断续信号时,接收所述发送终端发送的二进制0和1信息的数据包。Specifically, the generating the chopping signal module 202 includes: a first chopping signal unit, configured to generate, by the transmitting terminal, a first chopping signal corresponding to the binary 0 information by turning off the proximity sensor with the binary 0 information. a second chopping signal unit configured to cause the transmitting terminal to generate a second chopping signal corresponding to the binary 1 information by turning on its proximity sensor with binary 1 information. The receiving module 203 includes: a receiving unit, configured to receive a data packet of binary 0 and 1 information sent by the sending terminal when the receiving terminal receives the second intermittent signal by using the proximity sensor.
本发明还包括:保存单元,设置为所述发送终端将待传输的原始信息转化为二进制0和1信息的数据包,并将其保存到所述发送终端的缓存区。The present invention further includes a saving unit configured to convert the original information to be transmitted into a data packet of binary 0 and 1 information, and save the data packet to a buffer area of the transmitting terminal.
图3显示了本发明实施例提供的两个移动终端的接近传器信号处理示意图,如图3所示,包括手机A和手机B。 FIG. 3 is a schematic diagram of the proximity transmitter signal processing of two mobile terminals provided by the embodiment of the present invention. As shown in FIG. 3, the mobile phone A and the mobile phone B are included.
1、首先将所要传输的信息转化为二进制数据,即只有0和1表示的序列,将数据放到缓存当中备用,然后通过AP芯片控制接近光传感器的红外发射LED,以这些0、1序列来打开和关闭红外发射LED。AP芯片控制LED关闭表示信息0,以LED打开表示信息1。以这种方法可以得到数据通信中使用的发射器,红外光的有和无表示信息1和0,如果有一个可以感知光线变化的接收装置就可以读取到发射端的变化。1. First convert the information to be transmitted into binary data, that is, the sequence represented by only 0 and 1, put the data into the buffer for later use, and then control the infrared emission LED close to the light sensor through the AP chip, with these 0, 1 sequences. Turn the infrared emission LED on and off. The AP chip control LED is turned off to indicate information 0, and the LED is turned on to indicate information 1. In this way, the transmitter used in data communication can be obtained. The presence and absence of infrared light indicate information 1 and 0. If there is a receiving device that can sense the change of light, the change at the transmitting end can be read.
2、由于接近传感器内部还有一个红外光检测部分,它可以感知接收到的红外光的强弱变化,当接收到的红外线超过或者低于某一门限时都会向外产生一个中断信号,告知手机AP芯片外部的光信号已经发生变化,AP芯片此时读取接近光传感器内的数据,若读数大于高光强门限数值表示为1,小于光强门限表示0,介于两个门限之间表示误码。一般高光强的门限数值大于低光强门限数值。2. Since there is an infrared light detecting part inside the proximity sensor, it can sense the intensity change of the received infrared light. When the received infrared light exceeds or falls below a certain threshold, an interrupt signal will be generated to inform the mobile phone. The optical signal outside the AP chip has changed. The AP chip reads the data close to the optical sensor. If the reading is greater than the high light intensity threshold, the value is 1, and the light intensity threshold is 0. The error between the two thresholds indicates error. . Generally, the threshold value of high light intensity is greater than the value of low light intensity threshold.
3、为实现数据传输,需要有两个手机的接近光传感器同时打开。两个手机间的数据交互以半双工的通信模式,即A手机只打开接近光传感器的红外发射LED,用LED的打开关闭表示传输1和0信息,B手机只打开接近光传感器的红外检测模块,通过与手机AP芯片配合接收1和0的信息序列,收到信息后存入相应的缓存当中待处理,然后由AP芯片转换为别的信息形式。如此完成了一次基本信息的发送与接收,其信号流图如图1所示。3. In order to realize data transmission, it is necessary to have two mobile phone proximity light sensors open at the same time. The data interaction between the two mobile phones is in the half-duplex communication mode, that is, the A mobile phone only turns on the infrared emission LED close to the light sensor, and the LED turns on and off to indicate the transmission of the 1 and 0 information, and the B mobile phone only opens the infrared detection of the proximity light sensor. The module, through the cooperation with the mobile phone AP chip, receives the information sequence of 1 and 0, receives the information and stores it in the corresponding cache to be processed, and then converts the AP chip into another information form. This completes the transmission and reception of basic information, and its signal flow diagram is shown in Figure 1.
4、为了增强通信的质量,发射的信息可以使用特定的编码工具对其打包,使它包含校验信息,当接收端收到一个信息包后,会对收到的信息进行校验,如果出现误码则抛弃收到的信息;在建立通信链接之处需要进行一定的握手交互,即A手机发出请求通信的序列,在指定时间内收到B手机发出的允许通信的回复序列后,继续发送下一数据包;如果无回复则等待指定时间后重发,若重发数次仍无回复则中断通信。4. In order to enhance the quality of communication, the transmitted information can be packaged with a specific coding tool so that it contains verification information. When the receiving end receives a packet, it will verify the received information, if it appears. The error message discards the received information; a certain handshake interaction is required at the time of establishing the communication link, that is, the sequence in which the A mobile phone sends the request communication, and after receiving the reply sequence of the allowed communication sent by the B mobile phone within the specified time, the transmission is continued. The next data packet; if there is no reply, it will wait for the specified time to resend. If there is no reply after repeated retransmission, the communication will be interrupted.
图4显示了本发明实施例提供的两个移动终端间的数据发送和接收的流程图,如图4所示,包括以下步骤:FIG. 4 is a flowchart of data transmission and reception between two mobile terminals according to an embodiment of the present invention. As shown in FIG. 4, the method includes the following steps:
第一步:在数据发出端(手机A)通过数据转换模块将原始数据分块、打包,转换成适合通过接近传感器传输的数据序列,存放到手机数据缓存中,等待AP控制器取用,然后进入下一步。The first step: at the data originating end (mobile phone A), the original data is divided and packaged by the data conversion module, converted into a data sequence suitable for transmission by the proximity sensor, stored in the mobile phone data buffer, waiting for the AP controller to access, and then Go to the next step.
第二步:AP控制器(手机A端)根据0和1的序列控制接近光传感器通过红外LED发出预设的建立链接的数据包,然后等待手机B做出回应,此时B手机打开接近光传感器接收通路。如果在规定时间内(例如1ms)A手机没有收手机B发回的同意链接的应答包,手机A会再次发送请求,如果在规定请求次数内(例如10次)B手机都没有 回应,则A手机中断请求,并向用户返回请求失败的信息。如果收到B手机法发出同意链接的数据包,并由A手机收到,手机A则开始下一步发送需要传输的数据。Step 2: The AP controller (mobile phone A) controls the proximity light sensor according to the sequence of 0 and 1. The preset LED is sent by the infrared LED, and then waits for the mobile phone B to respond. At this time, the B mobile phone opens the light. The sensor receives the path. If the A mobile phone does not receive the response packet of the consent link sent back by the mobile phone B within the specified time (for example, 1 ms), the mobile phone A will send the request again, if there is no B mobile phone within the specified number of requests (for example, 10 times) In response, the A mobile phone interrupts the request and returns the information requesting the failure to the user. If you receive a packet with the consent link from the B mobile phone method and receive it from the A mobile phone, the mobile phone A starts to send the data to be transmitted next.
第三步:在A、B手机建立链接后,A手机开始向B手机发送第一个数据包,然后A手机等待B手机发出的接收正常的应答包。如果在规定时间内(例如1ms)A手机没有收到B手机的正确回应,A手机会以一定的时间间隔重新发送刚才发送的数据包;如果超过规定次数(比如10次),A手机就返回给用户通信失败的信息;如果B手机在规定时间和规定次数之内发出应答包并由A手机接收到,A手机就开始准备发送第二个数据包,每个数据包都有序列信息的包头,用于区分前后几个数据包的顺序。以此类推,直到所有数据发送完毕,最后向B手机发送结束包,用于结束传输。并向A手机上报传输完毕的信息。Step 3: After the A and B mobile phones establish a link, the A mobile phone starts to send the first data packet to the B mobile phone, and then the A mobile phone waits for the B mobile phone to receive the normal response packet. If the A mobile phone does not receive the correct response from the B mobile phone within the specified time (for example, 1ms), the A mobile phone resends the data packet just sent at a certain time interval; if it exceeds the specified number of times (for example, 10 times), the A mobile phone returns If the B mobile phone sends a response packet within the specified time and within the specified number of times and receives it by the A mobile phone, the A mobile phone starts to send a second data packet, and each data packet has a packet header of sequence information. Used to distinguish the order of several packets before and after. And so on, until all the data is sent, and finally send the end packet to the B mobile phone to end the transmission. And report the completed information to the A mobile phone.
第四步:B手机在第一次收到A手机的请求建立链接的请求包后立即发出同意链接的应答包;如果收到的是数据包,先进行CRC校验,如果数据正确则存放到手机内部缓存中,并且向手机A发送接收正常的应答包;如果收到的数据不正确则丢弃该数据;如果收到下一个数据包与缓存中的数据包序号相同,则丢弃该包。对于缓存中的数据包手机B直接传送给数据处理模块解析成原始数据供手机使用。如果收到手机A发送的结束信息,则向B手机上报接收完毕的信息,最后把收到的数据解析,还原成发送的原始数据。Step 4: The B mobile phone immediately sends a response packet with the consent link after receiving the request packet of the A mobile phone for the first time; if the data packet is received, the CRC check is performed first, and if the data is correct, it is stored. The internal buffer of the mobile phone is sent to the mobile phone A to receive the normal response packet; if the received data is incorrect, the data is discarded; if the next data packet is received and the serial number of the data packet in the cache is the same, the packet is discarded. For the data packet in the cache, the mobile phone B is directly transmitted to the data processing module and parsed into the original data for use by the mobile phone. If the end message sent by the mobile phone A is received, the received information is reported to the B mobile phone, and finally the received data is parsed and restored to the transmitted original data.
本发明是利用接近传感器实现两个手机间的数字信息传输,具有以下显著优点:The invention realizes the digital information transmission between two mobile phones by using the proximity sensor, and has the following significant advantages:
1、它拓宽了接近传感器的应用范围,同时实现了一种新的手机数据传输方式,为用户提供了更加丰富的体验。1. It broadens the application range of proximity sensors and realizes a new mobile phone data transmission method, providing users with a richer experience.
2、使用接近光传感器作为数据通信由于作用距离短、没有电磁辐射、通信隐蔽性高,功率低对人体无辐射,可以作为其他有线和无线数据传输方式的有效补充。2. The use of proximity light sensor as data communication is short-acting, no electromagnetic radiation, high communication concealment, low power and no radiation to the human body, and can be effectively supplemented by other wired and wireless data transmission methods.
3、无需复杂的外部电路,设计简便容易实现,有利于终端产品降成本。3. No complicated external circuit is needed, the design is simple and easy to implement, which is beneficial to the cost reduction of the terminal products.
尽管上文对本发明进行了详细说明,但是本发明不限于此,本技术领域技术人员可以根据本发明的原理进行各种修改。因此,凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。Although the invention has been described in detail above, the invention is not limited thereto, and various modifications may be made by those skilled in the art in accordance with the principles of the invention. Therefore, modifications made in accordance with the principles of the invention are to be understood as falling within the scope of the invention.
工业实用性Industrial applicability
如上所述,本发明实施例提供的一种基于接近传感器的终端数字信息传输方法及装置具有以下有益效果:实现了一种新的手机数据传输方式,使用接近光传感器作为 数据通信由于作用距离短、没有电磁辐射、通信隐蔽性高,功率低对人体无辐射,可以作为其他有线和无线数据传输方式的有效补充。此外,无需复杂的外部电路,设计简便容易实现,有利于终端产品降成本。 As described above, a proximity sensor-based terminal digital information transmission method and apparatus provided by the embodiments of the present invention have the following beneficial effects: a new mobile phone data transmission method is implemented, using a proximity light sensor as a Data communication has short acting distance, no electromagnetic radiation, high communication concealment, low power and no radiation to the human body, and can be effectively supplemented by other wired and wireless data transmission methods. In addition, no complicated external circuit is required, and the design is simple and easy to implement, which is beneficial to the cost reduction of the terminal product.

Claims (10)

  1. 一种基于接近传感器的终端数字信息传输方法,包括以下步骤:A terminal digital information transmission method based on proximity sensor, comprising the following steps:
    作为发送终端的手机和作为接收终端的手机利用各自的接近传感器建立通信链路;The mobile phone as the transmitting terminal and the mobile phone as the receiving terminal establish a communication link by using respective proximity sensors;
    在建立所述通信链路后,所述发送终端通过用二进制0和1信息接通和关闭其接近传感器,产生对应于二进制0和1信息的断续信号;After establishing the communication link, the transmitting terminal generates a chopping signal corresponding to binary 0 and 1 information by turning on and off its proximity sensor with binary 0 and 1 information;
    所述接收终端用其接近传感器接收所述断续信号,从而得到发送终端的二进制0和1信息。The receiving terminal receives the discontinuous signal with its proximity sensor, thereby obtaining binary 0 and 1 information of the transmitting terminal.
  2. 根据权利要求1所述的方法,其中,所述的所述发送终端通过用二进制0和1信息接通和关闭其接近传感器,产生对应于二进制0和1信息的断续信号包括:The method according to claim 1, wherein said transmitting terminal generates a chopping signal corresponding to binary 0 and 1 information by turning on and off its proximity sensor with binary 0 and 1 information, including:
    所述发送终端通过用二进制0信息关闭其接近传感器,产生对应于二进制0信息的第一断续信号;The transmitting terminal generates a first chopping signal corresponding to the binary 0 information by turning off its proximity sensor with binary 0 information;
    所述发送终端通过用二进制1信息接通其接近传感器,产生对应于二进制1信息的第二断续信号。The transmitting terminal generates a second intermittent signal corresponding to the binary 1 information by turning on its proximity sensor with binary 1 information.
  3. 根据权利要求2所述的方法,其中,所述的所述接收终端用其接近传感器接收所述断续信号,从而得到发送终端的二进制0和1信息包括:The method according to claim 2, wherein said receiving terminal receives said discontinuous signal with its proximity sensor, thereby obtaining binary 0 and 1 information of the transmitting terminal comprises:
    当所述接收终端用其接近传感器接收到所述第二断续信号时,接收所述发送终端发送的二进制0和1信息的数据包。And receiving, by the receiving terminal, the data packet of the binary 0 and 1 information sent by the transmitting terminal when the second intermittent signal is received by the proximity sensor.
  4. 根据权利要求1所述的方法,其中,还包括:The method of claim 1 further comprising:
    所述发送终端将待传输的原始信息转化为二进制0和1信息的数据包,并将其保存到所述发送终端的缓存区。The transmitting terminal converts the original information to be transmitted into a data packet of binary 0 and 1 information, and saves the data packet to the buffer area of the transmitting terminal.
  5. 根据权利要求4所述的方法,其中,还包括:The method of claim 4, further comprising:
    所述接收终端接收到所述发送终端发送的二进制0和1信息的多个数据包后,将所收到的多个数据包中所包含的二进制0和1信息还原为原始信息,并将其保存到所述接收终端的缓存区。 After receiving the plurality of data packets of the binary 0 and 1 information sent by the transmitting terminal, the receiving terminal restores the binary 0 and 1 information included in the received plurality of data packets to original information, and Saved to the buffer area of the receiving terminal.
  6. 根据权利要求1-5任一所述的方法,其中,所述发送终端向所述接收终端发送二进制0和1信息的多个数据包中分别设有校验信息,以便利用所述校验信息区分所述数据包。The method according to any one of claims 1 to 5, wherein the transmitting terminal respectively sets verification information to a plurality of data packets transmitting binary 0 and 1 information to the receiving terminal, so as to utilize the verification information. Distinguish the packet.
  7. 一种基于接近传感器的终端数字信息传输装置,包括:A terminal digital information transmission device based on proximity sensor, comprising:
    建立通信链路模块,设置为作为发送终端的手机和作为接收终端的手机利用各自的接近传感器建立通信链路;Establishing a communication link module, and setting a communication link between the mobile phone as the transmitting terminal and the mobile phone as the receiving terminal by using respective proximity sensors;
    产生断续信号模块,设置为在建立所述通信链路后,所述发送终端通过用二进制0和1信息接通和关闭其接近传感器,产生对应于二进制0和1信息的断续信号;Generating a chopping signal module, configured to, after establishing the communication link, the transmitting terminal generates a chopping signal corresponding to binary 0 and 1 information by turning on and off its proximity sensor with binary 0 and 1 information;
    接收模块,设置为所述接收终端用其接近传感器接收所述断续信号,从而得到发送终端的二进制0和1信息。The receiving module is configured to receive, by the receiving terminal, the discontinuous signal by its proximity sensor, thereby obtaining binary 0 and 1 information of the transmitting terminal.
  8. 根据权利要求1所述的装置,其中,所述的产生断续信号模块包括:The apparatus of claim 1 wherein said generating a discontinuous signal module comprises:
    第一断续信号单元,设置为所述发送终端通过用二进制0信息关闭其接近传感器,产生对应于二进制0信息的第一断续信号;a first chopping signal unit, configured to: the transmitting terminal generates a first chopping signal corresponding to the binary 0 information by turning off its proximity sensor with binary 0 information;
    第二断续信号单元,设置为所述发送终端通过用二进制1信息接通其接近传感器,产生对应于二进制1信息的第二断续信号。A second chopping signal unit is arranged to generate, by the transmitting terminal, a second chopping signal corresponding to the binary 1 information by turning on its proximity sensor with binary 1 information.
  9. 根据权利要求2所述的装置,其中,所述的接收模块包括:The apparatus of claim 2 wherein said receiving module comprises:
    接收单元,设置为当所述接收终端用其接近传感器接收到所述第二断续信号时,接收所述发送终端发送的二进制0和1信息的数据包。The receiving unit is configured to receive, when the receiving terminal receives the second intermittent signal by using the proximity sensor, the data packet of the binary 0 and 1 information sent by the transmitting terminal.
  10. 根据权利要求7所述的装置,其中,还包括:The apparatus according to claim 7, further comprising:
    保存单元,设置为所述发送终端将待传输的原始信息转化为二进制0和1信息的数据包,并将其保存到所述发送终端的缓存区。 And a saving unit configured to convert the original information to be transmitted into a data packet of binary 0 and 1 information, and save the data packet to a buffer area of the transmitting terminal.
PCT/CN2015/078813 2015-04-23 2015-05-12 Digital information transmission method and device for terminal based on proximity sensor WO2016169071A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510198342.3A CN106162518A (en) 2015-04-23 2015-04-23 A kind of terminal digital information transmission method based on proximity transducer and device
CN201510198342.3 2015-04-23

Publications (1)

Publication Number Publication Date
WO2016169071A1 true WO2016169071A1 (en) 2016-10-27

Family

ID=57144569

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/078813 WO2016169071A1 (en) 2015-04-23 2015-05-12 Digital information transmission method and device for terminal based on proximity sensor

Country Status (2)

Country Link
CN (1) CN106162518A (en)
WO (1) WO2016169071A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109961621B (en) * 2017-12-22 2021-07-23 中国电信股份有限公司 Automatic meter reading method, device and system and electric meter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5475381A (en) * 1992-01-28 1995-12-12 Servio Logic Corp. High speed infrared communications system using pulse sets
CN102025854A (en) * 2010-11-29 2011-04-20 惠州Tcl移动通信有限公司 Method for implementing learning type mobile phone remote controller and learning type mobile phone remote controller
US20110128129A1 (en) * 2009-12-01 2011-06-02 Rf Code, Inc. Asset tracking system including a tag controller

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101969612A (en) * 2009-07-27 2011-02-09 松下电器产业株式会社 Information transferring and copying system and method thereof
CN101707662B (en) * 2009-11-13 2012-11-14 郭治华 Electronic equipment, mobile communication equipment and remote control device
CN102592435B (en) * 2012-02-22 2014-04-30 华为终端有限公司 Method for remotely controlling electronic device and mobile terminal
CN102882938A (en) * 2012-09-10 2013-01-16 广东欧珀移动通信有限公司 Data share method and mobile terminal
CN103997570A (en) * 2014-05-16 2014-08-20 深圳市欧珀通信软件有限公司 Pairing method and system for mobile terminals and mobile terminals

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5475381A (en) * 1992-01-28 1995-12-12 Servio Logic Corp. High speed infrared communications system using pulse sets
US20110128129A1 (en) * 2009-12-01 2011-06-02 Rf Code, Inc. Asset tracking system including a tag controller
CN102025854A (en) * 2010-11-29 2011-04-20 惠州Tcl移动通信有限公司 Method for implementing learning type mobile phone remote controller and learning type mobile phone remote controller

Also Published As

Publication number Publication date
CN106162518A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
US8005364B2 (en) Method and apparatus for communicating in the presence of radio frequency energy
KR101368166B1 (en) Re-connection method in peripheral interface using visible light communication
US8463134B2 (en) Apparatus and method for transmitting and receiving data using visible light communication
US20190380018A1 (en) Method and device for identifying bluetooth headset voice source
US20170054500A1 (en) Visible Light Communications VLC Related Device and Method
CN105429703A (en) Mobile terminal interaction system and method based on visible light communication
WO2012113234A1 (en) Data transmission method and system between user equipments
KR101364390B1 (en) Method and apparatus visible signal generation for data transmitting frame in visible light communication
CN104869252A (en) Superspeed data transmission mobile terminal based on LiFi
EP2852101B1 (en) Method and device for data transmission in wireless local area network
WO2009136355A4 (en) Power save mechanism for wireless communication devices
US10368169B1 (en) Power and bandwidth efficient true wireless stereo speakers
CN103391603A (en) Low power consumption transmission method for large data information in wireless sensor network
Wang et al. Intra-frame bidirectional transmission in networks of visible LEDs
WO2015070628A1 (en) Information sending/receiving method and device for terminal, and terminal
US20150098348A1 (en) Wireless communicaton device, wireless communication system, wireless communication method, and wireless apparatus
JP3730908B2 (en) WIRELESS COMMUNICATION DEVICE, ITS COMMUNICATION METHOD, AND WIRELESS COMMUNICATION SYSTEM USING THE SAME
EP3383080B1 (en) Electronic device and coverage compensation method thereof for short range communication
RU2011112281A (en) WIRELESS TRANSMISSION SYSTEM AND WIRELESS TRANSMISSION METHOD
KR20210080897A (en) Electronic device for transmitting data in bluetooth network environment and method thereof
WO2016169071A1 (en) Digital information transmission method and device for terminal based on proximity sensor
JP2004015136A5 (en)
CN111835416B (en) Communication system and method between electronic devices and electronic devices
US10638294B2 (en) Bluetooth transmission integrated circuit and associated method
RU2014144988A (en) METHODS AND DEVICES FOR IMPROVING AN ADMINISTRATION USING AN ACTIVE COMMUNICATION MODE

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15889560

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15889560

Country of ref document: EP

Kind code of ref document: A1