Code-shift optical interference private communication system based on OCC

Through the introduction of interference LED array and code shift indication values ​​in the OCC system, to build a interference frame associated with the control frame and information frame, the private communication of information is realized, the privacy of information receiving in multiple user environments is solved, and information is realized. Orientation and directional push functions.

CN119364346AActive Publication Date: 2025-01-24JILIN UNIVERSITY
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411525054.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2025-01-24
Estimated Expiration
2044-10-29

AI Technical Summary

Technical Problem

The existing OCC system cannot ensure the privacy of information in a multi-user environment. All users receive the same information and cannot achieve differentiated information reception between different users.

Method used

By introducing an interference LED array into the information release LED array, using the code shift indicator value to construct an interference frame associated with the control frame and information frame, synchronous OOK modulation of the control frame and information frame is achieved, ensuring that each user can only decode its specific information.

Benefits of technology

It effectively guarantees the privacy of each user's information, realizes the functions of directional release and push of information, and solves the problem of privacy of information reception in a multi-user environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119364346A_ABST
    Figure CN119364346A_ABST
Patent Text Reader

Abstract

The invention relates to an OCC-based code shift light interference private communication system, which is characterized in that interference LED arrays are added in an information issuing LED array of an information issuing center, and the interference LED arrays and the interference LED arrays are arranged alternately; the information issuing center encapsulates a control frame or an information frame, constructs an interference frame associated with the control frame or the information frame, and synchronously drives an information issuing LED array and an interference LED array through an amplifying circuit, so that a mobile phone user receives an interference-added strip image; and the mobile phone user demodulates and decodes the stripe information by using the code shift indication value negotiated with the information issuing center to obtain information pushed to the mobile phone user by the information issuing center, and one user can only demodulate and decode the stripe information of the code shift light interference adopting the code shift indication value of the user. According to the invention, a broadcast visible light channel can be utilized to encrypt the user information physical layer, so that the privacy of the user information is guaranteed, and the directional publishing and directional pushing functions of the information are expanded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of visible light imaging communication, and relates to an OCC-based code-shift light interference private communication system. Background Art

[0002] The optical camera communication (OCC) system is a broadcasting system. The lighting LED of the information release center flashes at a frequency that is imperceptible to the human eye. Users within the coverage of the LED light source use the rolling shutter exposure mode of the CMOS image sensor to receive light and dark stripes, and transmit information by demodulating and decoding the stripes. OCC not only has the advantages of rich spectrum resources of visible light communication (VLC), energy saving and environmental protection, and no electromagnetic interference, but also has the advantages of low network construction cost due to the high penetration rate of LED and mobile intelligent communication equipment, and easy promotion due to the convenient operation of ordinary mobile phone users. Therefore, OCC has broad application prospects in the fields of information push, indoor positioning and navigation, broadcast notifications, and intelligent transportation.

[0003] In the developed OCC systems and domestic and foreign research, the transmitter sends information in the form of broadcasting, and users within the direct and reflected coverage of the LED light source receive information indiscriminately, that is, all users receive the same strip information. The transmitter indiscriminately modulates and demodulates in the same way for all users, so that all users receive the same demodulated information, making it impossible to achieve differentiated information reception for different users, and even more impossible to ensure the privacy of user information. Currently, there is little research on private communications in OCC, and there is a corresponding technical gap. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide an OCC-based code-shifted optical interference private communication system, which can effectively ensure the privacy of each user's information when there are multiple users in the LED light source coverage area.

[0005] In order to solve the above technical problems, the OCC-based code shift light interference private communication system of the present invention includes an information release center and a mobile phone user. In the information release center, the main control module encodes the information to be released by the mobile phone user and encapsulates the control frame and the information frame. It is characterized in that the LED array is composed of lamp beads of the information release LED array and the lamp beads of the interference LED array arranged alternately. The main control module uses the code shift indication value negotiated by the mobile phone user and the information release center to construct interference frames respectively associated with the control frame and the information frame, and realizes the synchronization of the control frame and the interference frame associated therewith, and the information frame and the interference frame associated therewith. OOK modulation; wherein the load of the interference frame associated with the control frame is the code shift information of the control frame load, the load of the interference frame associated with the information frame is the code shift information of the information frame load, and the number of code shift bits is equal to the code shift indication value; the modulated control frame signal or the information frame signal is synchronous with the interference frame signal to drive the information release LED array and the interference LED array to emit light respectively; the mobile phone user collects the original image formed by the light emission of the LED array and extracts the strip image, uses the code shift indication value to perform dislocation demodulation and decoding to remove light interference, obtains the information to be released by the user and displays it on the mobile phone screen; the code shift indication value is a random integer in the range of 1-24.

[0006] The lamp beads in the information release LED array and the lamp beads in the interference LED array are arranged alternately in strips or in rings.

[0007] The control frame, information frame and interference frame have the same frame structure, which is composed of a frame header, a user sequence number, a packet sequence number, a payload and an end symbol arranged in sequence.

[0008] The frame header is composed of 6 bits, which are "111110", and the end symbol is "0".

[0009] The load of the control frame is a bit sequence of "#NN" after Manchester encoding, where NN is a code shift indicator value; the load of the information frame is the information to be published, which is first encoded in UTF-8, then converted into binary data, and finally expanded into a bit sequence obtained by Manchester encoding.

[0010] Assume that the code shift indication value is K. The code shift information of the control frame payload is composed of the control frame payload smoothly shifted by K bits, filling the first K bits, and discarding the last K bits. The code shift information of the information frame payload is composed of the information frame payload smoothly shifted by K bits, filling the first K bits, and discarding the last K bits.

[0011] When the code shift indication value K is an even number, the first K bits are filled with 0101…01; when the code shift indication value K is an odd number, the first K-1 bits are filled with 0101…01, and the Kth bit is filled with 0.

[0012] The method for the mobile phone user to obtain the information to be released by the user by performing dislocation demodulation and decoding using the code shift indication value is as follows:

[0013] Step 1: Preprocess the strip image to obtain a strip grayscale image. According to the set grayscale threshold, demodulate each single strip in the strip information corresponding to the load into a code element value of 0, 1 or 2 to obtain a frame of complete load data;

[0014] Step 2: Encode and group the payload data according to the code shift indicator value K. Each group contains K code elements, and the groups are grouped from the front to the back. The number of code elements in the last group is less than or equal to K.

[0015] Step 3: subtract the first group of data of the interference frame load from the first group of data of the coded packet to obtain the first group of data of the information frame load; use the first group of data of the information frame load as the second group of data of the interference frame load; subtract the second group of data of the interference frame load from the second group of data of the coded packet to obtain the second group of data of the information frame load; use the second group of data of the information frame load as the third group of data of the interference frame load, and subtract the third group of data of the interference frame load from the third group of data of the coded packet to obtain the third group of data of the information frame load; and so on, obtain the Manchester coded data of the information frame load;

[0016] Step 4: Manchester decode the Manchester encoded data in the information frame payload, and then perform UTF-8 decoding on the Manchester decoded data to obtain the data information transmitted in this frame;

[0017] Repeat steps 1 to 4 to decode and demodulate all the strip information with optical interference sent by the information release center to the user to obtain the information to be released by the user.

[0018] Beneficial effects:

[0019] The present invention adds an interference LED array to the information release LED array of the information release center, and the two are arranged alternately; the information release center encapsulates the control frame or the information frame, and constructs the interference frame associated therewith, and synchronously drives the information release LED array and the interference LED array through the amplification circuit, so that the mobile phone user receives the strip image after the interference; the mobile phone user demodulates and decodes the strip information using the code shift indication value negotiated with the information release center, and obtains the information pushed to the mobile phone user by the information release center. A user can only demodulate and decode the strip information of the code shift light interference using the code shift indication value of the user, and cannot decode the strip information of other mobile phone users. Therefore, the OCC system can use the visible light channel of the broadcast to encrypt the user information at the physical layer, so that the privacy of the user information is guaranteed, and the directional release and directional push functions of the information are expanded. The present invention is simple, the software and hardware are easy to implement, and it is convenient to upgrade and transform the existing system.

[0020] The present invention utilizes physical layer encryption technology to add differential optical interference to the load information of different users within the same LED light source coverage area according to the code shift indication value negotiated between the user and the information release center. Each user demodulates and decodes the strip information with optical interference according to their own code shift indication value. When there are multiple users within the LED light source coverage area, the privacy of each user's information can be effectively guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a flow chart of the OCC-based code-shift optical interference private communication system of the present invention.

[0022] Figure 2a A schematic diagram showing the arrangement of the lamp beads in the information release LED array and the lamp beads in the interference LED array in strips in alternating patterns; Figure 2b This is a schematic diagram of the alternating arrangement of the lamp beads in the information release LED array and the lamp beads in the interference LED array in a ring.

[0023] Figure 3 This is the software flow chart of the control layer of the information release center.

[0024] Figure 4 This is the flow chart of information release software for the information release center.

[0025] Figure 5 Frame structure diagram of information frame, control frame and associated interference frame.

[0026] Figure 6 A schematic diagram of an interference frame associated with a constructed information frame.

[0027] Figure 7 Registration flow chart for mobile phone users.

[0028] Figure 8 This is a diagram of the registration application information structure.

[0029] Fig. 9 Flowchart of demodulating and decoding information released for mobile phone users.

[0030] Fig.10 A schematic diagram of decoding payload information using a code shift indicator value. DETAILED DESCRIPTION

[0031] In order to make the technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings in the examples of the present invention. It should be pointed out that if there are processes or symbols that are not specifically described in detail below, they can be implemented by those skilled in the art with reference to the prior art. The key to the present invention lies in the technical solution proposed for the private communication method. If it involves software or programming content, it can be implemented by those skilled in the art with reference to the existing technology.

[0032] The present invention is described in detail below by taking an example of a patient registering as a mobile phone user and waiting for treatment in a hospital.

[0033] After a mobile phone user registers online or offline, the registration information (patient name, ID number, registered department, consultation time) and the patient's consultation queue status will be sent to the information storage module of the information release center through the network; the patient (carrying a mobile phone) enters the coverage area of ​​the LED array light, opens the mobile phone APP, and initiates a registration application; after receiving the registration application, the information release center executes the registration process, and then searches the information storage module for the patient's registration information and current queue status through the main control module. The queue status of the consultation department can be released to the patient in real time through the LED array, and other patients will not be able to see the patient's information, nor will other patients' consultation information be pushed to the patient.

[0034] like Figure 1 As shown, the OCC-based code-shift light interference private communication system of the present invention includes an information release center and a mobile phone user, and the information release center includes a main control module, a registration and heartbeat packet detection module, an information storage module, a signal amplification circuit and an LED array; different from the existing communication system, in addition to the original information release LED array, an interference LED array is also provided in the LED array, and the lamp beads of the information release LED array and the lamp beads of the interference LED array are arranged alternately.

[0035] The main control module serves as the core of the information release center. It receives registration application information and heartbeat packets sent by mobile phone users through an uplink and sends them to the registration and heartbeat packet detection module to complete functions such as user information registration, negotiated code shift indication value, and heartbeat packet detection. The information storage module accesses the server to obtain the user's information to be released. In the information release process, the main control module encodes the user's information to be released, encapsulates the control frame and information frame, and performs OOK modulation. The modulated control frame signal or information frame signal drives the information release LED array to emit light through a signal amplification circuit. Different from the prior art, the registration application information includes a code shift indication value in addition to user information. The main control module also uses the code shift indication value to respectively construct an interference frame associated with the control frame and an interference frame associated with the information frame, thereby realizing synchronous OOK modulation of the control frame and the interference frame associated with it, and synchronous OOK modulation of the information frame and the interference frame associated with it. The modulated control frame signal and the interference frame signal associated with it synchronously drive the information release LED array and the interference LED array to emit light through a signal amplification circuit, and the modulated information frame signal and the interference frame signal associated with it synchronously drive the information release LED array and the interference LED array to emit light through a signal amplification circuit, thereby realizing the output of a light-added interference signal.

[0036] Mobile phone users use CMOS image sensors to collect the strip images formed by the light emitted by the LED array through the visible light channel, pre-process and multi-amplitude demodulate the strip images, and locate them by the frame header and end symbol to obtain a frame of complete payload data containing 0, 1, and 2 code elements; use the code shift indicator value to perform staggered decoding to remove light interference, and then perform secondary decoding to obtain the information to be released and display it on the mobile phone screen; at the same time, mobile phone users also send registration application information, code shift indicator values, and heartbeat packets to the main control module of the information release center through the uplink.

[0037] The lamp beads in the information release LED array and the lamp beads in the interference LED array are arranged alternately, and the alternate arrangement includes but is not limited to strip alternation and ring alternation. The number of lamp beads in the information release LED array is the same as that in the interference LED array, thereby ensuring that the light intensity of the two groups of LED arrays is the same. At the same time, a lampshade is added to the outside of the LED array to ensure that the mobile phone camera has no perception of the difference between the LED array in the data frame (control frame or information frame) and the interference frame.

[0038] Figure 2a The lamp beads in the information release LED array and the lamp beads in the interference LED array are arranged alternately in strips. The lamp beads in odd columns constitute the information release LED array, and the lamp beads in even columns constitute the interference LED array. The lamp beads in odd columns and the lamp beads in even columns are connected in series and are powered by a constant current source. Figure 2b The lamp beads in the information release LED array and the lamp beads in the interference LED array are arranged alternately in a ring. The lamp beads with odd numbers constitute the information release array, and the lamp beads with even numbers constitute the interference LED array. The lamp beads with odd numbers and the lamp beads with even numbers are connected in series and powered by a constant current source. The solid line in the figure is the series line between the lamp beads.

[0039] Figure 3 This is a software flow chart of the control layer of the information publishing center. The control layer performs tasks such as heartbeat packet detection, code shift indicator value and user sequence number allocation, and control frame encapsulation. The specific steps are as follows:

[0040] Step 1: Parameter configuration and initialization of the main control module of the information release center, configure GPIO and serial port to connect the signal amplification circuit and uplink, drive the Ethernet interface module to connect the information storage module to obtain the user's information to be released; initialize the timer to detect the interval time of the received heartbeat packet.

[0041] Step 2: Check whether the wireless channel uplink information is received. If no information is received, continue with step 2; if information is received, proceed to step 3.

[0042] Step 3: Determine whether the received information is a registration application or a heartbeat packet. If it is a heartbeat packet, record the user's heartbeat packet interval and delete the registered user who has not sent a heartbeat packet within the specified time; if it is a registration application, proceed to step 4.

[0043] Step 4: Check whether the code shift indicator value in the registration application information has been allocated. If it has been allocated, reallocate the code shift indicator value and send it to the mobile phone user via the downlink, and then proceed to step 5; if it has not been allocated, directly proceed to step 5.

[0044] Step 5: Assign a user number to the user who sends the registration application information.

[0045] Step 6: Encapsulate the control frame according to the frame structure. The payload of the control frame is "#NN", where NN is the negotiated code shift indicator value; UTF-8 encoding contains 8 bits per byte, so the payload #NN occupies 3 bytes, totaling 24 bits; Manchester encoding contains 16 bits per byte, so the payload #NN of the control frame occupies 3 bytes, totaling 48 bits.

[0046] Step 7: Construct an interference frame associated with the control frame. The payload of the interference frame is the code shift information of the control frame payload, and the number of code shift bits is determined by the code shift indication value in the registration application information.

[0047] Step 8: Synchronize the OOK modulation control frame and the interference frame associated with it, and drive the information publishing LED array and the interference LED array at the same time through the signal amplification circuit to publish the interference control information, and return to execute step 2.

[0048] Figure 4 This is a software flow chart for publishing information to be published by users of the information publishing center. The information publishing center polls the queue of information to be published by registered mobile phone users and publishes information in a multiplexed manner. The specific steps are as follows:

[0049] Step 1: Check whether the parameter configuration and initialization of the main control module of the information release center are completed. If not, continue with step 1; if completed, proceed to step 2.

[0050] Step 2: Check whether there are new registered users. If there are no new users registered, execute step 3; if there are new users registered, access the server to query the information to be published by the new registered users, and add the information to be published to the information publishing queue.

[0051] Step 3: poll the queue of registered users to be published and extract the information to be published. The polling is performed in the order of the user serial numbers assigned by the information publishing center. The deregistered users are not within the polling range. Each polling only extracts the information data of one information frame of one user to be published.

[0052] Step 4: Encapsulate the information frame according to the frame structure. First, encode the information data in UTF-8, then convert it into binary data, and finally expand it into Manchester code to obtain the payload. Then, encapsulate the encoded payload into a frame according to the frame structure.

[0053] Step 5: Construct an interference frame associated with the information frame. The payload of the interference frame is the code shift information of the payload of the information frame, and the number of code shift bits is determined by the code shift indication value negotiated between the user and the information publishing center.

[0054] Step 6: Synchronize the OOK-modulated information frame and its associated interference frame, and simultaneously drive the information publishing LED array and the interference LED array through the signal amplification circuit to publish the information to be published with interference, and then return to execute Step 2.

[0055] The frame structures of the control frame, the information frame, and the interference frame are the same. As Figure 5 shown, the frame structure consists of a frame header, a user serial number, a packet serial number, a payload, and an end symbol arranged in sequence. Among them, the frame header consists of 6 bits, which is "111110" to indicate the start of the frame, and the end symbol is "0" to indicate the end of the frame; the user serial number consists of 10 bits to indicate the user belonging of the frame data. When the user receives the frame data, the user serial number is parsed to determine whether to continue demodulation and decoding or discard the frame; the packet serial number has 14 bits to represent the sorting of the frame data in all data frames of the information to be published by the user; the payload has 48 bits, which is composed of "#NN" or the bit sequence after Manchester encoding of the information to be published or the interference information bit sequence.

[0056] The information to be published consists of Chinese characters, English characters, and punctuation marks. Among them, each Chinese character and Chinese punctuation mark occupies 3 bytes, and each English character and English punctuation mark occupies 1 byte. Therefore, one information frame can transmit 1 Chinese character or 1 Chinese punctuation mark, or 3 English characters or 3 English punctuation marks.

[0057] The code shift information bit sequence of the interference frame associated with the control frame is obtained by shifting each bit of the payload bit sequence of the control frame according to the code shift indication value, and the code shift information bit sequence of the interference frame associated with the information frame is obtained by shifting each bit of the bit sequence of the information frame payload according to the code shift indication value. If the code shift indication value K agreed upon by the information publishing center and the mobile phone user is 4, as Figure 6 shown, taking the Chinese character "中" in the information to be published as an example. The specific steps for constructing the code shift information are as follows:

[0058] Step 1: The UTF-8 encoding of "中" occupies 3 bytes, and its encoding is: 0xE4B8AD. When converted into binary data, it is represented as: 0b111001001011100010101101;

[0059] Step 2: After Manchester encoding, expand it to a 48-bit bit stream: 0b10101001011001011001101010010101011001100110100110;

[0060] Step 3: According to the code shift indication value K=4, the first 4 bits of the code shift information are filled with 0101, and the bits from the 5th to the 48th are filled with the "medium" Manchester encoded bit sequence. After filling to 48 bits, the remaining 4 bits, namely 0110, can be deleted.

[0061] Except that the payload is replaced by the code shift information, the rest of the interference frame is consistent with its associated control frame or information frame.

[0062] When the corresponding bits of the code shift information and the control frame or information frame associated with it are both 1, the information release LED array and the interference LED array are lit at the same time; when a bit of the code shift information is 1 and the corresponding bit of the control frame or information frame associated with it is 0, only the interference LED array is lit; when a bit of the control frame or information frame is 1 and the corresponding bit of the code shift information is 0, only the information release LED array is lit; when the corresponding bits of the code shift information and the control frame or information frame associated with it are both 0, both the information release LED array and the interference LED array are off.

[0063] Figure 7 This is the registration flow chart for mobile phone users. When a mobile phone user enters the LED light source coverage area, he opens the mobile phone APP and starts the mobile phone registration process. First, he sets the camera parameters and permissions and sends the user registration application information.

[0064] The data structure of the mobile phone user registration application information consists of two parts: user information and code shift indication value, and the structure is as follows: Figure 8 As shown; wherein the user information includes name and ID number, and the code shift indication value is a random integer in the range of 1-24.

[0065] The mobile phone user sends the registration application information, collects and processes the image, and completes the registration process. The specific steps are as follows:

[0066] Step 1: Get the strip image. Use the mobile phone camera to capture the original image, extract the region of interest of the original image, and get the strip image.

[0067] Step 2: Image preprocessing. The stripe image is preprocessed to obtain a stripe grayscale image; when the information release LED array and the interference LED array are lit at the same time, the single stripe is a bright stripe; when only the interference LED array or the information release LED array is lit, the single stripe is a gray stripe; when both the information release LED array and the interference LED array are not lit, the single stripe is a dark stripe.

[0068] Step three: Preliminary analysis of the strip information of the strip grayscale image. If a received frame of strip grayscale image contains two complete frame headers, it is determined that the strip grayscale image contains a complete frame of strip information, and step four is executed; if it only contains one complete frame header or does not contain a frame header, the strip grayscale image does not contain a complete frame of strip information, and return to execute step one.

[0069] Step 4: Demodulate the stripe information. According to the stripe width of the frame header, determine the single stripe width (the frame header is 111110, the stripe width is 6 code elements, and the single stripe width is one code element), and set the gray threshold to L l ~L g , the grayscale of a single band is less than L l , greater than or equal to L l Less than or equal to L g , greater than L g When , it is demodulated into three types of code element values ​​0, 1, and 2 respectively.

[0070] Step 5: Decode the payload information using the registered code shift indicator value.

[0071] Step 6: If the load information data decoded in step 5 meets the format of #NN, it is determined that the frame carrying the load is a control frame, and the load information data is the code shift indication value transmitted to the current user by the information publishing center, and then step 7 is executed; if the load information data decoded in step 5 does not meet the format of #NN, it is determined that the frame carrying the load is a data frame of other users, and the load information data is the information transmitted to other users by the information publishing center, and then the process returns to step 1.

[0072] Step 7: Determine the bit sequence of the user number from the frame structure, decode the bit sequence, obtain the user number of the user, and register the user number and the code shift indication value.

[0073] Step 8: Set the registration completion indication bit. Executing this step indicates that the mobile phone user has completed the code shift indication value negotiation with the information release center, and obtained the user serial number of the user, completing the registration. Therefore, the registration completion indication bit is assigned a value of 1, that is, set. When the mobile phone user performs the demodulation and decoding information release process, he must check whether the registration completion indication bit is 1, so as to determine whether to continue the demodulation and decoding information release process.

[0074] Step 9: Start the heartbeat packet sending mode. The data structure of the heartbeat packet is consistent with the data structure of the registration application information, such as Figure 8 After the heartbeat packet sending mode is started, the mobile phone user sends a heartbeat packet to the information release center through the uplink every 5 seconds, and stops sending the heartbeat packet when the mobile phone APP cannot receive the stripe information or is closed.

[0075] Fig. 9 Flow chart of demodulating and decoding information for mobile phone users. After the mobile phone APP completes the registration process, it enters the process of demodulating and decoding information release, receiving and processing the information sent to the user by the information release center. The specific steps are as follows:

[0076] Step 1: Determine whether the registration is completed by checking the indication bit. If the registration completion indication bit is 1, the registration is completed, and then execute step 2; if the registration completion indication bit is 0, the registration is not completed, and then continue to execute step 1 until the registration is determined to be completed.

[0077] Step 2: Obtain a strip image. Use a camera to capture an original image, extract a region of interest from the original image, and obtain a strip image.

[0078] Step 3: Image preprocessing: Preprocess the image of the region of interest to obtain a strip grayscale image.

[0079] Step 4: Preliminary analysis of the strip information of the strip grayscale image. If the received frame of strip grayscale image contains two complete frame headers, it is determined that the strip grayscale image contains a complete frame of strip information, and step five is executed; if it only contains one complete frame header or does not contain a frame header, the strip grayscale image does not contain a complete frame of strip information, and return to execute step two.

[0080] Step 5: Demodulate the strip. According to the strip width in the frame header, determine the single strip width, and demodulate the strip into three types of symbol values ​​0, 1, and 2 according to the set gray threshold. Set the gray threshold to L l ~L g , the grayscale of a single band is less than L l , greater than or equal to L l Less than or equal to L g , greater than L g When , it is demodulated into three types of code element values ​​0, 1, and 2 respectively.

[0081] Step 6: Determine the bit sequence of the user number from the frame structure, decode the bit sequence to obtain the user number. If the user number matches the user number assigned to the user by the information release center, determine that this frame is an information frame sent by the information release center to the user, and execute step 7; otherwise, determine that this frame is not an information frame sent by the information release center to the user, and return to execute step 2.

[0082] Step 7: Determine the bit sequence of the payload information from the frame structure, and use the code shift indicator value to decode the payload information of the information frame.

[0083] Step 8: Determine the bit sequence of the packet number from the frame structure, decode the packet number, and display the decoded load information in order on the mobile phone APP.

[0084] The control frame or information frame payload information demodulation and decoding methods are the same. Taking the code shift indication value K = 4 and the transmitted data being the Chinese character "中" as an example, as Fig.10 shown, the specific steps are as follows:

[0085] Step 1: According to the set grayscale threshold, demodulate each single stripe in the stripe information corresponding to the payload into a symbol value of type 0, 1, or 2, and obtain a frame of complete payload encoded data;

[0086] 1) If the single stripe is a dark stripe, demodulate it to 0 (both the information frame data and the interference frame data are 0);

[0087] 2) If the single stripe is a gray stripe, demodulate it to 1 (one of the information frame data and the interference frame data is 0 and the other is 1);

[0088] 3) If the single stripe is a bright stripe, demodulate it to 2 (both the information frame data and the interference frame data are 1);

[0089] Step 2: According to the negotiated code shift indication value K = 4, perform encoding grouping on the payload encoded data. Each group contains the same number of symbols as the code shift indication value K, and group them sequentially from front to back. The last group may have less than K symbols;

[0090] Step 3: According to the code shift indication value K = 4, subtract the first group of data 0101 of the interference frame payload from the first group of data 1111 of the encoded grouping to obtain the first group of data 1010 of the information frame payload; use the first group of data 1010 of the information frame payload as the second group of data of the interference frame payload; subtract the second group of data of the interference frame payload from the second group of data 2011 of the encoded grouping to obtain the second group of data 1001 of the information frame payload; use the second group of data 1001 of the information frame payload as the third group of data of the interference frame payload, and subtract the third group of data of the interference frame payload from the third group of data 1111 of the encoded grouping to obtain the third group of data 0110 of the information frame payload; and so on, to obtain the Manchester encoded data 0b1010 10010110 0101 1001 1010 1001 0101 1001 1001 1010 0110 of the information frame payload when the code shift indication value K = 4.

[0091] Step 4: Perform Manchester decoding on the Manchester encoded data of the information frame payload to obtain the UTF-8 encoded data 0b111001001011100010101101 transmitted by the information frame payload, and decode the UTF-8 encoded data to obtain the information of the information frame payload.

[0092] Step 5: Repeat Step 1 to Step 4 to demodulate and decode all the stripe information with optical interference sent by the information publishing center to this user to obtain the information to be published by this user.

[0093] The present invention utilizes the code shift indication value negotiated between the information release center and the mobile phone user to construct the interference frame of the control frame or the information frame, and realizes the synchronous OOK modulation of the control frame or the information frame and the interference frame associated therewith; the modulated control frame signal or the information frame signal and the interference frame signal synchronously drive the alternately arranged information release LED array and the interference LED array to emit light; the mobile phone user obtains the interference strip information within the direct or reflected coverage range of the LED, and utilizes the code shift indication value to demodulate and decode, and obtains the information transmitted to the user by the control frame and the information frame; the mobile phone user sends a heartbeat packet through the uplink to ensure that the information release center knows that the user is still in the information receiving state; the present invention utilizes the constructed interference frame to increase the differentiated optical interference between different users on the visible light broadcast channel, and each user can only decode the information of the user, thereby solving the privacy problem of multi-user receiving information, and the method is simple, the software and hardware are easy to implement, and it is convenient to upgrade and transform the existing system.

[0094] The uplink includes but is not limited to wireless communication methods such as mobile communication, WIFI, and Bluetooth.

Claims

1. A code shift optical interference private communication system based on OCC, including an information release center and a mobile phone user, wherein the main control module in the information release center encodes the information to be released by the mobile phone user and encapsulates the control frame and the information frame, characterized in that The LED array is composed of lamp beads of the information release LED array and lamp beads of the interference LED array arranged alternately. The main control module uses the code shift indication value negotiated by the mobile phone user and the information release center to construct interference frames associated with the control frame and the information frame respectively, and realizes synchronous OOK modulation of the control frame and the interference frame associated therewith, and the information frame and the interference frame associated therewith; wherein the load of the interference frame associated with the control frame is the code shift information of the control frame load, and the load of the interference frame associated with the information frame is the code shift information of the information frame load, and the number of code shift bits is equal to the code shift indication value; the modulated control frame signal or the information frame signal is synchronized with the interference frame signal to drive the information release LED array and the interference LED array to emit light respectively; the mobile phone user collects the original image formed by the light emission of the LED array and extracts the strip image, and uses the code shift indication value to perform dislocation demodulation and decoding to remove light interference to obtain the information to be released by the user and display it on the mobile phone screen; the code shift indication value is a random integer in the range of 1-24.

2. The OCC-based code-shifted optical jamming private communication system according to claim 1 is characterized in that The lamp beads in the information release LED array and the lamp beads in the interference LED array are arranged alternately in strips or in rings.

3. The OCC-based code-shifted optical jamming private communication system according to claim 1 is characterized in that The control frame, information frame and interference frame have the same frame structure, which is composed of a frame header, a user sequence number, a packet sequence number, a payload and an end symbol arranged in sequence.

4. The OCC-based code-shifted optical jamming private communication system according to claim 3 is characterized in that The frame header consists of 6 bits, which is "111110", and the end symbol is "0".

5. The OCC-based code-shifted optical jamming private communication system according to claim 3 is characterized in that The load of the control frame is a bit sequence of "#NN" after Manchester encoding, where NN is a code shift indicator value; the load of the information frame is the information to be published, which is first encoded in UTF-8, then converted into binary data, and finally expanded into a bit sequence obtained by Manchester encoding.

6. The OCC-based code-shifted optical jamming private communication system according to claim 3 is characterized in that Assume that the code shift indication value is K. The code shift information of the control frame payload is composed of the control frame payload smoothly shifted by K bits, filling the first K bits, and discarding the last K bits. The code shift information of the information frame payload is composed of the information frame payload smoothly shifted by K bits, filling the first K bits, and discarding the last K bits.

7. The OCC-based code-shifted optical jamming private communication system according to claim 6 is characterized in that When the code shift indication value K is an even number, the first K bits are filled with 0101…01; when the code shift indication value K is an odd number, the first K-1 bits are filled with 0101…01, and the Kth bit is filled with 0.

8. The OCC-based code-shifted optical jamming private communication system according to claim 6 is characterized in that The method for the mobile phone user to obtain the information to be released by the user by performing dislocation demodulation and decoding using the code shift indication value is as follows: Step 1: Preprocess the strip image to obtain a strip grayscale image. According to the set grayscale threshold, demodulate each single strip in the strip information corresponding to the load into a code element value of 0, 1 or 2 to obtain a frame of complete load data; Step 2: Encode and group the payload data according to the code shift indicator value K. Each group contains K code elements, and the groups are grouped from the front to the back. The number of code elements in the last group is less than or equal to K. Step 3: subtract the first group of data of the interference frame load from the first group of data of the coded packet to obtain the first group of data of the information frame load; use the first group of data of the information frame load as the second group of data of the interference frame load; subtract the second group of data of the interference frame load from the second group of data of the coded packet to obtain the second group of data of the information frame load; use the second group of data of the information frame load as the third group of data of the interference frame load, and subtract the third group of data of the interference frame load from the third group of data of the coded packet to obtain the third group of data of the information frame load; and so on, obtain the Manchester coded data of the information frame load; Step 4: Manchester decode the Manchester encoded data in the information frame payload, and then perform UTF-8 decoding on the Manchester decoded data to obtain the data information transmitted in this frame; Repeat steps 1 to 4 to decode and demodulate all the strip information with optical interference sent by the information release center to the user to obtain the information to be released by the user.

Citation Information

Patent Citations

  • Inter-vehicle communication implementation method based on OCC double-exposure-duration camera receiving mode and distance perception

    CN112887031A

  • Visible light communication system of multiple access method based on light two -dimensional code

    CN205754337U