Disclosure of Invention
The invention aims to provide a visible light communication method between a television screen with directional transmission and a smart phone, so that different devices can receive different information, and the method has the function of protecting privacy.
In order to achieve the above purpose, the invention adopts the following technical scheme:
a visible light communication method between a television screen with directional transmission and a smart phone comprises the following steps:
setting at least one general information pixel block, at least one directional information pixel block and at least one separator pixel block on a television screen;
the separator pixel block is used as a transmitting module for visible light communication to transmit a separator library, wherein each equipment ID in the separator library corresponds to a start separator and an end separator;
the general information pixel block is used for sending the modulated general information;
the orientation information pixel block is used for sending the modulated orientation information of the multi-section connection, wherein each section of orientation information comprises: the device ID after modulation corresponds to the required orientation information, and a start separator corresponding to the device ID and an end separator corresponding to the device ID are respectively arranged before and after the modulated orientation information;
the intelligent mobile phone uses a camera as a receiving module for visible light communication to receive information from the universal information pixel block, the directional information pixel block and the separator pixel block;
the intelligent mobile phone detects the self equipment ID, demodulates the information in the separator pixel block, and acquires a start separator and an end separator corresponding to the self equipment ID; the smart phone searches for a start separator and an end separator corresponding to the ID of the smart phone in the modulated directional information, and demodulates the directional information between the start separator and the end separator;
the smart phone demodulates the general information and combines the directional information with the general information to obtain information that generally corresponds to the information that the device needs to receive.
In general, the general information is information that does not relate to privacy, and the directional information is information that relates to privacy.
In some embodiments, the correspondence in the separator library is implemented by an encryption script that outputs a start separator and an end separator when the device ID is entered.
In some embodiments, the start separator and the end separator are the same separator.
In some embodiments, the general information further includes a combination rule of the general information and the orientation information.
In some embodiments, the separator is obtained by hashing the device ID.
In some embodiments, the device ID is a physical MAC address or phone number of the smartphone or an account ID corresponding to the scanning APP.
Preferably, the pixel block is composed of a plurality of immediately adjacent pixels, and the luminous conditions of the pixels composing the pixel block are synchronous.
The invention has the advantage over the prior art that by introducing a block of directional information pixels and a specific separator strategy, the invention successfully achieves information transfer for a specific device, ensuring that unique and personalized information can be transferred to different devices on a common display platform. In some application scenes, such as the examination of medical detection reports, the requirements of privacy protection are met, and the efficiency and convenience of information transmission are improved.
Secondly, the invention abandons the traditional password verification method, and adopts a separator generation strategy based on the equipment ID and the encryption script, thereby greatly simplifying the operation flow of the user. Meanwhile, the policy enhances the security of the system, ensures that only authorized devices can access and decode the directional information, and further improves the protection level of the privacy information. The design gives consideration to user experience and information security, and brings innovation and improvement to modern visible light communication application.
In addition, by extracting a part of non-sensitive or non-private information as the general information to be transmitted, the amount of the directional information can be reduced, so that one general information is not required to be transmitted for each device, repeated transmission of the general information is avoided, and the information transmission amount is reduced.
Detailed Description
The following describes specific embodiments of the present invention with reference to the drawings.
As shown in fig. 1, the present invention includes the steps of:
setting at least one general information pixel block, at least one directional information pixel block and at least one separator pixel block on a television screen;
the separator pixel block is used as a transmitting module for visible light communication to transmit a separator library, wherein each equipment ID in the separator library corresponds to a start separator and an end separator;
the general information pixel block is used for sending the modulated general information;
the orientation information pixel block is used for sending the modulated orientation information of the multi-section connection, wherein each section of orientation information comprises: the device ID after modulation corresponds to the required orientation information, and a start separator corresponding to the device ID and an end separator corresponding to the device ID are respectively arranged before and after the modulated orientation information;
the intelligent mobile phone uses a camera as a receiving module for visible light communication to receive information from the universal information pixel block, the directional information pixel block and the separator pixel block;
the intelligent mobile phone detects the self equipment ID, demodulates the information in the separator pixel block, and acquires a start separator and an end separator corresponding to the self equipment ID; the smart phone searches for a start separator and an end separator corresponding to the ID of the smart phone in the modulated directional information, and demodulates the directional information between the start separator and the end separator;
the smart phone demodulates the general information and combines the directional information with the general information to obtain information that generally corresponds to the information that the device needs to receive. Wherein the rules that combine the orientation information with the general information may be encoded in the general information. In practice, the general information is generally set to be a general content, such as a form template, and the directional information includes privacy information, such as privacy data of a corresponding user of the reaction device in the form, including diagnostic data of the medical field, etc.
In the above method, the separation Fu Kuke is performed by using one encryption script, in which the correspondence between the device and the separator is set, and when the device ID is input, the corresponding separator is output. For an unlicensed device, an erroneous separator may be correspondingly set in the separator Fu Kuzhong, where the erroneous separator does not exist in the directional information, so that the device that is not allowed cannot obtain the directional information, and the directional information is often some information with privacy, so that it can be ensured that the private information cannot be revealed. Therefore, the invention can be seen to have the function of directional encryption.
In the above method, the separator may be generated in various ways, and the start separator and the end separator may be set to be the same separator, in which case a pseudo-random number generator may be utilized to generate a unique separator for each device; the separator may be generated by a hash function using a device ID or other device specific information; certain coding schemes, such as Manchester coding, barker coding, or other unique coding schemes, may be utilized to generate a particular code sequence as a separator. The separator may also be set to have a fixed length or pattern so that the receiving end can easily detect it.
The device ID is an identifier unique to each device, and may be set as a physical MAC address of the device, or may be set as a mobile phone number of the device, or may be set as an account ID of the APP for scanning, for example: if a bank uses a large screen to display some transfer information, a customer needs to scan the large screen by using a mobile phone bank APP to obtain corresponding transfer information, and the transfer information is generally bound with an account of the mobile phone bank APP, so that the ID can be used as an input device ID to obtain a decryption key. The general account ID can be a longer character string, and the mobile phone bank APP is also protected, and the mobile phone bank APP can detect the account ID, so that the probability of being cracked is lower.
The pixel block consists of a plurality of pixels which are closely adjacent to each other, and the size of the pixel block is determined according to the resolution of a television screen and the resolution of a camera of the smart phone, so that each pixel block can be clearly resolved by the camera; the pixel block is arranged because the resolution of the existing television screen is high, and a single pixel is not easily recognized by the smart phone, so that a plurality of pixels are needed to form the pixel block, and the pixel block emits light in a unified mode to be easily recognized by the smart phone.
Consider one specific scenario as follows:
in the application of the medical diagnosis center, the invention can provide a convenient and safe way for the patient to check the physical examination report, thereby ensuring that the private data cannot be disclosed or revealed.
When a patient enters a medical center, if he has registered and has his own clinic account ID (possibly associated with his cell phone number, medical insurance card number or other unique identification), this ID will be used to identify and obtain their physical examination report.
The central public large screen will periodically refresh and display general information such as the flow of the inspection, latency, etc., and more importantly, a template form of the inspection report, and the association of the template form with directional information (i.e., the data in a particular form), such as which spaces are used to fill which data. After the patient examination is completed, the orientation information of all the patients is added with the corresponding separator, and then the first orientation information is connected to form one period of played orientation information and is sent outwards through the orientation information pixel block, and meanwhile, the large screen also sends the separator library through the separator pixel block.
The patient can open the medical APP on the mobile phone, and the scanning function of the medical APP is utilized to aim at the large screen, so that some general information such as the treatment process and the like can be obtained. If the patient has already undergone an examination, orientation information is also acquired, i.e. some examination data, more specifically: the mobile phone demodulates the information in the 'separator pixel block' to obtain separators matched with the account ID, then searches the corresponding start and end separators in the received directional information, so as to locate the exclusive physical examination report information, and matches the demodulated physical examination report information with the template form in the general information to obtain the physical examination report. When unauthorized or unknown devices attempt to scan a large screen, they will not be able to decrypt and view any physical examination report because the separator they acquire is wrong (or they have no separator at all), thus ensuring privacy security for the patient. By the method, the medical diagnosis center can use the existing large screen and the mobile phone of the patient to provide an immediate, safe and convenient way for the patient to check the physical examination report of the patient without worrying about the risk of privacy disclosure. In addition, this approach also reduces the need to print paper reports, thereby saving resources and costs.
The foregoing is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art, who is within the scope of the present invention, should be covered by the protection scope of the present invention by making equivalents and modifications to the technical solution and the inventive concept thereof.