WO2017140220A1 - Procédé et dispositif d'envoi de données, procédé et dispositif de réception de données, et procédé et système de transmission de données - Google Patents

Procédé et dispositif d'envoi de données, procédé et dispositif de réception de données, et procédé et système de transmission de données Download PDF

Info

Publication number
WO2017140220A1
WO2017140220A1 PCT/CN2017/072981 CN2017072981W WO2017140220A1 WO 2017140220 A1 WO2017140220 A1 WO 2017140220A1 CN 2017072981 W CN2017072981 W CN 2017072981W WO 2017140220 A1 WO2017140220 A1 WO 2017140220A1
Authority
WO
WIPO (PCT)
Prior art keywords
led
data
binary information
camera
state
Prior art date
Application number
PCT/CN2017/072981
Other languages
English (en)
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 WO2017140220A1 publication Critical patent/WO2017140220A1/fr

Links

Images

Classifications

    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • G09G3/22Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources
    • G09G3/30Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels
    • G09G3/32Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters using controlled light sources using electroluminescent panels semiconductive, e.g. using light-emitting diodes [LED]
    • 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
    • H04B10/116Visible light communication
    • 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/50Transmitters
    • H04B10/501Structural aspects
    • H04B10/502LED transmitters
    • 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/60Receivers

Definitions

  • the present disclosure relates to the field of data transmission, for example, to a data transmission method and apparatus, a reception method and apparatus, a transmission method, and a system.
  • Communication devices tend to gradually reduce hardware devices for human-computer interaction, such as liquid crystal displays or digital tubes. Therefore, some communication devices have only one northbound communication interface to communicate with the superior device.
  • Such a communication device can be directly connected to a personal computer (Personal Computer, PC) into a debugging interface (such as an Internet (Web) page), but the online device should not be offline for maintenance reasons, therefore, the communication device should There is a channel for debugging output.
  • PC Personal Computer
  • debugging interface such as an Internet (Web) page
  • DB9 serial port RJ (Registered Jack) 45 network port or Universal Serial Bus (USB) port
  • RJ Registered Jack
  • USB Universal Serial Bus
  • the above debugging interface still needs to occupy a part of the printed circuit board (PCB) and the panel, and the debugging interface and its auxiliary resistors, capacitors and integrated circuits (ICs) still need a certain cost.
  • IP Internet Protocol
  • Some communication devices only need to know their Internet Protocol (IP) address, and can access the Web debugging interface of the communication device through the browser, thereby achieving the purpose of debugging and maintaining the device, and debugging and maintenance.
  • the process does not affect the online communication of the communication device with other devices. Commissioning and maintenance personnel can only perform debugging and maintenance work by knowing the IP address information of the device at the site.
  • the methods for obtaining the IP address include: obtaining from the NMS and obtaining from the debugging interface. However, taking into account the actual process, communication cost, and correctness of information transmission, it is not convenient to obtain the IP address of the device from the NMS. Obtaining from the on-site debugging interface has become a more common method. If a debug interface such as DB9 or RJ45 is added to obtain simple information such as an IP address, the cost competitiveness of the product will decrease.
  • the present disclosure provides a data transmitting method and apparatus, a receiving method and apparatus, a transmitting method and a system, and transmitting debug data without adding a debugging interface.
  • the present disclosure provides a data sending method, including:
  • the binary information is transmitted through the LEDs.
  • sending the binary information through the LED comprises: transmitting 0 and 1 in the binary information by the LED being off.
  • the sending the binary information by using the LED includes: transmitting the binary information by using a dedicated debugging LED that is set; controlling the power LED in the debugging state by the multiplex power LED to send the binary information; and operating the debugging state by using the multiplexed operation LED
  • the LED transmits the binary information; the binary LED is sent by the multiplexed alarm LED to control the alarm LED in the debug state.
  • compiling the data to be sent into binary information includes: compiling the data to be sent into binary information by using a frame structure of the device code, the field 1, the field 2, the ..., the field n, and the check code, and the device code includes At least one of a device internet protocol IP address and a device access password, the field i includes a value i corresponding to the identifier i and the identifier i, 1 ⁇ i ⁇ n, and i and n are integers.
  • sending the binary information through the LED comprises: determining the number of LEDs according to a physical transmission protocol, and transmitting the binary information by using a corresponding number of LEDs.
  • the present disclosure provides a data receiving method, including:
  • parsing the LED state to obtain binary information includes: determining 0 and 1 in the binary information by using an off state of the LED.
  • the use of the camera to capture the LED status of the data transmitting terminal comprises: using a brightness recognition method of the color model to identify the off state of the LED, and if the brightness is greater than a preset threshold, the LED The status is bright. If the brightness is not greater than the preset threshold, the LED status is off.
  • the method further includes: setting a purifying device around the LED of the data transmitting terminal, and capturing the LED state of the data transmitting terminal by using the camera through the purifying device.
  • the method further includes: setting an identification area, placing an LED of the data transmitting terminal according to the identification area, and capturing an LED state in the identification area of the data transmitting terminal by using the camera.
  • using the camera to capture the LED status of the data transmitting terminal includes: using an image processing algorithm of corrosion and expansion to remove noise from the captured image of the camera, and calculating an area of the LED in the image, when the area of the area and the area of the identified area When the percentage is greater than the percentage threshold, the LED status is on, and when the percentage is not greater than the percentage threshold, the LED status is off.
  • the use of the camera to capture the LED status of the data transmitting terminal comprises: continuously collecting images through the camera framing mode to identify the continuous image; or recording the video through the recording mode of the camera, and decomposing the video into multiple frames, respectively The multi-frame image is identified.
  • the present disclosure provides a data transmission method, including:
  • the present disclosure provides a data transmitting apparatus, including:
  • Compiling the module set to compile the data to be sent into binary information
  • the transmitting module is configured to send binary information through the LEDs.
  • the sending module is configured to send 0 and 1 in the binary information by the LED being off.
  • the sending module is configured to send binary information through the set dedicated debugging LED; the binary LED is sent by the power LED that controls the debugging state through the multiplexed power LED; and the running LED transmitting station in the debugging state is controlled by the multiplexed running LED Said binary information; or by means of a multiplexed alarm LED to control the alarm LED in the debug state to send binary information.
  • the compiling module is configured to use the frame structure of the device code, the field 1, the field 2, the ..., the field n, and the check code combination to compile the data to be sent into binary information
  • the device code includes the device Internet Protocol IP address and At least one of the device access passwords
  • the field i includes the identifier i and the identifier i corresponding to the value i, 1 ⁇ i ⁇ n, and i and n are integers.
  • the sending module is configured to determine the number of LEDs according to a physical transmission protocol, and send binary information through a corresponding number of LEDs.
  • the present disclosure provides a data receiving apparatus, including:
  • the acquisition module is configured to capture the LED status of the data transmitting terminal by using the camera;
  • Parsing module set to parse the LED state to obtain binary information
  • the interpretation module is configured to interpret the binary information as data to be received.
  • the parsing module is configured to determine 0 and 1 in the binary information by the LED being off.
  • the collection module is configured to adopt a brightness recognition method of the color model to identify the off state of the LED. If the brightness is greater than a preset threshold, the LED status is bright, and if the brightness is not greater than a preset threshold, the LED status is For the end.
  • the collecting module is further configured to set a purifying device around the LED of the data sending terminal, and use the camera to capture the LED status of the data sending terminal through the purifying device.
  • the collecting module is further configured to set an identification area, and the LED of the data transmitting terminal is placed according to the identifying area, and the LED state of the data transmitting terminal in the identification area is captured by using the camera.
  • the acquisition module is configured to adopt an image processing algorithm of corrosion and expansion to remove noise from the captured image of the camera, and calculate a maximum area of the LED in the image.
  • a percentage threshold When the percentage of the area of the largest area and the area of the identification area is greater than a percentage threshold, The LED state is bright, and when the percentage is not greater than the percentage threshold, the LED state is off.
  • the collection module is configured to continuously collect images by using the camera to take a photographing mode, and identify the continuous image; or, by using the camera to record the video in the recording mode, the video is decomposed into multiple frames, and the multiple frames are respectively The image is identified.
  • the present disclosure provides a data transmission system including any of the data transmitting apparatus provided by the present disclosure and the data receiving apparatus provided by any one of the present disclosure;
  • the data transmitting device is configured to acquire data to be transmitted, compile the data to be transmitted into binary information, and transmit binary information through the LEDs;
  • the data receiving device is configured to capture the LED status of the data transmitting terminal using the camera, parse the LED status to obtain binary information, and interpret the binary information as data to be received.
  • the present disclosure also provides a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the above method.
  • the disclosure also provides a data sending terminal, including:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the following method:
  • the binary information is transmitted by a light emitting diode LED.
  • the present disclosure also provides a data receiving terminal, including:
  • At least one processor At least one processor
  • the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the following method:
  • the binary information is interpreted as data to be received.
  • the present disclosure provides a data transmission method, based on the LED transmission debugging data of the device, and the LED can be used as a power indication and a running instruction when the data is not transmitted, without adding an additional debugging interface to transmit the debugging data.
  • FIG. 1 is a schematic structural diagram of a data transmission system according to a first embodiment of the present disclosure
  • FIG. 2 is a flowchart of a data transmission method according to a second embodiment of the present disclosure
  • FIG. 3 is a diagram showing an unpurified effect of an LED lamp in a third embodiment of the present disclosure.
  • FIG. 5 is a flowchart of an image recognition algorithm in a third embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of a data frame in a third embodiment of the present disclosure.
  • FIG. 7 is a flowchart of a data transmission method in a third embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of hardware of a data transmitting terminal according to a fifth embodiment of the present disclosure.
  • FIG. 9 is a schematic diagram showing the hardware structure of a data receiving terminal in a fifth embodiment of the present disclosure.
  • the data transmission system provided by the present disclosure includes a data transmitting apparatus 1 and a data receiving apparatus 2.
  • the data transmitting device 1 is configured to acquire data to be transmitted, compile the data to be transmitted into binary information, and transmit binary information through a Light Emitting Diode (LED).
  • LED Light Emitting Diode
  • the data receiving device 2 is arranged to capture the LED status of the data transmission terminal using the camera, parse the LED status to acquire binary information, and interpret the binary information as data to be received.
  • the data transmitting apparatus 1 may include: an obtaining module 11 , a compiling module 12 , and a sending module 13 .
  • the obtaining module 11 is configured to acquire data to be transmitted.
  • the compilation module 12 is arranged to compile the data to be transmitted into binary information.
  • the transmitting module 13 is arranged to transmit binary information via the LEDs.
  • the sending module 13 in the above embodiment may also be configured to transmit 0 and 1 in the binary information by the LED being off.
  • the sending module 13 in the above embodiment may further be configured to send binary information through a set dedicated debug LED; the power LED in the debug state is controlled by the multiplex power LED to transmit the binary information; The operation LED of the LED control in the debug state transmits the binary information; or the binary LED is sent by the multiplexed alarm LED to control the alarm LED in the debug state.
  • the compiling module 12 in the above embodiment is configured to compile the data to be sent into binary information by using a frame structure of device code, field 1, field 2, ..., field n, and check code combination.
  • the code includes at least one of a device IP address and a device access password
  • the field i includes the identifier i and the identifier i corresponding to the value i, 1 ⁇ i ⁇ n, and i and n are integers.
  • the transmitting module 13 in the above embodiment is configured to determine the number of LEDs according to a physical transmission protocol, and to transmit binary information through a corresponding number of LEDs.
  • the data receiving apparatus 2 may include an acquisition module 21 , a parsing module 22 , and an interpreting module 23 .
  • the acquisition module 21 is arranged to capture the LED status of the data transmitting terminal using the camera.
  • the parsing module 22 is configured to parse the LED status to obtain binary information.
  • the interpretation module 23 is arranged to interpret the binary information as data to be received.
  • the parsing module 22 in the above embodiment may also be configured to determine 0 and 1 in the binary information by the off state of the LED.
  • the acquisition module 21 in the above embodiment may further be configured to use a brightness recognition method of a color model to identify an off state of the LED. If the brightness is greater than a preset threshold, the LED state is bright. If the brightness is not greater than the preset threshold, the LED status is off.
  • the acquisition module 21 in the above embodiment may further be configured to set a purification device around the LED of the data transmission terminal before capturing the LED state of the data transmission terminal by using the camera, and use the camera to capture the data transmission terminal through the purification device. LED status.
  • the acquisition module 21 in the above embodiment may further be configured to set an identification area before the LED light state of the data transmission terminal is captured by using the camera, and place the LED of the data transmission terminal according to the identification area, and use the camera to capture data transmission. The status of the LEDs in the identification area of the terminal.
  • the acquisition module 21 in the above embodiment may also be configured to adopt an image processing algorithm of corrosion and expansion to remove noise from the captured image of the camera, and calculate the maximum area of the LED in the image, when the maximum area and the area are identified.
  • the percentage of the area of the area is greater than the percentage threshold, the LED status is on, and when the percentage is not greater than the percentage threshold, the LED status is off.
  • the area of the identification area is the area of the frame image.
  • the acquisition module 21 in the above embodiment may further be configured to continuously capture images in a photographing and framing mode using a camera to identify continuous images; or, use a camera to record video in a recording mode, and decompose the video into A multi-frame image is separately identified for the multi-frame image.
  • FIG. 2 is a flowchart of a data transmission method according to a second embodiment of the present disclosure.
  • step 210 data to be transmitted is acquired, data to be transmitted is compiled into binary information, and binary information is transmitted through the LED.
  • step 220 the camera is used to capture the LED status of the data transmitting terminal, parsing the LED status to obtain binary information, and interpreting the binary information to be received.
  • the present disclosure provides a data sending method, including:
  • transmitting the binary information by the LED in the above embodiment may include transmitting 0 and 1 in the binary information by the off state of the LED light.
  • the transmitting the binary information by the LED in the above embodiment may include: transmitting the binary information through the set dedicated debug LED; and controlling the power LED in the debug state to transmit the binary information by multiplexing the power LED; The operation LED that runs the LED control in the debug state sends the binary information; or by multiplexing the alarm LED, the alarm LED that is in the debug state is sent to send binary information.
  • the power LED is used to indicate the power status
  • the running LED is used to indicate the running state of the communication device
  • the alarm LED is used to indicate whether there is a warning.
  • the compiling the data to be sent into the binary information in the foregoing embodiment may include: adopting a frame structure of the device code, the field 1, the field 2, the ..., the field n, and the check code combination, and the data to be sent Compiled into binary information, the device code includes at least one of a device IP address and a device access password, and the field i includes a value i corresponding to the identifier i and the identifier i, 1 ⁇ i ⁇ n, and i and n are integers.
  • transmitting the binary information by the LED in the above embodiment may include determining the number of LEDs according to a physical transmission protocol, and transmitting the binary information by a corresponding number of LEDs.
  • the physical transmission protocol may be a user-defined transmission protocol.
  • the physical protocol of the two LEDs may include: a first LED analog clock signal, a second LED analog data signal, and a clock bus high level (such as an LED) When it is lit, if the state of the data bus does not change, the level of the data bus represents data information.
  • the present disclosure provides a data receiving method, including:
  • the parsing the LED state in the above embodiment to obtain the binary information may include determining 0 and 1 in the binary information by the off state of the LED.
  • the use of the camera to capture the LED status of the data transmitting terminal in the above embodiment includes: using a brightness recognition method of the color model to identify the off state of the LED, and if the brightness is greater than a preset threshold, the LED status If it is bright, if the brightness is not greater than the preset threshold, the LED status is off.
  • the data receiving method in the foregoing embodiment before using the camera to capture the LED status of the data transmitting terminal, further includes: setting a purifying device around the LED of the data transmitting terminal, and capturing the data transmitting terminal by using the camera through the purifying device LED status.
  • the data receiving method in the foregoing embodiment before using the camera to capture the LED status of the data transmitting terminal, further includes: setting an identification area, placing an LED of the data transmitting terminal according to the identification area, and capturing the image in the identification area by using the camera The data transmitting terminal is in the state of the LED in the identification area.
  • the use of the camera in the above embodiment captures the LED shape of the data transmitting terminal
  • the state includes: an image processing algorithm using corrosion and expansion, removing noise from the captured image of the camera, and calculating a maximum area of the LED in the image.
  • the percentage of the area of the largest area and the area of the identification area is greater than a percentage threshold, the LED state is bright.
  • the percentage is not greater than the percentage threshold, the LED state is off.
  • the LED in the image is identified, and the identified LED area may include some small areas, and the identified at least one LED area is sorted according to the area, and the LED area with the largest area is used as the LED.
  • the largest area, the area of the largest area is taken as the maximum area area.
  • the area of the identification area is the area of the frame image.
  • using the camera to capture the LED status of the data transmitting terminal in the above embodiment may include: continuously acquiring an image in the photographing framing mode using the camera to identify the continuous image; or recording the video in the recording mode using the camera. , the video is decomposed into multi-frame images, and the multi-frame images are respectively identified.
  • the transmitting terminal recognizes the image after acquiring one frame of image.
  • a data transmission system is provided, and the devices in the system pass the LEDs in both the on and off states, and simulate 1 With the output of 0, the information output of the wire is replaced by the propagation of light to achieve the same effect as the binary information transmitted by the bus.
  • the state of the LED is captured by the camera of the smart device, and the corresponding relationship between the on and off of the LED and the 1 and 0 is resolved according to the algorithm, and the same effect as the sampled digital electrical signal is achieved.
  • the device and system adopt device LED and intelligent device image recognition algorithm to simulate the process of transmitting electrical information of the device through serial port (or communication interface such as network port) and transmitting and analyzing information by the receiving device.
  • the sampling rate of the smart device is low (the number of frames taken by the camera is low), and the LED state transition cannot be too fast, which affects the transmission rate. Therefore, the system is not suitable for systems that process many debug data.
  • the system in the implementation of the present disclosure has low cost, small space and small occupied area, and can be applied to devices and systems that can be debugged and maintained only by IP or wireless password.
  • the present disclosure is also applicable to scenarios other than LEDs for providing human identifiable signals.
  • the binary signal is transmitted by accelerating the LED state transition, and the LED signal is captured and decoded by the image recognition of the smart device, and the LED can be applied to a new scene application that outputs more information.
  • the methods of the present disclosure may be extended but not limited to the following devices and systems.
  • the alarm LED can flash at a faster rate, and the information such as an identification (ID) and an alarm level are transmitted according to the coding requirement, and the maintenance personnel recognizes and analyzes the LED information through the smart device, and the device The alarm ID and alarm level are displayed on the smart device, so that the maintenance personnel can know the status of the device and system being maintained.
  • the maintenance personnel cannot judge the detailed information represented by the LED flashing through the human eye, it is possible to know whether the LED is blinking or not, and determine whether there is an alarm information.
  • the device's alarm LED function is still retained.
  • the data transmitting terminal can set a dedicated debugging LED cycle output debugging information.
  • the data transmitting terminal can also output debugging information by means of multiplexing LEDs.
  • the debugging button When the debugging button is pressed, the LED is in the debugging state, and the LED outputs debugging information. After the debugging is completed, the debugging button is bounced, and the LED restores the original function.
  • the smart device has an image recognition function in which the LED is turned off, and the smart device includes a smart phone and a portable computer (notebook) having a camera.
  • the smart device can install the software for image recognition in the present disclosure. After the software is turned on, the software obtains image information directly or indirectly transmitted by the camera, and uses image processing algorithms to parse the image information.
  • LED-aware applications can have cross-platform capabilities.
  • a cross-platform Python object-oriented interpreted computer programming language can be used.
  • the program developed by PYTHON can be run on the Windows, Linux and Mac OS operating systems of the PC in addition to the Android operating system of the smart device and the iPhone Operating System (IOS).
  • This implementation can also be implemented in a programming language other than Python.
  • the application of the existing image recognition library can reduce the development cost.
  • the OPENCV image recognition library can be used for development, which reduces the workload of the basic image recognition and improves the development speed of the smart device.
  • the flow of the LED recognition algorithm is shown in Figure 5.
  • the LEDs have different colors and different shapes, the LEDs cannot be identified according to the color and shape.
  • the brightness of the HSV (Hue, Saturation, Value) color model can be used to identify the LEDs on and off. When the brightness is greater than the preset threshold of the experiment, the LED is determined to be bright, and when the brightness is not greater than the preset threshold, the LED is off.
  • the present disclosure can adopt the following method to improve the purity of the environment, using a black card, forming a circular hole in the middle, and placing the LED in the device.
  • the camera area of the smart device should be completely inside the black card, so that the environment of the camera has a good purity, LED lighting and LED extinction can produce significant brightness contrast.
  • a card other than black may be used.
  • the material of the card, the position of the punching hole, and the number of punching holes are not limited. For example, a 2-hole dark tape or the like may be used.
  • the determination success rate of LED illumination can be improved by limiting the LED position.
  • the position of the LED in the image is uncertain, for example, the LED is not fixed in the image due to the unfixed distance between the camera and the LED, which may result in LED Light up and misjudge.
  • a circular display of a suitable size can be added to prompt the user to completely cover the circular area in the middle of the image of the LED.
  • the image recognition software can determine the LED light on and off based only on the HSV value in the circular area. Under the camera, due to halo and angle, the circular LED may not appear circular after HSV conversion or grayscale processing and filtering.
  • the shape of the LED of the present embodiment is not limited to a circular shape.
  • the restricted area of the image recognition software can be adapted to change to the corresponding shape.
  • LED identification can use corrosion and expansion image processing algorithms to remove noise. Due to the diversity of the shape of the LED, the maximum area of the image is calculated. When the percentage of the area of the largest area and the area of the identification area is greater than the threshold of the set restriction area (eg, 85%), it can be determined that the LED is bright, when the percentage is not When it is greater than the percentage threshold, the LED is off.
  • the threshold of the set restriction area eg, 85%
  • noise filtering algorithms such as two-way filtering and Gaussian filtering can also be used.
  • the LED information is continuously output, and the camera can be converted into multi-picture continuous processing in the following two ways: the camera adopts the photographing and framing mode, and copies the same picture from the driver to the image recognition application. (Application, APP), realizes dynamic recognition; and the camera adopts the recording mode. After recording for a period of time (also can be detected by the human eye, the start and end LED states indicate the end of the recording), the image recognition APP decomposes each frame of the video. Re-identify the image for a separate image.
  • the state transition rate of the LED can be set to be no greater than the frame rate of the camera.
  • the frame rate is greater than 25 FPS (Frames Per Second)
  • the sampling frequency of the camera can be greater than that of the LED.
  • the frequency of the LED is doubled, so the LED's on-off frequency can be less than 12FPS. If the smart device used by the maintenance personnel has a higher camera frame rate, such as 60FPS or 120FPS, the LED can be turned on and off at a rate greater than 12FPS.
  • Each LED is equivalent to an electrical conductor, and different numbers of LEDs can be transmitted using different protocols.
  • a 2LED method in which the cost and the engineering application are relatively balanced can be adopted.
  • the first LED can emulate the clock bus and the second LED can emulate the data bus.
  • the level of the data bus represents data information; when the clock bus is high, if the data bus is high
  • the conversion of the flat (such as LED is bright) to low level (such as LED is off) represents the beginning of data transmission; when the clock bus is high, if the data bus has a low to high transition, it represents data. The transfer ends.
  • the data bus sampling time when the clock bus is high level may be greater than or equal to 3 times, and the first and last sampling are discarded, and only the middle is used. Sampling data.
  • Embodiments of the present disclosure do not limit the definition of other numbers of LEDs and corresponding physical transport protocols.
  • the frame structure adopted in this embodiment may include: device code (Device_code), field 1 identifier (ID1), field 1 data (Value1), field 2 identifier (ID2), field 1 data (Value2), ..., field n identification (IDn), field n data (Value n), and check code (CRC). Since the LED information is output, there is no phenomenon of determining the separated frame when the multi-frame continuous output is performed. Therefore, the frame header and the frame tail may not be added in the frame structure to save transmission time.
  • the device code can take 1 byte.
  • ID is the unique identification of the variable (the same variable of different data structure can be defined by different IDs, for example, the integer IP address and the string IP address belong to different IDs, which can simplify the data structure), and the ID can take 1 byte. .
  • Value is an integer or a floating point number, it can be output according to the number of bytes defined by the ID.
  • Value is a string, the ending identifier is ' ⁇ 0'.
  • the data can be verified by adding an 8-bit Cyclic Redundancy Check (CRC). When the CRC does not pass, the smart device can prompt the maintenance personnel to restart. Conduct the identification process.
  • CRC Cyclic Redundancy Check
  • the IP information acquisition process is shown in FIG. 7, wherein the A device has an operation light, an alarm light, and an LED debugging button.
  • the two-hole black soft glue is attached to the communication device, so that the running light and the warning light pass through the two holes to open the light; the image recognition APP corresponding to the smart device is opened, the space template is selected, or the sampling circle is manually adjusted.
  • the vacancy template may be a rectangular or circular frame set in an image collection screen of the image recognition APP.
  • IP information when IP information is in an integer structure, IP information can have few transmission bytes.
  • the level of the initial identifier is opposite to the level of the end identifier. Therefore, the start identifier and the end marker can be set to 2 cycles each, so the frame structure of the binary information is a 2-bit (bit) identifier, 8-bit device.
  • a code device code
  • ID 8-bit field identifier
  • Value 8-bit field data
  • CRC 8-bit check code
  • end 2-bit end identifier
  • the image recognition APP of the smart device selects the low-resolution recording mode, the shooting frame rate can reach 60FPS, and the data sampling can adopt the 4-time mode (abandon the first data and the last data, take the middle two data), and the LED can be pressed 7.5.
  • HZ frequency output a total of 4.8 seconds to complete the information analysis, that is, the engineering staff can complete the acquisition of IP information within 5 seconds.
  • the present disclosure provides a data transmission method, based on the LED transmission debugging data of the device, and the LED can be used as a function of indicating an operating state and an alarm condition when the data is not transmitted, and does not occupy a dedicated device, and can be transmitted without adding a debugging interface. Debug data.
  • Embodiments of the present disclosure also provide a non-transitory computer readable storage medium storing computer executable instructions arranged to perform the method of any of the above embodiments.
  • the embodiment of the present disclosure further provides a hardware structure diagram of a data sending terminal.
  • the data transmitting terminal includes:
  • At least one processor 80 which is exemplified by a processor 80 in FIG. 8; and a memory 81, may further include a communication interface 82 and a bus 83.
  • the processor 80, the communication interface 82, and the memory 81 can complete communication with each other through the bus 83.
  • Communication interface 82 can be used for information transfer.
  • the processor 80 can call the logic instructions in the memory 81 to perform the following methods:
  • the binary information is transmitted by a light emitting diode LED.
  • logic instructions in the memory 81 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the memory 81 is used as a computer readable storage medium, and can be used to store a software program, a computer executable program, a program instruction or a module corresponding to the execution method of the data transmitting terminal in the embodiment of the present disclosure.
  • the processor 80 executes a function application and data processing by executing a software program, an instruction or a module stored in the memory 81, that is, a method of implementing the execution of the data transmitting terminal in the above method embodiment.
  • the memory 81 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to use of the terminal device, and the like. Further, the memory 81 may include a high speed random access memory, and may also include a nonvolatile memory.
  • the embodiment of the present disclosure further provides a hardware structure diagram of a data receiving terminal.
  • the data receiving terminal includes:
  • At least one processor 90 which is exemplified by a processor 90 in FIG. 9; and a memory 91, may further include a communication interface 92 and a bus 93.
  • the processor 90, the communication interface 92, and the memory 91 can complete communication with each other through the bus 93.
  • Communication interface 92 can be used for information transfer.
  • the processor 90 can call the logic instructions in the memory 91 to perform the following methods:
  • the binary information is interpreted as data to be received.
  • logic instructions in the memory 91 described above may be implemented in the form of a software functional unit and sold or used as a stand-alone product, and may be stored in a computer readable storage medium.
  • the memory 91 is used as a computer readable storage medium, and can be used to store a software program, a computer executable program, a program instruction or a module corresponding to the execution method of the data receiving terminal in the embodiment of the present disclosure.
  • the processor 90 executes a function application and data processing by executing a software program, an instruction or a module stored in the memory 91, that is, a method of implementing the execution of the data receiving terminal in the above method embodiment.
  • the memory 91 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created according to usage of the terminal device, and the like. Further, the memory 91 may include a high speed random access memory, and may also include a nonvolatile memory.
  • the technical solution of the present disclosure may be embodied in the form of a software product stored in a storage medium, including one or more instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) Performing all or part of the steps of the method of the embodiments of the present disclosure.
  • the foregoing storage medium may be a non-transitory storage medium, including: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random storage memory (RAM), a magnetic disk, or an optical disk.
  • the data transmitting method and device, the receiving method and device, the transmitting method and the system provided by the disclosure use the LED transmission debugging data of the device, and can transmit the debugging data without adding a debugging interface.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Optical Communication System (AREA)

Abstract

L'invention concerne un procédé et dispositif d'envoi de données, un procédé et un dispositif de réception de données, et un procédé et un système de transmission de données. Le procédé de transmission comprend les étapes consistant à : acquérir des données devant être envoyées ; compiler les données devant être envoyées en des informations binaires ; envoyer les informations binaires par l'intermédiaire d'une diode luminescente (DEL) ; à l'aide d'une caméra destinée à capturer un état de DEL d'un terminal d'envoi de données, analyser l'état de la DEL pour acquérir les informations binaires ; et interpréter les informations binaires en des données devant être reçues.
PCT/CN2017/072981 2016-02-19 2017-02-06 Procédé et dispositif d'envoi de données, procédé et dispositif de réception de données, et procédé et système de transmission de données WO2017140220A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610095097.8A CN107104729A (zh) 2016-02-19 2016-02-19 数据发送方法及装置、接收方法及装置、传输方法及系统
CN201610095097.8 2016-02-19

Publications (1)

Publication Number Publication Date
WO2017140220A1 true WO2017140220A1 (fr) 2017-08-24

Family

ID=59625604

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/072981 WO2017140220A1 (fr) 2016-02-19 2017-02-06 Procédé et dispositif d'envoi de données, procédé et dispositif de réception de données, et procédé et système de transmission de données

Country Status (2)

Country Link
CN (1) CN107104729A (fr)
WO (1) WO2017140220A1 (fr)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111611717A (zh) * 2020-05-27 2020-09-01 中国科学技术大学 用于模拟多位宽数码管特性的显示装置及方法
WO2022152808A1 (fr) * 2021-01-18 2022-07-21 Signify Holding B.V. Communication utilisant une émission de lumière et une caméra

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108132154B (zh) * 2017-12-08 2021-08-06 佛吉亚歌乐电子(丰城)有限公司 利用屏幕亮度进行无线采集车机故障信息的方法
CN111784997A (zh) * 2020-07-10 2020-10-16 威海北洋电气集团股份有限公司北京分公司 基于灯光的数据传输方法和系统
CN112069041B (zh) * 2020-09-30 2024-05-17 中孚安全技术有限公司 一种基于硬盘指示灯的物理隔离数据传输教学方法及系统

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070147843A1 (en) * 2005-12-27 2007-06-28 Ryuhei Fujiwara Apparatus, system, method, and program for visible light communication
CN103117802A (zh) * 2013-02-05 2013-05-22 西安电子科技大学 可见光通信系统中基于自适应速率适配的通信方法
CN103295518A (zh) * 2012-02-29 2013-09-11 深圳光启创新技术有限公司 一种在车展中介绍车辆信息的方法和系统
CN103560831A (zh) * 2013-10-31 2014-02-05 华北水利水电大学 具有信息传输功能的照明设备及照明设备信息传输方法
CN104683028A (zh) * 2013-11-30 2015-06-03 哈尔滨智木科技有限公司 一种基于大功率led的无线通讯装置
CN104883448A (zh) * 2015-06-05 2015-09-02 深圳市智诺微智能电子科技有限公司 一种用智能手机led灯传输数据的方法及接收装置

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105115973A (zh) * 2015-08-28 2015-12-02 武汉邮电科学研究院 一种基于可见光通信的设备监控系统及方法

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070147843A1 (en) * 2005-12-27 2007-06-28 Ryuhei Fujiwara Apparatus, system, method, and program for visible light communication
CN103295518A (zh) * 2012-02-29 2013-09-11 深圳光启创新技术有限公司 一种在车展中介绍车辆信息的方法和系统
CN103117802A (zh) * 2013-02-05 2013-05-22 西安电子科技大学 可见光通信系统中基于自适应速率适配的通信方法
CN103560831A (zh) * 2013-10-31 2014-02-05 华北水利水电大学 具有信息传输功能的照明设备及照明设备信息传输方法
CN104683028A (zh) * 2013-11-30 2015-06-03 哈尔滨智木科技有限公司 一种基于大功率led的无线通讯装置
CN104883448A (zh) * 2015-06-05 2015-09-02 深圳市智诺微智能电子科技有限公司 一种用智能手机led灯传输数据的方法及接收装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111611717A (zh) * 2020-05-27 2020-09-01 中国科学技术大学 用于模拟多位宽数码管特性的显示装置及方法
CN111611717B (zh) * 2020-05-27 2023-04-07 中国科学技术大学 用于模拟多位宽数码管特性的显示装置及方法
WO2022152808A1 (fr) * 2021-01-18 2022-07-21 Signify Holding B.V. Communication utilisant une émission de lumière et une caméra

Also Published As

Publication number Publication date
CN107104729A (zh) 2017-08-29

Similar Documents

Publication Publication Date Title
WO2017140220A1 (fr) Procédé et dispositif d'envoi de données, procédé et dispositif de réception de données, et procédé et système de transmission de données
WO2019080797A1 (fr) Procédé de détection d'être vivant, terminal et support d'enregistrement
CN107360477A (zh) 一种多功能远程调试装置
CN110442385B (zh) 灯光编辑、驱动和控制方法、系统、设备及存储介质
WO2016123947A1 (fr) Procédé et dispositif de transmission et d'identification d'un mode de mappage de données
CN105115973A (zh) 一种基于可见光通信的设备监控系统及方法
CN109710473A (zh) 一种soc板测试方法、装置及系统
CN109819001A (zh) 一种无人机通信方法、无人机及无人机的通信装置
CN110583100A (zh) 通过分析设备控制信息形成设备的组
CN110024307B (zh) 可见光通信检测和/或解码
CN104702844A (zh) 一种基于语音的网络摄像机配置方法
WO2018119699A1 (fr) Procédé d'émission d'informations de configuration et procédé et appareil d'accès à un dispositif
CN107231247A (zh) 用智能手机的led向其他设备传送信息的方法及装置
WO2016145592A1 (fr) Procédé, dispositif et terminal d'établissement de communication, et routeur
CN104796807B (zh) 一种蓝牙耳机、蓝牙耳机连接系统及连接方法
CN108030982B (zh) 医疗设备状态识别方法及装置
CN111385532A (zh) 一种低功耗场景分析装置及其分析方法
CN113141486A (zh) 基于边缘计算引擎的数据传输方法、装置及相关设备
CN207637250U (zh) 一种通过led闪烁方式识别故障的装置
WO2018035677A1 (fr) Procédé et dispositif de lecture de code-barres bidimensionnel
CN107644524B (zh) 基于红外对管的信息传输方法和装置
WO2017000767A1 (fr) Procédé d'acquisition et d'analyse de lumière ambiante et dispositif d'acquisition et d'analyse associé
CN108132154B (zh) 利用屏幕亮度进行无线采集车机故障信息的方法
CN112069041B (zh) 一种基于硬盘指示灯的物理隔离数据传输教学方法及系统
CN204129949U (zh) 遥控信息传输器以及一种遥控器

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: 17752652

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: 17752652

Country of ref document: EP

Kind code of ref document: A1