Information transmission method and apparatus, communication device, and storage medium of communication device
By modifying the frequency characteristic values of the colored light signal to carry the information to be transmitted and extracting the information at the receiving end, the problem of increased cost in optical signal transmission is solved, and low-cost information transmission is achieved.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-17
- Publication Date
- 2026-04-07
AI Technical Summary
During optical signal transmission, the additional generation and transmission of transmission messages to determine the transmission status will increase costs.
By modifying the frequency characteristic values of the original colored light signal according to the correspondence between the type of information to be transmitted and the frequency of colored light, and the correspondence between the content of the information to be transmitted and the frequency characteristic values, a target colored light signal carrying the information to be transmitted is generated, and the information is extracted at the receiving end through the correspondence.
It reduces transmission costs and enables efficient information transmission during optical signal transmission without the need for additional generation and transmission of transmission messages.
Smart Images

Figure CN117014071B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of network technology, and in particular to an information transmission method and device, a communication device, and a storage medium thereof. BACKGROUND
[0002] With the continuous acceleration of informatization, the degree of information sharing between different devices is also increasing. The sending end and the receiving end can convert electrical signals into optical signals through an optical fiber router, and then realize information sharing between different devices through the transmission of optical signals.
[0003] To more effectively understand the transmission of optical signals, it is necessary to determine a transmission message representing the transmission condition (such as the running condition of the sending end) while transmitting the optical signal, and to separately send the transmission message, so as to realize the grasp of the transmission condition of the optical signal. However, separate transmission of the transmission message will increase the transmission cost. SUMMARY
[0004] Therefore, it is necessary to provide an information transmission method and device capable of reducing transmission cost, a communication device, and a storage medium thereof.
[0005] In a first aspect, the present application provides an information transmission method applied to a sending end. The method comprises:
[0006] According to a first correspondence relationship between the type of the to-be-transmitted information and the color light frequency, and a second correspondence relationship between the content of the to-be-transmitted information and the frequency characteristic value, the original frequency characteristic value of the original color light signal is modified to obtain a target color light signal carrying the to-be-transmitted information.
[0007] The target color light signal is sent to the receiving end, for instructing the receiving end to extract the to-be-transmitted information from the target color light signal based on the first correspondence relationship and the second correspondence relationship.
[0008] In one of the embodiments, according to the first correspondence relationship between the type of the to-be-transmitted information and the color light frequency, and the second correspondence relationship between the content of the to-be-transmitted information and the frequency characteristic value, the original frequency characteristic value of the original color light signal is modified to obtain a target color light signal carrying the to-be-transmitted information, comprising:
[0009] According to the first correspondence relationship between the type of the to-be-transmitted information and the color light frequency, a target frequency is determined from the color light frequency of the original color light signal.
[0010] According to the second correspondence relationship between the content of the to-be-transmitted information and the frequency characteristic value, a target frequency characteristic value corresponding to the to-be-transmitted information is determined.
[0011] Based on the target frequency characteristic value and the target frequency, the original frequency characteristic value of the original colored light signal is modified to obtain the target colored light signal carrying the information to be transmitted.
[0012] In one embodiment, the original frequency characteristic value of the original colored light signal is modified according to the target frequency characteristic value and the target frequency to obtain the target colored light signal carrying the information to be transmitted, including:
[0013] Modify the original frequency feature value corresponding to the target frequency in the original colored light signal to the target frequency feature value.
[0014] In one embodiment, modifying the original frequency feature value corresponding to the target frequency in the original colored light signal to the target frequency feature value includes:
[0015] Based on the third correspondence between the type of information to be transmitted and the characteristic fields in the colored light frequency, the information carrying fields are determined from the characteristic fields of the target frequency;
[0016] Modify the original frequency characteristic value corresponding to the information-carrying field in the original colored light signal to the target frequency characteristic value.
[0017] In one embodiment, the feature field of the target frequency further includes a flag field, and the method further includes:
[0018] Modify the flag feature value corresponding to the flag field in the original colored light signal.
[0019] Secondly, this application provides an information transmission method applied at a receiving end. The method includes:
[0020] The receiver sends a target colored light signal carrying information to be transmitted. The target colored light signal is obtained by modifying the original frequency characteristic value of the original colored light signal according to the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value.
[0021] Based on the first and second correspondences, extract the information to be transmitted from the target colored light signal.
[0022] In one embodiment, extracting the information to be transmitted from the target colored light signal according to a first correspondence and a second correspondence includes:
[0023] Based on the first correspondence, the target frequency is determined from the color light frequency of the target color light signal;
[0024] Based on the second correspondence, determine the information to be transmitted corresponding to the target frequency characteristic value of the target frequency.
[0025] In one embodiment, determining the information to be transmitted corresponding to the target frequency feature value of the target frequency according to the second correspondence includes:
[0026] Based on the third correspondence between the type of information to be transmitted and the characteristic fields in the colored light frequency, the information carrying fields are determined from the characteristic fields of the target frequency;
[0027] Extract the target frequency feature value from the target frequency information carrying field;
[0028] Based on the second correspondence, determine the information to be transmitted corresponding to the target frequency characteristic value.
[0029] In one embodiment, determining the target frequency from the color light frequencies of the target color light signal according to a first correspondence includes:
[0030] Based on the flag feature value corresponding to the flag field in the color light frequency of the target color light signal, the initial screening frequency is determined from the color light frequency of the target color light signal;
[0031] Based on the first correspondence, the target frequency is determined from the initial screening frequencies.
[0032] Thirdly, this application also provides an information transmission device applied at a sending end. The device includes:
[0033] The modification module is used to modify the original frequency characteristic value of the original colored light signal according to the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value, so as to obtain the target colored light signal carrying the information to be transmitted.
[0034] The transmitting module is used to send the target colored light signal to the receiving end, and to instruct the receiving end to extract the information to be transmitted from the target colored light signal based on the first correspondence and the second correspondence.
[0035] Fourthly, this application also provides an information transmission device for use at a receiving end. The device includes:
[0036] The receiving module is used to receive the target colored light signal carrying the information to be transmitted sent by the transmitting end. The target colored light signal is obtained by modifying the original frequency characteristic value of the original colored light signal according to the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value.
[0037] The extraction module is used to extract the information to be transmitted from the target colored light signal according to the first correspondence and the second correspondence.
[0038] Fifthly, this application also provides a communication device. The communication device includes a memory, a processor, a receiver, and a transmitter. The memory stores a communication device program. When the communication device is used at the transmitting end, the processor executes the communication device program to perform the following steps:
[0039] Based on the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value, the original frequency characteristic value of the original colored light signal is modified to obtain the target colored light signal carrying the information to be transmitted.
[0040] The target colored light signal is sent to the receiving end to instruct the receiving end to extract the information to be transmitted from the target colored light signal based on the first correspondence and the second correspondence.
[0041] Sixthly, this application also provides a communication device. The communication device includes a memory, a processor, a receiver, and a transmitter. The memory stores a communication device program. When the communication device is used at a receiving end, the processor executes the communication device program to perform the following steps:
[0042] The receiver sends a target colored light signal carrying information to be transmitted. The target colored light signal is obtained by modifying the original frequency characteristic value of the original colored light signal according to the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value.
[0043] Based on the first and second correspondences, extract the information to be transmitted from the target colored light signal.
[0044] Seventhly, this application also provides a communication device readable storage medium. The communication device readable storage medium stores a communication device program thereon, which, when executed by a processor, performs the following steps:
[0045] Based on the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value, the original frequency characteristic value of the original colored light signal is modified to obtain the target colored light signal carrying the information to be transmitted.
[0046] The target colored light signal is sent to the receiving end to instruct the receiving end to extract the information to be transmitted from the target colored light signal based on the first correspondence and the second correspondence.
[0047] Eighthly, this application also provides a communication device readable storage medium. The communication device readable storage medium stores a communication device program thereon, which, when executed by a processor, performs the following steps:
[0048] The receiver sends a target colored light signal carrying information to be transmitted. The target colored light signal is obtained by modifying the original frequency characteristic value of the original colored light signal according to the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value.
[0049] Based on the first and second correspondences, extract the information to be transmitted from the target colored light signal.
[0050] Ninthly, this application also provides a communication device program product. The communication device program product includes a communication device program, which, when executed by a processor, performs the following steps:
[0051] Based on the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value, the original frequency characteristic value of the original colored light signal is modified to obtain the target colored light signal carrying the information to be transmitted.
[0052] The target colored light signal is sent to the receiving end to instruct the receiving end to extract the information to be transmitted from the target colored light signal based on the first correspondence and the second correspondence.
[0053] Tenthly, this application also provides a communication device program product. The communication device program product includes a communication device program, which, when executed by a processor, performs the following steps:
[0054] The receiver sends a target colored light signal carrying information to be transmitted. The target colored light signal is obtained by modifying the original frequency characteristic value of the original colored light signal according to the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value.
[0055] Based on the first and second correspondences, extract the information to be transmitted from the target colored light signal.
[0056] The aforementioned information transmission method, apparatus, communication device, and storage medium modify the original frequency characteristic values of the original colored light signal through a first correspondence and a second correspondence to obtain a target colored light signal carrying information to be transmitted. Furthermore, by sending the target colored light signal to the receiving end, the receiving end extracts the information to be transmitted from the target colored light signal. Since the process directly modifies the original frequency characteristic values of the original colored light signal to transform it into a target colored light signal carrying information to be transmitted, without generating an additional transmission message for the information to be transmitted, and by sending the target colored light signal to the receiving end, the information to be transmitted is transmitted to the receiving end simultaneously, eliminating the need for separate transmission of the information to be transmitted. Moreover, the receiving end can extract the information to be transmitted from the target colored light signal based on the first and second correspondences. Therefore, the transmission cost of sending the information to be transmitted is reduced. Attached Figure Description
[0057] Figure 1 An application environment diagram of an information transmission method provided in an embodiment of this application;
[0058] Figure 2 A flowchart illustrating an information transmission method provided in an embodiment of this application;
[0059] Figure 3 A schematic diagram illustrating a process for obtaining a target colored light signal, provided in an embodiment of this application;
[0060] Figure 4 A schematic diagram of a target frequency provided in an embodiment of this application;
[0061] Figure 5 A flowchart illustrating another information transmission method provided in an embodiment of this application;
[0062] Figure 6 This application provides a schematic diagram of a process for extracting information to be transmitted, as exemplified in this application.
[0063] Figure 7 A schematic diagram illustrating the process of transmitting a target colored light signal between a transmitter and a receiver, provided in an embodiment of this application;
[0064] Figure 8 A structural block diagram of a first information transmission device provided in the embodiments of this application;
[0065] Figure 9 A structural block diagram of a second information transmission device provided in the embodiments of this application;
[0066] Figure 10 A structural block diagram of a third information transmission device provided in the embodiments of this application;
[0067] Figure 11 A structural block diagram of the fourth information transmission device provided in the embodiments of this application;
[0068] Figure 12 A structural block diagram of the fifth information transmission device provided in the embodiments of this application;
[0069] Figure 13 A structural block diagram of the sixth information transmission device provided in the embodiments of this application;
[0070] Figure 14 A structural block diagram of the seventh information transmission device provided in the embodiments of this application;
[0071] Figure 15 A structural block diagram of the eighth information transmission device provided in the embodiments of this application;
[0072] Figure 16 This is an internal structural diagram of a communication device in one embodiment. Detailed Implementation
[0073] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0074] The information transmission method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, the transmitting end 102 communicates with the receiving end 104 via a network. A data storage system can store the data that the transmitting end 102 and the receiving end 104 need to process. The data storage system can be integrated into the transmitting end 102 and the receiving end 104, or it can be placed in the cloud or on other network servers. The transmitting end 102 modifies the original frequency characteristic values of the original colored light signal through a first correspondence and a second correspondence to obtain a target colored light signal carrying the information to be transmitted, and sends the target colored light signal to the receiving end 104. The receiving end 104 extracts the information to be transmitted from the target colored light signal based on the first correspondence and the second correspondence. The transmitting end 102 and the receiving end 104 can be, but are not limited to, various personal communication devices, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can be smart speakers, smart TVs, smart air conditioners, smart vehicle devices, etc. Portable wearable devices can be smartwatches, smart bracelets, head-mounted devices, etc. The transmitting end 102 and the receiving end 104 can be implemented using independent servers or a server cluster composed of multiple servers.
[0075] In one embodiment, such as Figure 2 As shown, an information transmission method is provided, which is applied to...Figure 1 Taking the sender 102 as an example, the explanation includes the following steps:
[0076] Step 201: Based on the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value, modify the original frequency characteristic value of the original colored light signal to obtain the target colored light signal carrying the information to be transmitted.
[0077] The first correspondence is used to represent the colored light frequencies corresponding to different types of information to be transmitted. Furthermore, since the colored light frequencies corresponding to the colored light signals are between 191.3 THz (Tera Hertz) and 196.1 THz, the first correspondence is specifically used to represent the colored light frequencies corresponding to different types of information to be transmitted between 191.3 THz and 196.1 THz.
[0078] The second correspondence is used to represent the frequency characteristic values corresponding to the contents of different information to be transmitted. Furthermore, the frequency characteristic value of the colored light frequency can be represented by five-bit binary data. Therefore, the second correspondence is specifically used to determine the binary data identifiers corresponding to the contents of different information to be transmitted.
[0079] It should be noted that when it is necessary to modify the original frequency characteristic value of the original colored light signal, the target frequency to be modified can be determined from the colored light frequency of the original colored light signal according to the first correspondence; the target frequency characteristic value corresponding to the information to be transmitted can be determined according to the second correspondence, and then the original frequency characteristic value of the target frequency in the original colored light signal can be modified to the target frequency characteristic value.
[0080] The first and second correspondences can be determined based on the experience of the staff and the actual content of the information to be transmitted. They are fed back to the sending and receiving ends before the information transmission method is executed. The content of the first and second correspondences is not limited here.
[0081] To further explain, the target frequency includes an information-carrying field. Specifically, when it is necessary to modify the original frequency characteristic value of the original colored light signal, the original frequency characteristic value corresponding to the information-carrying field of the target frequency in the original colored light signal is modified to the target frequency characteristic value.
[0082] The information-carrying field in the target frequency is used to represent the feature field in the target frequency that carries the characteristics of the target frequency, and the information-carrying field in the target frequency can be located in any one or more positions in the target frequency.
[0083] For example, the frequency characteristic value of the target frequency A can be represented by five-bit binary data. The first and second frequency characteristic values of the five-bit binary frequency characteristic value can be the information carrying field a of the target frequency A. Alternatively, the second, third, and fourth frequency characteristic values of the five-bit binary frequency characteristic value can be the information carrying field a of the target frequency A.
[0084] To further clarify, the target frequency also includes a flag field, which can be located at any position within the target frequency. The binary value corresponding to the flag field indicates whether the target frequency contains the information to be transmitted.
[0085] Step 202: Send the target colored light signal to the receiving end to instruct the receiving end to extract the information to be transmitted from the target colored light signal based on the first correspondence and the second correspondence.
[0086] It should be noted that after modifying the original frequency characteristic values of the original colored light signal, the frequency characteristic values of the target colored light signal are mapped with the information to be transmitted. Then, after the target colored light signal is sent to the receiving end, the receiving end can extract the information to be transmitted from the target colored light signal.
[0087] To further explain, when the receiving end extracts the information to be transmitted, it may specifically include the following: determining the target frequency from the color light frequencies of the target color light signal according to the first correspondence; and determining the information to be transmitted corresponding to the target frequency feature value of the target frequency according to the second correspondence.
[0088] The aforementioned information transmission method modifies the original frequency characteristic values of the original colored light signal through a first correspondence and a second correspondence, obtaining a target colored light signal carrying the information to be transmitted. Furthermore, by sending the target colored light signal to the receiving end, the receiving end extracts the information to be transmitted from the target colored light signal. Since the above process modifies the original frequency characteristic values of the original colored light signal to transform it into a target colored light signal carrying the information to be transmitted, without generating an additional transmission message for the information to be transmitted, and by sending the target colored light signal to the receiving end, the information to be transmitted is transmitted along with the signal, eliminating the need for separate transmission of the information to be transmitted. Therefore, the transmission cost of sending the information to be transmitted is reduced, enabling the receiving end to extract the information to be transmitted from the target colored light signal according to the first and second correspondences, thereby completing the transmission operation of the information to be transmitted.
[0089] In one embodiment, the original frequency characteristic value of the original colored light signal can be modified according to a first correspondence between the type of information to be transmitted and the frequency of colored light, and a second correspondence between the content of the information to be transmitted and the frequency characteristic value, thereby obtaining a target colored light signal carrying the information to be transmitted. Figure 3 As shown, it includes the following steps:
[0090] Step 301: Determine the target frequency from the color light frequency of the original color light signal based on the first correspondence between the type of information to be transmitted and the color light frequency.
[0091] It should be noted that the first correspondence is used to represent the colored light frequencies corresponding to different types of information to be transmitted. Therefore, when it is necessary to determine the target frequency, the type of signal to be transmitted can be determined, and then the colored light frequency corresponding to that type can be determined according to the first correspondence. This colored light frequency is the target frequency.
[0092] In one embodiment of this application, since the colored light frequency corresponding to the colored light signal is between 191.3 THz and 196.1 THz, and the frequency characteristic value of the colored light frequency can be represented by five-bit binary data, only 32 frequencies between 191.3 THz and 196.1 THz can be used as target frequencies. Specifically, when it is necessary to determine the target frequency, the type of the signal to be transmitted is determined to be type B, and according to the content recorded in the first correspondence, the colored light frequency corresponding to type B is determined to be 191.3 THz. Therefore, the colored light frequency 191.3 THz is used as the target frequency.
[0093] To further clarify, to ensure the accuracy of the target frequency determination, before determining the target frequency based on the first correspondence, it is necessary to verify whether the version of the first correspondence is the version agreed upon between the sender and the receiver. Specifically, the sender can send the content of the first correspondence to be verified to the receiver, so that the receiver can compare the received first correspondence with its own stored first correspondence. If they are the same, it is determined that the version of the first correspondence sent by the sender is the version agreed upon with the receiver; otherwise, if they are different, it is determined that the version of the first correspondence sent by the sender is not the version agreed upon with the receiver. In this case, the receiver can send back the first correspondence stored by the receiver to the sender.
[0094] Step 302: Determine the target frequency feature value corresponding to the information to be transmitted based on the second correspondence between the content of the information to be transmitted and the frequency feature value.
[0095] It should be noted that the second correspondence is used to represent the frequency characteristic values corresponding to the contents of different information to be transmitted. Therefore, when it is necessary to determine the target frequency characteristic value corresponding to the information to be transmitted, the binary data representation corresponding to the contents of the information to be transmitted can be determined according to the second correspondence. This binary data is the target frequency characteristic value corresponding to the information to be transmitted.
[0096] In one embodiment of this application, when it is necessary to determine the target frequency characteristic value corresponding to the information to be transmitted, specifically, if the content of the information to be transmitted has a load rate of 40%, and according to the content recorded in the second correspondence relationship, it can be known that: if the load rate is less than 20%, the target frequency characteristic value is 00; if the load rate is between 20% and 50%, the target frequency characteristic value is 01; if the load rate is between 50% and 80%, the target frequency characteristic value is 10; and if the load rate is greater than 80%, the target frequency characteristic value is 11. Therefore, the target frequency characteristic value corresponding to a load rate of 40% is determined to be 01, and thus, 01 is the target frequency characteristic value corresponding to the information to be transmitted.
[0097] To further clarify, to ensure the accuracy of the target frequency determination, before determining the target frequency based on the second correspondence, it is necessary to verify whether the version of the second correspondence is the version agreed upon between the sender and the receiver. Specifically, the sender can send the second correspondence to be verified to the receiver, so that the receiver can compare the received second correspondence with its own stored second correspondence. If they are the same, it is determined that the version of the second correspondence sent by the sender is the version agreed upon with the receiver; otherwise, if they are different, it is determined that the version of the second correspondence sent by the sender is not the version agreed upon with the receiver. In this case, the receiver can send back the second correspondence stored by the receiver to the sender.
[0098] Step 303: Modify the original frequency characteristic value of the original colored light signal according to the target frequency characteristic value and the target frequency to obtain the target colored light signal carrying the information to be transmitted.
[0099] It should be noted that when modifying the original frequency characteristic value of the original colored light signal, the following can be included: modifying the original frequency characteristic value corresponding to the target frequency in the original colored light signal to the target frequency characteristic value.
[0100] In one embodiment of this application, the target frequency characteristic value is determined to be 10100, and the target frequency is 191.3THz. When modifying the original frequency characteristic value of the original colored light signal, the original frequency characteristic value corresponding to 191.3THz can be modified to 10100, thereby completing the modification operation of the target frequency.
[0101] To further explain, the characteristic field of the target frequency includes an information carrying field. Therefore, when the original frequency characteristic value corresponding to the target frequency in the original colored light signal is modified to the target frequency characteristic value, the following can be included: determining the information carrying field from the characteristic field of the target frequency based on the third correspondence between the type of information to be transmitted and each characteristic field in the colored light frequency; and modifying the original frequency characteristic value corresponding to the information carrying field in the original colored light signal to the target frequency characteristic value.
[0102] The information-carrying field is used to represent the feature field in the target frequency that carries the characteristics of the target frequency. Furthermore, the information-carrying field in the target frequency can be located in any one or more positions within the target frequency.
[0103] To further explain, since the frequency characteristic value of the colored light frequency can be represented by five bits of binary data, the third correspondence, used to indicate the type of information to be transmitted, can be represented by one or more bits of binary data from the colored light frequency. The third correspondence can be determined according to a prior agreement between the sending and receiving ends; its content is not limited here.
[0104] To further explain, the target frequency feature field also includes a flag field. Therefore, when modifying the original frequency feature value of the original colored light signal, it is necessary to modify the flag feature value corresponding to the flag field in the original colored light signal.
[0105] The binary value corresponding to the flag field is used to indicate whether the target frequency contains the information to be transmitted. The flag field can be represented by one bit of binary data in the colored light frequency. For example, the flag field can be represented by the first bit of binary data in the colored light frequency.
[0106] In one embodiment of this application, if the flag feature value corresponding to a certain target frequency flag field is 1, it indicates that the target frequency contains information to be transmitted; if the flag feature value corresponding to a certain target frequency flag field is 0, it indicates that the target frequency does not contain information to be transmitted.
[0107] In one embodiment of this application, if the flag field is represented by the first binary data in the color light frequency, then after modifying the original frequency feature value corresponding to the information-carrying field in the original color light signal to the target frequency feature value, the flag field of the target frequency modified to the target frequency feature value is changed to 1, and the flag field of the color light frequency with the original frequency feature value that has not been modified is changed to 0.
[0108] In one embodiment of this application, if, according to the third correspondence, the type of the information M to be transmitted is represented by the second and third binary data in the colored light frequency, and the type of the information N to be transmitted is represented by the fourth and fifth binary data in the colored light frequency; therefore, the second and third binary data in the colored light frequency are the information carrying fields of the information M to be transmitted; the fourth and fifth binary data in the colored light frequency are the information carrying fields of the information N to be transmitted; and the target frequency characteristic value of the information M to be transmitted is 10, and the target frequency characteristic value of the information N to be transmitted is 11, therefore, when modifying the original frequency characteristic value of the original colored light signal, such as Figure 4 As shown, the information carrying field of the information to be transmitted M in the target frequency of the original colored light signal can be modified to 10, and the information carrying field of the information to be transmitted N in the target frequency of the original colored light signal can be modified to 11. Since the flag field is represented by the first bit of binary data in the colored light frequency, the flag field in the target frequency can be modified to 1, thereby obtaining the target colored light signal carrying the information to be transmitted.
[0109] The aforementioned information transmission method determines the target frequency through a first correspondence and the target frequency characteristic value through a second correspondence. This ensures that when the original frequency characteristic value of the original colored light signal is modified, the original frequency characteristic value of the target frequency in the original colored light signal can be modified to the target frequency characteristic value. This realizes the mapping of the information to be transmitted to the frequency characteristic value of the original colored light signal, thereby obtaining the target colored light signal carrying the information to be transmitted. This enables the information to be transmitted and the colored light signal to be transmitted together to the receiving end, eliminating the need to transmit the information to be transmitted separately and reducing the transmission cost of sending the information to be transmitted.
[0110] With the increasing demand for information transmission between devices, more and more devices need to transmit information with other devices. Therefore, generating additional transmission messages when transmitting optical signals and transmitting these messages separately leads to a significant increase in transmission costs. To solve the above problem, this embodiment can achieve the following: Figure 5 The method shown presents an information transmission method that is applied to... Figure 1 The receiving end 104 in the middle includes the following steps:
[0111] Step 501: Receive the target colored light signal carrying the information to be transmitted sent by the transmitting end.
[0112] The target colored light signal is obtained by modifying the original frequency characteristic value of the original colored light signal based on the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value.
[0113] It should be noted that when receiving a target colored light signal carrying information to be transmitted sent by the receiving end, the target colored light signal carrying information to be transmitted sent by the receiving end can be received through the colored light interface of the router.
[0114] Step 502: Extract the information to be transmitted from the target colored light signal according to the first correspondence and the second correspondence.
[0115] It should be noted that when it is necessary to extract the information to be transmitted from the target colored light signal, the target frequency corresponding to the target frequency feature value can be determined according to the first correspondence; and the information to be transmitted can be determined from the target frequency feature value of the target frequency according to the second correspondence.
[0116] In one embodiment of this application, a filtering process can be performed in the first correspondence relationship to determine whether each color light frequency in the target color light signal contains information to be transmitted, and the color light frequency containing the information to be transmitted is taken as the target frequency; and, according to the second correspondence relationship, the target frequency feature value in the target frequency is compared and queried to determine the information to be transmitted corresponding to the target frequency feature value.
[0117] In the above information transmission method, the receiving end receives the target colored light signal and extracts the information to be transmitted from the target colored light signal according to the first correspondence and the second correspondence. Since the original frequency characteristic value of the original colored light signal is modified in the above process, the original colored light signal is modified into a target colored light signal carrying the information to be transmitted, and no additional transmission message of the information to be transmitted is generated. Furthermore, by sending the target colored light signal to the receiving end, the information to be transmitted is transmitted to the receiving end at the same time, without the need to transmit the information to be transmitted separately. Therefore, the transmission cost of sending the information to be transmitted is reduced, and the receiving end can extract the information to be transmitted from the target colored light signal according to the first correspondence and the second correspondence, thereby completing the transmission operation of the information to be transmitted.
[0118] In one embodiment, when extracting the information to be transmitted from the target colored light signal according to the first correspondence and the second correspondence, at this time, as follows: Figure 6 As shown, it specifically includes the following:
[0119] Step 601: Determine the target frequency from the color light frequencies of the target color light signal according to the first correspondence.
[0120] It should be noted that when it is necessary to determine the target frequency, the following may be included: determining the initial screening frequency from the color light frequency of the target color light signal based on the flag feature value corresponding to the flag field in the color light frequency of the target color light signal; and determining the target frequency from the initial screening frequency based on the first correspondence relationship.
[0121] If the flag feature value corresponding to a certain target frequency flag field is 1, it means that the target frequency contains information; if the flag feature value corresponding to a certain target frequency flag field is 0, it means that the target frequency does not contain information.
[0122] In one embodiment of this application, the flag feature value corresponding to the flag field in the color light frequency of the target color light signal is determined, and the color light frequency with a flag feature value of 1 is used as the initial screening frequency; according to the first correspondence, the target frequency containing the information to be transmitted from the initial screening frequency containing information is determined.
[0123] The initial screening frequency with a flag feature value of 1 can be the target frequency containing the information to be transmitted, or it can be a colored light frequency whose original frequency feature value in the flag field is 1. Therefore, the target frequency needs to be determined from the initial screening frequencies based on the first correspondence.
[0124] Step 602: Based on the second correspondence, determine the information to be transmitted corresponding to the target frequency feature value of the target frequency.
[0125] It should be noted that when it is necessary to determine the information to be transmitted, the specific steps may include the following: determining the information carrying field from the feature fields of the target frequency based on the third correspondence between the type of information to be transmitted and each feature field in the colored light frequency; extracting the target frequency feature value of the information carrying field of the target frequency; and determining the information to be transmitted corresponding to the target frequency feature value based on the second correspondence.
[0126] In one embodiment of this application, an information carrying field containing information to be transmitted is determined according to a third correspondence relationship, and then, the information to be transmitted corresponding to the target frequency feature value of the information carrying field is determined according to a second correspondence relationship.
[0127] For example, if the second and third binary data bits in the target frequency are determined to be information carrying fields according to the third correspondence relationship; if the target frequency characteristic value corresponding to the second and third binary data bits is 11, then according to the second correspondence relationship, the information to be transmitted corresponding to the target frequency characteristic value of the information carrying field being 11 is found.
[0128] The above information transmission method, based on the first and second correspondence relationships, extracts the information to be transmitted from the target colored light signal, ensuring that the receiving end can determine the information to be transmitted based on the target colored light signal carrying the information to be transmitted sent by the sending end; thus achieving low-cost information transmission between the receiving end and the sending end.
[0129] In one embodiment, the transmitting end and the receiving end complete the transmission process of the target colored light signal and the information to be transmitted as follows: Figure 7As shown, it may specifically include the following:
[0130] Step 701: The transmitting end determines the target frequency from the color light frequency of the original color light signal based on the first correspondence between the type of information to be transmitted and the color light frequency.
[0131] Step 702: The transmitting end determines the target frequency feature value corresponding to the information to be transmitted based on the second correspondence between the content of the information to be transmitted and the frequency feature value.
[0132] Step 703: The transmitting end determines the information carrying field from the feature fields of the target frequency based on the third correspondence between the type of information to be transmitted and each feature field in the colored light frequency.
[0133] Step 704: The transmitting end modifies the original frequency feature value corresponding to the information-carrying field in the original colored light signal to the target frequency feature value.
[0134] Step 705: The transmitting end modifies the flag feature value corresponding to the flag field in the original colored light signal.
[0135] Step 706: The transmitting end sends the target colored light signal to the receiving end.
[0136] Step 707: The receiving end receives the target colored light signal carrying the information to be transmitted sent by the sending end.
[0137] Step 708: The receiving end determines the initial screening frequency from the color light frequency of the target color light signal based on the flag feature value corresponding to the flag field in the color light frequency of the target color light signal.
[0138] Step 709: The receiving end determines the target frequency from the initially screened frequencies based on the first correspondence.
[0139] Step 710: The receiving end determines the information carrying field from the feature fields of the target frequency based on the third correspondence between the type of information to be transmitted and each feature field in the colored light frequency.
[0140] Step 711: The receiving end extracts the target frequency feature value from the information carrying field of the target frequency.
[0141] Step 712: The receiving end determines the information to be transmitted corresponding to the target frequency feature value according to the second correspondence relationship.
[0142] Table 1. Comparison Table of Colored Light Frequency and Frequency Characteristic Values
[0143]
[0144] In one embodiment of this application, the colored light frequencies of the target colored light signal sent from the transmitting end to the receiving end, from 191.3THz to 196.1THz, can be used as 32 colored light frequencies of the target frequency, as well as the frequency characteristic values corresponding to the 32 colored light frequencies. The receiving end can determine the information to be transmitted based on the colored light frequencies shown in Table 1 above and the frequency characteristic values of the colored light frequencies.
[0145] The aforementioned information transmission method modifies the original frequency characteristic values of the original colored light signal through a first correspondence and a second correspondence, obtaining a target colored light signal carrying the information to be transmitted. Furthermore, by sending the target colored light signal to the receiving end, the receiving end extracts the information to be transmitted from the target colored light signal. Since the above process modifies the original frequency characteristic values of the original colored light signal to transform it into a target colored light signal carrying the information to be transmitted, without generating an additional transmission message for the information to be transmitted, and by sending the target colored light signal to the receiving end, the information to be transmitted is transmitted along with the signal, eliminating the need for separate transmission of the information to be transmitted. Therefore, the transmission cost of sending the information to be transmitted is reduced, enabling the receiving end to extract the information to be transmitted from the target colored light signal according to the first and second correspondences, thereby completing the transmission operation of the information to be transmitted.
[0146] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0147] Based on the same inventive concept, this application also provides an information transmission apparatus for implementing the information transmission method described above. The solution provided by this apparatus is similar to the implementation scheme described in the above method; therefore, the specific limitations in one or more information transmission apparatus embodiments provided below can be found in the limitations of the information transmission method described above, and will not be repeated here.
[0148] In one embodiment, such as Figure 8 As shown, an information transmission device is provided, comprising: a modification module 10 and a transmission module 20, wherein:
[0149] Modification module 10 is used to modify the original frequency characteristic value of the original colored light signal according to the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value, so as to obtain the target colored light signal carrying the information to be transmitted.
[0150] The transmitting module 20 is used to transmit the target colored light signal to the receiving end, and to instruct the receiving end to extract the information to be transmitted from the target colored light signal based on the first correspondence and the second correspondence.
[0151] The aforementioned information transmission device modifies the original frequency characteristic values of the original colored light signal through a first correspondence and a second correspondence, obtaining a target colored light signal carrying information to be transmitted. Furthermore, by sending the target colored light signal to the receiving end, the receiving end extracts the information to be transmitted from the target colored light signal. Since the process modifies the original frequency characteristic values of the original colored light signal to transform it into a target colored light signal carrying information to be transmitted, without generating an additional transmission message for the information to be transmitted, and by sending the target colored light signal to the receiving end, the information to be transmitted is transmitted along with the signal, eliminating the need for separate transmission of the information to be transmitted. Therefore, the transmission cost of sending the information to be transmitted is reduced, enabling the receiving end to extract the information to be transmitted from the target colored light signal according to the first and second correspondences, thereby completing the transmission operation of the information to be transmitted.
[0152] In one embodiment, such as Figure 9 As shown, an information transmission device is provided. The modification module 10 in this information transmission device includes: a first determining unit 11, a second determining unit 12, and a modification unit 13, wherein:
[0153] The first determining unit 11 is used to determine the target frequency from the color light frequency of the original color light signal according to the first correspondence between the type of information to be transmitted and the color light frequency.
[0154] The second determining unit 12 is used to determine the target frequency feature value corresponding to the information to be transmitted based on the second correspondence between the content of the information to be transmitted and the frequency feature value.
[0155] Modification unit 13 is used to modify the original frequency characteristic value of the original colored light signal according to the target frequency characteristic value and the target frequency, so as to obtain the target colored light signal carrying the information to be transmitted.
[0156] The modification unit is specifically used to modify the original frequency feature value corresponding to the target frequency in the original colored light signal to the target frequency feature value.
[0157] In one embodiment, such as Figure 10As shown, an information transmission device is provided, wherein the modification unit 13 of the information transmission device includes: a determining subunit 131 and a first modification subunit 132, wherein:
[0158] The determining subunit 131 is used to determine the information carrying field from the feature fields of the target frequency based on the third correspondence between the type of information to be transmitted and each feature field in the color light frequency.
[0159] The first modification subunit 132 is used to modify the original frequency feature value corresponding to the information-carrying field in the original colored light signal to the target frequency feature value.
[0160] In one embodiment, such as Figure 11 As shown, an information transmission device is provided, wherein the modification unit 13 of the information transmission device further includes: a second modification subunit 133, wherein:
[0161] The second modification subunit 133 is used to modify the flag feature value corresponding to the flag field in the original colored light signal.
[0162] In one embodiment, such as Figure 12 As shown, an information transmission device is provided, including: a receiving module 30 and an extracting module 40, wherein:
[0163] The receiving module 30 is used to receive the target colored light signal carrying the information to be transmitted sent by the transmitting end. The target colored light signal is obtained by modifying the original frequency characteristic value of the original colored light signal according to the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value.
[0164] Extraction module 40 is used to extract the information to be transmitted from the target colored light signal according to the first correspondence and the second correspondence.
[0165] In one embodiment, such as Figure 13 As shown, an information transmission device is provided. The extraction module 40 of the information transmission device further includes: a first determining unit 41 and a second determining unit 42, wherein:
[0166] The first determining unit 41 is used to determine the target frequency from the color light frequency of the target color light signal according to the first correspondence relationship.
[0167] The second determining unit 42 is used to determine the information to be transmitted corresponding to the target frequency characteristic value of the target frequency according to the second correspondence relationship.
[0168] In one embodiment, such as Figure 14As shown, an information transmission device is provided. The second determining unit 42 in this information transmission device further includes: a first determining subunit 421, an extraction subunit 422, and a second determining subunit 423, wherein:
[0169] The first determining subunit 421 is used to determine the information carrying field from the feature fields of the target frequency based on the third correspondence between the type of information to be transmitted and each feature field in the color light frequency.
[0170] Extraction subunit 422 is used to extract the target frequency feature value of the target frequency information carrying field.
[0171] The second determining subunit 423 is used to determine the information to be transmitted corresponding to the target frequency characteristic value according to the second correspondence relationship.
[0172] In one embodiment, such as Figure 15 As shown, an information transmission device is provided. The first determining unit 41 of the information transmission device further includes: a third determining subunit 411 and a fourth determining subunit 412, wherein:
[0173] The third determining subunit 411 is used to determine the initial screening frequency from the color light frequency of the target color light signal based on the flag feature value corresponding to the flag field in the color light frequency of the target color light signal.
[0174] The fourth determining subunit 412 is used to determine the target frequency from the initial screening frequencies based on the first correspondence.
[0175] Each module in the aforementioned information transmission device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the communication device in hardware form or independent of it, or stored in the memory of the communication device in software form, so that the processor can call and execute the operations corresponding to each module.
[0176] In one embodiment, a communication device is provided, which can be a receiver or a transmitter, and its internal structure diagram can be as follows: Figure 16As shown, the communication device includes a processor, memory, input / output interface, communication interface, display unit, and input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interface. The processor provides computing and control capabilities. The memory includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores the operating system and communication device program. The internal memory provides an environment for the operation of the operating system and communication device program stored in the non-volatile storage medium. The input / output interface is used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the communication device program is executed by the processor, it implements an information transmission method. The display unit is used to form a visually visible image and can be a display screen, projection device, or virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the communication device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the communication device, or external keyboards, touchpads, or mice, etc.
[0177] Those skilled in the art will understand that Figure 16 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the communication device to which the present application is applied. Specific communication devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0178] In one embodiment, a communication device is provided, comprising a memory, a processor, a receiver, and a transmitter. The memory stores a communication device program, which is applied to the transmitting end. When the processor executes the communication device program, it performs the following steps:
[0179] Based on the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value, the original frequency characteristic value of the original colored light signal is modified to obtain the target colored light signal carrying the information to be transmitted.
[0180] The target colored light signal is sent to the receiving end to instruct the receiving end to extract the information to be transmitted from the target colored light signal based on the first correspondence and the second correspondence.
[0181] In one embodiment, when the processor executes the communication device program, it further performs the following steps:
[0182] Based on the first correspondence between the type of information to be transmitted and the color light frequency, the target frequency is determined from the color light frequency of the original color light signal;
[0183] Based on the second correspondence between the content of the information to be transmitted and the frequency feature value, the target frequency feature value corresponding to the information to be transmitted is determined;
[0184] Based on the target frequency characteristic value and the target frequency, the original frequency characteristic value of the original colored light signal is modified to obtain the target colored light signal carrying the information to be transmitted.
[0185] In one embodiment, when the processor executes the communication device program, it further performs the following steps:
[0186] Modify the original frequency feature value corresponding to the target frequency in the original colored light signal to the target frequency feature value.
[0187] In one embodiment, when the processor executes the communication device program, it further performs the following steps:
[0188] Based on the third correspondence between the type of information to be transmitted and the characteristic fields in the colored light frequency, the information carrying fields are determined from the characteristic fields of the target frequency;
[0189] Modify the original frequency characteristic value corresponding to the information-carrying field in the original colored light signal to the target frequency characteristic value.
[0190] In one embodiment, when the processor executes the communication device program, it further performs the following steps:
[0191] Modify the flag feature value corresponding to the flag field in the original colored light signal.
[0192] A communication device is provided, comprising a memory, a processor, a receiver, and a transmitter. The memory stores a communication device program, which is applied at the receiving end. When the processor executes the communication device program, it performs the following steps:
[0193] The receiver sends a target colored light signal carrying information to be transmitted. The target colored light signal is obtained by modifying the original frequency characteristic value of the original colored light signal according to the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value.
[0194] Based on the first and second correspondences, extract the information to be transmitted from the target colored light signal.
[0195] In one embodiment, when the processor executes the communication device program, it further performs the following steps:
[0196] Based on the first correspondence, the target frequency is determined from the color light frequency of the target color light signal;
[0197] Based on the second correspondence, determine the information to be transmitted corresponding to the target frequency characteristic value of the target frequency.
[0198] In one embodiment, when the processor executes the communication device program, it further performs the following steps:
[0199] Based on the third correspondence between the type of information to be transmitted and the characteristic fields in the colored light frequency, the information carrying fields are determined from the characteristic fields of the target frequency;
[0200] Extract the target frequency feature value from the target frequency information carrying field;
[0201] Based on the second correspondence, determine the information to be transmitted corresponding to the target frequency characteristic value.
[0202] In one embodiment, when the processor executes the communication device program, it further performs the following steps:
[0203] Based on the flag feature value corresponding to the flag field in the color light frequency of the target color light signal, the initial screening frequency is determined from the color light frequency of the target color light signal;
[0204] Based on the first correspondence, the target frequency is determined from the initial screening frequencies.
[0205] In one embodiment, a communication device readable storage medium is provided, on which a communication device program is stored, the communication device program performing the following steps when executed by a processor:
[0206] Based on the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value, the original frequency characteristic value of the original colored light signal is modified to obtain the target colored light signal carrying the information to be transmitted.
[0207] The target colored light signal is sent to the receiving end to instruct the receiving end to extract the information to be transmitted from the target colored light signal based on the first correspondence and the second correspondence.
[0208] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0209] Based on the first correspondence between the type of information to be transmitted and the color light frequency, the target frequency is determined from the color light frequency of the original color light signal;
[0210] Based on the second correspondence between the content of the information to be transmitted and the frequency feature value, the target frequency feature value corresponding to the information to be transmitted is determined;
[0211] Based on the target frequency characteristic value and the target frequency, the original frequency characteristic value of the original colored light signal is modified to obtain the target colored light signal carrying the information to be transmitted.
[0212] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0213] Modify the original frequency feature value corresponding to the target frequency in the original colored light signal to the target frequency feature value.
[0214] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0215] Based on the third correspondence between the type of information to be transmitted and the characteristic fields in the colored light frequency, the information carrying fields are determined from the characteristic fields of the target frequency;
[0216] Modify the original frequency characteristic value corresponding to the information-carrying field in the original colored light signal to the target frequency characteristic value.
[0217] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0218] Modify the flag feature value corresponding to the flag field in the original colored light signal.
[0219] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0220] The receiver sends a target colored light signal carrying information to be transmitted. The target colored light signal is obtained by modifying the original frequency characteristic value of the original colored light signal according to the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value.
[0221] Based on the first and second correspondences, extract the information to be transmitted from the target colored light signal.
[0222] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0223] Based on the first correspondence, the target frequency is determined from the color light frequency of the target color light signal;
[0224] Based on the second correspondence, determine the information to be transmitted corresponding to the target frequency characteristic value of the target frequency.
[0225] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0226] Based on the third correspondence between the type of information to be transmitted and the characteristic fields in the colored light frequency, the information carrying fields are determined from the characteristic fields of the target frequency;
[0227] Extract the target frequency feature value from the target frequency information carrying field;
[0228] Based on the second correspondence, determine the information to be transmitted corresponding to the target frequency characteristic value.
[0229] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0230] Based on the flag feature value corresponding to the flag field in the color light frequency of the target color light signal, the initial screening frequency is determined from the color light frequency of the target color light signal;
[0231] Based on the first correspondence, the target frequency is determined from the initial screening frequencies.
[0232] In one embodiment, a communication device program product is provided, including a communication device program that, when executed by a processor, performs the following steps:
[0233] Based on the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value, the original frequency characteristic value of the original colored light signal is modified to obtain the target colored light signal carrying the information to be transmitted.
[0234] The target colored light signal is sent to the receiving end to instruct the receiving end to extract the information to be transmitted from the target colored light signal based on the first correspondence and the second correspondence.
[0235] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0236] Based on the first correspondence between the type of information to be transmitted and the color light frequency, the target frequency is determined from the color light frequency of the original color light signal;
[0237] Based on the second correspondence between the content of the information to be transmitted and the frequency feature value, the target frequency feature value corresponding to the information to be transmitted is determined;
[0238] Based on the target frequency characteristic value and the target frequency, the original frequency characteristic value of the original colored light signal is modified to obtain the target colored light signal carrying the information to be transmitted.
[0239] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0240] Modify the original frequency feature value corresponding to the target frequency in the original colored light signal to the target frequency feature value.
[0241] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0242] Based on the third correspondence between the type of information to be transmitted and the characteristic fields in the colored light frequency, the information carrying fields are determined from the characteristic fields of the target frequency;
[0243] Modify the original frequency characteristic value corresponding to the information-carrying field in the original colored light signal to the target frequency characteristic value.
[0244] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0245] Modify the flag feature value corresponding to the flag field in the original colored light signal.
[0246] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0247] The receiver sends a target colored light signal carrying information to be transmitted. The target colored light signal is obtained by modifying the original frequency characteristic value of the original colored light signal according to the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value.
[0248] Based on the first and second correspondences, extract the information to be transmitted from the target colored light signal.
[0249] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0250] Based on the first correspondence, the target frequency is determined from the color light frequency of the target color light signal;
[0251] Based on the second correspondence, determine the information to be transmitted corresponding to the target frequency characteristic value of the target frequency.
[0252] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0253] Based on the third correspondence between the type of information to be transmitted and the characteristic fields in the colored light frequency, the information carrying fields are determined from the characteristic fields of the target frequency;
[0254] Extract the target frequency feature value from the target frequency information carrying field;
[0255] Based on the second correspondence, determine the information to be transmitted corresponding to the target frequency characteristic value.
[0256] In one embodiment, when the communication device program is executed by the processor, it further performs the following steps:
[0257] Based on the flag feature value corresponding to the flag field in the color light frequency of the target color light signal, the initial screening frequency is determined from the color light frequency of the target color light signal;
[0258] Based on the first correspondence, the target frequency is determined from the initial screening frequencies.
[0259] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by instructing related hardware through a communication device program. The communication device program can be stored in a non-volatile communication device readable storage medium. When executed, the communication device program can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0260] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0261] The above embodiments merely illustrate several implementation methods of this application, and their descriptions are relatively specific and detailed, but they should not be construed as limiting the scope of this application's patent. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. An information transmission method, characterized in that, Applied to the sending end, the method includes: Based on the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value, the original frequency characteristic value of the original colored light signal is modified to obtain a target colored light signal carrying the information to be transmitted; wherein, the information to be transmitted is used to characterize the transmission situation, the original colored light signal is a composite colored light signal composed of multiple different colored light frequencies, and modifying the original frequency characteristic value means modifying the target frequency characteristic value of the original colored light signal corresponding to the type of information to be transmitted; The target colored light signal is sent to the receiving end to instruct the receiving end to extract the information to be transmitted from the target colored light signal based on the first correspondence and the second correspondence.
2. The method according to claim 1, characterized in that, The step of modifying the original frequency characteristic value of the original colored light signal according to the first correspondence between the type of information to be transmitted and the frequency of colored light, and the second correspondence between the content of the information to be transmitted and the frequency characteristic value, to obtain the target colored light signal carrying the information to be transmitted, includes: Based on the first correspondence between the type of information to be transmitted and the color light frequency, the target frequency is determined from the color light frequency of the original color light signal; Based on the second correspondence between the content of the information to be transmitted and the frequency feature value, the target frequency feature value corresponding to the information to be transmitted is determined; Based on the target frequency characteristic value and the target frequency, the original frequency characteristic value of the original colored light signal is modified to obtain the target colored light signal carrying the information to be transmitted.
3. The method according to claim 2, characterized in that, The step of modifying the original frequency characteristic value of the original colored light signal according to the target frequency characteristic value and the target frequency to obtain the target colored light signal carrying the information to be transmitted includes: The original frequency feature value corresponding to the target frequency in the original colored light signal is modified to the target frequency feature value.
4. The method according to claim 3, characterized in that, The step of modifying the original frequency feature value corresponding to the target frequency in the original colored light signal to the target frequency feature value includes: Based on the third correspondence between the type of information to be transmitted and each characteristic field in the color light frequency, the information carrying field is determined from the characteristic fields of the target frequency; Modify the original frequency feature value corresponding to the information-carrying field in the original colored light signal to the target frequency feature value.
5. The method according to claim 4, characterized in that, The characteristic field of the target frequency also includes a flag field, and the method further includes: Modify the flag feature value corresponding to the flag field in the original colored light signal.
6. An information transmission method, characterized in that, Applied to the receiving end, the method includes: The receiver sends a target colored light signal carrying information to be transmitted. The target colored light signal is obtained by modifying the original frequency characteristic value of the original colored light signal based on a first correspondence between the type of information to be transmitted and the colored light frequency, and a second correspondence between the content of the information to be transmitted and the frequency characteristic value. The information to be transmitted is used to characterize the transmission status. The original colored light signal is a composite colored light signal composed of multiple different colored light frequencies. Modifying the original frequency characteristic value refers to modifying the target frequency characteristic value of the original colored light signal corresponding to the type of information to be transmitted. Based on the first correspondence and the second correspondence, the information to be transmitted is extracted from the target colored light signal.
7. The method according to claim 6, characterized in that, The step of extracting the information to be transmitted from the target colored light signal according to the first correspondence and the second correspondence includes: Based on the first correspondence, the target frequency is determined from the color light frequency of the target color light signal; Based on the second correspondence, the information to be transmitted corresponding to the target frequency feature value of the target frequency is determined.
8. The method according to claim 7, characterized in that, The step of determining the information to be transmitted corresponding to the target frequency feature value of the target frequency based on the second correspondence includes: Based on the third correspondence between the type of information to be transmitted and each characteristic field in the color light frequency, the information carrying field is determined from the characteristic fields of the target frequency; Extract the target frequency feature value from the information-carrying field of the target frequency; Based on the second correspondence, the information to be transmitted corresponding to the target frequency feature value is determined.
9. The method according to claim 7, characterized in that, Determining the target frequency from the color light frequencies of the target color light signal based on the first correspondence includes: Based on the flag feature value corresponding to the flag field in the color light frequency of the target color light signal, the initial screening frequency is determined from the color light frequency of the target color light signal; Based on the first correspondence, the target frequency is determined from the initial screening frequencies.
10. An information transmission device, characterized in that, Applied to the transmitting end, the device includes: The modification module is used to modify the original frequency characteristic value of the original colored light signal according to a first correspondence between the type of information to be transmitted and the frequency of colored light, and a second correspondence between the content of the information to be transmitted and the frequency characteristic value, to obtain a target colored light signal carrying the information to be transmitted; wherein, the information to be transmitted is used to characterize the transmission situation, the original colored light signal is a composite colored light signal composed of multiple different colored light frequencies, and modifying the original frequency characteristic value means modifying the target frequency characteristic value of the original colored light signal corresponding to the type of information to be transmitted; The transmitting module is used to transmit the target colored light signal to the receiving end, and to instruct the receiving end to extract the information to be transmitted from the target colored light signal based on the first correspondence and the second correspondence.
11. An information transmission device, characterized in that, Applied to the receiving end, the device includes: A receiving module is used to receive a target colored light signal carrying information to be transmitted sent by a transmitting end. The target colored light signal is obtained by modifying the original frequency characteristic value of the original colored light signal based on a first correspondence between the type of information to be transmitted and the colored light frequency, and a second correspondence between the content of the information to be transmitted and the frequency characteristic value. The information to be transmitted is used to characterize the transmission status. The original colored light signal is a composite colored light signal composed of multiple different colored light frequencies. Modifying the original frequency characteristic value refers to modifying the target frequency characteristic value of the original colored light signal corresponding to the type of information to be transmitted. An extraction module is used to extract the information to be transmitted from the target colored light signal according to the first correspondence and the second correspondence.
12. A communication device, comprising a memory, a processor, a receiver, and a transmitter, wherein the memory stores a communication device program, characterized in that, When the processor executes the communication device program, it implements the steps of the method according to any one of claims 1 to 9.
13. A communication device readable storage medium having a communication device program stored thereon, characterized in that, When the communication device program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 9.
14. A communication device software product, comprising a communication device software, characterized in that, When the communication device program is executed by the processor, it implements the steps of the method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Method and device for transmitting / obtaining identification information through visible light signals and method and device for carrying out positioning through visible light signals
CN104243029A
Data transmission method based on color light, sending end equipment and receiving end equipment
CN110690922A