WO2022087814A1 - Vehicle-to-everything-based information transmission method, and related apparatus for same - Google Patents

Vehicle-to-everything-based information transmission method, and related apparatus for same Download PDF

Info

Publication number
WO2022087814A1
WO2022087814A1 PCT/CN2020/123925 CN2020123925W WO2022087814A1 WO 2022087814 A1 WO2022087814 A1 WO 2022087814A1 CN 2020123925 W CN2020123925 W CN 2020123925W WO 2022087814 A1 WO2022087814 A1 WO 2022087814A1
Authority
WO
WIPO (PCT)
Prior art keywords
coordinate value
terminal
encrypted
value
field
Prior art date
Application number
PCT/CN2020/123925
Other languages
French (fr)
Chinese (zh)
Inventor
潘凯
陈幼雷
李明超
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN202080004368.9A priority Critical patent/CN112544095B/en
Priority to PCT/CN2020/123925 priority patent/WO2022087814A1/en
Publication of WO2022087814A1 publication Critical patent/WO2022087814A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • H04W4/44Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P] for communication between vehicles and infrastructures, e.g. vehicle-to-cloud [V2C] or vehicle-to-home [V2H]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The present application provides a Vehicle-to-Everything-based information transmission method and a related apparatus for same, to facilitate a first terminal in generating a BSM, such that a second terminal can receive the BSM from the first terminal, and determine the position of the first terminal on the basis of the BSM. The method of the present application comprises: a first terminal acquiring an encrypted coordinate value of the first terminal; the first terminal generating, according to the encrypted coordinate value, a first coordinate value and a second coordinate value; the first terminal generating a basic safety message (BSM) according to the first coordinate value and the second coordinate value, wherein the BSM includes a required field and an optional field, the required field is used to indicate the first coordinate value, the optional field is used to indicate the second coordinate value, and the first coordinate value is within a value range corresponding to the required field; the first terminal sending the BSM to a second terminal; the second terminal determining the encrypted coordinate value according to the first coordinate value indicated by the required field and the second coordinate value indicated by the optional field; and the second terminal decrypting the encrypted coordinate value to obtain the decrypted coordinate value of the first terminal.

Description

一种基于车联网的信息传输方法及其相关设备An information transmission method based on the Internet of Vehicles and related equipment 技术领域technical field
本申请涉及通信技术领域,尤其涉及一种基于车联网的位置确定方法及其相关设备。The present application relates to the field of communication technologies, and in particular, to a method for determining a location based on the Internet of Vehicles and related devices.
背景技术Background technique
在车联网(vehicle to everything,V2X)通信技术中,某一车辆可通过广播基本安全消息(basic safety message,BSM),将自身的位置信息告知周围的车辆和路边侧设备,从而使得周围的车辆和路边侧设备基于BSM,确定该车辆的位置。In the vehicle to everything (V2X) communication technology, a vehicle can broadcast its basic safety message (BSM) to inform surrounding vehicles and roadside equipment of its location information, so that surrounding The vehicle and roadside equipment determine the vehicle's position based on the BSM.
下面以车联网通信系统中的第一终端(某一车载设备)和第二终端(另一车载设备或某一路边侧设备)为例进行说明。在第一终端广播BSM之前,第一终端会令BSM携带用于指示第一终端的坐标值(例如,第一终端的纬度、经度和高程)的必选字段。第一终端在编码该必选字段时,通常会检查第一终端的坐标值是否位于预置的取值范围内,从而确定该必选字段的编码操作是否继续。The following takes the first terminal (a certain in-vehicle device) and the second terminal (another in-vehicle device or a certain roadside device) in the vehicle networking communication system as an example for description. Before the first terminal broadcasts the BSM, the first terminal will make the BSM carry a mandatory field for indicating the coordinate value of the first terminal (for example, the latitude, longitude and elevation of the first terminal). When encoding the mandatory field, the first terminal usually checks whether the coordinate value of the first terminal is within a preset value range, so as to determine whether the encoding operation of the mandatory field is continued.
为了保证信息安全,需要对BSM中传递的第一终端的坐标值加密。第一终端对自身的坐标值进行加密后,可能使得加密后的坐标值位于预置的取值范围外,那么,第一终端会停止编码操作,导致BSM无法生成,故第二终端无法接收到第一终端的BSM,则无法确定第一终端的位置。To ensure information security, the coordinate value of the first terminal transmitted in the BSM needs to be encrypted. After the first terminal encrypts its own coordinate value, the encrypted coordinate value may be outside the preset value range. Then, the first terminal will stop the encoding operation, so that the BSM cannot be generated, so the second terminal cannot receive it. The BSM of the first terminal cannot determine the location of the first terminal.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种基于车联网的信息传输方法及其相关设备,可令第一终端顺利生成BSM,使得第二终端可接收到来自第一终端的BSM,以基于BSM确定第一终端的位置。The embodiments of the present application provide an information transmission method and related equipment based on the Internet of Vehicles, which can enable the first terminal to smoothly generate a BSM, so that the second terminal can receive the BSM from the first terminal, so as to determine the first terminal based on the BSM s position.
本申请实施例的第一方面提供一种基于车联网的信息传输方法,该方法包括:A first aspect of the embodiments of the present application provides an information transmission method based on the Internet of Vehicles, the method comprising:
当第一终端准备广播BSM时,第一终端可先获取自身的原始坐标值,并对原始坐标值进行加密,得到第一终端的加密后的坐标值。When the first terminal is ready to broadcast the BSM, the first terminal may first obtain its own original coordinate value, and encrypt the original coordinate value to obtain the encrypted coordinate value of the first terminal.
得到加密后的坐标值后,第一终端可获取BSM中必选字段对应的取值范围,该取值范围通常是预置的取值集合,例如,该取值范围可以为{-90000000,-89999999,-89999998,…,89999999,90000000,90000001}等等。接着,第一终端根据加密后的坐标值生成第一坐标值和第二坐标值,使得第一坐标值位于必选字段对应的取值范围中。After obtaining the encrypted coordinate value, the first terminal can obtain the value range corresponding to the mandatory field in the BSM, and the value range is usually a preset value set. For example, the value range can be {-90000000, - 89999999, -89999998, ..., 89999999, 90000000, 90000001} and so on. Next, the first terminal generates the first coordinate value and the second coordinate value according to the encrypted coordinate value, so that the first coordinate value is located in the value range corresponding to the mandatory field.
然后,第一终端根据第一坐标值和第二坐标值生成BSM,并将BSM发送至第二终端。具体地,第一终端所生成的BSM包含必选字段和可选字段,其中,必选字段用于指示第一坐标值,可选字段用于指示第二坐标值。Then, the first terminal generates a BSM according to the first coordinate value and the second coordinate value, and sends the BSM to the second terminal. Specifically, the BSM generated by the first terminal includes a mandatory field and an optional field, wherein the mandatory field is used to indicate the first coordinate value, and the optional field is used to indicate the second coordinate value.
在接收到来自第一终端的BSM后,第二终端可解析BSM,进而根据必选字段指示的第一坐标值和可选字段指示的第二坐标值确定加密后的坐标值。得到加密后的坐标值后,第二终端则对加密后的坐标值进行解密,得到第一终端的解密后的坐标值(即第一终端的原始坐标值),从而根据解密后的坐标值确定第一终端的位置。After receiving the BSM from the first terminal, the second terminal may parse the BSM, and then determine the encrypted coordinate value according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field. After obtaining the encrypted coordinate value, the second terminal decrypts the encrypted coordinate value to obtain the decrypted coordinate value of the first terminal (that is, the original coordinate value of the first terminal), so as to determine according to the decrypted coordinate value. The location of the first terminal.
从上述方法可以看出:第一终端在获取第一终端的加密后的坐标值后,可根据加密后的坐标值生成第一坐标值和第二坐标值。由于第一坐标值位于必选字段对应的取值范围中,故第一终端可完成用于指示第一坐标值的必选字段的编码操作以及用于指示第二坐标值的可选字段的编码操作,从而顺利生成BSM,使得第二终端可接收来自第一终端的BSM,并基于BSM所指示的第一坐标值和第二坐标值,确定第一终端的位置。It can be seen from the above method that after acquiring the encrypted coordinate value of the first terminal, the first terminal can generate the first coordinate value and the second coordinate value according to the encrypted coordinate value. Since the first coordinate value is located in the value range corresponding to the mandatory field, the first terminal can complete the encoding operation of the mandatory field indicating the first coordinate value and the encoding of the optional field indicating the second coordinate value operation, so that the BSM is successfully generated, so that the second terminal can receive the BSM from the first terminal, and determine the position of the first terminal based on the first coordinate value and the second coordinate value indicated by the BSM.
在一种可能的实现方式中,在一种可能的实现方式中,第一终端根据加密后的坐标值生成第一坐标值和第二坐标值包括:第一终端可将加密后的坐标值按数值的比特位进行拆分,得到第一坐标值和第二坐标值。前述实现方式中,由于第一终端按数值的比特位将加密后的坐标值拆分成两部分,即第一坐标值和第二坐标值,那么第一坐标值的位数和第二坐标值的位数均少于加密后的坐标值的位数,可令第一坐标值远小于加密后的坐标值,使得第一坐标值位于必选字段对应的取值范围内,确保必选字段的编码操作可以完成。更进一步地,由于必选字段指示的第一坐标值和可选字段指示的第二坐标值可拼接成第一终端的加密后的坐标值,故第二终端在接收到第一终端的BSM后,可根据第一坐标值和第二坐标值确定第一终端的加密后的坐标值。In a possible implementation manner, in a possible implementation manner, generating the first coordinate value and the second coordinate value by the first terminal according to the encrypted coordinate value includes: the first terminal may The bits of the numerical value are split to obtain the first coordinate value and the second coordinate value. In the foregoing implementation manner, since the first terminal splits the encrypted coordinate value into two parts according to the bits of the numerical value, that is, the first coordinate value and the second coordinate value, then the number of digits of the first coordinate value and the second coordinate value are The number of digits is less than that of the encrypted coordinate value, which can make the first coordinate value much smaller than the encrypted coordinate value, so that the first coordinate value is within the value range corresponding to the required field, ensuring that the required field is The encoding operation can be done. Further, since the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field can be spliced into the encrypted coordinate value of the first terminal, the second terminal receives the BSM of the first terminal. , the encrypted coordinate value of the first terminal may be determined according to the first coordinate value and the second coordinate value.
在一种可能的实现方式中,第二终端根据必选字段指示的第一坐标值和可选字段指示的第二坐标值确定第一终端的加密后的坐标值包括:第二终端在接收到来自第一终端的BSM后,可将必选字段指示的第一坐标值和可选字段指示的第二坐标值进行拼接,从而得到第一终端的加密后的坐标值。In a possible implementation manner, the second terminal determining the encrypted coordinate value of the first terminal according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field includes: when the second terminal receives the After receiving the BSM from the first terminal, the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field may be concatenated, thereby obtaining the encrypted coordinate value of the first terminal.
在一种可能的实现方式中,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的前M位数,第二坐标值为加密后的坐标值的后N-M位数;或,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的后M位数,第二坐标值为加密后的坐标值的前N-M位数;其中,M和N为正整数,N≥M。前述实现方式中,当加密后的坐标值为N位数时,将加密后的坐标值按数值的比特位进行拆分后,第一坐标值可为加密后的坐标值的前M位数或后M位数(相应地,第二坐标值则为加密后的坐标值的后N-M位数或前N-M位数),提高了方案的灵活度和可选择性。In a possible implementation manner, the encrypted coordinate value is N digits, the first coordinate value is the first M digits of the encrypted coordinate value, and the second coordinate value is the last N-M digits of the encrypted coordinate value. Or, the encrypted coordinate value is N digits, the first coordinate value is the last M digits of the encrypted coordinate value, and the second coordinate value is the first N-M digits of the encrypted coordinate value; wherein, M and N is a positive integer, N≥M. In the foregoing implementation manner, when the encrypted coordinate value is N digits, after the encrypted coordinate value is split by the bits of the numerical value, the first coordinate value may be the first M digits of the encrypted coordinate value or The last M digits (correspondingly, the second coordinate value is the last N-M digits or the first N-M digits of the encrypted coordinate value), which improves the flexibility and selectivity of the scheme.
更进一步地,第一坐标值可为加密后的坐标值的奇位数,第二坐标值为加密后的坐标值的偶位数;或,第一坐标值可为加密后的坐标值的偶位数,第二坐标值为加密后的坐标值的奇位数。例如,设加密后的坐标值为12345678,第一坐标值可为加密后的坐标值的奇位数,即1357,则第二坐标值为加密后的坐标值的偶位数,即2468等等。此外,第一坐标值和第二坐标值还可以是加密后的坐标值按其他比特位拆分方式(例如,设加密后的坐标值为8位数,加密后的坐标值的第1位、第2位、第5位和第6位构成第一坐标值,加密后的坐标值的第3位、第4位、第7位和第8位构成第二坐标值等等)得到的,此种拆分方式的信息可以是一种加密信息,可以由第一终端和第二终端事先约定,或者可以被携带在BSM的某个可选字段中,提高了信息传输的安全性。Further, the first coordinate value may be the odd-digit number of the encrypted coordinate value, and the second coordinate value may be the even-digit number of the encrypted coordinate value; or, the first coordinate value may be the even number of the encrypted coordinate value. The second coordinate value is the odd-digit number of the encrypted coordinate value. For example, suppose the encrypted coordinate value is 12345678, the first coordinate value can be the odd-digit number of the encrypted coordinate value, that is, 1357, and the second coordinate value can be the even-digit number of the encrypted coordinate value, that is, 2468, etc. . In addition, the first coordinate value and the second coordinate value may also be the encrypted coordinate value divided by other bits (for example, set the encrypted coordinate value to 8 digits, the first digit of the encrypted coordinate value, The 2nd, 5th, and 6th digits constitute the first coordinate value, and the 3rd, 4th, 7th, and 8th digits of the encrypted coordinate value constitute the second coordinate value, etc.) The information in this splitting manner may be encrypted information, which may be agreed in advance by the first terminal and the second terminal, or may be carried in an optional field of the BSM, which improves the security of information transmission.
在一种可能的实现方式中,第一终端根据加密后的坐标值生成第一坐标值和第二坐标值包括:第一终端先获取位于必选字段对应的取值范围中的第一坐标值,例如,第一坐标值可为预置的数值(即一个提前设置的固定值),且该预置的坐标值位于必选字段对应的取 值范围中,又如,第一终端可在必选字段对应的取值范围中,随机获取一个数值作为第一坐标值等等。然后,第一终端对加密后的坐标值和第一坐标值进行计算,得到第二坐标值。前述实现方式中,第一终端可直接获取位于必选字段对应的取值范围中的第一坐标值,确保必选字段的编码操作可以完成。更进一步地,第一终端还可令加密后的坐标值、必选字段指示的第一坐标值和可选字段指示的第二坐标值之间存在一定的计算关系,使得第二终端在接收到第一终端的BSM后,可根据第一坐标值和第二坐标值确定第一终端的加密后的坐标值。In a possible implementation manner, the generating the first coordinate value and the second coordinate value by the first terminal according to the encrypted coordinate value includes: the first terminal first obtains the first coordinate value located in the value range corresponding to the mandatory field , for example, the first coordinate value may be a preset value (that is, a fixed value set in advance), and the preset coordinate value is located in the value range corresponding to the required field. For another example, the first terminal may In the value range corresponding to the selected field, a value is randomly obtained as the first coordinate value, and so on. Then, the first terminal calculates the encrypted coordinate value and the first coordinate value to obtain the second coordinate value. In the foregoing implementation manner, the first terminal can directly obtain the first coordinate value located in the value range corresponding to the mandatory field, so as to ensure that the encoding operation of the mandatory field can be completed. Further, the first terminal can also make a certain calculation relationship exist between the encrypted coordinate value, the first coordinate value indicated by the mandatory field, and the second coordinate value indicated by the optional field, so that the second terminal receives the After the BSM of the first terminal, the encrypted coordinate value of the first terminal may be determined according to the first coordinate value and the second coordinate value.
在一种可能的实现方式中,第二终端根据必选字段指示的第一坐标值和可选字段指示的第二坐标值确定第一终端的加密后的坐标值包括:第二终端在接收到来自第一终端的BSM后,可对必选字段指示的第一坐标值和可选字段指示的第二坐标值进行计算,从而得到第一终端的加密后的坐标值。In a possible implementation manner, the second terminal determining the encrypted coordinate value of the first terminal according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field includes: when the second terminal receives the After receiving the BSM from the first terminal, the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field can be calculated to obtain the encrypted coordinate value of the first terminal.
在一种可能的实现方式中,加密后的坐标值、第一坐标值和第二坐标值之间的计算关系可以为:加密后的坐标值为第一坐标值与第二坐标值的和、差、积或商,提高了方案的灵活度和可选择性。In a possible implementation manner, the calculation relationship between the encrypted coordinate value, the first coordinate value and the second coordinate value may be: the encrypted coordinate value is the sum of the first coordinate value and the second coordinate value, The difference, product or quotient improves the flexibility and selectivity of the scheme.
在一种可能的实现方式中,第一终端根据加密后的坐标值生成第一坐标值和第二坐标值包括:第一终端先获取位于必选字段对应取值范围中的第一坐标值。一般地,第一坐标值通常为取值范围中的特殊值(即在当前协议下,该值并非用于指示第一终端的坐标,而是用于指示某些特殊情况),故第一坐标值可用于指示第二坐标值为加密后的坐标值。然后,第一终端确定第二坐标值为加密后的坐标值。前述实现方式中,第一终端可直接获取位于必选字段对应的取值范围中的第一坐标值,确保必选字段的编码操作可以完成。更进一步地,第一终端还可令第一坐标值和第二坐标值之间存在一定的关联关系(即第一坐标值用于指示第二坐标值为第一终端的加密后的坐标值),使得第二终端在接收到第一终端的BSM后,可根据第一坐标值将第二坐标值确定为第一终端的加密后的坐标值。In a possible implementation manner, the generating the first coordinate value and the second coordinate value by the first terminal according to the encrypted coordinate value includes: the first terminal first obtains the first coordinate value located in the value range corresponding to the mandatory field. Generally, the first coordinate value is usually a special value in the value range (that is, under the current protocol, the value is not used to indicate the coordinates of the first terminal, but is used to indicate some special cases), so the first coordinate The value can be used to indicate that the second coordinate value is the encrypted coordinate value. Then, the first terminal determines that the second coordinate value is the encrypted coordinate value. In the foregoing implementation manner, the first terminal can directly obtain the first coordinate value located in the value range corresponding to the mandatory field, so as to ensure that the encoding operation of the mandatory field can be completed. Further, the first terminal can also make a certain relationship exist between the first coordinate value and the second coordinate value (that is, the first coordinate value is used to indicate that the second coordinate value is the encrypted coordinate value of the first terminal) , so that after receiving the BSM of the first terminal, the second terminal can determine the second coordinate value as the encrypted coordinate value of the first terminal according to the first coordinate value.
在一种可能的实现方式中,第二终端根据必选字段指示的第一坐标值和可选字段指示的第二坐标值确定第一终端的加密后的坐标值包括:第二终端在接收到来自第一终端的BSM后,可根据必选字段指示的第一坐标值,将可选字段指示的第二坐标值确定为第一终端的加密后的坐标值。In a possible implementation manner, the second terminal determining the encrypted coordinate value of the first terminal according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field includes: when the second terminal receives the After receiving the BSM from the first terminal, the second coordinate value indicated by the optional field may be determined as the encrypted coordinate value of the first terminal according to the first coordinate value indicated by the mandatory field.
在一种可能的实现方式中,当第一终端令第一坐标值为取值范围中的特殊值时,可以令第一坐标值为取值范围中的最大值或最小值,提高了方案的灵活度和可选择性。In a possible implementation manner, when the first terminal sets the first coordinate value as a special value in the value range, the first coordinate value can be set as the maximum value or the minimum value in the value range, which improves the efficiency of the solution. Flexibility and optionality.
在一种可能的实现方式中,加密后的坐标值的长度与解密后的坐标值的长度相等。In a possible implementation manner, the length of the encrypted coordinate value is equal to the length of the decrypted coordinate value.
本申请实施例的第二方面提供了一种基于车联网的信息传输方法,该方法包括:第一终端获取第一终端的加密后的坐标值;第一终端根据加密后的坐标值生成第一坐标值和第二坐标值;第一终端根据第一坐标值和第二坐标值生成BSM,BSM包含必选字段和可选字段,必选字段用于指示第一坐标值,可选字段用于指示第二坐标值,第一坐标值位于必选字段对应的取值范围中;第一终端向第二终端发送BSM。A second aspect of the embodiments of the present application provides an information transmission method based on the Internet of Vehicles. The method includes: a first terminal obtains an encrypted coordinate value of the first terminal; and the first terminal generates a first terminal according to the encrypted coordinate value. The coordinate value and the second coordinate value; the first terminal generates a BSM according to the first coordinate value and the second coordinate value, and the BSM includes a required field and an optional field. The required field is used to indicate the first coordinate value, and the optional field is used to Indicates the second coordinate value, and the first coordinate value is in the value range corresponding to the mandatory field; the first terminal sends the BSM to the second terminal.
从上述方法可以看出:第一终端在获取第一终端的加密后的坐标值后,可根据加密后的坐标值生成第一坐标值和第二坐标值。由于第一坐标值位于必选字段对应的取值范围中, 故第一终端可完成用于指示第一坐标值的必选字段的编码操作以及用于指示第二坐标值的可选字段的编码操作,从而顺利生成BSM,使得第二终端可接收来自第一终端的BSM,并基于BSM所指示的第一坐标值和第二坐标值,确定第一终端的位置。It can be seen from the above method that after acquiring the encrypted coordinate value of the first terminal, the first terminal can generate the first coordinate value and the second coordinate value according to the encrypted coordinate value. Since the first coordinate value is located in the value range corresponding to the mandatory field, the first terminal can complete the encoding operation of the mandatory field indicating the first coordinate value and the encoding of the optional field indicating the second coordinate value operation, so that the BSM is successfully generated, so that the second terminal can receive the BSM from the first terminal, and determine the position of the first terminal based on the first coordinate value and the second coordinate value indicated by the BSM.
在一种可能的实现方式中,第一终端根据加密后的坐标值生成第一坐标值和第二坐标值包括:第一终端将加密后的坐标值进行拆分,得到第一坐标值和第二坐标值。In a possible implementation manner, the generating the first coordinate value and the second coordinate value by the first terminal according to the encrypted coordinate value includes: the first terminal splits the encrypted coordinate value to obtain the first coordinate value and the second coordinate value. Two coordinate values.
在一种可能的实现方式中,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的前M位数,第二坐标值为加密后的坐标值的后N-M位数;或,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的后M位数,第二坐标值为加密后的坐标值的前N-M位数;其中,M和N为正整数,N≥M。In a possible implementation manner, the encrypted coordinate value is N digits, the first coordinate value is the first M digits of the encrypted coordinate value, and the second coordinate value is the last N-M digits of the encrypted coordinate value. Or, the encrypted coordinate value is N digits, the first coordinate value is the last M digits of the encrypted coordinate value, and the second coordinate value is the first N-M digits of the encrypted coordinate value; wherein, M and N is a positive integer, N≥M.
在一种可能的实现方式中,第一终端根据加密后的坐标值生成第一坐标值和第二坐标值包括:第一终端获取位于取值范围中的第一坐标值;第一终端对加密后的坐标值和第一坐标值进行计算,得到第二坐标值。In a possible implementation manner, the generating the first coordinate value and the second coordinate value by the first terminal according to the encrypted coordinate value includes: the first terminal acquiring the first coordinate value located in the value range; The latter coordinate value and the first coordinate value are calculated to obtain the second coordinate value.
在一种可能的实现方式中,加密后的坐标值为第一坐标值与第二坐标值的和、差、积或商。In a possible implementation manner, the encrypted coordinate value is the sum, difference, product or quotient of the first coordinate value and the second coordinate value.
在一种可能的实现方式中,第一终端根据加密后的坐标值生成第一坐标值和第二坐标值包括:第一终端获取位于取值范围中的第一坐标值,第一坐标值用于指示第二坐标值为加密后的坐标值;第一终端确定第二坐标值为加密后的坐标值。In a possible implementation manner, the generating, by the first terminal, the first coordinate value and the second coordinate value according to the encrypted coordinate value includes: the first terminal acquiring the first coordinate value located in the value range, and the first coordinate value using indicating that the second coordinate value is the encrypted coordinate value; the first terminal determines that the second coordinate value is the encrypted coordinate value.
在一种可能的实现方式中,第一坐标值为取值范围中的最大值或最小值。In a possible implementation manner, the first coordinate value is the maximum value or the minimum value in the value range.
本申请实施例的第三方面提供了一种基于车联网的信息传输方法,该方法包括:第二终端接收来自第一终端的BSM,BSM包含必选字段和可选字段,必选字段用于指示第一坐标值,可选字段用于指示第二坐标值,第一坐标值位于必选字段对应的取值范围中;第二终端根据必选字段指示的第一坐标值和可选字段指示的第二坐标值确定第一终端的加密后的坐标值;第二终端对加密后的坐标值进行解密,得到第一终端的解密后的坐标值。A third aspect of the embodiments of the present application provides an information transmission method based on the Internet of Vehicles, the method includes: the second terminal receives a BSM from the first terminal, the BSM includes mandatory fields and optional fields, and the mandatory fields are used for Indicates the first coordinate value, the optional field is used to indicate the second coordinate value, and the first coordinate value is in the value range corresponding to the required field; the second terminal indicates the first coordinate value indicated by the required field and the optional field. The second coordinate value of the first terminal determines the encrypted coordinate value of the first terminal; the second terminal decrypts the encrypted coordinate value to obtain the decrypted coordinate value of the first terminal.
从上述方法可以看出:由于第一坐标值位于必选字段对应的取值范围内,故第一终端可完成用于指示第一坐标值的必选字段的编码操作,从而顺利生成BSM。第二终端接收来自第一终端的BSM后,可解析BSM,根据必选字段所指示的第一坐标值和可选字段所指示的第二坐标值确定第一终端的加密后的坐标值,并对加密后的坐标值进行解密,得到第一终端的解密后的坐标值,从而确定第一终端的位置。It can be seen from the above method that since the first coordinate value is within the value range corresponding to the mandatory field, the first terminal can complete the encoding operation of the mandatory field used to indicate the first coordinate value, thereby successfully generating the BSM. After receiving the BSM from the first terminal, the second terminal can parse the BSM, determine the encrypted coordinate value of the first terminal according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field, and The encrypted coordinate value is decrypted to obtain the decrypted coordinate value of the first terminal, thereby determining the position of the first terminal.
在一种可能的实现方式中,第二终端根据必选字段指示的第一坐标值和可选字段指示的第二坐标值确定第一终端的加密后的坐标值包括:第二终端将必选字段指示的第一坐标值和可选字段指示的第二坐标值进行拼接,得到第一终端的加密后的坐标值。In a possible implementation manner, the second terminal determining the encrypted coordinate value of the first terminal according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field includes: the second terminal will select the mandatory The first coordinate value indicated by the field and the second coordinate value indicated by the optional field are spliced to obtain the encrypted coordinate value of the first terminal.
在一种可能的实现方式中,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的前M位数,第二坐标值为加密后的坐标值的后N-M位数;或,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的后M位数,第二坐标值为加密后的坐标值的前N-M位数;其中,M和N为正整数,N≥M。In a possible implementation manner, the encrypted coordinate value is N digits, the first coordinate value is the first M digits of the encrypted coordinate value, and the second coordinate value is the last N-M digits of the encrypted coordinate value. Or, the encrypted coordinate value is N digits, the first coordinate value is the last M digits of the encrypted coordinate value, and the second coordinate value is the first N-M digits of the encrypted coordinate value; wherein, M and N is a positive integer, N≥M.
在一种可能的实现方式中,第二终端根据必选字段指示的第一坐标值和可选字段指示的第二坐标值确定第一终端的加密后的坐标值包括:第二终端对必选字段指示的第一坐标 值和可选字段指示的第二坐标值进行计算,得到第一终端的加密后的坐标值。In a possible implementation manner, the second terminal determining the encrypted coordinate value of the first terminal according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field includes: The first coordinate value indicated by the field and the second coordinate value indicated by the optional field are calculated to obtain the encrypted coordinate value of the first terminal.
在一种可能的实现方式中,加密后的坐标值为第一坐标值与第二坐标值的和、差、积或商。In a possible implementation manner, the encrypted coordinate value is the sum, difference, product or quotient of the first coordinate value and the second coordinate value.
在一种可能的实现方式中,第二终端根据必选字段指示的第一坐标值和可选字段指示的第二坐标值确定第一终端的加密后的坐标值包括:第二终端根据必选字段指示的第一坐标值,将可选字段指示的第二坐标值确定为第一终端的加密后的坐标值。In a possible implementation manner, the second terminal determining the encrypted coordinate value of the first terminal according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field includes: The first coordinate value indicated by the field, and the second coordinate value indicated by the optional field is determined as the encrypted coordinate value of the first terminal.
在一种可能的实现方式中,第一坐标值为取值范围中的最大值或最小值。In a possible implementation manner, the first coordinate value is the maximum value or the minimum value in the value range.
在一种可能的实现方式中,加密后的坐标值的长度与解密后的坐标值的长度相等。In a possible implementation manner, the length of the encrypted coordinate value is equal to the length of the decrypted coordinate value.
本申请实施例的第四方面提供了一种车联网通信系统,该车联网通信系统包括:第一终端和第二终端;第一终端用于获取第一终端的加密后的坐标值;第一终端还用于根据加密后的坐标值生成第一坐标值和第二坐标值;第一终端还用于根据第一坐标值和第二坐标值生成基本安全消息BSM,BSM包含必选字段和可选字段,必选字段用于指示第一坐标值,可选字段用于指示第二坐标值,第一坐标值位于必选字段对应的取值范围中;第一终端还用于向第二终端发送BSM;第二终端用于接收BSM;第二终端还用于根据必选字段指示的第一坐标值和可选字段指示的第二坐标值确定加密后的坐标值;第二终端还用于对加密后的坐标值进行解密,得到第一终端的解密后的坐标值。A fourth aspect of the embodiments of the present application provides a vehicle networking communication system, the vehicle networking communication system includes: a first terminal and a second terminal; the first terminal is used to obtain the encrypted coordinate value of the first terminal; the first terminal The terminal is also used to generate the first coordinate value and the second coordinate value according to the encrypted coordinate value; the first terminal is also used to generate the basic security message BSM according to the first coordinate value and the second coordinate value, and the BSM contains mandatory fields and optional fields. Optional field, the required field is used to indicate the first coordinate value, the optional field is used to indicate the second coordinate value, and the first coordinate value is in the value range corresponding to the required field; the first terminal is also used to send the second terminal to the sending the BSM; the second terminal is used to receive the BSM; the second terminal is also used to determine the encrypted coordinate value according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field; the second terminal is also used for Decrypt the encrypted coordinate value to obtain the decrypted coordinate value of the first terminal.
在一种可能的实现方式中,第一终端具体用于将加密后的坐标值进行拆分,得到第一坐标值和第二坐标值。In a possible implementation manner, the first terminal is specifically configured to split the encrypted coordinate value to obtain the first coordinate value and the second coordinate value.
在一种可能的实现方式中,第二终端具体用于将必选字段指示的第一坐标值和可选字段指示的第二坐标值进行拼接,得到第一终端的加密后的坐标值。In a possible implementation manner, the second terminal is specifically configured to splicing the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field to obtain the encrypted coordinate value of the first terminal.
在一种可能的实现方式中,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的前M位数,第二坐标值为加密后的坐标值的后N-M位数;或,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的后M位数,第二坐标值为加密后的坐标值的前N-M位数;其中,M和N为正整数,N≥M。In a possible implementation manner, the encrypted coordinate value is N digits, the first coordinate value is the first M digits of the encrypted coordinate value, and the second coordinate value is the last N-M digits of the encrypted coordinate value. Or, the encrypted coordinate value is N digits, the first coordinate value is the last M digits of the encrypted coordinate value, and the second coordinate value is the first N-M digits of the encrypted coordinate value; wherein, M and N is a positive integer, N≥M.
在一种可能的实现方式中,第一终端具体用于:获取位于取值范围中的第一坐标值;对加密后的坐标值和第一坐标值进行计算,得到第二坐标值。In a possible implementation manner, the first terminal is specifically used for: acquiring a first coordinate value located in a value range; and calculating the encrypted coordinate value and the first coordinate value to obtain a second coordinate value.
在一种可能的实现方式中,第二终端具体用于对必选字段指示的第一坐标值和可选字段指示的第二坐标值进行计算,得到第一终端的加密后的坐标值。In a possible implementation manner, the second terminal is specifically configured to calculate the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field to obtain the encrypted coordinate value of the first terminal.
在一种可能的实现方式中,加密后的坐标值为第一坐标值与第二坐标值的和、差、积或商。In a possible implementation manner, the encrypted coordinate value is the sum, difference, product or quotient of the first coordinate value and the second coordinate value.
在一种可能的实现方式中,第一终端具体用于:获取位于取值范围中的第一坐标值,第一坐标值用于指示第二坐标值为加密后的坐标值;确定第二坐标值为加密后的坐标值。In a possible implementation manner, the first terminal is specifically used to: acquire a first coordinate value located in a value range, where the first coordinate value is used to indicate that the second coordinate value is an encrypted coordinate value; determine the second coordinate value The value is the encrypted coordinate value.
在一种可能的实现方式中,第二终端具体用于根据必选字段指示的第一坐标值,将可选字段指示的第二坐标值确定为第一终端的加密后的坐标值。In a possible implementation manner, the second terminal is specifically configured to determine the second coordinate value indicated by the optional field as the encrypted coordinate value of the first terminal according to the first coordinate value indicated by the mandatory field.
在一种可能的实现方式中,第一坐标值为取值范围中的最大值或最小值。In a possible implementation manner, the first coordinate value is the maximum value or the minimum value in the value range.
在一种可能的实现方式中,加密后的坐标值的长度与解密后的坐标值的长度相等。In a possible implementation manner, the length of the encrypted coordinate value is equal to the length of the decrypted coordinate value.
本申请实施例的第五方面提供了一种终端,该终端为第一终端,第一终端包括:处理 模块,用于获取第一终端的加密后的坐标值;处理模块,还用于根据加密后的坐标值生成第一坐标值和第二坐标值;处理模块,还用于根据第一坐标值和第二坐标值生成BSM,BSM包含必选字段和可选字段,必选字段用于指示第一坐标值,可选字段用于指示第二坐标值,第一坐标值位于必选字段对应的取值范围中;收发模块,用于向第二终端发送BSM。A fifth aspect of the embodiments of the present application provides a terminal, where the terminal is a first terminal, and the first terminal includes: a processing module configured to acquire an encrypted coordinate value of the first terminal; The latter coordinate value generates a first coordinate value and a second coordinate value; the processing module is also used to generate a BSM according to the first coordinate value and the second coordinate value, and the BSM includes a required field and an optional field, and the required field is used to indicate The first coordinate value, the optional field is used to indicate the second coordinate value, and the first coordinate value is in the value range corresponding to the mandatory field; the transceiver module is used to send the BSM to the second terminal.
在一种可能的实现方式中,处理模块具体用于将加密后的坐标值进行拆分,得到第一坐标值和第二坐标值。In a possible implementation manner, the processing module is specifically configured to split the encrypted coordinate value to obtain the first coordinate value and the second coordinate value.
在一种可能的实现方式中,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的前M位数,第二坐标值为加密后的坐标值的后N-M位数;或,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的后M位数,第二坐标值为加密后的坐标值的前N-M位数;其中,M和N为正整数,N≥M。In a possible implementation manner, the encrypted coordinate value is N digits, the first coordinate value is the first M digits of the encrypted coordinate value, and the second coordinate value is the last N-M digits of the encrypted coordinate value. Or, the encrypted coordinate value is N digits, the first coordinate value is the last M digits of the encrypted coordinate value, and the second coordinate value is the first N-M digits of the encrypted coordinate value; wherein, M and N is a positive integer, N≥M.
在一种可能的实现方式中,处理模块具体用于:获取位于取值范围中的第一坐标值;对加密后的坐标值和第一坐标值进行计算,得到第二坐标值。In a possible implementation manner, the processing module is specifically configured to: obtain the first coordinate value located in the value range; and calculate the encrypted coordinate value and the first coordinate value to obtain the second coordinate value.
在一种可能的实现方式中,加密后的坐标值为第一坐标值与第二坐标值的和、差、积或商。In a possible implementation manner, the encrypted coordinate value is the sum, difference, product or quotient of the first coordinate value and the second coordinate value.
在一种可能的实现方式中,处理模块具体用于:获取位于取值范围中的第一坐标值,第一坐标值用于指示第二坐标值为加密后的坐标值;确定第二坐标值为加密后的坐标值。In a possible implementation manner, the processing module is specifically configured to: obtain a first coordinate value located in a value range, where the first coordinate value is used to indicate that the second coordinate value is an encrypted coordinate value; determine the second coordinate value is the encrypted coordinate value.
在一种可能的实现方式中,第一坐标值为取值范围中的最大值或最小值。In a possible implementation manner, the first coordinate value is the maximum value or the minimum value in the value range.
本申请实施例的第六方面提供了一种终端,该终端为第二终端,第二终端包括:收发模块,用于接收来自第一终端的BSM,BSM包含必选字段和可选字段,必选字段用于指示第一坐标值,可选字段用于指示第二坐标值,第一坐标值位于必选字段对应的取值范围中;处理模块,用于根据必选字段指示的第一坐标值和可选字段指示的第二坐标值确定第一终端的加密后的坐标值;处理模块,还用于对加密后的坐标值进行解密,得到第一终端的解密后的坐标值。A sixth aspect of the embodiments of the present application provides a terminal, where the terminal is a second terminal, and the second terminal includes: a transceiver module for receiving a BSM from the first terminal. The BSM includes mandatory fields and optional fields. The optional field is used to indicate the first coordinate value, the optional field is used to indicate the second coordinate value, and the first coordinate value is located in the value range corresponding to the required field; the processing module is used to indicate the first coordinate according to the required field. The value and the second coordinate value indicated by the optional field determine the encrypted coordinate value of the first terminal; the processing module is further configured to decrypt the encrypted coordinate value to obtain the decrypted coordinate value of the first terminal.
在一种可能的实现方式中,处理模块具体用于将必选字段指示的第一坐标值和可选字段指示的第二坐标值进行拼接,得到第一终端的加密后的坐标值。In a possible implementation manner, the processing module is specifically configured to splicing the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field to obtain the encrypted coordinate value of the first terminal.
在一种可能的实现方式中,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的前M位数,第二坐标值为加密后的坐标值的后N-M位数;或,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的后M位数,第二坐标值为加密后的坐标值的前N-M位数;其中,M和N为正整数,N≥M。In a possible implementation manner, the encrypted coordinate value is N digits, the first coordinate value is the first M digits of the encrypted coordinate value, and the second coordinate value is the last N-M digits of the encrypted coordinate value. Or, the encrypted coordinate value is N digits, the first coordinate value is the last M digits of the encrypted coordinate value, and the second coordinate value is the first N-M digits of the encrypted coordinate value; wherein, M and N is a positive integer, N≥M.
在一种可能的实现方式中,处理模块具体用于对必选字段指示的第一坐标值和可选字段指示的第二坐标值进行计算,得到第一终端的加密后的坐标值。In a possible implementation manner, the processing module is specifically configured to calculate the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field to obtain the encrypted coordinate value of the first terminal.
在一种可能的实现方式中,加密后的坐标值为第一坐标值与第二坐标值的和、差、积或商。In a possible implementation manner, the encrypted coordinate value is the sum, difference, product or quotient of the first coordinate value and the second coordinate value.
在一种可能的实现方式中,处理模块具体用于根据必选字段指示的第一坐标值,将可选字段指示的第二坐标值确定为第一终端的加密后的坐标值。In a possible implementation manner, the processing module is specifically configured to determine the second coordinate value indicated by the optional field as the encrypted coordinate value of the first terminal according to the first coordinate value indicated by the mandatory field.
在一种可能的实现方式中,第一坐标值为取值范围中的最大值或最小值。In a possible implementation manner, the first coordinate value is the maximum value or the minimum value in the value range.
在一种可能的实现方式中,加密后的坐标值的长度与解密后的坐标值的长度相等。In a possible implementation manner, the length of the encrypted coordinate value is equal to the length of the decrypted coordinate value.
本申请实施例的第七方面提供了一种通信装置,该通信装置包括:处理器和存储器;存储器用于存储计算机执行指令;处理器用于执行存储器所存储的计算机执行指令,以使通信装置实现如第一方面、第一方面中任一种可能的实现方式、第二方面或第二方面中任一种可能的实现方式所述的方法。A seventh aspect of the embodiments of the present application provides a communication device, the communication device includes: a processor and a memory; the memory is used for storing computer-executed instructions; the processor is used for executing the computer-executed instructions stored in the memory, so that the communication device realizes The method as described in the first aspect, any possible implementation manner of the first aspect, the second aspect, or any one possible implementation manner of the second aspect.
本申请实施例的第八方面提供了一种计算机存储介质,其特征在于,包括计算机可读指令,当计算机可读指令被执行时,实现如第一方面、第一方面中任一种可能的实现方式、第二方面或第二方面中任一种可能的实现方式所述的方法。An eighth aspect of the embodiments of the present application provides a computer storage medium, which is characterized in that it includes computer-readable instructions, and when the computer-readable instructions are executed, any one of the first aspect and the first aspect is possible. The method described in the implementation manner, the second aspect, or any one possible implementation manner of the second aspect.
本申请实施例的第九方面提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如第一方面、第一方面中任一种可能的实现方式、第二方面或第二方面中任一种可能的实现方式所述的方法。A ninth aspect of the embodiments of the present application provides a computer program product including instructions, which, when run on a computer, enables the computer to execute any of the first aspect, any possible implementation manner of the first aspect, and the second aspect or the method described in any possible implementation manner of the second aspect.
本申请实施例提供的技术方案中,第一终端在获取第一终端的加密后的坐标值后,可根据加密后的坐标值生成第一坐标值和第二坐标值。由于第一坐标值位于必选字段对应的取值范围中,故第一终端可完成用于指示第一坐标值的必选字段的编码操作以及用于指示第二坐标值的可选字段的编码操作,从而顺利生成BSM,使得第二终端可接收来自第一终端的BSM,并基于BSM所指示的第一坐标值和第二坐标值,确定第一终端的位置。In the technical solution provided by the embodiment of the present application, after acquiring the encrypted coordinate value of the first terminal, the first terminal can generate the first coordinate value and the second coordinate value according to the encrypted coordinate value. Since the first coordinate value is located in the value range corresponding to the mandatory field, the first terminal can complete the encoding operation of the mandatory field indicating the first coordinate value and the encoding of the optional field indicating the second coordinate value operation, so that the BSM is successfully generated, so that the second terminal can receive the BSM from the first terminal, and determine the position of the first terminal based on the first coordinate value and the second coordinate value indicated by the BSM.
附图说明Description of drawings
图1为本申请实施例提供的车联网通信系统的一个结构示意图;1 is a schematic structural diagram of a vehicle networking communication system provided by an embodiment of the present application;
图2为本申请实施例提供的基于车联网的信息传输方法的一个流程示意图;2 is a schematic flowchart of an information transmission method based on the Internet of Vehicles provided by an embodiment of the present application;
图3为本申请实施例提供的基于车联网的信息传输方法的另一流程示意图;FIG. 3 is another schematic flowchart of the information transmission method based on the Internet of Vehicles provided by an embodiment of the present application;
图4为本申请实施例提供的基于车联网的信息传输方法的又一流程示意图;FIG. 4 is another schematic flowchart of the information transmission method based on the Internet of Vehicles provided by an embodiment of the present application;
图5为本申请实施例提供的终端的一个结构示意图;FIG. 5 is a schematic structural diagram of a terminal provided by an embodiment of the present application;
图6为本申请实施例提供的终端的另一结构示意图;FIG. 6 is another schematic structural diagram of a terminal provided by an embodiment of the present application;
图7为本申请实施例提供的通信装置的一个结构示意图。FIG. 7 is a schematic structural diagram of a communication apparatus provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行详细描述。The technical solutions in the embodiments of the present application will be described in detail below with reference to the accompanying drawings in the embodiments of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,这仅仅是描述本申请的实施例中对相同属性的对象在描述时所采用的区分方式。此外,术语“包括”和“具有”并他们的任何变形,意图在于覆盖不排他的包含,以便包含一系列单元的过程、方法、系统、产品或设备不必限于那些单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它单元。The terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged under appropriate circumstances, and this is only a distinguishing manner adopted when describing objects with the same attributes in the embodiments of the present application. Furthermore, the terms "comprising" and "having" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, product or device comprising a series of elements is not necessarily limited to those elements, but may include no explicit or other units inherent to these processes, methods, products, or devices.
本申请实施例应用于车联网通信系统中。图1为本申请实施例提供的车联网通信系统的一个结构示意图。如图1所示,车联网通信系统可包括多个车联网通信终端,在多个车联网通信终端中,任意两个车联网通信终端之间可以通过车联网消息进行通信,例如,一个车联网通信终端可以向另一个车联网通信终端发送车联网消息。本申请实施例中,车联 网通信终端之间传输消息的方式可以包括广播、单播或者组播等方式,此处不做限制。为了方便说明,在下文中,发送消息的车联网通信终端可称为第一终端,接收消息的车联网通信终端可以称为第二终端。The embodiments of the present application are applied to a vehicle networking communication system. FIG. 1 is a schematic structural diagram of a vehicle networking communication system provided by an embodiment of the present application. As shown in Figure 1, the IoV communication system may include multiple IoV communication terminals. Among the multiple IoV communication terminals, any two IoV communication terminals can communicate through IoV messages. The communication terminal can send a car networking message to another car networking communication terminal. In the embodiment of the present application, the mode of transmitting messages between the Internet of Vehicles communication terminals may include modes such as broadcast, unicast, or multicast, which is not limited here. For convenience of description, hereinafter, the Internet of Vehicles communication terminal that sends the message may be referred to as the first terminal, and the Internet of Vehicles communication terminal that receives the message may be referred to as the second terminal.
具体的,车联网通信终端可以是车载通信单元(on-board unit,OBU),也可以是路侧通信单元(road side unit,RSU)。一般地,第一终端通常为OBU,而第二终端既可以是OBU,也可以是RSU。更进一步地,本申请中的车联网消息通常指BSM,第一终端可向第二终端发送BSM,由于BSM中携带第一终端的加密后的坐标值,第二终端在接收到BSM后,可解析BSM得到第一终端的加密后的坐标值,并对第一终端的加密后的坐标值进行解密,从而得到第一终端的解密后的坐标值(即第一终端的原始坐标值),进而基于该坐标值确定第一终端所在的位置。Specifically, the Internet of Vehicles communication terminal may be an on-board communication unit (OBU) or a roadside communication unit (RSU). Generally, the first terminal is usually an OBU, and the second terminal may be either an OBU or an RSU. Furthermore, the Internet of Vehicles message in this application usually refers to the BSM, and the first terminal can send the BSM to the second terminal. Since the BSM carries the encrypted coordinate value of the first terminal, after receiving the BSM, the second terminal can send the BSM to the second terminal. Analyze the BSM to obtain the encrypted coordinate value of the first terminal, and decrypt the encrypted coordinate value of the first terminal, thereby obtaining the decrypted coordinate value of the first terminal (ie, the original coordinate value of the first terminal), and then The location where the first terminal is located is determined based on the coordinate value.
为了进一步理解BSM,以下结合表1对当前标准协议定义的BSM的格式进行介绍。如表1所示:In order to further understand the BSM, the format of the BSM defined by the current standard protocol is introduced below with reference to Table 1. As shown in Table 1:
表1 BSM的格式Table 1 Format of BSM
BSM的字段Fields of BSM 是否为必选字段Is it a required field
versionversion Yes
certificatecertificate Yes
itsAiditsAid Yes
hashAlghashAlg Yes
genTimegenTime Yes
expiryTimeexpiryTime no
locationlocation no
digestdigest no
encKeyencKey no
datadata Yes
extHashextHash no
curvecurve Yes
rr Yes
ss Yes
下文将对BSM的各个字段分别进行介绍:version字段用于指示标准协议的当前版本。certificate字段用于指示生成BSM签名所使用的私钥对应的证书。itsAid字段用于指示第一终端宣称的与有效负载相关联的应用领域。hashAlg字段用于指示哈希算法。genTime字段用于指示生成BSM的数据结构的时间。expiryTime字段用于指示BSM的数据不再被视为有效的时间。location字段用于指示生成BSM的签名的位置信息。digest字段用于指示证书的哈希值的低8个字节。encKey字段用于指示BSM的数据加密密钥。data字段用于指示BSM的负载。extHash字段用于指示BSM的扩展数据哈希,包含未在BSM的数据结构中显示传输的数据的哈希值。curve字段用于指示BSM所使用的曲线。r字段用于指示曲线上 的点。s字段用于指示BSM的签名值。Each field of the BSM will be introduced separately below: the version field is used to indicate the current version of the standard protocol. The certificate field is used to indicate the certificate corresponding to the private key used to generate the BSM signature. The itsAid field is used to indicate the application field associated with the payload declared by the first terminal. The hashAlg field is used to indicate the hash algorithm. The genTime field is used to indicate the time when the data structure of the BSM was generated. The expiryTime field is used to indicate the time when the BSM's data is no longer considered valid. The location field is used to indicate the location information for generating the signature of the BSM. The digest field is used to indicate the lower 8 bytes of the certificate's hash value. The encKey field is used to indicate the data encryption key of the BSM. The data field is used to indicate the payload of the BSM. The extHash field is used to indicate the BSM's extended data hash, and contains the hash value of the transmitted data that is not displayed in the BSM's data structure. The curve field is used to indicate the curve used by the BSM. The r field is used to indicate a point on the curve. The s field is used to indicate the signature value of the BSM.
在上述多个字段中,其中一部分字段为必选字段,即BSM固定携带的字段,例如,在第一终端所生成的BSM中,必然包含version字段、certificate字段、data字段等字段。而另一部分字段则为可选字段,即BSM可携带也可不携带的字段。例如,当第一终端需要使用location字段时,第一终端可使其生成的BSM包含location字段,又如,当第一终端不需要使用location字段时,第一终端可使其生成的BSM不包含location字段。Among the above-mentioned multiple fields, some of the fields are mandatory fields, that is, fields that are fixedly carried by the BSM. For example, the BSM generated by the first terminal must contain fields such as a version field, a certificate field, and a data field. Another part of the fields are optional fields, that is, fields that the BSM may or may not carry. For example, when the first terminal needs to use the location field, the first terminal can make the BSM generated by the first terminal include the location field. For another example, when the first terminal does not need to use the location field, the first terminal can make the BSM generated by the first terminal not include the location field. location field.
在表1所示的多个必选字段中,data字段可用于指示BSM的负载,即该字段可用于指示第一终端的各种信息。例如,设data字段包含位置子字段、状态子字段、设备信息子字段等多个子字段(这些子字段也为必选字段)。位置子字段用于指示第一终端的位置信息、状态子字段用于指示第一终端的运行状态信息、设备信息子字段用于指示第一终端的设备信息等等。由于BSM中data字段的位置子字段可用于指示第一终端的位置信息,故第二终端接收到来自第一终端的BSM后,可基于BSM中的data字段,确定第一终端的位置信息,从而确定第一终端所在的位置。Among the multiple mandatory fields shown in Table 1, the data field may be used to indicate the load of the BSM, that is, the field may be used to indicate various information of the first terminal. For example, it is assumed that the data field includes multiple subfields such as a location subfield, a status subfield, and a device information subfield (these subfields are also required fields). The location subfield is used to indicate the location information of the first terminal, the status subfield is used to indicate the running state information of the first terminal, the device information subfield is used to indicate the device information of the first terminal, and so on. Since the location subfield of the data field in the BSM can be used to indicate the location information of the first terminal, after receiving the BSM from the first terminal, the second terminal can determine the location information of the first terminal based on the data field in the BSM, thereby Determine where the first terminal is located.
具体的,第一终端的位置信息可为第一终端的三维坐标(包含第一终端的纬度、经度和高程)值。当前标准协议对位置子字段所指示的各个坐标的取值(后续简称为坐标值)进行了规定,其中,纬度的取值范围为{-90000000,-89999999,-89999998,…,89999999,90000000,90000001},经度的取值范围为{-1799999999,-1799999998,…,1800000000,1800000001},高程的取值范围为{-409.5,-409.4,…,6143.8,6143.9,65535}。因此,当前标准协议已为位置子字段设置有取值范围(即位置子字段对应的取值范围)。在第一终端在生成BSM的过程中,需要对各个字段进行编码。第一终端在对data字段的位置子字段进行编码时,若第一终端发现自身的坐标值未位于预置的取值范围内时,则会停止位置子字段的编码操作,导致BSM无法生成。需要说明的是,若第一终端确定自身的至少一个坐标值未位于相应的取值范围内,则会停止编码操作。例如,若第一终端确定自身的纬度值为90000002时,该纬度值位于纬度的取值范围外,即使自身的经度值和高程值均位于相应的取值范围内,第一终端也会停止编码操作。Specifically, the location information of the first terminal may be a three-dimensional coordinate (including the latitude, longitude and elevation of the first terminal) value of the first terminal. The current standard protocol specifies the value of each coordinate indicated by the location subfield (hereinafter referred to as coordinate value), wherein the value range of latitude is {-90000000, -89999999, -89999998, ..., 89999999, 90000000, 90000001}, the range of longitude is {-1799999999, -1799999998, ..., 1800000000, 1800000001}, the range of elevation is {-409.5, -409.4, ..., 6143.8, 6143.9, 65535}. Therefore, the current standard protocol has set a value range for the location subfield (that is, the value range corresponding to the location subfield). In the process of generating the BSM by the first terminal, each field needs to be encoded. When the first terminal encodes the location subfield of the data field, if the first terminal finds that its coordinate value is not within the preset value range, it will stop the encoding operation of the location subfield, so that the BSM cannot be generated. It should be noted that, if the first terminal determines that at least one coordinate value of itself is not within the corresponding value range, the encoding operation will be stopped. For example, if the first terminal determines that its own latitude value is 90000002, the latitude value is outside the latitude value range, even if its own longitude value and elevation value are both within the corresponding value range, the first terminal will stop encoding. operate.
为了保证信息安全,第一终端通常会对自身的坐标值进行加密,故BSM中data字段的位置子字段通常指示的是第一终端的加密后的坐标值。一般地,第一终端的原始坐标值通常位于预置的取值范围内,但是,第一终端会对原始坐标值进行一定程度上的加密运算,故第一终端的加密后的坐标值可能会位于预置的取值范围外,导致编码操作停止,无法生成BSM。In order to ensure information security, the first terminal usually encrypts its own coordinate value, so the location subfield of the data field in the BSM usually indicates the encrypted coordinate value of the first terminal. Generally, the original coordinate value of the first terminal is usually within a preset value range. However, the first terminal will perform an encryption operation on the original coordinate value to a certain extent, so the encrypted coordinate value of the first terminal may be different. If it is outside the preset value range, the encoding operation stops and BSM cannot be generated.
为了保证第一终端可以正常生成BSM并传输至第二终端,以使得第二终端可基于BSM确定第一终端的位置,本申请实施例提供了一种基于车联网的信息传输方法。图2为本申请实施例提供的基于车联网的信息传输方法的一个流程示意图,如图2所示,该方法包括:In order to ensure that the first terminal can normally generate the BSM and transmit it to the second terminal, so that the second terminal can determine the location of the first terminal based on the BSM, an embodiment of the present application provides an information transmission method based on the Internet of Vehicles. FIG. 2 is a schematic flowchart of an information transmission method based on the Internet of Vehicles provided by an embodiment of the present application. As shown in FIG. 2 , the method includes:
201、第一终端获取第一终端的加密后的坐标值。201. The first terminal acquires the encrypted coordinate value of the first terminal.
当第一终端准备广播BSM时,可先获取第一终端的原始坐标值,包含第一终端的纬度值、经度值和高程值。在得到第一终端的原始坐标值后,为了保证信息安全,第一终端可对原始坐标值进行加密,得到第一终端的加密后的坐标值。具体地,第一终端可通过国产 密码算法(SM4)、高级加密标准(advanced encryption standard,AES)算法等算法对原始坐标值进行加密,得到第一终端的加密后的坐标值。第一终端可通过多种方式对第一终端的原始坐标值进行加密,以下将分别进行介绍:When the first terminal is ready to broadcast the BSM, the original coordinate value of the first terminal may be obtained first, including the latitude value, the longitude value and the elevation value of the first terminal. After obtaining the original coordinate value of the first terminal, in order to ensure information security, the first terminal may encrypt the original coordinate value to obtain the encrypted coordinate value of the first terminal. Specifically, the first terminal can encrypt the original coordinate value through an algorithm such as a domestic cryptographic algorithm (SM4), an advanced encryption standard (AES) algorithm, and obtain the encrypted coordinate value of the first terminal. The first terminal can encrypt the original coordinate value of the first terminal in various ways, which will be introduced separately below:
在一种可能的实现方式中,第一终端可对自身的各个原始坐标值分别进行加密,即不同的原始坐标值所使用的加密密钥流(如加密密钥、新鲜性参数等等)不同。以加密密钥流为加密密钥,且各个坐标的加密密钥不同为例进行说明。设第一终端的原始纬度值为100,原始经度值为200,原始高程值为300。第一终端可用密钥5、2和4对三个坐标值分别进行加密,分别得到加密后的纬度值为500,加密后的经度值为400,加密后的高程值为1200。In a possible implementation manner, the first terminal may encrypt each of its own original coordinate values respectively, that is, the encryption key streams (such as encryption keys, freshness parameters, etc.) used by different original coordinate values are different . The encryption key stream is used as the encryption key, and the encryption key of each coordinate is different for illustration. It is assumed that the original latitude value of the first terminal is 100, the original longitude value is 200, and the original elevation value is 300. The first terminal can encrypt the three coordinate values with keys 5, 2, and 4, respectively, and obtain an encrypted latitude value of 500, an encrypted longitude value of 400, and an encrypted elevation value of 1200.
在另一种可能的实现方式中,第一终端可对自身的多个原始坐标值一起进行加密,即不同的原始坐标值的加密密钥流相同。以以加密密钥流为加密密钥,且各个坐标的加密密钥相同为例进行说明,设第一终端的原始纬度值为100,原始经度值为200,原始高程值为300。第一终端可用加密密钥2对三个坐标值一起进行加密,分别得到加密后的纬度值为200,加密后的经度值为400,加密后的高程值为600。In another possible implementation manner, the first terminal may encrypt multiple original coordinate values of itself together, that is, the encryption key streams of different original coordinate values are the same. Taking the encryption key stream as the encryption key and the encryption keys of each coordinate being the same as an example for illustration, the original latitude value of the first terminal is set to 100, the original longitude value is 200, and the original elevation value is 300. The first terminal can encrypt the three coordinate values together with the encryption key 2, and obtain an encrypted latitude value of 200, an encrypted longitude value of 400, and an encrypted elevation value of 600, respectively.
需要说明的是,第一终端在对原始坐标值加密的过程中,是以计数器(counter,CTR)模式完成加密操作的,从而保证原始坐标值的长度和加密后的坐标值的长度相等。It should be noted that, in the process of encrypting the original coordinate value, the first terminal completes the encryption operation in a counter (CTR) mode, thereby ensuring that the length of the original coordinate value is equal to the length of the encrypted coordinate value.
202、第一终端将加密后的坐标值进行拆分,得到第一坐标值和第二坐标值。202. The first terminal splits the encrypted coordinate value to obtain a first coordinate value and a second coordinate value.
在得到第一终端的加密后的坐标值后,第一终端可获取必选字段对应的取值范围,需要说明的是,本实施例以及后续实施例中的必选字段均为前述的位置子字段,后续不在赘述。无论加密后的坐标值是否位于必选字段对应的取值范围中,第一终端均可将加密后的坐标值按数值的比特位进行拆分,使得位数较大的加密后的坐标值被拆分为位数较小的两部分,即第一坐标值和第二坐标值。由于第一坐标值的位数和第二坐标值的位数均少于加密后的坐标值的位数,故第一终端可令第一坐标值远小于加密后的坐标值,确保第一坐标值位于必选字段对应的取值范围内,使得必选字段的编码操作可以完成。第一终端可通过多个方式拆分加密后的坐标值,以下将分别进行介绍:After obtaining the encrypted coordinate value of the first terminal, the first terminal can obtain the value range corresponding to the mandatory field. It should be noted that the mandatory fields in this embodiment and subsequent embodiments are all the aforementioned location sub-fields. field, which will not be described in detail later. Regardless of whether the encrypted coordinate value is in the value range corresponding to the required field, the first terminal can split the encrypted coordinate value according to the bits of the numerical value, so that the encrypted coordinate value with a larger number of digits is Split into two parts with smaller number of digits, namely the first coordinate value and the second coordinate value. Since the number of digits of the first coordinate value and the number of digits of the second coordinate value are both less than the number of digits of the encrypted coordinate value, the first terminal can make the first coordinate value much smaller than the encrypted coordinate value to ensure the first coordinate value. The value is in the value range corresponding to the mandatory field, so that the encoding operation of the mandatory field can be completed. The first terminal can split the encrypted coordinate values in multiple ways, which will be introduced separately below:
在一种可能的实现方式中,设加密后的坐标值为N位数,第一终端可将加密后的坐标值的前M位数确定为第一坐标值,将加密后的坐标值的后N-M位数确定为第二坐标值,即第一终端按从前往后数,以加密后的坐标值的第M位数为拆分点,将加密后的坐标值拆分为第一坐标值和第二坐标值,使得第一坐标值的位数少于加密后的坐标值的位数,可令第一坐标值位于必选字段对应的取值范围内。例如,设加密后的纬度值为99999998,N=8,M=3。由于纬度的取值范围为{-90000000,-89999999,-89999998,…,89999999,90000000,90000001},故加密后的纬度值位于该取值范围外。第一终端可将该纬度值的前3位数确定第一纬度值,将后5位数确定为第二纬度值,即将99999998拆分为999和99998。应理解,即使加密后的纬度值位于该取值范围外,第一终端也可对其执行如前述的拆分操作。还应理解,第一终端还可对加密后的经度值和加密后的高程值执行如前述的拆分操作,此处不再赘述。In a possible implementation manner, set the encrypted coordinate value to be N digits, the first terminal may determine the first M digits of the encrypted coordinate value as the first coordinate value, and set the encrypted coordinate value after the The N-M digits are determined as the second coordinate value, that is, the first terminal counts from front to back, takes the M-th digit of the encrypted coordinate value as the splitting point, and splits the encrypted coordinate value into the first coordinate value and For the second coordinate value, the number of digits of the first coordinate value is less than the number of digits of the encrypted coordinate value, and the first coordinate value can be located within the value range corresponding to the required field. For example, suppose the encrypted latitude value is 99999998, N=8, and M=3. Since the value range of latitude is {-90000000, -89999999, -89999998, ..., 89999999, 90000000, 90000001}, the encrypted latitude value is outside the value range. The first terminal may determine the first latitude value from the first three digits of the latitude value, and determine the last five digits as the second latitude value, that is, split 99999998 into 999 and 99998. It should be understood that, even if the encrypted latitude value is outside the value range, the first terminal can also perform the foregoing splitting operation on it. It should also be understood that the first terminal may also perform the foregoing splitting operation on the encrypted longitude value and the encrypted elevation value, which will not be repeated here.
在另一种可能的实现方式中,设加密后的坐标值为N位数,第一终端可将加密后的坐标值的后M位数确定为第一坐标值,将加密后的坐标值的前N-M位数确定为第二坐标值。 关于该实现方式与上述实现方式类似,故可参考上述实现方式的相关说明部分,此处不再赘述。In another possible implementation manner, set the encrypted coordinate value to N digits, the first terminal may determine the last M digits of the encrypted coordinate value as the first coordinate value, and set the encrypted coordinate value to the first coordinate value. The first N-M digits are determined as the second coordinate value. The implementation manner is similar to the above-mentioned implementation manner, so reference may be made to the relevant description part of the above-mentioned implementation manner, which will not be repeated here.
在另一种可能的实现方式中,设加密后的坐标值为N位数,第一终端可在加密后的坐标值中,将某M位不连续的数确定为第一坐标值,并将其余N-M位不连续的数确定为第二坐标值,使得第一坐标值的位数少于加密后的坐标值的位数,可令第一坐标值位于必选字段对应的取值范围内。例如,设加密后的纬度值为12345678,N=8,M=4。第一终端可将该纬度值中的第1位数、第3位数、第5位数和第7位数确定为第一纬度值,将第2位数、第4位数、第6位数和第8位数确定为第二纬度值,即将12345678拆分为1357和2468。In another possible implementation manner, set the encrypted coordinate value to be N digits, the first terminal may determine a discontinuous number of M digits as the first coordinate value in the encrypted coordinate value, and set the The remaining N-M discontinuous numbers are determined as the second coordinate value, so that the number of digits of the first coordinate value is less than the number of digits of the encrypted coordinate value, and the first coordinate value can be located in the value range corresponding to the required field. For example, assume that the encrypted latitude value is 12345678, N=8, and M=4. The first terminal may determine the 1st digit, the 3rd digit, the 5th digit and the 7th digit in the latitude value as the first latitude value, and the 2nd digit, the 4th digit and the 6th digit The number and the 8th digit are determined as the second latitude value, which is to split 12345678 into 1357 and 2468.
值得注意的是,在上述各种实现方式中,M和N为正整数,N≥M。It is worth noting that in the above various implementations, M and N are positive integers, and N≥M.
203、第一终端根据第一坐标值和第二坐标值生成BSM,BSM包含必选字段和可选字段,必选字段用于指示第一坐标值,可选字段用于指示第二坐标值,第一坐标值位于必选字段对应的取值范围中。203. The first terminal generates a BSM according to the first coordinate value and the second coordinate value. The BSM includes a required field and an optional field, where the required field is used to indicate the first coordinate value, and the optional field is used to indicate the second coordinate value, The first coordinate value is in the value range corresponding to the required field.
得到第一坐标值和第二坐标值后,第一终端根据第一坐标值和第二坐标值生成BSM。具体地,第一终端在生成BSM的过程中,需要编码各个字段。在编码用于指示第一坐标值的必选字段时,由于第一坐标值位于必选字段对应的取值范围内,故第一终端可完成必选字段的编码操作。此外,用于指示第二坐标值的可选字段(例如,前述的location字段等等)通常未设置有取值限制,故第一终端也可完成可选字段的编码操作。在完成各个字段的编码后,第一终端可顺利生成BSM。After obtaining the first coordinate value and the second coordinate value, the first terminal generates a BSM according to the first coordinate value and the second coordinate value. Specifically, in the process of generating the BSM, the first terminal needs to encode each field. When encoding the mandatory field for indicating the first coordinate value, since the first coordinate value is within the value range corresponding to the mandatory field, the first terminal can complete the encoding operation of the mandatory field. In addition, the optional fields used to indicate the second coordinate value (for example, the aforementioned location field, etc.) are usually not set with value restrictions, so the first terminal can also complete the encoding operation of the optional fields. After completing the coding of each field, the first terminal can successfully generate the BSM.
204、第一终端向第二终端发送BSM。204. The first terminal sends the BSM to the second terminal.
得到BSM后,第一终端可广播BSM,即将BSM发送至第二终端。After obtaining the BSM, the first terminal may broadcast the BSM, that is, send the BSM to the second terminal.
205、第二终端在接收BSM后,第二终端将必选字段指示的第一坐标值和可选字段指示的第二坐标值进行拼接,得到第一终端的加密后的坐标值。205. After the second terminal receives the BSM, the second terminal splices the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field to obtain the encrypted coordinate value of the first terminal.
第二终端在接收到来自第一终端的BSM后,可对该BSM进行解析,从而根据BSM中必选字段指示的内容以及可选字段指示的内容,确定第一坐标值和第二坐标值。然后,第二终端可将第一坐标值和第二坐标值进行拼接,恢复出第一终端的加密后的坐标值。依旧如上述例子,第二终端解析BSM后,可得到第一纬度值为999,第二纬度值为99998。然后,第二终端可将999和99998拼接在一起,得到第一终端的加密后的纬度值为99999998。After receiving the BSM from the first terminal, the second terminal may parse the BSM, thereby determining the first coordinate value and the second coordinate value according to the content indicated by the mandatory field and the content indicated by the optional field in the BSM. Then, the second terminal may splicing the first coordinate value and the second coordinate value to recover the encrypted coordinate value of the first terminal. Still as in the above example, after parsing the BSM, the second terminal can obtain a first latitude value of 999 and a second latitude value of 99998. Then, the second terminal may splicing 999 and 99998 together to obtain the encrypted latitude value of the first terminal as 99999998.
206、第二终端对加密后的坐标值进行解密,得到第一终端的解密后的坐标值。206. The second terminal decrypts the encrypted coordinate value to obtain the decrypted coordinate value of the first terminal.
得到第一终端的加密后的坐标值后,第二终端则对加密后的坐标值进行解密,得到第一终端的解密后的坐标值(即第一终端的原始坐标值),故第二终端可根据该坐标值确定第一终端所在的位置。After obtaining the encrypted coordinate value of the first terminal, the second terminal decrypts the encrypted coordinate value to obtain the decrypted coordinate value of the first terminal (that is, the original coordinate value of the first terminal), so the second terminal The location of the first terminal can be determined according to the coordinate value.
图3为本申请实施例提供的基于车联网的信息传输方法的另一流程示意图,如图3所示,该方法包括:FIG. 3 is another schematic flowchart of the information transmission method based on the Internet of Vehicles provided by an embodiment of the present application. As shown in FIG. 3 , the method includes:
301、第一终端获取第一终端的加密后的坐标值。301. The first terminal acquires the encrypted coordinate value of the first terminal.
关于步骤301的介绍可参考前述步骤201的相关说明部分,此处不再赘述。For the introduction of step 301, reference may be made to the relevant description part of the foregoing step 201, and details are not repeated here.
302、第一终端获取位于取值范围中的第一坐标值,并对加密后的坐标值和第一坐标值进行计算,得到第二坐标值。302. The first terminal acquires the first coordinate value in the value range, and calculates the encrypted coordinate value and the first coordinate value to obtain the second coordinate value.
在得到第一终端的加密后的坐标值后,第一终端可获取必选字段对应的取值范围。无论加密后的坐标值是否位于必选字段对应的取值范围中,第一终端可直接获取位于该取值范围中的第一坐标值,故可确保第一坐标值位于必选字段对应的取值范围内,使得用于指示第一坐标值的必选字段的编码操作可以完成。第一终端可通过多个方式获取第一坐标值,以下将分别进行介绍:After obtaining the encrypted coordinate value of the first terminal, the first terminal may obtain the value range corresponding to the mandatory field. Regardless of whether the encrypted coordinate value is in the value range corresponding to the mandatory field, the first terminal can directly obtain the first coordinate value in the value range, so it can ensure that the first coordinate value is in the value range corresponding to the mandatory field. value range, so that the encoding operation of the mandatory field used to indicate the first coordinate value can be completed. The first terminal can obtain the first coordinate value in multiple ways, which will be introduced separately below:
在一种可能的实现方式中,第一坐标值为预置的数值,即一个提前设置的固定值,且该预置的数值位于必选字段对应的取值范围中。第一终端在得到加密后的坐标值后,可直接获取该预置的数值作为第一坐标值。需要说明的是,该预置的数值可根据实际需求进行设置,此处不做限制。In a possible implementation manner, the first coordinate value is a preset value, that is, a fixed value set in advance, and the preset value is in the value range corresponding to the required field. After obtaining the encrypted coordinate value, the first terminal may directly obtain the preset value as the first coordinate value. It should be noted that the preset value can be set according to actual needs, and there is no limitation here.
在另一种可能的实现方式中,第一终端在得到加密后的坐标值后,可在必选字段对应的取值范围中,随机获取一个数值作为第一坐标值。In another possible implementation manner, after obtaining the encrypted coordinate value, the first terminal may randomly obtain a value in the value range corresponding to the required field as the first coordinate value.
更进一步地,在得到第一坐标值后,第一终端还可对加密后的坐标值和第一坐标值进行计算,从而得到第二坐标值。可以理解的是,第一终端令加密后的坐标值、第一坐标值以及第二坐标值之间存在一定的计算关系,可使得第二终端在得到第一坐标值和第二坐标值后,根据第一坐标值和第二坐标值进行计算,恢复出加密后的坐标值。Furthermore, after obtaining the first coordinate value, the first terminal may also calculate the encrypted coordinate value and the first coordinate value to obtain the second coordinate value. It can be understood that there is a certain calculation relationship between the encrypted coordinate value, the first coordinate value, and the second coordinate value by the first terminal, so that after obtaining the first coordinate value and the second coordinate value, the second terminal can Calculation is performed according to the first coordinate value and the second coordinate value, and the encrypted coordinate value is recovered.
值得注意的是,加密后的坐标值、第一坐标值以及第二坐标值之间存在一定的计算关系可以为:加密后的坐标值为第一坐标值与第二坐标值的和、差、积或商。例如,设第一终端的加密后的纬度值为99999999,第一纬度值为80000000,加密后的坐标值为第一纬度值与第二纬度值的和,则通过计算可得第二纬度值为19999999。又如,设第一终端的加密后的纬度值为99999999,第一纬度值为3,加密后的坐标值为第一纬度值与第二纬度值的积,则第二纬度值为33333333。再如,设第一终端的加密后的纬度值为99999999,第一纬度值为10000000,加密后的坐标值为第一纬度值与第二纬度值的差,则第二纬度值-89999999等等。It is worth noting that there is a certain calculation relationship between the encrypted coordinate value, the first coordinate value and the second coordinate value, which can be: the encrypted coordinate value is the sum, difference, product or quotient. For example, suppose the encrypted latitude value of the first terminal is 99999999, the first latitude value is 80000000, and the encrypted coordinate value is the sum of the first latitude value and the second latitude value, then the second latitude value can be obtained by calculation. 19999999. For another example, if the encrypted latitude value of the first terminal is 99999999, the first latitude value is 3, and the encrypted coordinate value is the product of the first latitude value and the second latitude value, the second latitude value is 33333333. For another example, suppose the encrypted latitude value of the first terminal is 99999999, the first latitude value is 10000000, and the encrypted coordinate value is the difference between the first latitude value and the second latitude value, then the second latitude value is -89999999, etc. .
303、第一终端根据第一坐标值和第二坐标值生成BSM,BSM包含必选字段和可选字段,必选字段用于指示第一坐标值,可选字段用于指示第二坐标值,第一坐标值位于必选字段对应的取值范围中。303. The first terminal generates a BSM according to the first coordinate value and the second coordinate value, and the BSM includes a required field and an optional field, where the required field is used to indicate the first coordinate value, and the optional field is used to indicate the second coordinate value, The first coordinate value is in the value range corresponding to the required field.
304、第一终端向第二终端发送BSM。304. The first terminal sends the BSM to the second terminal.
关于步骤303和步骤304的介绍可参考前述步骤203和步骤204的相关说明部分,此处不再赘述。For the introduction of step 303 and step 304, reference may be made to the relevant description part of the foregoing step 203 and step 204, and details are not repeated here.
305、第二终端在接收BSM后,第二终端对必选字段指示的第一坐标值和可选字段指示的第二坐标值进行计算,得到第一终端的加密后的坐标值。305. After the second terminal receives the BSM, the second terminal calculates the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field to obtain the encrypted coordinate value of the first terminal.
第二终端在接收到来自第一终端的BSM后,可对该BSM进行解析,从而根据BSM中必选字段指示的内容以及可选字段指示的内容,确定第一坐标值和第二坐标值。然后,第二终端可将第一坐标值和第二坐标值进行计算,恢复出第一终端的加密后的坐标值。依旧如上述例子,设加密后的纬度值为第二纬度值和第一纬度值的和。第二终端解析BSM后,可得到第一纬度值为80000000,第二纬度值为19999999,第二终端可将80000000和19999999进行相加,得到第一终端的加密后的纬度值为99999999。After receiving the BSM from the first terminal, the second terminal may parse the BSM, thereby determining the first coordinate value and the second coordinate value according to the content indicated by the mandatory field and the content indicated by the optional field in the BSM. Then, the second terminal may calculate the first coordinate value and the second coordinate value to recover the encrypted coordinate value of the first terminal. Still as in the above example, set the encrypted latitude value to the sum of the second latitude value and the first latitude value. After parsing the BSM, the second terminal can obtain the first latitude value of 80000000 and the second latitude value of 19999999. The second terminal can add 80000000 and 19999999 to obtain the encrypted latitude value of the first terminal of 99999999.
306、第二终端对加密后的坐标值进行解密,得到第一终端的解密后的坐标值。306. The second terminal decrypts the encrypted coordinate value to obtain the decrypted coordinate value of the first terminal.
关于步骤306的介绍可参考前述步骤206的相关说明部分,此处不再赘述。For the introduction of step 306, reference may be made to the relevant description part of the foregoing step 206, which will not be repeated here.
图4为本申请实施例提供的基于车联网的信息传输方法的又一流程示意图,如图4所示,该方法包括:FIG. 4 is another schematic flowchart of the information transmission method based on the Internet of Vehicles provided by the embodiment of the present application. As shown in FIG. 4 , the method includes:
401、第一终端获取第一终端的加密后的坐标值。401. The first terminal acquires the encrypted coordinate value of the first terminal.
关于步骤401的介绍可参考前述步骤201的相关说明部分,此处不再赘述。For the introduction of step 401, reference may be made to the relevant description part of the foregoing step 201, which will not be repeated here.
402、第一终端获取位于取值范围中的第一坐标值,并确定第二坐标值为加密后的坐标值,第一坐标值用于指示第二坐标值为加密后的坐标值。402. The first terminal acquires the first coordinate value in the value range, and determines that the second coordinate value is an encrypted coordinate value, and the first coordinate value is used to indicate that the second coordinate value is the encrypted coordinate value.
在得到第一终端的加密后的坐标值后,第一终端可获取必选字段对应的取值范围。无论加密后的坐标值是否位于必选字段对应的取值范围中,第一终端可直接获取位于该取值范围中的第一坐标值,且第一坐标值为预置的特殊值,使得第一坐标值可用于指示第二坐标值为加密后的坐标值。在得到第一坐标值后,第一终端可直接确定第二坐标值为第一终端的加密后的坐标值。After obtaining the encrypted coordinate value of the first terminal, the first terminal may obtain the value range corresponding to the mandatory field. Regardless of whether the encrypted coordinate value is in the value range corresponding to the mandatory field, the first terminal can directly obtain the first coordinate value located in the value range, and the first coordinate value is a preset special value, so that the A coordinate value may be used to indicate that the second coordinate value is the encrypted coordinate value. After obtaining the first coordinate value, the first terminal may directly determine the second coordinate value as the encrypted coordinate value of the first terminal.
需要说明的是,第一坐标值通常为必选字段对应的取值范围中的特殊值,该特殊值可为该取值范围中的最大值或最小值,即第一坐标值可为该取值范围中的最大值或最小值。在当前协议中,特殊值并非用于指示第一终端的坐标(取值范围中除特殊值外的其余值则用于指示第一终端的坐标),而是用于指示某些特殊情况。为了便于理解,下文以纬度为例对特殊值所指示的特殊情况作进一步的介绍:It should be noted that the first coordinate value is usually a special value in the value range corresponding to the required field, and the special value may be the maximum or minimum value in the value range, that is, the first coordinate value may be the The maximum or minimum value in the range of values. In the current protocol, the special value is not used to indicate the coordinates of the first terminal (the other values in the value range except the special value are used to indicate the coordinates of the first terminal), but is used to indicate some special situations. For ease of understanding, the following takes latitude as an example to further introduce the special cases indicated by special values:
通过前述说明可知,纬度的取值范围为{-90000000,-89999999,-89999998,…,89999999,90000000,90000001},其中,纬度的特殊值为90000001,该特殊值可在不同情况下分别指示不同的内容。例如,若BSM中仅包含用于指示第一纬度值(为特殊值90000001)的必选字段,而不包含用于指示第二纬度值的可选字段,此时,该特殊值用于向第二终端指示第一终端无法获取自身的纬度值。又如,若BSM既包含用于指示第一纬度值(为特殊值90000001)的必选字段,也包含用于指示第二纬度值的可选字段,此时,该特殊值则用于向第二终端指示,可将第二纬度值作为第一终端的加密后的纬度值。It can be seen from the foregoing description that the value range of latitude is {-90000000, -89999999, -89999998, ..., 89999999, 90000000, 90000001}, where the special value of latitude is 90000001, which can indicate different values in different situations. Content. For example, if the BSM contains only the mandatory field used to indicate the first latitude value (which is the special value 90000001), but does not include the optional field used to indicate the second latitude value, at this time, the special value is used to indicate the first latitude value. The second terminal indicates that the first terminal cannot obtain its own latitude value. For another example, if the BSM contains both a mandatory field for indicating the first latitude value (which is the special value 90000001), and an optional field for indicating the second latitude value, in this case, the special value is used to send the The second terminal indicates that the second latitude value can be used as the encrypted latitude value of the first terminal.
更进一步地,经度的特殊值为1800000001,高程的特殊值为65535。应理解,关于经度和高程的特殊值的介绍,可参考上述关于纬度的特殊值的相关说明部分,此处不再赘述。Further, the special value for longitude is 1800000001 and the special value for elevation is 65535. It should be understood that, for the introduction of the special values of longitude and elevation, reference may be made to the above-mentioned relevant descriptions of the special values of latitude, and details are not repeated here.
403、第一终端根据第一坐标值和第二坐标值生成BSM,BSM包含必选字段和可选字段,必选字段用于指示第一坐标值,可选字段用于指示第二坐标值,第一坐标值位于必选字段对应的取值范围中。403. The first terminal generates a BSM according to the first coordinate value and the second coordinate value. The BSM includes a mandatory field and an optional field, where the mandatory field is used to indicate the first coordinate value, and the optional field is used to indicate the second coordinate value, The first coordinate value is in the value range corresponding to the required field.
404、第一终端向第二终端发送BSM。404. The first terminal sends the BSM to the second terminal.
关于步骤403和步骤404的介绍可参考前述步骤203和步骤204的相关说明部分,此处不再赘述。For the introduction of step 403 and step 404, reference may be made to the relevant description part of the foregoing step 203 and step 204, and details are not repeated here.
405、第二终端在接收BSM后,第二终端根据必选字段指示的第一坐标值,将可选字段指示的第二坐标值确定为第一终端的加密后的坐标值。405. After the second terminal receives the BSM, the second terminal determines, according to the first coordinate value indicated by the mandatory field, the second coordinate value indicated by the optional field as the encrypted coordinate value of the first terminal.
第二终端在接收到来自第一终端的BSM后,可对该BSM进行解析,从而根据BSM中必选字段指示的内容以及可选字段指示的内容,确定第一坐标值和第二坐标值。然后,第二 终端根据第一坐标值,将第二坐标值确定为第一终端的加密后的坐标值。依旧如上述例子,第二终端接收到BSM后,若确定BSM中必选字段所指示的第一纬度值为90000001,则会判断BSM是否存在用于指示第二纬度值的可选字段。若存在,第二终端直接将第二纬度值确定为第一终端的加密后的纬度值,若不存在,第二终端则确定第一终端无法获取纬度值。After receiving the BSM from the first terminal, the second terminal may parse the BSM, thereby determining the first coordinate value and the second coordinate value according to the content indicated by the mandatory field and the content indicated by the optional field in the BSM. Then, the second terminal determines the second coordinate value as the encrypted coordinate value of the first terminal according to the first coordinate value. Still as in the above example, after receiving the BSM, if the second terminal determines that the first latitude value indicated by the mandatory field in the BSM is 90000001, it will determine whether the BSM has an optional field for indicating the second latitude value. If it exists, the second terminal directly determines the second latitude value as the encrypted latitude value of the first terminal; if it does not exist, the second terminal determines that the first terminal cannot obtain the latitude value.
406、第二终端对加密后的坐标值进行解密,得到第一终端的解密后的坐标值。406. The second terminal decrypts the encrypted coordinate value to obtain the decrypted coordinate value of the first terminal.
关于步骤406的介绍可参考前述步骤206的相关说明部分,此处不再赘述。For the introduction of step 406, reference may be made to the relevant description part of the foregoing step 206, which will not be repeated here.
在如图2至图4所示的实施例中,第一终端在获取第一终端的加密后的坐标值后,可根据加密后的坐标值生成第一坐标值和第二坐标值。由于第一坐标值位于必选字段对应的取值范围中,故第一终端可完成用于指示第一坐标值的必选字段的编码操作以及用于指示第二坐标值的可选字段的编码操作,从而顺利生成BSM,使得第二终端可接收来自第一终端的BSM,并基于BSM所指示的第一坐标值和第二坐标值,确定第一终端的位置。In the embodiments shown in FIGS. 2 to 4 , after acquiring the encrypted coordinate value of the first terminal, the first terminal may generate the first coordinate value and the second coordinate value according to the encrypted coordinate value. Since the first coordinate value is located in the value range corresponding to the mandatory field, the first terminal can complete the encoding operation of the mandatory field indicating the first coordinate value and the encoding of the optional field indicating the second coordinate value operation, so that the BSM is successfully generated, so that the second terminal can receive the BSM from the first terminal, and determine the position of the first terminal based on the first coordinate value and the second coordinate value indicated by the BSM.
以上是对本申请实施例提供的基于车联网的信息传输方法所进行的具体说明,以下将对本申请实施例提供的终端进行介绍。图5为本申请实施例提供的终端的一个结构示意图,如图5所示,该终端为第一终端,第一终端包括:The above is a specific description of the information transmission method based on the Internet of Vehicles provided by the embodiment of the present application, and the terminal provided by the embodiment of the present application will be introduced below. FIG. 5 is a schematic structural diagram of a terminal provided by an embodiment of the present application. As shown in FIG. 5 , the terminal is a first terminal, and the first terminal includes:
处理模块501,用于获取第一终端的加密后的坐标值;a processing module 501, configured to obtain the encrypted coordinate value of the first terminal;
处理模块501,还用于根据加密后的坐标值生成第一坐标值和第二坐标值;The processing module 501 is further configured to generate a first coordinate value and a second coordinate value according to the encrypted coordinate value;
处理模块501,还用于根据第一坐标值和第二坐标值生成BSM,BSM包含必选字段和可选字段,必选字段用于指示第一坐标值,可选字段用于指示第二坐标值,第一坐标值位于必选字段对应的取值范围中;The processing module 501 is further configured to generate a BSM according to the first coordinate value and the second coordinate value, the BSM includes a required field and an optional field, the required field is used to indicate the first coordinate value, and the optional field is used to indicate the second coordinate value, the first coordinate value is in the value range corresponding to the required field;
收发模块502,用于向第二终端发送BSM。The transceiver module 502 is configured to send the BSM to the second terminal.
在一种可能的实现方式中,处理模块501具体用于将加密后的坐标值进行拆分,得到第一坐标值和第二坐标值。In a possible implementation manner, the processing module 501 is specifically configured to split the encrypted coordinate value to obtain the first coordinate value and the second coordinate value.
在一种可能的实现方式中,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的前M位数,第二坐标值为加密后的坐标值的后N-M位数;或,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的后M位数,第二坐标值为加密后的坐标值的前N-M位数;其中,M和N为正整数,N≥M。In a possible implementation manner, the encrypted coordinate value is N digits, the first coordinate value is the first M digits of the encrypted coordinate value, and the second coordinate value is the last N-M digits of the encrypted coordinate value. Or, the encrypted coordinate value is N digits, the first coordinate value is the last M digits of the encrypted coordinate value, and the second coordinate value is the first N-M digits of the encrypted coordinate value; wherein, M and N is a positive integer, N≥M.
在一种可能的实现方式中,处理模块501具体用于:获取位于取值范围中的第一坐标值;对加密后的坐标值和第一坐标值进行计算,得到第二坐标值。In a possible implementation manner, the processing module 501 is specifically configured to: obtain a first coordinate value in a value range; and calculate the encrypted coordinate value and the first coordinate value to obtain a second coordinate value.
在一种可能的实现方式中,加密后的坐标值为第一坐标值与第二坐标值的和、差、积或商。In a possible implementation manner, the encrypted coordinate value is the sum, difference, product or quotient of the first coordinate value and the second coordinate value.
在一种可能的实现方式中,处理模块501具体用于:获取位于取值范围中的第一坐标值,第一坐标值用于指示第二坐标值为加密后的坐标值;确定第二坐标值为加密后的坐标值。In a possible implementation manner, the processing module 501 is specifically configured to: obtain a first coordinate value located in a value range, where the first coordinate value is used to indicate that the second coordinate value is an encrypted coordinate value; determine the second coordinate value The value is the encrypted coordinate value.
在一种可能的实现方式中,第一坐标值为取值范围中的最大值或最小值。In a possible implementation manner, the first coordinate value is the maximum value or the minimum value in the value range.
图6为本申请实施例提供的终端的另一结构示意图,如图6所示,该终端为第二终端,第二终端包括:FIG. 6 is another schematic structural diagram of a terminal provided by an embodiment of the present application. As shown in FIG. 6 , the terminal is a second terminal, and the second terminal includes:
收发模块602,用于接收来自第一终端的BSM,BSM包含必选字段和可选字段,必选字 段用于指示第一坐标值,可选字段用于指示第二坐标值,第一坐标值位于必选字段对应的取值范围中;The transceiver module 602 is used for receiving the BSM from the first terminal. The BSM includes a mandatory field and an optional field, the mandatory field is used to indicate the first coordinate value, the optional field is used to indicate the second coordinate value, the first coordinate value It is in the value range corresponding to the required field;
处理模块601,用于根据必选字段指示的第一坐标值和可选字段指示的第二坐标值确定第一终端的加密后的坐标值;A processing module 601, configured to determine the encrypted coordinate value of the first terminal according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field;
处理模块601,还用于对加密后的坐标值进行解密,得到第一终端的解密后的坐标值。The processing module 601 is further configured to decrypt the encrypted coordinate value to obtain the decrypted coordinate value of the first terminal.
在一种可能的实现方式中,处理模块601具体用于将必选字段指示的第一坐标值和可选字段指示的第二坐标值进行拼接,得到第一终端的加密后的坐标值。In a possible implementation manner, the processing module 601 is specifically configured to splicing the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field to obtain the encrypted coordinate value of the first terminal.
在一种可能的实现方式中,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的前M位数,第二坐标值为加密后的坐标值的后N-M位数;或,加密后的坐标值为N位数,第一坐标值为加密后的坐标值的后M位数,第二坐标值为加密后的坐标值的前N-M位数;其中,M和N为正整数,N≥M。In a possible implementation manner, the encrypted coordinate value is N digits, the first coordinate value is the first M digits of the encrypted coordinate value, and the second coordinate value is the last N-M digits of the encrypted coordinate value. Or, the encrypted coordinate value is N digits, the first coordinate value is the last M digits of the encrypted coordinate value, and the second coordinate value is the first N-M digits of the encrypted coordinate value; wherein, M and N is a positive integer, N≥M.
在一种可能的实现方式中,处理模块601具体用于对必选字段指示的第一坐标值和可选字段指示的第二坐标值进行计算,得到第一终端的加密后的坐标值。In a possible implementation manner, the processing module 601 is specifically configured to calculate the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field to obtain the encrypted coordinate value of the first terminal.
在一种可能的实现方式中,加密后的坐标值为第一坐标值与第二坐标值的和、差、积或商。In a possible implementation manner, the encrypted coordinate value is the sum, difference, product or quotient of the first coordinate value and the second coordinate value.
在一种可能的实现方式中,处理模块601具体用于根据必选字段指示的第一坐标值,将可选字段指示的第二坐标值确定为第一终端的加密后的坐标值。In a possible implementation manner, the processing module 601 is specifically configured to determine the second coordinate value indicated by the optional field as the encrypted coordinate value of the first terminal according to the first coordinate value indicated by the mandatory field.
在一种可能的实现方式中,第一坐标值为取值范围中的最大值或最小值。In a possible implementation manner, the first coordinate value is the maximum value or the minimum value in the value range.
在一种可能的实现方式中,加密后的坐标值的长度与解密后的坐标值的长度相等。In a possible implementation manner, the length of the encrypted coordinate value is equal to the length of the decrypted coordinate value.
需要说明的是,上述装置各模块/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其带来的技术效果与本申请方法实施例相同,具体内容可参考本申请实施例前述所示的方法实施例中的叙述,此处不再赘述。It should be noted that the information exchange, execution process and other contents among the modules/units of the above-mentioned apparatus are based on the same concept as the method embodiments of the present application, and the technical effects brought by them are the same as those of the method embodiments of the present application, and the specific contents can be Reference is made to the descriptions in the method embodiments shown in the foregoing embodiments of the present application, which will not be repeated here.
图7为本申请实施例提供的通信装置的一个结构示意图。如图7所示,本申请实施例中通信装置一个实施例可以包括一个或一个以上中央处理器701,存储器702,输入输出接口703,有线或无线网络接口704,电源705。FIG. 7 is a schematic structural diagram of a communication apparatus provided by an embodiment of the present application. As shown in FIG. 7 , an embodiment of the communication device in this embodiment of the present application may include one or more central processing units 701 , a memory 702 , an input/output interface 703 , a wired or wireless network interface 704 , and a power supply 705 .
存储器702可以是短暂存储或持久存储。更进一步地,中央处理器701可以配置为与存储器702通信,在通信装置上执行存储器702中的一系列指令操作。The memory 702 may be ephemeral storage or persistent storage. Further, the central processing unit 701 may be configured to communicate with the memory 702 to execute a series of instruction operations in the memory 702 on the communication device.
本实施例中,中央处理器701可以执行前述图2至图4所示实施例中第一终端或第二终端所执行的操作,具体此处不再赘述。In this embodiment, the central processing unit 701 may perform the operations performed by the first terminal or the second terminal in the foregoing embodiments shown in FIG. 2 to FIG. 4 , and details are not described herein again.
本实施例中,中央处理器701中的具体功能模块划分可以与前述图5中所描述的处理模块和收发模块等模块的划分方式类似,此处不再赘述。In this embodiment, the division of specific functional modules in the central processing unit 701 may be similar to the division of modules such as the processing module and the transceiver module described in FIG. 5 , which is not repeated here.
本实施例中,中央处理器701中的具体功能模块划分也可以与前述图6中所描述的处理模块和收发模块等模块的划分方式类似,此处不再赘述。In this embodiment, the division of specific functional modules in the central processing unit 701 may also be similar to the division of modules such as the processing module and the transceiver module described in the foregoing FIG. 6 , and details are not described herein again.
本申请实施例还涉及一种计算机存储介质,其特征在于,包括计算机可读指令,当计算机可读指令被执行时,实现如图2至图4中第一终端或第二终端所执行的方法步骤。The embodiment of the present application also relates to a computer storage medium, which is characterized in that it includes computer-readable instructions, and when the computer-readable instructions are executed, the method executed by the first terminal or the second terminal as shown in FIG. 2 to FIG. 4 is implemented. step.
本申请实施例还涉及一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行如图2至图4中第一终端或第二终端所执行的方法步骤。The embodiments of the present application also relate to a computer program product containing instructions, which, when run on a computer, cause the computer to perform the method steps performed by the first terminal or the second terminal as shown in FIGS. 2 to 4 .
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the present application can be embodied in the form of software products in essence, or the parts that contribute to the prior art, or all or part of the technical solutions, and the computer software products are stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, Read-Only Memory (ROM, Read-Only Memory), Random Access Memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes .

Claims (21)

  1. 一种基于车联网的信息传输方法,其特征在于,所述方法包括:An information transmission method based on the Internet of Vehicles, characterized in that the method comprises:
    第一终端获取所述第一终端的加密后的坐标值;The first terminal obtains the encrypted coordinate value of the first terminal;
    所述第一终端根据所述加密后的坐标值生成第一坐标值和第二坐标值;The first terminal generates a first coordinate value and a second coordinate value according to the encrypted coordinate value;
    所述第一终端根据所述第一坐标值和第二坐标值生成基本安全消息BSM,所述BSM包含必选字段和可选字段,所述必选字段用于指示所述第一坐标值,所述可选字段用于指示所述第二坐标值,所述第一坐标值位于所述必选字段对应的取值范围中;The first terminal generates a basic security message BSM according to the first coordinate value and the second coordinate value, the BSM includes a mandatory field and an optional field, and the mandatory field is used to indicate the first coordinate value, The optional field is used to indicate the second coordinate value, and the first coordinate value is located in the value range corresponding to the required field;
    所述第一终端向第二终端发送所述BSM;sending, by the first terminal, the BSM to the second terminal;
    所述第二终端接收所述BSM;receiving, by the second terminal, the BSM;
    所述第二终端根据所述必选字段指示的第一坐标值和所述可选字段指示的第二坐标值确定所述加密后的坐标值;The second terminal determines the encrypted coordinate value according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field;
    所述第二终端对所述加密后的坐标值进行解密,得到所述第一终端的解密后的坐标值。The second terminal decrypts the encrypted coordinate value to obtain the decrypted coordinate value of the first terminal.
  2. 一种基于车联网的信息传输方法,其特征在于,所述方法包括:An information transmission method based on the Internet of Vehicles, characterized in that the method comprises:
    第一终端获取第一终端的加密后的坐标值;The first terminal obtains the encrypted coordinate value of the first terminal;
    所述第一终端根据所述加密后的坐标值生成第一坐标值和第二坐标值;The first terminal generates a first coordinate value and a second coordinate value according to the encrypted coordinate value;
    所述第一终端根据所述第一坐标值和第二坐标值生成BSM,所述BSM包含必选字段和可选字段,所述必选字段用于指示所述第一坐标值,所述可选字段用于指示所述第二坐标值,所述第一坐标值位于所述必选字段对应的取值范围中;The first terminal generates a BSM according to the first coordinate value and the second coordinate value, the BSM includes a mandatory field and an optional field, the mandatory field is used to indicate the first coordinate value, and the optional field The optional field is used to indicate the second coordinate value, and the first coordinate value is located in the value range corresponding to the required field;
    所述第一终端向第二终端发送所述BSM。The first terminal sends the BSM to the second terminal.
  3. 根据权利要求2所述的方法,其特征在于,所述第一终端根据所述加密后的坐标值生成第一坐标值和第二坐标值包括:The method according to claim 2, wherein the generating, by the first terminal, the first coordinate value and the second coordinate value according to the encrypted coordinate value comprises:
    所述第一终端将所述加密后的坐标值进行拆分,得到第一坐标值和第二坐标值。The first terminal splits the encrypted coordinate value to obtain a first coordinate value and a second coordinate value.
  4. 根据权利要求3所述的方法,其特征在于,所述加密后的坐标值为N位数,所述第一坐标值为所述加密后的坐标值的前M位数,所述第二坐标值为所述加密后的坐标值的后N-M位数;The method according to claim 3, wherein the encrypted coordinate value is N digits, the first coordinate value is the first M digits of the encrypted coordinate value, and the second coordinate value is the first M digits of the encrypted coordinate value. The value is the last N-M digits of the encrypted coordinate value;
    或,or,
    所述加密后的坐标值为N位数,所述第一坐标值为所述加密后的坐标值的后M位数,所述第二坐标值为所述加密后的坐标值的前N-M位数;The encrypted coordinate value is N digits, the first coordinate value is the last M digits of the encrypted coordinate value, and the second coordinate value is the first N-M digits of the encrypted coordinate value. number;
    其中,M和N为正整数,N≥M。Among them, M and N are positive integers, and N≥M.
  5. 根据权利要求2所述的方法,其特征在于,所述第一终端根据所述加密后的坐标值生成第一坐标值和第二坐标值包括:The method according to claim 2, wherein the generating, by the first terminal, the first coordinate value and the second coordinate value according to the encrypted coordinate value comprises:
    所述第一终端获取位于所述取值范围中的第一坐标值;obtaining, by the first terminal, a first coordinate value located in the value range;
    所述第一终端对所述加密后的坐标值和所述第一坐标值进行计算,得到第二坐标值。The first terminal calculates the encrypted coordinate value and the first coordinate value to obtain a second coordinate value.
  6. 根据权利要求5所述的方法,其特征在于,所述加密后的坐标值为所述第一坐标值与所述第二坐标值的和、差、积或商。The method according to claim 5, wherein the encrypted coordinate value is the sum, difference, product or quotient of the first coordinate value and the second coordinate value.
  7. 根据权利要求2所述的方法,其特征在于,所述第一终端根据所述加密后的坐标值生成第一坐标值和第二坐标值包括:The method according to claim 2, wherein the generating, by the first terminal, the first coordinate value and the second coordinate value according to the encrypted coordinate value comprises:
    所述第一终端获取位于所述取值范围中的第一坐标值,所述第一坐标值用于指示所述第二坐标值为所述加密后的坐标值;obtaining, by the first terminal, a first coordinate value located in the value range, where the first coordinate value is used to indicate the second coordinate value as the encrypted coordinate value;
    所述第一终端确定所述第二坐标值为所述加密后的坐标值。The first terminal determines that the second coordinate value is the encrypted coordinate value.
  8. 根据权利要求7所述的方法,其特征在于,所述第一坐标值为所述取值范围中的最大值或最小值。The method according to claim 7, wherein the first coordinate value is a maximum value or a minimum value in the value range.
  9. 一种基于车联网的信息传输方法,其特征在于,所述方法包括:An information transmission method based on the Internet of Vehicles, characterized in that the method comprises:
    第二终端接收来自第一终端的BSM,所述BSM包含必选字段和可选字段,所述必选字段用于指示第一坐标值,所述可选字段用于指示第二坐标值,所述第一坐标值位于所述必选字段对应的取值范围中;The second terminal receives the BSM from the first terminal, and the BSM includes a mandatory field and an optional field. The mandatory field is used to indicate the first coordinate value, and the optional field is used to indicate the second coordinate value. The first coordinate value is located in the value range corresponding to the required field;
    所述第二终端根据所述必选字段指示的第一坐标值和所述可选字段指示的第二坐标值确定所述第一终端的加密后的坐标值;The second terminal determines the encrypted coordinate value of the first terminal according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field;
    所述第二终端对所述加密后的坐标值进行解密,得到所述第一终端的解密后的坐标值。The second terminal decrypts the encrypted coordinate value to obtain the decrypted coordinate value of the first terminal.
  10. 根据权利要求9所述的方法,其特征在于,所述第二终端根据所述必选字段指示的第一坐标值和所述可选字段指示的第二坐标值确定第一终端的加密后的坐标值包括:The method according to claim 9, wherein the second terminal determines the encrypted data of the first terminal according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field Coordinate values include:
    所述第二终端将所述必选字段指示的第一坐标值和所述可选字段指示的第二坐标值进行拼接,得到第一终端的加密后的坐标值。The second terminal splices the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field to obtain the encrypted coordinate value of the first terminal.
  11. 根据权利要求10所述的方法,其特征在于,所述加密后的坐标值为N位数,所述第一坐标值为所述加密后的坐标值的前M位数,所述第二坐标值为所述加密后的坐标值的后N-M位数;The method according to claim 10, wherein the encrypted coordinate value is N digits, the first coordinate value is the first M digits of the encrypted coordinate value, and the second coordinate value is the first M digits of the encrypted coordinate value. The value is the last N-M digits of the encrypted coordinate value;
    或,or,
    所述加密后的坐标值为N位数,所述第一坐标值为所述加密后的坐标值的后M位数,所述第二坐标值为所述加密后的坐标值的前N-M位数;The encrypted coordinate value is N digits, the first coordinate value is the last M digits of the encrypted coordinate value, and the second coordinate value is the first N-M digits of the encrypted coordinate value. number;
    其中,M和N为正整数,N≥M。Among them, M and N are positive integers, and N≥M.
  12. 根据权利要求9所述的方法,其特征在于,所述第二终端根据所述必选字段指示的第一坐标值和所述可选字段指示的第二坐标值确定第一终端的加密后的坐标值包括:The method according to claim 9, wherein the second terminal determines the encrypted data of the first terminal according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field Coordinate values include:
    所述第二终端对所述必选字段指示的第一坐标值和所述可选字段指示的第二坐标值进行计算,得到第一终端的加密后的坐标值。The second terminal calculates the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field to obtain the encrypted coordinate value of the first terminal.
  13. 根据权利要求12所述的方法,其特征在于,所述加密后的坐标值为所述第一坐标值与所述第二坐标值的和、差、积或商。The method according to claim 12, wherein the encrypted coordinate value is the sum, difference, product or quotient of the first coordinate value and the second coordinate value.
  14. 根据权利要求9所述的方法,其特征在于,所述第二终端根据所述必选字段指示的第一坐标值和所述可选字段指示的第二坐标值确定第一终端的加密后的坐标值包括:The method according to claim 9, wherein the second terminal determines the encrypted data of the first terminal according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field Coordinate values include:
    所述第二终端根据所述必选字段指示的第一坐标值,将所述可选字段指示的第二坐标值确定为第一终端的加密后的坐标值。The second terminal determines, according to the first coordinate value indicated by the mandatory field, the second coordinate value indicated by the optional field as the encrypted coordinate value of the first terminal.
  15. 根据权利要求14所述的方法,其特征在于,所述第一坐标值为所述取值范围中的最大值或最小值。The method according to claim 14, wherein the first coordinate value is a maximum value or a minimum value in the value range.
  16. 根据权利要求9至15任意一项所述的方法,其特征在于,所述加密后的坐标值的长度与所述解密后的坐标值的长度相等。The method according to any one of claims 9 to 15, wherein the length of the encrypted coordinate value is equal to the length of the decrypted coordinate value.
  17. 一种车联网通信系统,其特征在于,所述车联网通信系统包括:第一终端和第二终端;A vehicle networking communication system, characterized in that the vehicle networking communication system comprises: a first terminal and a second terminal;
    第一终端用于获取所述第一终端的加密后的坐标值;The first terminal is used to obtain the encrypted coordinate value of the first terminal;
    所述第一终端还用于根据所述加密后的坐标值生成第一坐标值和第二坐标值;The first terminal is further configured to generate a first coordinate value and a second coordinate value according to the encrypted coordinate value;
    所述第一终端还用于根据所述第一坐标值和第二坐标值生成基本安全消息BSM,所述BSM包含必选字段和可选字段,所述必选字段用于指示所述第一坐标值,所述可选字段用于指示所述第二坐标值,所述第一坐标值位于所述必选字段对应的取值范围中;The first terminal is further configured to generate a basic safety message BSM according to the first coordinate value and the second coordinate value, where the BSM includes a mandatory field and an optional field, and the mandatory field is used to indicate the first coordinate value, the optional field is used to indicate the second coordinate value, and the first coordinate value is located in the value range corresponding to the required field;
    所述第一终端还用于向第二终端发送所述BSM;The first terminal is further configured to send the BSM to the second terminal;
    所述第二终端用于接收所述BSM;the second terminal is configured to receive the BSM;
    所述第二终端还用于根据所述必选字段指示的第一坐标值和所述可选字段指示的第二坐标值确定所述加密后的坐标值;The second terminal is further configured to determine the encrypted coordinate value according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field;
    所述第二终端还用于对所述加密后的坐标值进行解密,得到所述第一终端的解密后的坐标值。The second terminal is further configured to decrypt the encrypted coordinate value to obtain the decrypted coordinate value of the first terminal.
  18. 一种终端,其特征在于,所述终端为第一终端,所述第一终端包括:A terminal, wherein the terminal is a first terminal, and the first terminal includes:
    处理模块,用于获取所述第一终端的加密后的坐标值;a processing module, configured to obtain the encrypted coordinate value of the first terminal;
    所述处理模块,还用于根据所述加密后的坐标值生成第一坐标值和第二坐标值;The processing module is further configured to generate a first coordinate value and a second coordinate value according to the encrypted coordinate value;
    所述处理模块,还用于根据所述第一坐标值和第二坐标值生成BSM,所述BSM包含必选字段和可选字段,所述必选字段用于指示第一坐标值,所述可选字段用于指示第二坐标值,所述第一坐标值位于所述必选字段对应的取值范围中;The processing module is further configured to generate a BSM according to the first coordinate value and the second coordinate value, the BSM includes a mandatory field and an optional field, the mandatory field is used to indicate the first coordinate value, the The optional field is used to indicate the second coordinate value, and the first coordinate value is located in the value range corresponding to the required field;
    收发模块,用于向第二终端发送所述BSM。a transceiver module, configured to send the BSM to the second terminal.
  19. 一种终端,其特征在于,所述终端为第二终端,所述第二终端包括:A terminal, wherein the terminal is a second terminal, and the second terminal includes:
    收发模块,用于接收来自第一终端的BSM,所述BSM包含必选字段和可选字段,所述必选字段用于指示第一坐标值,所述可选字段用于指示第二坐标值,所述第一坐标值位于所述必选字段对应的取值范围中;a transceiver module, configured to receive a BSM from the first terminal, the BSM includes a mandatory field and an optional field, the mandatory field is used to indicate the first coordinate value, and the optional field is used to indicate the second coordinate value , the first coordinate value is located in the value range corresponding to the required field;
    处理模块,用于根据所述必选字段指示的第一坐标值和所述可选字段指示的第二坐标值确定所述第一终端的加密后的坐标值;a processing module, configured to determine the encrypted coordinate value of the first terminal according to the first coordinate value indicated by the mandatory field and the second coordinate value indicated by the optional field;
    所述处理模块,还用于对所述加密后的坐标值进行解密,得到所述第一终端的解密后的坐标值。The processing module is further configured to decrypt the encrypted coordinate value to obtain the decrypted coordinate value of the first terminal.
  20. 一种通信装置,其特征在于,所述通信装置包括:处理器和存储器;A communication device, characterized in that the communication device comprises: a processor and a memory;
    所述存储器用于存储计算机执行指令;the memory is used to store computer-executable instructions;
    所述处理器用于执行所述存储器所存储的计算机执行指令,以使所述通信装置实现如所述权利要求1至8或9至16任一项所述的方法。The processor is configured to execute computer-implemented instructions stored in the memory to cause the communication device to implement the method of any one of claims 1 to 8 or 9 to 16.
  21. 一种计算机存储介质,其特征在于,包括计算机可读指令,当所述计算机可读指令被执行时,实现如权利要求1至8或9至16任一项所述的方法。A computer storage medium, characterized by comprising computer-readable instructions, which, when executed, implement the method according to any one of claims 1 to 8 or 9 to 16.
PCT/CN2020/123925 2020-10-27 2020-10-27 Vehicle-to-everything-based information transmission method, and related apparatus for same WO2022087814A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202080004368.9A CN112544095B (en) 2020-10-27 2020-10-27 Information transmission method, system, terminal, communication device and computer storage medium based on Internet of vehicles
PCT/CN2020/123925 WO2022087814A1 (en) 2020-10-27 2020-10-27 Vehicle-to-everything-based information transmission method, and related apparatus for same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/123925 WO2022087814A1 (en) 2020-10-27 2020-10-27 Vehicle-to-everything-based information transmission method, and related apparatus for same

Publications (1)

Publication Number Publication Date
WO2022087814A1 true WO2022087814A1 (en) 2022-05-05

Family

ID=75017388

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/123925 WO2022087814A1 (en) 2020-10-27 2020-10-27 Vehicle-to-everything-based information transmission method, and related apparatus for same

Country Status (2)

Country Link
CN (1) CN112544095B (en)
WO (1) WO2022087814A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105246071A (en) * 2014-07-11 2016-01-13 电信科学技术研究院 Message generation and authentication methods and equipment in Internet-of-vehicles system
CN108712375A (en) * 2017-04-07 2018-10-26 宝马股份公司 Coordinate encryption method, coordinate encryption system and the vehicle with the system
CN109547441A (en) * 2018-11-27 2019-03-29 上海炬宏信息技术有限公司 A kind of method of latitude and longitude coordinates encryption
US10683083B1 (en) * 2018-10-25 2020-06-16 Survice Engineering Company Satcom based messaging and locator system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105246071A (en) * 2014-07-11 2016-01-13 电信科学技术研究院 Message generation and authentication methods and equipment in Internet-of-vehicles system
CN108712375A (en) * 2017-04-07 2018-10-26 宝马股份公司 Coordinate encryption method, coordinate encryption system and the vehicle with the system
US10683083B1 (en) * 2018-10-25 2020-06-16 Survice Engineering Company Satcom based messaging and locator system
CN109547441A (en) * 2018-11-27 2019-03-29 上海炬宏信息技术有限公司 A kind of method of latitude and longitude coordinates encryption

Also Published As

Publication number Publication date
CN112544095B (en) 2021-12-14
CN112544095A (en) 2021-03-23

Similar Documents

Publication Publication Date Title
EP2582085A1 (en) Generating implicit certificates
CN110912920A (en) Data processing method, apparatus and medium
CN102394749B (en) Line protection method, system, information safety equipment and application equipment for data transmission
CN107425971B (en) Certificateless data encryption/decryption method and device and terminal
JP2020532928A (en) Digital signature methods, devices and systems
CN111769934B (en) Data transmission method, system and computer readable storage medium
US20130091362A1 (en) Generating implicit certificates
CN110166489B (en) Data transmission method, system, equipment and computer medium in Internet of things
CN107534558B (en) Method for protecting the information security of data transmitted via a data bus and data bus system
CN109005184A (en) File encrypting method and device, storage medium, terminal
CN111555880B (en) Data collision method and device, storage medium and electronic equipment
US20100005307A1 (en) Secure approach to send data from one system to another
CN106453391A (en) Long repeating data encryption and transmission method and system
CN112738051A (en) Data information encryption method, system and computer readable storage medium
CN107249002B (en) Method, system and device for improving safety of intelligent electric energy meter
WO2014030706A1 (en) Encrypted database system, client device and server, method and program for adding encrypted data
CN114493593B (en) Multi-block chain hidden communication method
CN112929166B (en) Master station, slave station and data transmission system based on Modbus-TCP protocol
KR101533950B1 (en) Broadcast encryption method and system
WO2022087814A1 (en) Vehicle-to-everything-based information transmission method, and related apparatus for same
CN112689260B (en) Message verification method of vehicle-mounted terminal and terminal
CN109525612B (en) Multi-terminal message encryption transmission method and system
CN113455032A (en) Communication method and device
CN115208569B (en) Encryption and decryption method and device for dynamic key distribution
CN115225352B (en) Hybrid encryption method and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20958979

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20958979

Country of ref document: EP

Kind code of ref document: A1