CN107222258B - Data acquisition method, data sending device and data transmission system - Google Patents

Data acquisition method, data sending device and data transmission system Download PDF

Info

Publication number
CN107222258B
CN107222258B CN201710253068.4A CN201710253068A CN107222258B CN 107222258 B CN107222258 B CN 107222258B CN 201710253068 A CN201710253068 A CN 201710253068A CN 107222258 B CN107222258 B CN 107222258B
Authority
CN
China
Prior art keywords
identification information
data
optical signal
light source
image
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201710253068.4A
Other languages
Chinese (zh)
Other versions
CN107222258A (en
Inventor
朱义君
徐丽娟
郭晓芳
孟苏
汪涛
田忠骏
任嘉伟
张东方
张剑
于宏毅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongguan Xinda Institute Of Integrated Innovation
PLA Information Engineering University
Original Assignee
Dongguan Xinda Institute Of Integrated Innovation
PLA Information Engineering University
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 Dongguan Xinda Institute Of Integrated Innovation, PLA Information Engineering University filed Critical Dongguan Xinda Institute Of Integrated Innovation
Priority to CN201710253068.4A priority Critical patent/CN107222258B/en
Publication of CN107222258A publication Critical patent/CN107222258A/en
Application granted granted Critical
Publication of CN107222258B publication Critical patent/CN107222258B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04B10/116Visible light communication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/10Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
    • G06K7/14Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
    • G06K7/1404Methods for optical code recognition
    • G06K7/1439Methods for optical code recognition including a method step for retrieval of the optical code
    • G06K7/1447Methods for optical code recognition including a method step for retrieval of the optical code extracting optical codes from image or text carrying said optical code
    • 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/516Details of coding or modulation
    • H04B10/54Intensity modulation
    • H04B10/541Digital intensity or amplitude modulation

Abstract

The application discloses a data acquisition method and device, which are used for solving the problem of low data reading safety through the existing information tag. The method comprises the following steps: receiving an optical signal sent by a light source, wherein the optical signal carries identification information; analyzing the received optical signal, and determining identification information carried in the optical signal; and determining data corresponding to the identification information according to the identification information, and acquiring the data.

Description

Data acquisition method, data sending device and data transmission system
Technical Field
The present application relates to the field of visible light communication technologies, and in particular, to a data acquisition method, a data transmission device, and a data transmission system.
Background
With the continuous development of internet information technology, people also step into the information-oriented era, and today with the high-speed development of science and technology, a large number of fresh objects are generated every day, and when facing various fresh objects, people usually want to be able to quickly and conveniently obtain the relevant information of the objects so as to quickly know the objects.
In this case, various types of information tags have been produced in order to facilitate quick and convenient reading of information by people.
At present, the most common information tags mainly include two-dimensional code tags and barcode tags using barcode technology, and Radio Frequency tags using Radio Frequency Identification (RFID).
The bar code technology is a key information identification and information acquisition technology, is continuously developed in the using process of an information label, people invent a two-dimensional bar code in the early 90 years of the 20 th century, and relevant information of numbers, characters, pictures and sounds is stored by using a certain specific geometric figure and a pattern which is distributed on a plane and is arranged between black and white according to a certain rule. However, since the two-dimensional code is easily copied, there is a risk of information tampering and forgery, thus resulting in poor security of the two-dimensional code.
The radio frequency tag based on the RFID technology has the advantages of large information capacity, fast and convenient identification mode, and the like, but the radio frequency tag also has the problems of high cost, poor confidentiality, susceptibility to electromagnetic interference, and the like.
Therefore, there is a need for an information tag with higher security as a carrier for storing data information, so as to ensure that a user can safely and conveniently obtain information therefrom.
Disclosure of Invention
The embodiment of the application provides a data acquisition method, which is used for solving the problem of low data reading safety through the existing information tag.
The embodiment of the application also provides a data sending method, which is used for solving the problem that the existing information tag is low in security.
The embodiment of the application also provides a data transmission system, which is used for solving the problem of lower data reading safety through the existing information tag.
The embodiment of the application adopts the following technical scheme:
a method of data acquisition, comprising:
receiving an optical signal sent by a light source, wherein the optical signal carries identification information;
analyzing the received optical signal, and determining identification information carried in the optical signal;
and determining data corresponding to the identification information according to the identification information, and acquiring the data.
A method of data transmission, comprising:
determining identification information corresponding to data to be sent;
carrying out coding modulation on the identification information to obtain a corresponding coding modulation signal;
and adding the code modulation signal to a driving current of a light source, and emitting an optical signal corresponding to the code modulation signal through the light source.
A data transmission system comprising: a light source, a terminal and a server;
the visible light source is used for determining identification information corresponding to data to be sent, performing coded modulation on the identification information to obtain a corresponding coded modulation signal, adding the coded modulation signal to a driving current of the light source, and emitting an optical signal corresponding to the coded modulation signal;
the terminal is used for receiving an optical signal sent by a light source, analyzing the received optical signal, determining identification information carried in the optical signal, determining data corresponding to the identification information according to the identification information, and acquiring the data;
the server is used for receiving the identification information sent by the terminal, searching the data corresponding to the identification information according to the received identification information, and returning the searched data to the terminal.
A data acquisition apparatus comprising:
the device comprises a signal receiving unit, a signal processing unit and a control unit, wherein the signal receiving unit is used for receiving an optical signal sent by a light source, and the optical signal carries identification information;
the analysis unit is used for analyzing the received optical signal and determining the identification information carried in the optical signal;
and the data acquisition unit is used for determining data corresponding to the identification information according to the identification information and acquiring the data.
A data transmission apparatus comprising:
the identification information determining unit is used for determining identification information corresponding to data to be sent;
the coding modulation unit is used for coding modulating the identification information to obtain a corresponding coding modulation signal;
and the transmitting unit is used for adding the coded modulation signal to the driving current of the light source, and transmitting an optical signal corresponding to the coded modulation signal through the light source.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
by utilizing the visible light communication technology, the visible light source can be used as an information label, the visible light source can emit an optical signal carrying specific identification information outwards, the terminal can receive the optical signal emitted by the visible light source used as the information label and analyze the received optical signal so as to determine the identification information carried in the optical signal, and then the data corresponding to the identification information is determined according to the identification information so as to obtain the data. Compared with the existing information label (such as a two-dimensional code), the existing information label is very easy to copy and tamper, so that the information security is poor when the data is acquired through the existing information label.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flowchart of a data acquisition method according to an embodiment of the present disclosure;
fig. 2 is a schematic view of a usage scenario of a data acquisition method according to an embodiment of the present application;
FIG. 3 is a schematic diagram of the scanning and activation sequence of pixels in a CMOS sensor during photographing;
FIG. 4 is an image taken of a light source using a CMOS camera;
fig. 5 is a schematic diagram of a specific implementation process for analyzing an optical signal according to an embodiment of the present disclosure;
fig. 6 is a schematic view of a scenario in which a smart phone obtains data by sending an identifier to a network server according to an embodiment of the present application;
fig. 7 is a schematic flowchart of a data transmission method according to an embodiment of the present application;
fig. 8 is a circuit diagram of a modulation circuit according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a data transmission system according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a data acquisition apparatus according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of a data transmission device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Example 1
The embodiment of the application provides a data acquisition method, which is used for solving the problem of low data reading safety through the existing information tag.
The execution main body of the data acquisition method provided by the embodiment of the present application may be, but is not limited to, at least one of terminal devices such as a mobile phone, a tablet Computer, and a Personal Computer (PC). The main execution body of the method may be an Application (APP) itself installed on the terminal device.
For convenience of description, the following description will be made of an embodiment of the method, taking a smart phone as an example of an execution subject of the method. It is understood that the implementation of the method in a smart phone is merely an exemplary illustration and should not be construed as a limitation of the method.
The specific implementation flow chart of the method is shown in fig. 1, and mainly comprises the following steps:
step 11, receiving an optical signal emitted by a light source;
the optical signal carries identification information.
It should be noted that the data acquisition method provided in the embodiment of the present application is implemented based on Visible Light Communication (VLC) technology.
The visible light communication technology is a method that a transmitting end uses a fluorescent lamp or a light emitting diode and other light emitting devices to emit modulated visible light signals with information, and a receiving end uses a photosensitive device to receive the modulated visible light signals so as to realize wireless data transmission.
The simple realization mode of the visible light communication technology is characterized in that a modulation circuit is additionally arranged on a common LED lamp to control the flickering of an LED bulb, the lighting of the LED lamp is used as '1', the extinguishing of the LED lamp is used as '0', so that the flickering of the LED lamp can be controlled through the modulation circuit, the LED lamp emits binary data outwards in a flickering mode, and the light signal emitted by the LED lamp is received through a photosensitive sensor, so that the purpose of transmitting the binary data through the light signal emitted by the LED lamp can be achieved. Meanwhile, the LED lamp is fast in flashing frequency (flashing can be performed millions of times per second), and human eyes cannot feel the flashing of the LED lamp, so that the influence on daily use of the LED lamp for illumination of people is avoided.
It should be noted that the light source mentioned here may be an LED lamp, or may also be an LED screen, etc., for convenience of description, the LED lamp is taken as the visible light source, and it should be understood that the LED lamp is taken as the visible light source only for illustrative purposes, and should not be construed as a limitation to the method.
As shown in fig. 2, a usage scenario diagram of the data acquisition method provided in the embodiment of the present application is shown, wherein a smart phone may receive an optical signal emitted by an LED lamp through a camera, or a photosensitive sensor may be further disposed on the smart phone, and the photosensitive sensor is used to receive the optical signal emitted by the LED lamp.
For example, when a user carrying a smart phone wishes to perform positioning by using the positioning method provided by the embodiment of the present application, the user can carry the smart phone to a position under an LED lamp, turn on a camera of the smart phone, and then receive a nearby optical signal by taking a picture or the like.
It should be noted here that the device for receiving the optical signal sent by the LED lamp on the smart phone is not limited to the above two devices, and may also be other devices with a photoelectric detection function.
Step 12, analyzing the received optical signal, and determining identification information carried in the optical signal;
by executing step 11, the smart phone receives the optical signal sent by the LED lamp as the light source, and in order to facilitate the subsequent smart phone to determine the identification information carried in the optical signal, the smart phone first needs to convert the received optical signal into an image, and analyze and determine the identification information carried in the received optical signal according to the brightness information of each pixel point in the image, and then in an embodiment, the specific implementation manner of step 12 may be: converting the received optical signal into an image; carrying out graying processing on the image to obtain a gray value of each pixel point in the image; determining modulation coding data in the image according to the gray value of each pixel point in the image; and decoding the modulated coded data to obtain the identification information in the image.
Generally, a smart phone may capture an optical signal emitted by a light source by taking a picture of the light source emitting light, in which case the optical signal received by the smart phone is often in the form of an image.
At present, a camera on a smart phone is often a Complementary Metal Oxide Semiconductor (CMOS) camera. When taking a picture with a CMOS camera, pixels are activated by horizontal scanning line by line in the sensor of the CMOS camera, instead of capturing an entire picture at a time. Therefore, when the camera of the smart phone is used for photographing the LED lamp as the light source, when the frequency of the LED lamp flickering is higher than the frame rate of the CMOS sensor (i.e. the number of frames per second that the CMOS sensor can scan the active frames), the smart phone can photograph an image with light and dark stripe intervals through the camera.
For example, as shown in fig. 3, a scanning and activating sequence of pixel points in a CMOS sensor of a smartphone is shown in one exposure of a smartphone camera, and as shown in fig. 3, five rows of pixel points are scanned and activated in the CMOS sensor in one exposure of the smartphone camera, and then an image shot by the camera at this time can be composed of the rows of pixel points.
When the LED lamp lights up, the CMOS sensor can activate a row of bright pixel points, and when the LED lamp goes out, the CMOS sensor can activate a row of dark pixel points, so that in one exposure of the camera, the camera can shoot images with light and dark stripes at intervals, and the shot images obtained after the camera shoots the LED lamp serving as a light source for one time are shown in fig. 4.
It should be noted that, the smartphone takes a picture of the light source through the camera to obtain the light signal emitted by the light source, and the smartphone may take images of various colors due to the difference of the light source, for example, when the LED screen is used as the light source, the smartphone receives the light signal emitted by the LED screen in a picture taking manner, a color image may be taken. In order to facilitate the analysis and processing of the image converted from the received optical signal emitted by the light source by the smart phone, the image may be grayed, and the gray value of each pixel point in the image is determined.
In order to make the gray value distinction of each pixel point in the grayed image more obvious, in an embodiment, the grayed image may be further processed by an adaptive histogram equalization algorithm. Subsequently, the gray value of each pixel point in each row of the image is summed to obtain a one-dimensional matrix, a specific threshold value is set, and then the modulation coding data corresponding to each row of pixel points in the image is judged according to the comparison between the gray value of each row of pixel points in the image and the set threshold value. Meanwhile, in the embodiment of the application, the start position of the modulation coded data in the image can be determined by performing convolution operation on the one-dimensional matrix.
It should be further noted that, because the LED lamp emits the optical signal carrying the identifier in a blinking manner, in order to avoid that the optical signal emitted by the LED lamp has continuous "0" or "1", that is, the blinking frequency of the LED lamp is slow, so that a user perceives the blinking of the LED lamp, and further affects the normal lighting of the LED lamp, in an embodiment, the identifier indicating the position where the LED lamp is located is often coded and modulated in an on-off keying (OOK) manner and a manchester coding manner, so that the LED lamp does not have a blinking phenomenon that the user perceives when emitting the optical signal carrying the identifier.
Since the identifier carried in the optical signal emitted by the LED lamp and used for indicating the position of the LED lamp is coded and modulated by on-off keying (OOK) and manchester coding, when the smart phone decodes the modulation encoded data determined in the image converted from the received optical signal, the smart phone also needs to perform modulation processing on the determined modulation encoded data in the same manner, in an embodiment, the smart phone decodes the modulation encoded data to obtain the identifier information in the image, which may specifically include: and performing Manchester decoding processing and on-off keying (OOK) modulation processing on the modulation coded data to obtain the identification information in the image. In an embodiment, specifically, according to the flow shown in fig. 5, the received optical signal may be analyzed, and the identification information carried in the optical signal is determined.
The smart phone can locally complete the conversion and analysis of the received optical signal. Or the smart phone can also send the received optical signal to a back-end server, and then the optical signal is analyzed by the back-end server to determine the identifier carried in the optical signal, so that the occupation of the processing resource of the smart phone can be reduced to a certain extent.
And step 13, determining data corresponding to the identification information according to the identification information, and acquiring the data.
It should be noted that, by performing the above steps 11 and 12, the identification information carried in the determined optical signal may itself be data that the user desires to obtain, for example, the user may convert simple text information (such as a segment of text) into binary data, perform coded modulation on the binary data to obtain a corresponding coded modulation signal, and attach the coded modulation signal to the driving current of the light source, so that the light source may emit an optical signal corresponding to the modulation signal. Subsequently, other users can receive the optical signal sent by the light source in a photographing mode, and by executing the steps, the section of characters carried in the optical signal can be obtained, so that the purpose of obtaining data from the light source label is achieved.
Because the amount of data that can be emitted by the light source is often limited, at present, specific identification information is often sent by the light source, and the mapping relationship between the identification information and the data to be sent is stored on the server, so that after the smart phone determines the identification information carried in the optical signal sent by the light source through the execution of step 12, the smart phone can upload the determined identification information to the server, the server searches the data to be sent corresponding to the identification information according to the corresponding relationship between the preset identification and the data to be sent, feeds the searched data to be sent back to the smart phone, and the smart phone displays the data returned by the server, thereby completing the data acquisition from the light source label. In one embodiment, the specific implementation of step 13 may be: uploading the identification information to a server, so that the server searches data corresponding to the identification information according to the received identification information; and receiving data which is returned by the server and corresponds to the identification information.
As shown in fig. 6, a scene diagram of a smart phone that obtains data by sending an identifier to a network server is provided for the embodiment of the present application.
By using the data acquisition method provided in embodiment 1 of the present application, a visible light source can be used as an information tag by using a visible light communication technology, and an optical signal carrying specific identification information is emitted to the outside through the visible light source, and a terminal can receive the optical signal emitted by the visible light source used as the information tag and analyze the received optical signal, thereby determining identification information carried in the optical signal, and then determining data corresponding to the identification information according to the identification information, thereby acquiring the data. Compared with the existing information label (such as a two-dimensional code), the existing information label is very easy to copy and tamper, so that the information security is poor when the data is acquired through the existing information label.
Example 2
The embodiment of the application provides a data sending method, which is used for solving the problem that the existing information tag is low in safety. The specific implementation flow chart of the method is shown in fig. 7, and mainly comprises the following steps:
step 21, determining identification information corresponding to data to be sent;
it should be noted that the identification information may be determined by the user according to the data to be transmitted, and when the data amount of the data to be transmitted is small, the user may perform modulation and coding processing on the data to be transmitted, and directly transmit the optical signal carrying the data to be transmitted through the light source.
When the data volume of the data to be sent is large, a mode of sending the identification information corresponding to the data to be sent is often adopted, and the data corresponding to each identification information is stored in the server.
Step 22, performing code modulation on the identification information to obtain a corresponding code modulation signal;
in one embodiment, the identification information corresponding to the data to be transmitted determined by performing step 21 may be converted into a binary code, and the binary code converted from the identification information may be further code-modulated to obtain a code-modulated signal corresponding to the identification.
It should be noted that, in visible light communication, data transmission is implemented by using flickering of a light source, and therefore, in this embodiment of the present application, in order to enable the light source to emit a light signal carrying identification information, it is also necessary that the light source (e.g., an LED lamp, an LED screen, etc.) flickers in a specific manner, in order to avoid that a light signal emitted by the LED lamp has consecutive "0" or "1", that is, the frequency of the flickering of the LED lamp is slow, so that a user perceives the flickering of the LED lamp, and further normal use of the LED lamp is affected, in one implementation, an on-off keying (OOK) and manchester coding manner is often adopted to code and modulate an identifier indicating a position where the LED lamp is located, so that a flickering phenomenon that the user can perceive when the LED lamp emits the light signal carrying the identifier does not occur.
Thus, in one embodiment, a specific implementation of step 12 may include: and performing code modulation on the identifier by using on-off keying OOK and Manchester coding to obtain a code modulation signal corresponding to the identifier.
And step 23, adding the coded modulation signal to the driving current of the light source, and emitting an optical signal corresponding to the coded modulation signal through the light source.
Taking an LED lamp as an example of a light source, the LED lamp generally consists of a driving circuit and an LED light emitting source, wherein the driving circuit is mainly an intermediate circuit for controlling the LED lamp to receive a circuit signal, and the driving circuit can control electrical signals loaded at two ends of the LED lamp, so as to control the LED lamp to be turned on and off.
It should be noted that, in the embodiment of the present application, the foregoing step 22 to step 23 may be implemented by a modulation circuit, and as shown in fig. 8, the circuit diagram of the modulation circuit provided in the embodiment of the present application is a circuit diagram of the modulation circuit, where the circuit is composed of resistors R1, R2, and R3, a capacitor C1, an inductor, a single chip, a triode, a field effect transistor, and other devices. The identification information data determined by executing the step 21 is stored in the single chip microcomputer, the single chip microcomputer performs manchester coding and OOK modulation on the stored identification information by applying voltage to the modulation circuit, and outputs an obtained coded modulation signal from the single chip microcomputer to a Pulse Width Modulation (PWM) end, so that high-speed bright and dark flicker of the LED lamp is controlled according to the switching characteristics of the triode and the field effect transistor, and data transmission through the LED lamp is realized. It should be noted that the circuit diagram of the modulation circuit shown in fig. 8 is only an exemplary illustration, and is not a specific limitation to the modulation circuit, and it should be understood that any circuit that can implement modulation coding of the identification information and control of the bright and dark flickers of the LED lamp may be used as the modulation circuit in the embodiment of the present application.
By using the data transmission method provided in embodiment 2 of the present application, because a visible light communication technology is used, a visible light source can be used as an information tag, and an optical signal carrying specific identification information is emitted to the outside through the visible light source, and a terminal can receive the optical signal emitted by the visible light source used as the information tag and analyze the received optical signal, thereby determining identification information carried in the optical signal, and further determining data corresponding to the identification information according to the identification information, thereby acquiring the data. Compared with the existing information label (such as a two-dimensional code), the existing information label is very easy to copy and tamper, so that the information security is poor when the data is acquired through the existing information label.
Example 3
The embodiment of the application provides a data transmission system, which is used for solving the problem of low data reading safety through the existing information tag. As shown in fig. 9, a schematic structural diagram of a data transmission system provided in the embodiment of the present application includes a plurality of light sources, a mobile terminal, and a server.
The visible light source is used for determining identification information corresponding to data to be sent, performing coded modulation on the identification information to obtain a corresponding coded modulation signal, adding the coded modulation signal to a driving current of the light source, and emitting an optical signal corresponding to the coded modulation signal;
the terminal is used for receiving an optical signal sent by a light source, analyzing the received optical signal, determining identification information carried in the optical signal, determining data corresponding to the identification information according to the identification information, and acquiring the data;
the server is used for receiving the identification information sent by the terminal, searching the data corresponding to the identification information according to the received identification information, and returning the searched data to the terminal.
The operation of each part of the system is described in detail above, and is not described herein again.
By adopting the data transmission system provided in embodiment 3 of the present application, because a visible light communication technology is used, a visible light source can be used as an information tag, and an optical signal carrying specific identification information is emitted to the outside through the visible light source, and a terminal can receive the optical signal emitted by the visible light source used as the information tag and analyze the received optical signal, thereby determining the identification information carried in the optical signal, and further determining data corresponding to the identification information according to the identification information, thereby acquiring the data. Compared with the existing information label (such as a two-dimensional code), the existing information label is very easy to copy and tamper, so that the information security is poor when the data is acquired through the existing information label.
Example 4
The embodiment of the application provides a data acquisition device for solve the problem that the security is lower when data reading is carried out through the existing information tag. The specific structural diagram of the device is shown in fig. 10, and the device comprises: signal receiving section 31, analyzing section 32, and data acquiring section 33.
The signal receiving unit 31 is configured to receive an optical signal sent by a light source, where the optical signal carries identification information;
the analyzing unit 32 is configured to analyze the received optical signal and determine identification information carried in the optical signal;
and a data obtaining unit 33, configured to determine, according to the identification information, data corresponding to the identification information, and obtain the data.
In an embodiment, the parsing unit 32 is specifically configured to: converting the received optical signal into an image; carrying out graying processing on the image to obtain a gray value of each pixel point in the image; determining modulation coding data in the image according to the gray value of each pixel point in the image; and decoding the modulated coded data to obtain the identification information in the image.
In an embodiment, the parsing unit 32 is specifically configured to: and performing Manchester decoding processing and on-off keying (OOK) modulation processing on the modulation coded data to obtain the identification information in the image.
In an embodiment, the data obtaining unit 33 is specifically configured to: uploading the identification information to a server, so that the server searches data corresponding to the identification information according to the received identification information; and receiving data which is returned by the server and corresponds to the identification information.
By using the data acquisition device provided in embodiment 4 of the present application, a visible light source can be used as an information tag by using a visible light communication technology, and an optical signal carrying specific identification information is emitted to the outside through the visible light source, and a terminal can receive the optical signal emitted by the visible light source used as the information tag and analyze the received optical signal, thereby determining identification information carried in the optical signal, and then determining data corresponding to the identification information according to the identification information, thereby acquiring the data. Compared with the existing information label (such as a two-dimensional code), the existing information label is very easy to copy and tamper, so that the information security is poor when the data is acquired through the existing information label.
Example 5
The embodiment of the application provides a data sending device, which is used for solving the problem that the existing information tag is low in safety. The specific structural diagram of the device is shown in fig. 11, and the device comprises: an identification information determination unit 41, a code modulation unit 42, and a transmission unit 43.
The identification information determining unit 41 is configured to determine identification information corresponding to data to be sent;
the code modulation unit 42 is configured to perform code modulation on the identification information to obtain a corresponding code modulation signal;
and an emitting unit 43 for adding the code modulation signal to a driving current of a light source through which an optical signal corresponding to the code modulation signal is emitted.
In one embodiment, the code modulation unit 42 is specifically configured to: and performing code modulation on the identification information by using on-off keying OOK and Manchester coding to obtain a code modulation signal corresponding to the identification.
By adopting the data sending device provided in embodiment 5 of the present application, because a visible light communication technology is used, a visible light source can be used as an information tag, and an optical signal carrying specific identification information is emitted to the outside through the visible light source, and a terminal can receive the optical signal emitted by the visible light source used as the information tag and analyze the received optical signal, thereby determining identification information carried in the optical signal, and further determining data corresponding to the identification information according to the identification information, thereby obtaining the data. Compared with the existing information label (such as a two-dimensional code), the existing information label is very easy to copy and tamper, so that the information security is poor when the data is acquired through the existing information label.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (7)

1. A method of data acquisition, comprising:
receiving an optical signal sent by a light source, wherein the optical signal is subjected to code modulation based on identification information corresponding to data to be sent to obtain a corresponding code modulation signal, and the code modulation signal is added to a driving current of the light source and is sent by the light source;
analyzing the received optical signal, converting the received optical signal into an image, and determining the identification information carried in the optical signal;
determining data corresponding to the identification information according to the identification information, and acquiring the data;
analyzing the received optical signal, converting the received optical signal into an image, and determining the identification information carried in the optical signal specifically includes:
carrying out graying processing on the image to obtain a gray value of each pixel point in the image;
determining modulation coding data in the image according to the gray value of each pixel point in the image;
decoding the modulation coded data to obtain identification information in the image;
the receiving light source emits light signals, and the receiving light source specifically comprises:
and receiving the optical signal emitted by the light source in a photographing mode.
2. The method of claim 1, wherein decoding the modulation-encoded data to obtain the identification information in the image comprises:
and performing Manchester decoding processing and on-off keying (OOK) modulation processing on the modulation coded data to obtain the identification information in the image.
3. The method according to claim 1, wherein determining data corresponding to the identification information according to the identification information, and acquiring the data specifically includes:
uploading the identification information to a server, so that the server searches data corresponding to the identification information according to the received identification information;
and receiving data which is returned by the server and corresponds to the identification information.
4. A data acquisition apparatus, comprising:
the device comprises a signal receiving unit, a signal processing unit and a signal processing unit, wherein the signal receiving unit is used for receiving an optical signal sent by a light source, the optical signal is subjected to code modulation based on identification information corresponding to data to be sent to obtain a corresponding code modulation signal, the code modulation signal is added to a driving current of the light source, and the coded modulation signal is obtained by emission of the light source;
the analysis unit is used for analyzing the received optical signal, converting the received optical signal into an image and determining the identification information carried in the optical signal;
the data acquisition unit is used for determining data corresponding to the identification information according to the identification information and acquiring the data;
wherein, the analysis unit is specifically configured to:
carrying out graying processing on the image to obtain a gray value of each pixel point in the image;
determining modulation coding data in the image according to the gray value of each pixel point in the image;
decoding the modulation coded data to obtain identification information in the image;
the signal receiving unit is specifically configured to:
and receiving the optical signal emitted by the light source in a photographing mode.
5. The apparatus of claim 4, wherein the parsing unit is specifically configured to:
and performing Manchester decoding processing and on-off keying (OOK) modulation processing on the modulation coded data to obtain the identification information in the image.
6. The apparatus of claim 4, wherein the data acquisition unit is specifically configured to:
uploading the identification information to a server, so that the server searches data corresponding to the identification information according to the received identification information;
and receiving data which is returned by the server and corresponds to the identification information.
7. A data transmission system, comprising: a light source, a terminal and a server;
the light source is used for determining identification information corresponding to data to be sent based on an RFID radio frequency tag, performing coded modulation on the identification information to obtain a corresponding coded modulation signal, adding the coded modulation signal to a driving current of the light source, and emitting an optical signal corresponding to the coded modulation signal;
the terminal is used for receiving an optical signal sent by a light source, analyzing the received optical signal, determining identification information carried in the optical signal, determining data corresponding to the identification information according to the identification information, and acquiring the data; the receiving light source is used for receiving light signals sent by the light source, specifically, receiving the light signals sent by the light source in a photographing mode;
the server is used for receiving the identification information sent by the terminal, searching the data corresponding to the identification information according to the received identification information, and returning the searched data to the terminal.
CN201710253068.4A 2017-04-18 2017-04-18 Data acquisition method, data sending device and data transmission system Active CN107222258B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710253068.4A CN107222258B (en) 2017-04-18 2017-04-18 Data acquisition method, data sending device and data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710253068.4A CN107222258B (en) 2017-04-18 2017-04-18 Data acquisition method, data sending device and data transmission system

Publications (2)

Publication Number Publication Date
CN107222258A CN107222258A (en) 2017-09-29
CN107222258B true CN107222258B (en) 2020-10-20

Family

ID=59928224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710253068.4A Active CN107222258B (en) 2017-04-18 2017-04-18 Data acquisition method, data sending device and data transmission system

Country Status (1)

Country Link
CN (1) CN107222258B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI655867B (en) * 2017-09-14 2019-04-01 財團法人工業技術研究院 System and method for combining optical code and film
CN108833013B (en) * 2018-06-11 2020-02-21 北京科技大学 Visible light transceiving method and system
CN109409152B (en) * 2018-09-30 2022-07-19 成都世纪光合作用科技有限公司 Visible light label processing method, label reader and label information database
CN112788741B (en) * 2019-11-07 2023-01-31 Oppo广东移动通信有限公司 Positioning system, positioning method, positioning device and mobile terminal
CN111144519B (en) * 2019-12-05 2023-04-18 阿里巴巴集团控股有限公司 Data processing method, electronic tag and device
CN112312620A (en) * 2020-11-02 2021-02-02 桂林电子科技大学 Industrial data acquisition method in physical isolation device by controlling optical signal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103940419A (en) * 2013-04-09 2014-07-23 珠海横琴华策光通信科技有限公司 Indoor navigation method, device and system
US9236000B1 (en) * 2010-12-23 2016-01-12 Amazon Technologies, Inc. Unpowered augmented reality projection accessory display device
CN105827315A (en) * 2016-05-24 2016-08-03 中国人民解放军信息工程大学 Positioning method, terminal, LED (Light-Emitting Diode) control equipment and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9236000B1 (en) * 2010-12-23 2016-01-12 Amazon Technologies, Inc. Unpowered augmented reality projection accessory display device
CN103940419A (en) * 2013-04-09 2014-07-23 珠海横琴华策光通信科技有限公司 Indoor navigation method, device and system
CN105827315A (en) * 2016-05-24 2016-08-03 中国人民解放军信息工程大学 Positioning method, terminal, LED (Light-Emitting Diode) control equipment and system

Also Published As

Publication number Publication date
CN107222258A (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN107222258B (en) Data acquisition method, data sending device and data transmission system
CN105075151B (en) Effectively combine the method and apparatus of light modulation and visible light communication for power
WO2018041136A1 (en) Optical communication device and system and corresponding information transferring and receiving method
US10236979B2 (en) Transmitter, receiver, communication system, and transmission and reception methods
WO2016001339A1 (en) Communicating barcode data
US10523365B2 (en) Discrimination method and communication system
Schmid et al. Using smartphones as continuous receivers in a visible light communication system
Banik et al. Regression analysis for LED color detection of visual-MIMO system
CN109936694B (en) Optical communication device comprising reference light source and corresponding information transmission and reception method
CN109936713B (en) Method and apparatus for decoding information conveyed by a light source
JP7019798B2 (en) Optical communication devices and systems, and corresponding information transmission and reception methods.
US20190319706A1 (en) Visible light communication detecting and/or decoding
US10951312B2 (en) Transmitting device, transmission control device, and transmission method
JP6827598B1 (en) Device for image-based services
TWI650962B (en) Optical communication system and method thereof, transmission device, and receiving device
US9305200B2 (en) Information acquisition apparatus, information acquisition method, and non-transitory recording medium
CN105701475A (en) Reality augmenting method, device and system based on optical carrier wave marks
US10110865B2 (en) Lighting device, lighting system, and program
JP2018107824A (en) Receiver and reception method
CN111414594B (en) Identity authentication method and computer-readable storage medium
Salvi et al. LiCamPos: An indoor positioning system using light to camera communication
CN116597369A (en) Automatic alarm method and device, storage medium and electronic equipment
CN116458165A (en) Signal to noise ratio targeting

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant