Method and apparatus for transmitting and receiving data, communication system, and car kit system
By adding time stamps to data communication and generating random modification rules, the problem of wasted real-time data storage resources in the Internet of Vehicles is solved, achieving efficient encryption and automatic destruction, and saving storage resources.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-13
- Publication Date
- 2026-03-27
AI Technical Summary
In data communication networks, especially in vehicle-to-everything (V2X) networks, there is a large amount of real-time data that is sensitive, confidential, and of low value for storage, leading to a waste of storage resources.
Add time tags to the data, including a first time tag and a second time tag, to indicate the latest time the data was read and sent. Then, generate random modification rules based on the tags in the receiving device to automatically destroy expired data.
It enables efficient encryption and destruction of communication data according to predetermined time and method, saving storage resources and preventing data leakage.
Smart Images

Figure CN115941215B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data communication, in particular to a method and device for sending and receiving data, a communication system and an in-vehicle infotainment system. BACKGROUND
[0002] In the field of data communication, there are a large amount of various data information transmitted or exchanged in real time in a data communication network. Such data information has real-time and / or privacy, and the amount of information is huge, and completely saving these data information can consume a large amount of storage resources and computing resources of a data processing terminal or a server. Many data with strong instantaneity have no reuse value, and continuing to retain the data causes unnecessary occupation of the storage resources of the receiving device. For example, in the Internet of Vehicles, the communication system in the in-vehicle infotainment system of each intelligent connected vehicle, especially unmanned vehicles, must exchange information with each participant in the transportation system (such as other vehicles on the road and basic communication infrastructure, and remote servers, etc.), and each communication participant receives a large amount of real-time data information from other participants, such as the geographical position at each time point during vehicle driving, the target direction at the next time point, real-time instruction information issued by the controller, etc. A large amount of data information makes the privacy and storage of information a big challenge, and how to timely destroy a large amount of data information with certain privacy and low storage value also becomes a problem to be solved at present. SUMMARY
[0003] According to an aspect of the present application, a method for sending data in a communication system is provided, the method comprising: adding, by the sending device, at least a first time label in data to be sent; wherein the first time label indicates the latest time when the data is read; and sending, by the sending device, the data to which the first time label is added.
[0004] According to another aspect of the present application, a method for receiving data in a communication system is provided, the method comprising: receiving, by the receiving device, data in which at least a first time label is added; wherein the first time label indicates the latest time when the data is read; extracting the first time label from the data; and modifying the received data after the latest time when the data is read indicated by the first time label.
[0005] According to still another aspect of the present application, a sending device for sending data is provided, comprising: an encoding unit configured to add at least a first time label in data to be sent; wherein the first time label indicates the latest time when the data is read; and a sending unit configured to send the data to which the first time label is added.
[0006] According to a further aspect of the present application, a receiving device for receiving data is provided, comprising: a receiving unit configured to receive data to which at least a first time label has been added; wherein the first time label indicates a latest time at which the data is read; a decoding unit configured to extract the first time label from the data; and a re-encoding unit configured to modify the received data after the latest time at which the data is read, indicated by the first time label.
[0007] According to a further aspect of the present application, a communication system is provided, comprising a transmitting device and a receiving device as provided by embodiments of the present application. A communication system, comprising: a plurality of transmitting devices as provided by embodiments of the present application and a plurality of receiving devices as provided by embodiments of the present application; wherein the transmitting devices are configured to transmit data to the receiving devices; and the receiving devices are configured to receive data from the transmitting devices.
[0008] According to a further aspect of the present application, an in-vehicle infotainment system is provided, comprising a wireless communication system for vehicle-to-everything communication, the wireless communication system comprising: a transmitting device as provided by embodiments of the present application and a receiving device as provided by embodiments of the present application; wherein the transmitting device is configured to transmit data to other receiving devices; and the receiving device is configured to receive data from other transmitting devices.
[0009] According to a further aspect of the present application, a method for encoding data to be transmitted in a communication subsystem is provided, the communication subsystem comprising at least a data transmitting device and a data receiving device, the method comprising: adding at least one time label to the data; adding field information for identifying uniqueness of the communication subsystem in the time label; and encoding the data to which the time label and the field information are added as data to be transmitted.
[0010] According to a further aspect of the present application, a time-providing system is provided, the time-providing system being comprised in a first communication device or a remote server in communication with a second communication device and being configured to provide a synchronized time signal to the second communication device, the time-providing system comprising: an encoding unit configured to generate data to which a time label and field information for identifying uniqueness of the first communication device and / or the second communication device are added; and a transmitting unit configured to transmit the data to the first communication device.
[0011] Embodiments of the present application provide methods, devices and systems that can be used to simply and efficiently encrypt communication data and automatically destroy expired data in a predetermined time and data modification manner. BRIEF DESCRIPTION OF DRAWINGS
[0012] Figure 1 FIG. 1 shows a flow chart of a method for transmitting data in a communication system according to an embodiment of the present application.
[0013] Figure 2 FIG. 2 shows a flow chart of a method for receiving data in a communication system according to an embodiment of the present application.
[0014] Figure 3 FIG. 3 shows a schematic diagram of a data structure according to an embodiment of the present application.
[0015] Figure 4 FIG. 4 shows a structural block diagram of a transmitting device for transmitting data according to an embodiment of the present application.
[0016] Figure 5 FIG. 5 shows a structural block diagram of a receiving device for receiving data according to an embodiment of the present application.
[0017] Figure 6 FIG. 6 shows a structural block diagram of a communication system according to an embodiment of the present application. DETAILED DESCRIPTION
[0018] Figure 1 FIG. 1 shows a flow chart of a method for transmitting data in a communication system according to an embodiment of the present application. The method 100 shown in FIG. 1 includes: adding, by a transmitting device, at least a first time label in data to be transmitted (step 110); wherein the first time label indicates a latest time at which the data is read; and transmitting, by the transmitting device, the data to which the first time label is added (step 120). The data can include various data such as digital information, control instructions, etc. The latest time at which the data is read can be any one of a latest time at which the data is received by a designated receiving device, a latest time at which the data is used after being received, a latest time at which instruction data is executed after being received, a latest time at which the data is decoded after being received, etc.
[0019] The method 100 according to the embodiment makes the data with the first time label only able to be received and read by a specific receiving device, which is a receiving device that has been previously set to extract the first time label from the data and read the data. The transmitting device transmits the data with the added first time label to the receiving device, so that after the transmitted data is received by the corresponding receiving device, the data can be modified or destroyed after the latest reading time of the data indicated by the first time label therein, so that the encryption of the communication data and the automatic destruction of the expired data can be simply and efficiently realized in a predetermined time and data modification manner. The addition of the first time label makes the data time-limited, and once the set latest reading time of the data passes, the information string of the data will be automatically rewritten into an information string without information or an information string that cannot be restored by the pre-set data modification rule.
[0020] The embodiments of the present invention are particularly suitable for transmitting data with high immediacy, such information has little value for preservation and reuse, and timely destruction of data helps the receiving device save storage space.
[0021] In some embodiments, method 100 further includes: adding a second time tag to the data to be transmitted by a transmitting device; wherein the second time tag indicates the time when the data was transmitted; and transmitting the data with the first and second time tags added by the transmitting device. After receiving the data, the receiving device can use the data transmission time indicated in the second time tag to generate a random data modification rule, making the modified data difficult to recover, thereby achieving data encryption and destruction. For example, a portion or several portions of a binary information string can be randomly modified to all 0s or all 1s. Even if the modified data is copied from the initial storage device, it cannot be restored because the new data reading device is unaware of the data modification rule, data structure, and the meaning of the time tag.
[0022] In some embodiments, a first time tag is added to the end of the data, and a second time tag is added to the beginning of the data. The time values in the first and second time tags can be expressed in decimal or binary. Figure 3 An example data structure according to an embodiment of the present invention is shown, wherein the data 300 to be transmitted includes a data body portion 302, a first time tag 303 located at its tail, and a second time tag 301 located at its head. However, the embodiments of the present invention are not limited thereto; the first time tag may also be added at the head of the data, and the second time tag may also be added at the tail of the data; or, the first and second time tags may be inserted at any other position in the data. The receiving device obtains in advance setting information regarding the addition and reading of time tags in order to correctly extract the first and second time tags from the data and read the indicated time information.
[0023] Embodiments of the present invention are not limited to adding only first and second time tags to the data. When business needs require, third, fourth, or more time tags can be added at specific locations in the data for specific purposes. For example, a third time tag is used to indicate the time when the receiving device clears all the data or sets it to "0", and a fourth time tag is used to indicate the latest time when the instruction information in the data is executed.
[0024] In the above embodiments, the first time tag indicates the data latest read time, and the second time tag indicates the data sending time. The two time quantities can be standard time in accordance with the Universal Time System, including units of Anno Domini year, month, day, hour, minute, second, millisecond, etc., and can also include smaller units of microseconds, and are time synchronized throughout the communication system. For example, the arrangement format of the first time tag is: YYYY (year, 4 digits) MM (month, 2 digits) DD (day, 2 digits) HH (hour, 2 digits) MM (second, 2 digits) yyy (millisecond, 3 digits), and the first time tag is abbreviated as "ET". The arrangement format of the second time tag can also be: YYYYMMDDHHMMyyy, and can also include smaller units of microseconds, and the second time tag is abbreviated as "ST". On the other hand, since the second time tag indicates the data sending time, in some cases, the first time tag can also be set to include predetermined time length information (e.g., 2 hours and 10 minutes) to indicate that the data latest read time is a predetermined length of time after the data sending time.
[0025] In the above embodiments, the "data latest read time" is actually a deadline set for data reading, and once the time is reached, the data will be modified or cleared regardless of whether the data is read, executed or utilized. The setting of the "data latest read time" can be based on factors such as the purpose and security requirements of the data, and it can be set to be between a few seconds to tens of seconds, not more than 1 minute. If the received data does not include the first time tag, the receiving device can default that the data will be saved and not modified in any way.
[0026] In some embodiments, the first time label can further include a field (also referred to as a system label field) for identifying the uniqueness of the communication system. The system label field is used by all data sending devices and receiving devices in the entire communication system, which can be used for the receiving device in the communication system to identify that the received data belongs to the data transmitted in the communication system, and can also be used for encryption of the data. Other communication devices outside the system, even if they receive the data, are also difficult to determine the content of the data and correctly read the data because they do not know the meaning and structure of the field. In some examples, the system label field can include foreign language abbreviations or Chinese pinyin abbreviations representing information such as the hardware manufacturer, software manufacturer, location of use of the communication device (such as the sending device and / or receiving device), etc., and the device factory date, etc. For example, the system label field corresponding to the device of Huawei Company is "HW", the system label field corresponding to the device of Volkswagen Company is "VW", and the system label field corresponding to the data communication in Beijing area is "BJ", etc. For example, "HWBJ20210205" can represent the system label of the communication device of Huawei Company manufactured on February 5, 2021 used in Beijing. The system label field can include any one of the above information or a different combination thereof. Since the manufacturer and factory date information contained in the system label field has randomness, it can play a role in data encryption. The system label field used in the embodiments of the present application is not limited to the above examples, and other field information for identifying the uniqueness of the communication system can be used. On the other hand, through the control of the remote server, the information in the system label field in the first time label is variable, for example, when the sending device is in different use locations, the cloud server sends a new time synchronization instruction to each communication device in the communication system, which contains a system label field indicating the updated location, so that each communication device in the entire system can be synchronized to change the information in the system label field, such as when the use location of the sending device changes from Beijing to Shanghai, the field can be changed from containing "BJ" to containing "SH"; or the information in the system label field can be changed regularly by the remote server to facilitate data encryption.
[0027] Figure 2 A flowchart showing a method for receiving data in a communication system according to an embodiment of the present application is shown. Figure 2The method 200 shown includes: receiving, by a receiving device, data in which at least a first time label has been added (step 210); wherein the first time label indicates the latest time at which the data is read; extracting the first time label from the data (step 220); and modifying the received data after the latest time at which the data is read indicated by the first time label (step 230). According to this embodiment, after the receiving device receives the transmitted data, by extracting the first time label therein, the data can be modified or destroyed after the latest reading time indicated by the first time label, so that the encryption of the communication data and the automatic destruction of the expired data can be simply and efficiently realized in a predetermined time and data modification manner, so as to save the storage space of the receiving device.
[0028] In some embodiments, a second time label indicating the time at which the data is transmitted can be added in the data; the method 200 further includes: generating a modification rule for modifying the data by using the first time label and / or the second time label; and modifying the data based on the modification rule after the latest time at which the data is read indicated by the first time label. Since the data transmission time indicated by the second time label has randomness, especially the numbers of seconds and milliseconds in the data transmission time have great uncertainty, so that the receiving device can generate a data modification rule with randomness by using the data transmission time indicated by the second time label after receiving the data, so as to make the modified data difficult to be recovered, realizing data encryption and destruction.
[0029] In some embodiments, the data is a binary information string; and the modification of the data includes modifying or deleting specific bits or specific bit strings in the binary information string. As shown in Figure 3 The data body part 302 includes a binary information string "1011...010". In the embodiments of the present application, the data is not limited to be a binary information string.
[0030] In some embodiments, the data modification rule includes setting specific bits in the binary information string to be modified or deleted based on the millisecond number in the second time label; and the data modification includes: replacing "0" of the specific bits in the binary information string with "1"; and / or replacing "1" of the specific bits in the binary information string with "0".
[0031] The modification range of the specific bits of "0" or "1" can be randomly specified. In one example, when the last digit of the millisecond number in the second time label is even (including the case of zero), all "1"s in the binary information string are replaced with "0"s; and when the last digit of the millisecond number in the second time label is odd, all "0"s in the binary information string are replaced with "1"s.
[0032] In another example, the data sending time indicated in the second time label is "20191017 103755123", representing October 17, 2019, 10:37:55, 123 milliseconds. The corresponding data modification rule is generated as follows: take the milliseconds 123 in the data sending time, calculate 1+2+3=6, modify the first 1 to the sixth 1 in the binary information string of the data to 0, do not modify the seventh 1 to the twelfth 1, modify the thirteenth 1 to the eighteenth 1 to 0, and so on until the last bit of the entire binary information string of the data, complete the modification of the entire data. Since "123" in the data sending time describes the milliseconds, and the sum of the numbers is calculated in the calculation, the sum result "6" (which indicates the position in the information string) has a great randomness and uncertainty, so the above data modification rule generated according to the milliseconds in the data sending time also has a great randomness and uncertainty; the data modified according to the above data modification rule has a very small possibility of being restored, and the data modification is difficult to trace back. Those skilled in the art can understand that the embodiments of the present application are not limited to the data modification rule generated in this example, and other data modification rules can be generated according to the second time label.
[0033] In one data modification example, it is assumed Figure 3 The second time label 301 shown is "20191017 105355001", indicating that this data will be sent at 10:53:55, 001 milliseconds on October 17, 2019; the first time label 303 is "20191017 105358999", indicating that this data will be invalid (cannot be read) at 10:53:58, 999 milliseconds on October 17, 2019; the data body part 302 is "011 010 101 011 111 000 010 101 0101". Assuming that the data is received at 10:53:56, 123 milliseconds on October 17, 2019, the data can be modified after the data invalid time indicated by the first time label 303 according to the following rules: (1) since the milliseconds of the time at which the data is received is 123 milliseconds, take 1+2+3=6; (2) check the binary data string of the data body part 302, all "1"s are grouped every 6, the "1"s in the first group are all replaced with "0", the "1"s in the second group are not replaced, and the "1"s in the third group are replaced with "0". Thus, the data body part 302 is modified to "000 000 000 001 111 000 010 100 0000".
[0034] In some embodiments, the method 200 further comprises: before sending the data, the receiving device performs time synchronization to keep consistency and synchronization of time clock in the communication system. Thus, the receiving device can modify or destroy the data precisely according to the latest reading time of the data in the first time tag. Both the receiving device and the sending device can comprise a time synchronization unit for implementing time synchronization. In addition, the reading rule of the time tag is agreed upon when performing system time synchronization between the sending device and the receiving device, including the position of each time tag in the data and the length of the tag. The time synchronization process can be performed by transmitting synchronization time information to the receiving device and the sending device by an independent time service system, or by transmitting synchronization time information to the receiving device by the sending device. In the time synchronization process, the 0 point time or the starting time of the subsystem composed of the receiving device and the sending device can be set, and the system time is not required to be zeroed each time the time synchronization is performed.
[0035] Figure 4 A structural block diagram of a sending device for sending data according to an embodiment of the present application is shown. Figure 4 The sending device 400 shown comprises: an encoding unit 420 configured to add at least a first time tag in the data to be sent; wherein the first time tag indicates the latest time when the data is read; and a sending unit 430 configured to send the data to which the first time tag is added. The sending device 400 can be used to implement the method 100 shown in the above embodiments, by sending the data to which at least the first time tag is added, so that the data receiving device can simply and efficiently implement encryption and destruction of the communication data in a predetermined time and data modification manner. Figure 1 The sending device 400 shown comprises: an encoding unit 420 configured to add at least a first time tag in the data to be sent; wherein the first time tag indicates the latest time when the data is read; and a sending unit 430 configured to send the data to which the first time tag is added. The sending device 400 can be used to implement the method 100 shown in the above embodiments, by sending the data to which at least the first time tag is added, so that the data receiving device can simply and efficiently implement encryption and destruction of the communication data in a predetermined time and data modification manner.
[0036] In some embodiments, the encoding unit 420 is further configured to add a second time tag in the data to be sent; wherein the second time tag indicates the time when the data is sent; and the sending unit 430 is further configured to send the data to which the first time tag and the second time tag are added.
[0037] In some embodiments, the encoding unit 420 adds the first time tag at the tail of the data, and adds the second time tag at the head of the data. However, embodiments of the present application are not limited thereto.
[0038] In some embodiments, the sending device 400 further comprises: a sending end time synchronization unit 410 configured to perform time synchronization before sending the data. The sending end time synchronization unit 410 can implement its own system time synchronization by receiving synchronization time information from an independent time service system or other communication devices, or can implement time synchronization with the receiving device by sending synchronization time information to the receiving device with which data communication is performed.
[0039] Figure 5 A structural block diagram of a receiving device for receiving data according to an embodiment of the present application is shown. The receiving device 500 comprises: a receiving unit 510 configured to receive data to which at least a first time label has been added; wherein the first time label indicates the latest time at which the data is read; a decoding unit 530 configured to extract the first time label from the data; and a re-encoding unit 540 configured to modify the received data after the latest time at which the data is read indicated by the first time label. The receiving device 500 can be used to implement the method 200 shown in the above embodiments, by receiving data to which at least a first time label has been added, the receiving device 500 can simply and efficiently implement encryption and destruction of communication data in a predetermined time and data modification manner, is easy to implement and low in cost. Figure 2 A structural block diagram of a receiving device for receiving data according to an embodiment of the present application is shown. The receiving device 500 comprises: a receiving unit 510 configured to receive data to which at least a first time label has been added; wherein the first time label indicates the latest time at which the data is read; a decoding unit 530 configured to extract the first time label from the data; and a re-encoding unit 540 configured to modify the received data after the latest time at which the data is read indicated by the first time label. The receiving device 500 can be used to implement the method 200 shown in the above embodiments, by receiving data to which at least a first time label has been added, the receiving device 500 can simply and efficiently implement encryption and destruction of communication data in a predetermined time and data modification manner, is easy to implement and low in cost.
[0040] In some embodiments, the received data further contains a second time label, the second time label indicating the time at which the data is sent; the re-encoding unit 540 is further configured to: generate a modification rule for modifying the data by using the first time label and / or the second time label; and modify the data based on the modification rule after the latest time at which the data is read indicated by the first time label.
[0041] In some embodiments, the received data is a binary information string; the re-encoding unit 540 is further configured to modify or delete specific bits or specific bit strings in the binary information string based on the modification rule. In some embodiments, the modification rule of the data includes setting specific bits in the binary information string to be modified or deleted in the data based on the millisecond number in the second time label; the modification of the data includes: replacing “0” of the specific bits in the binary information string with “1”; and / or replacing “1” of the specific bits in the binary information string with “0”.
[0042] In some embodiments, the receiving device 600 further comprises: a receiving end time synchronization unit 520 configured to perform time synchronization before receiving the data. The receiving end time synchronization unit 520 can achieve its own system time synchronization by receiving synchronization time information from an independent time service system or other communication devices, or achieve time synchronization with the sending device by receiving synchronization time information from the sending device with which it communicates data.
[0043] Figure 6 A structural block diagram of a communication system according to an embodiment of the present application is shown. As shown in Figure 6 The communication system 600 comprises: a sending device 610 and a receiving device 620. The communication system 600 can comprise multiple sending devices 610 and multiple receiving devices 620. For simplicity, Figure 6only one transmission device 610 and one reception device 620 are shown. The transmission device 610 can be the transmission device 400 shown in the above-described embodiments Figure 4 The reception device 620 can be the reception device 500 shown in the above-described embodiments. The transmission device 610 and the reception device 620 can be independent devices, or can be included in different information processing systems, respectively, to transmit and receive data between each other. The single transmission device 610 and the single reception device 620 constitute a subsystem when transmitting and receiving data, and must be time-synchronized and agree on the modification or destruction of data, and improve the encryption performance of data by adding a system tag field to the data and increasing the randomness of data modification. Figure 5
[0044] In the process of time-synchronization of the transmission device 610 and the reception device 620, the system tag field can also be transmitted to each transmission device and reception device in the entire communication system 600, so as to identify and read the first time tag in the received data, and then correctly read the data. The system time synchronized by the transmission device 610 and the reception device 620 is associated with the system tag field (as a field describing the uniqueness of the system). In the process of transmitting data in a wireless manner, the data can be received by any third-party receiving device other than the preset receiving device. However, since the system time of the third-party receiving device is not time-synchronized with the transmission device 610, and the third-party receiving device does not have the information of the system tag field, the third-party receiving device cannot read the data.
[0045] The communication system 600 can also include a remote server (such as a cloud server) for providing necessary data or control instructions to the transmission device 610 and the reception device 620, such as transmitting a uniform system tag field to all transmission devices and reception devices in the system, uniformly changing the time tag of data in the entire system, or controlling the time synchronization of all transmission devices and reception devices.
[0046] In the embodiment shown in Figure 6 In the embodiment shown in Figure 4 The transmission end time synchronization unit 612, the encoding unit 613, and the transmission unit 614 can be the same as the transmission end time synchronization unit 410, the encoding unit 420, and the transmission unit 430 shown in the above-described embodiments. As Figure 6 As shown, the receiving device 620 includes: a receiving unit 621 for receiving data from the transmitting device 610; a receiving end time synchronization unit 622 for synchronizing time with the transmitting device 610; a decoding unit 623 for extracting a first time tag and a second time tag from the data, and the data is also in a readable state; a re-encoding unit 624 for modifying the received data after the latest reading time indicated by the first time tag; and a storage unit 625 for storing the modified data.
[0047] In one example, during the initialization process of the information processing device, time synchronization with another information processing device is achieved via wireless communication. Specifically, time synchronization is performed between the transmitting end time synchronization unit 612 and the receiving end time synchronization unit 622 to achieve time synchronization between the transmitting device 610 and the receiving device 620. When the transmitting device 610 needs to send data after startup, the encoding unit 613 generates a binary information string as the data to be sent, notifying the transmitting unit 614 of the data transmission requirement. The transmitting unit 614 confirms that transmission is possible and returns the expected transmission time to the encoding unit 613. The encoding unit 613 adds time tags ST and ET to the binary information string and transmits the encoded data containing ST and ET to the transmitting unit 614. The transmitting unit 614 then transmits the data to the receiving device 620 via a digital information transmission channel (wired or wireless). After receiving the data, the receiving device 620 checks the current time several seconds later and compares the current time with the "latest data reading time" preset in the ET and the time tag ET. If the current time is after the preset "latest data reading time", the re-encoding unit 624 completely replaces the 1s in the binary information string of the data with 0s, or vice versa, to modify the received data; the re-encoding unit 624 can also directly clear all the data to destroy the data.
[0048] The vehicle infotainment system provided according to embodiments of the present invention may include a wireless communication system for vehicle-to-everything (V2X) communication. The wireless communication system includes: a transmitting device as described in the above embodiments and a receiving device as described in the above embodiments. The transmitting device may be... Figure 4 and Figure 6 The transmitting device 400 or 610, and the receiving device may be... Figure 5 and Figure 6 The receiving device 500 or 620 is described above. The transmitting device can send data containing time tags to other receiving devices; the receiving device receives data containing time tags from other transmitting devices and modifies the data according to predetermined data modification rules after a predetermined latest data reading time, thereby simply and efficiently realizing the encryption and destruction of vehicle network communication data, clearing a large amount of instant communication data in vehicle network communication, avoiding data leakage and unnecessary occupation of vehicle system data storage resources.
[0049] According to an embodiment of the present application, there is also provided a method for encoding data to be transmitted in a communication system, the communication system comprising at least a data transmitting device and a data receiving device, the method comprising: adding at least one time tag to the data; adding field information in the time tag for identifying the uniqueness of the communication system; and encoding the data with the time tag and the field information added as data to be transmitted. The time tag can contain system time for time synchronization of the data transmitting device and the data receiving device of the communication system.
[0050] In some embodiments, the field information added in the time tag comprises information related to at least one of the name of the device manufacturer of the data transmitting device and / or the data receiving device, the production date of the device, and the geographical location where the data transmitting device and / or the data receiving device is located.
[0051] According to an embodiment of the present application, there is also provided a time service system, which is included in a first communication device or a remote server in communication with a second communication device, and is configured to provide synchronization time information to the second communication device, the time service system comprising: an encoding unit configured to encode the synchronization time information and field information for identifying the uniqueness of the first communication device and / or the second communication device as time service data; and a transmitting unit configured to transmit the time service data to the second communication device. The synchronization time information contains system time for time synchronization of the first communication device and the second communication device.
[0052] The synchronization time information in the time service system is independent of the timing information of the communication devices. In one example, a system time synchronization indication containing the synchronization time information is transmitted by a remote server (such as a cloud server) to each communication device or vehicle system in the system to achieve time synchronization of each communication device. In another example, the entire communication system allows one or more communication devices to transmit a system time synchronization indication to other communication devices to achieve time synchronization between these communication devices. In the process of wireless communication, time synchronization is usually a prerequisite for data readability. With the time service system of the embodiment of the present application, each communication device in the communication system can be time-served and time-synchronized, and data encryption can be achieved through the synchronization time information and the field information for identifying the uniqueness of the device.
[0053] The above description is only the preferred embodiments of the present application, and does not constitute any limitation of the present application. Those skilled in the art can make various modifications and variations in form and details after understanding the content and principles of the present application, and these modifications and variations based on the principles of the present application should still be within the protection scope defined by the claims of the present patent.
Claims
1. A method for transmitting data in a communication system, the method comprising: adding, by a transmitting device, at least a first time label in data to be transmitted; wherein the first time label indicates a latest time at which the data is to be read, the latest time at which the data is to be read being a deadline set for data reading, for a specific receiving device in the communication system to modify or destroy the data after the latest time; and transmitting, by the transmitting device, the data having the first time label added. 2.The method according to claim 1, further comprising: adding, by the transmitting device, a second time label in the data to be transmitted; wherein the second time label indicates a time at which the data is transmitted; and transmitting, by the transmitting device, the data having the first time label and the second time label added.
3. The method according to claim 2, wherein, The first time label is added at a tail of the data, and the second time label is added at a head of the data.
4. The method according to any one of claims 1 to 3, wherein, The first time label further contains a field for identifying uniqueness of the communication system. 5.A method for receiving data in a communication system, the method comprising: receiving, by a receiving device, data having at least a first time label added therein; wherein the first time label indicates a latest time at which the data is to be read, the latest time at which the data is to be read being a deadline set for data reading, for triggering modification or destruction of the data; extracting the first time label from the data; and modifying the received data after the latest time at which the data is to be read, indicated by the first time label.
6. The method according to claim 5, wherein, The data further has a second time label added therein, the second time label indicating a time at which the data is transmitted; the method further comprising: generating a modification rule for modifying the data, using the first time label and / or the second time label; and modifying the data based on the modification rule, after the latest time at which the data is to be read, indicated by the first time label.
7. The method according to claim 6, wherein, The data is a binary information string; the modification of the data comprises modifying or deleting specific bits or specific bit strings in the binary information string.
8. The method according to claim 7, wherein, The modification rule comprises setting specific bits in the binary information string to be modified or deleted in the data based on a millisecond number in the second time label; The modification comprises: replacing "0” of specific bits in the binary information string with "1”; and / or replacing "1” of specific bits in the binary information string with "0”. 9.The method according to claim 5, further comprising: synchronizing, by the receiving device, time with the transmitting device, before the data is transmitted. 10.A transmitting device for transmitting data, comprising: an encoding unit configured to add at least a first time tag in data to be transmitted; wherein the first time tag indicates a latest time at which the data is read, the latest time at which the data is read being a deadline set for data reading, so that a specific receiving device in a communication system modifies or destroys the data after the latest time; and a transmitting unit configured to transmit the data having the first time tag added.
11. The transmitting device according to claim 10, wherein, the encoding unit is further configured to add a second time tag in the data to be transmitted; wherein the second time tag indicates a time at which the data is transmitted; and the transmitting unit is further configured to transmit the data having the first time tag and the second time tag added.
12. The transmitting device according to claim 11, wherein, the encoding unit adds the first time tag at a tail of the data, and adds the second time tag at a head of the data.
13. The transmitting device according to claim 10, further comprising: a transmitting end time synchronization unit configured to perform time synchronization before transmitting the data.
14. A receiving device for receiving data, comprising: a receiving unit configured to receive data in which at least a first time tag is added; wherein the first time tag indicates a latest time at which the data is read, the latest time at which the data is read being a deadline set for data reading, so as to trigger modification or destruction of the data; a decoding unit configured to extract the first time tag from the data; and a re-encoding unit configured to modify the received data after the latest time at which the data is read indicated by the first time tag.
15. The receiving device of claim 14, wherein, the data further contains a second time tag, the second time tag indicating a time at which the data is transmitted; the re-encoding unit is further configured to: generate a modification rule for modifying the data by using the first time tag and / or the second time tag; and modify the data based on the modification rule after the latest time at which the data is read indicated by the first time tag.
16. The receiving device of claim 15, wherein, the data is a binary information string; the re-encoding unit is configured to modify or delete specific bits or specific bit strings in the binary information string based on the modification rule.
17. The receiving device of claim 16, wherein, the modification rule comprises setting specific bits in the binary information string to be modified or deleted in the data based on a millisecond number in the second time tag; the modification comprises: replacing "0" of specific bits in the binary information string with "1"; and / or replacing "1" of specific bits in the binary information string with "0".
18. The receiving device according to claim 14, further comprising: a receiving end time synchronization unit configured to perform time synchronization before receiving the data.
19. A communication system comprising: a plurality of transmitting devices according to any one of claims 10 to 13 and a plurality of receiving devices according to any one of claims 14 to 18; wherein the transmitting devices are configured to transmit data to the receiving devices; and the receiving devices are configured to receive data from the transmitting devices.
20. A telematics system comprising a wireless communication system for telematics communication, the wireless communication system comprising: a transmitting device according to any one of claims 10 to 13 and a receiving device according to any one of claims 14 to 18; wherein the transmitting device is configured to transmit data to other receiving devices; and the receiving device is configured to receive data from other transmitting devices.
21. A method for encoding data to be transmitted in a communication system, the communication system comprising at least a data transmitting device and a data receiving device, the method comprising: adding at least one time label to the data, the time label comprising a first time label indicating a latest time at which the data is to be read, the latest time at which the data is to be read being a deadline set for the data read, such that a particular data receiving device in the communication system modifies or destroys the data after the latest time; adding field information in the time label for identifying uniqueness of the communication system; and encoding the data with the time label and the field information added as data to be transmitted.
22. The method according to claim 21, wherein, The field information comprises information related to at least one of a name of a device manufacturer of the data transmitting device and / or the data receiving device, a device production date, a geographical location where the data transmitting device and / or the data receiving device is located.
23. A timekeeping system, wherein, The time-providing system is comprised in a first communication device or a remote server in communication with a second communication device, and is configured to provide synchronization time information to the second communication device, the first communication device comprising a transmitting device according to any one of claims 10 to 13, the second communication device comprising a receiving device according to any one of claims 14 to 18, the time-providing system comprising: an encoding unit configured to encode the synchronization time information and field information for identifying uniqueness of the first communication device and / or the second communication device as time-providing data; and a transmitting unit configured to transmit the time-providing data to the second communication device.
Citation Information
Patent Citations
Information processing device and method
CN106254327A
Rapid exchange method and bidding and tendering method of bidding and tendering data
CN111523987A