Unicast communication method, device and terminal for Internet of Vehicles
By using a clear security mode indication method in LTE-V2X unicast communication and utilizing the mapping relationship between the target field, MAC address and application identifier, the problem of high security mode identification complexity in the existing technology is solved and the interaction efficiency is improved.
Patent Information
- Application Number
- CN202111223427.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-20
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2041-10-20
AI Technical Summary
In the existing technology, the security pattern recognition method of the LTE-V2X unicast communication process is highly complex and error-prone, resulting in long interaction time.
Explicitly indicate and determine the security used by unicast communications by including a target field in the message frame to indicate the security mode, a predefined mapping between MAC addresses and security modes, and a mapping between application identification and security modes. model.
It simplifies the security mode identification process, reduces interactive processing time, and avoids complexity and misjudgment problems caused by implicit judgments.
Smart Images

Figure CN116017309B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a unicast communication method, device and terminal for an Internet of Vehicles. Background Art
[0002] At present, the unicast process of LTE (Long Term Evolution)-V2X (vehicle to everything) is mainly divided into three parts: the first is the unicast address interaction stage, which is the process of establishing a unicast connection. The two parties interact with each other to determine the address pair used for subsequent unicast communication. The RSU (Road Side Unit) sends a unicast service announcement that can be broadcast repeatedly according to a certain period. After receiving the unicast service announcement message, the OBU (On board Unit) sends a unicast service announcement response message. The OBU can set a certain sending cycle and waiting time. If the unicast service data message sent by the RSU is not received within a period of time, the OBU can repeatedly send the unicast service announcement response message. Secondly, after completing the unicast establishment process, the unicast data interaction stage is carried out to send and receive corresponding data information for different applications and services. Finally, after completing the unicast data interaction, the unicast link needs to be released.
[0003] The road toll service definition of the NFC payment message set and interaction process based on LTE-V2X in T / CSAE 157-2020 defines two security modes in the road toll service scenario. The system can complete the toll service process in any of the security modes, including:
[0004] Security Mode 1: Utilize the LTE-based IoV wireless communication security certificate management system to achieve vehicle-side and road-side identity authentication, thereby realizing the charging and payment process.
[0005] Security Mode 2: Utilize the current ETC (Electronic Toll Collection) security mechanism, refer to GB / T 20851.4-2019, implement access permission, information authentication, and encryption protection at the application layer, thereby realizing the charging and payment process.
[0006] In the prior art, the terminal distinguishes the currently used security mode at the application layer through the content and format of the message set. However, in fact, there are great differences between the above two security modes in terms of encryption process, transmitted information content, etc. It is difficult to distinguish the specific reason for the current message interaction failure, whether it is due to an error in security mode identification or an information transmission error caused by other problems, only by judging whether the message set is decrypted successfully or not or the message content format. It also requires multiple attempts to correctly identify the security mode, which increases the complexity of processing and the time of interaction. Summary of the invention
[0007] The present invention provides a unicast communication method, device and terminal for an Internet of Vehicles, which solves the problem in the prior art that a security mode identification method in a unicast communication process has high processing complexity and is prone to errors, resulting in a long interaction time.
[0008] In a first aspect, an embodiment of the present invention provides a unicast communication method for an Internet of Vehicles, which is applied to a first terminal, and the method includes:
[0009] Sending a first message frame, and indicating a security mode used by the first message frame in a first manner;
[0010] Among them, the first message frame includes at least one of the following: a first dedicated service announcement (Dedicated Service Advertisement, DSA for short) frame for unicast link establishment, a first dedicated short message (Dedicated Short Message, DSM for short) frame for unicast service data transmission and a second DSA frame for unicast link release.
[0011] Optionally, the first method includes at least one of the following:
[0012] The first message frame includes a first target field for indicating the security mode;
[0013] There is a predefined mapping relationship between a medium access control (MAC) address corresponding to the first message frame and the security mode;
[0014] There is a predefined mapping relationship between the application identification (AID) corresponding to the first message frame and the security mode.
[0015] Optionally, the first message frame is the first DSA frame, and after sending the first message frame, the method further includes:
[0016] Receiving a DSA response frame sent by a second terminal; wherein the DSA response frame is fed back based on the first DSA frame;
[0017] Determine the security mode used by the DSA response frame according to at least one of the following methods:
[0018] Determining, according to the first field in the DSA response frame, a security mode used by the DSA response frame;
[0019] Determine the security mode used by the DSA response frame according to a predefined mapping relationship between the MAC address corresponding to the DSA response frame and the security mode;
[0020] The security mode used by the DSA response frame is determined according to a predefined mapping relationship between the first AID in the DSA response frame and the security mode.
[0021] Optionally, after receiving the DSA response frame sent by the second terminal, the method further includes:
[0022] The first terminal generates a first association relationship between first information and a security mode used for unicast communication; the first information is relevant information for unicast communication between the first terminal and the second terminal;
[0023] According to the first association relationship, a security mode used by a target communication process is determined; wherein the target communication process includes at least one of the following: a data interaction process and a unicast communication link release process.
[0024] Optionally, determining a security mode used by a target communication process according to the first association relationship includes:
[0025] receiving a second DSM sent by the second terminal;
[0026] A security mode used by the second DSM is determined according to the first association relationship.
[0027] Optionally, the unicast communication method of the Internet of Vehicles further includes:
[0028] receiving a second DSM sent by a second terminal;
[0029] Determine the security mode used by the second DSM according to one of the following methods:
[0030] Determining a security mode used by the second DSM according to a second field in the second DSM; wherein the second field explicitly indicates the security mode used by the second DSM;
[0031] Determining a security mode used by the second DSM according to a predefined mapping relationship between a MAC address corresponding to the second DSM and a security mode;
[0032] The security mode used by the second DSM is determined according to a predefined mapping relationship between the second AID in the second DSM and the security mode.
[0033] Optionally, the first information includes at least one of the following: MAC address information, application identification, identity identification, and an internal identifier of a dedicated management entity (Dedicated Management Entity, DME for short) local information storage.
[0034] In a second aspect, an embodiment of the present invention provides a unicast communication method for an Internet of Vehicles, which is applied to a second terminal, and the method includes:
[0035] Receive a first message frame sent by a first terminal; wherein the first message frame includes at least one of the following: a first DSA frame for establishing a unicast link, a first DSM for transmitting unicast service data, and a second DSA frame for releasing a unicast link;
[0036] According to the second manner, a security mode used by the first message frame is determined.
[0037] Optionally, when the first message frame is the first DSA frame, after receiving the first message frame sent by the first terminal, the method further includes:
[0038] The second terminal generates a second association relationship between second information and a security mode used for unicast communication; wherein the second information is relevant information for unicast communication between the second terminal and the first terminal.
[0039] Optionally, the second method includes at least one of the following:
[0040] The first message frame includes a first target field for indicating the security mode;
[0041] There is a predefined mapping relationship between the MAC address corresponding to the first message frame and the security mode;
[0042] There is a predefined mapping relationship between the application identifier AID in the first message frame and the security mode.
[0043] Optionally, when the first message frame is the first DSM or the second DSA frame, the second mode includes: the second association relationship.
[0044] Optionally, the second information includes at least one of the following: MAC address information, application identifier, identity identifier, and an internal identifier of the dedicated management entity DME local information storage.
[0045] Optionally, the unicast communication method of the Internet of Vehicles further includes:
[0046] Sending a second message frame to the first terminal, and indicating the security mode used by the second message frame in a third manner; wherein the second message frame includes: a DSA response frame or a second DSM; and the DSA response frame is fed back according to the first DSA;
[0047] The third method includes at least one of the following:
[0048] The second message frame includes a second target field for indicating the security mode;
[0049] There is a predefined mapping relationship between the MAC address corresponding to the second message frame and the security mode;
[0050] There is a predefined mapping relationship between the application identifier AID corresponding to the second message frame and the security mode.
[0051] In a third aspect, an embodiment of the present invention provides a unicast communication device for an Internet of Vehicles, which is applied to a first terminal, and the device includes:
[0052] A first sending module, configured to send a first message frame and indicate a security mode used by the first message frame in a first manner;
[0053] The first message frame includes at least one of the following: a first dedicated service announcement DSA frame for establishing a unicast link, a first dedicated short message DSM for transmitting unicast service data, and a second DSA frame for releasing a unicast link.
[0054] In a fourth aspect, an embodiment of the present invention provides a unicast communication device for an Internet of Vehicles, which is applied to a second terminal, and the device includes:
[0055] A first receiving module, configured to receive a first message frame sent by a first terminal; wherein the first message frame includes at least one of the following: a first DSA frame for establishing a unicast link, a first DSM for transmitting unicast service data, and a second DSA frame for releasing a unicast link;
[0056] The first determining module is used to determine the security mode used by the first message frame according to a second method.
[0057] In a fifth aspect, an embodiment of the present invention provides a terminal, comprising: a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of the resource selection method for the direct link as described in the first aspect or the second aspect are implemented.
[0058] In a sixth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the resource selection method for a through link as described in the first aspect or the second aspect.
[0059] The beneficial effects of the above technical solution of the present invention are:
[0060] In the above scheme, the first terminal sends a first message frame and indicates the security mode used by the first message frame in a first manner; wherein the first message frame includes at least one of the following: a first dedicated service announcement DSA frame for unicast link establishment, a first dedicated short message DSM for unicast service data transmission, and a second DSA frame for unicast link release. By indicating the security mode used by the first message frame, this scheme can simplify the processing complexity of identifying the security mode and reduce the interaction processing time. BRIEF DESCRIPTION OF THE DRAWINGS
[0061] Figure 1 A unicast flow chart of LTE-V2X is shown;
[0062] Figure 2 A schematic diagram showing the network layer architecture of the wireless communication technology of the Internet of Vehicles based on LTE;
[0063] Figure 3 A schematic diagram showing the cross-layer interaction process for establishing a unicast link connection;
[0064] Figure 4 A schematic diagram showing the relationship between DSA and DSM;
[0065] Figure 5 A flow chart showing a unicast communication method for an Internet of Vehicles according to an embodiment of the present invention;
[0066] Figure 6 A second flowchart of a unicast communication method for an Internet of Vehicles according to an embodiment of the present invention;
[0067] Figure 7 One of the structural block diagrams showing the unicast communication device of the Internet of Vehicles according to an embodiment of the present invention;
[0068] Figure 8 A second structural block diagram showing a unicast communication device for an Internet of Vehicles according to an embodiment of the present invention;
[0069] Fig. 9A schematic diagram showing a hardware structure of a terminal according to an embodiment of the present invention;
[0070] Fig.10 The second schematic diagram shows the hardware structure of the terminal according to the embodiment of the present invention. DETAILED DESCRIPTION
[0071] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will be described in detail in conjunction with the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help fully understand the embodiments of the present invention. Therefore, it should be clear to those skilled in the art that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the present invention. In addition, for clarity and brevity, the description of known functions and structures is omitted.
[0072] It should be understood that the references to "one embodiment" or "an embodiment" throughout the specification mean that the specific features, structures, or characteristics associated with the embodiment are included in at least one embodiment of the present invention. Therefore, the references to "in one embodiment" or "in an embodiment" appearing throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0073] In various embodiments of the present invention, it should be understood that the size of the serial numbers of the following processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0074] Additionally, the terms "system" and "network" are often used interchangeably herein.
[0075] In the embodiments provided in the present application, it should be understood that "B corresponding to A" means that B is associated with A, and B can be determined according to A. However, it should also be understood that determining B according to A does not mean determining B only according to A, and B can also be determined according to A and / or other information.
[0076] In the embodiment of the present invention, the form of the access network is not limited, and may be an access network including a macro base station (Macro Base Station), a micro base station (Pico Base Station), a Node B (the name of a 3G mobile base station), an enhanced base station (eNB), a home enhanced base station (Femto eNB or Home eNode B or Home eNB or HeNB), a relay station, an access point, an RRU (Remote Radio Unit), an RRH (Remote Radio Head), etc. The user terminal may be a mobile phone (or mobile phone), or other equipment capable of sending or receiving wireless signals, including user equipment, a personal digital assistant (PDA), a wireless modem, a wireless communication device, a handheld device, a laptop computer, a cordless phone, a wireless local loop (WLL) station, a CPE (Customer Premise Equipment) capable of converting a mobile signal into a WiFi signal, or a mobile smart hotspot, a smart home appliance, or other equipment that can spontaneously communicate with a mobile communication network without human operation.
[0077] The following first introduces the contents involved in the solution provided in the embodiment of the present application.
[0078] 1. Unicast process based on LTE-V2X
[0079] like Figure 1 As shown in the figure, the current LTE-V2X unicast process is mainly divided into three parts: the first is the unicast address interaction stage, which is the process of establishing a unicast connection. The two parties interact with each other to determine the address pair used for subsequent unicast communication. The unicast service announcement sent by the RSU should be broadcast and sent repeatedly according to a certain period. After receiving the unicast service announcement message, the OBU sends a unicast service announcement response message. The OBU can set a certain sending cycle and waiting time. If the unicast service data message sent by the RSU is not received within a period of time, the OBU can repeatedly send the unicast service announcement response message. Secondly, after completing the unicast establishment process, the unicast data interaction stage is carried out to send and receive corresponding data information for different applications and services. Finally, after completing the unicast data interaction, the unicast link needs to be released.
[0080] 2. Cross-layer interaction process established by unicast communication
[0081] like Figure 2As shown, it shows the network layer architecture of the wireless communication technology of the Internet of Vehicles based on LTE, including: application layer, network layer and LTE-V2X access layer; wherein, the network layer includes: management sublayer and data sublayer. The management sublayer includes a dedicated management entity DME, and the data sublayer includes: TCP (Transfer Control Protocol, Transmission Control Protocol) / UDP (UserData Protocol, User Data Protocol), IP (Internet Protocol, Internet Interconnection Protocol), dedicated short message protocol (DSRC Short Message Protocol, referred to as DSMP) and adaptation layer (Adaptation layer), wherein DSRC is dedicated short range communication (Dcdicated Short Range Communication).
[0082] like Figure 3 As shown, it shows a schematic diagram of the cross-layer interaction process for establishing unicast communication. The main interaction process for successfully establishing a unicast link connection considers the interaction between cross-layers, and the interaction process mainly includes:
[0083] 1. Address interaction process:
[0084] RUS side: the application layer sends a unicast service request to the DME; the DME sends a DSM request to the DSMP; the DSMP sends a DSA (bearer unicast service announcement) to the DSMP of the OBU;
[0085] OBU side: OBU's DSMP sends a DSM indication to DME, DME sends a unicast service indication to the application layer; the application layer sends a unicast service request to DME; DME sends a DSM request to DSMP; DSMP sends a DSA (bearing unicast service response) to RSU's DSMP;
[0086] RUS side: DSMP receives DSA (bearer unicast service response) and sends DSM indication to DME; DME sends DME unicast service indication to the application layer;
[0087] 2. Data interaction process
[0088] The application layer on the RSU side sends a DSM request to the DSMP, the DSMP sends a DSM (carrying unicast data) to the DSMP of the OBU, and the DSMP sends a DSM indication to the application layer. The same is true for the OBU side.
[0089] III. Explanation of DSM and DSA
[0090] 1. DSM
[0091] The DSM data frame consists of two parts: DSMP Header and data. The DSMP Header contains an AID field to distinguish data of different applications. The details are shown in Table 1 below:
[0092]
[0093] Table 1. DSM data frame structure
[0094] 2.DSA
[0095] The LTE-based vehicle networking wireless communication technology dedicated service announcement DSA should be encapsulated in the data part of DSM, and the AID in DSM is set to the AID value corresponding to DSA. The data frame format of DSA is shown in Table 2:
[0096]
[0097]
[0098] Table 2. DSM data frame structure
[0099] Specifically, the expanded format of the DSA Header field is shown in Table 3 below:
[0100]
[0101] Table 3. DSA Header field expansion format
[0102] Specifically, the expanded format of the Application Info field of DSA is shown in Table 4 below:
[0103] 1 byte variable variable Application Info Count AID Application Extension Application information count Application Identification Application extension domain
[0104] Table 4.DSA Application Info Format Fields
[0105] In summary, the relationship between DSA and DSM is as follows Figure 4 As shown, AID1 indicates that the corresponding current DSM data part is DSA, and AID2 is used to set the application identifier (application identifier) of DSA.
[0106] 4. Safe Mode
[0107] In the road toll service scenario, two safety modes are defined. The system can complete the toll service process in any of the safety modes, which mainly include the following two safety modes:
[0108] Security Mode 1: Utilize the LTE-based IoV wireless communication security certificate management system to achieve vehicle-side and road-side identity authentication, thereby realizing the charging and payment process.
[0109] Security Mode 2: Utilize the security mechanism of the current ETC electronic toll collection system, refer to GB / T20851.4-2019, implement access permission, information authentication, and encryption protection at the application layer, thereby realizing the charging and payment process.
[0110] Specifically, the message layer operations of the near field payment service include:
[0111] 1) Sending and receiving near-field payment service announcement information RST;
[0112] 2) Sending and receiving VSI (near field payment service response information);
[0113] 3) Sending and receiving Action-Request, a data request message for near-field payment services;
[0114] 4) Sending and receiving near-field payment service data response information Action-Response;
[0115] 5) Sending and receiving Event-Report, the near-field payment service link release information.
[0116] The message set of the near-field payment service message layer shall comply with the provisions of YD / T 3977-2021.
[0117] 5. Unicast communication process based on security mode 1
[0118] For unicast services based on LTE-V2X, under the premise that OBU and RSU have valid V2X certificates, OBU can use the certificate mechanism to complete key negotiation with RSU and finally realize secure communication of unicast links. The specific process is as follows:
[0119] 1. The RSU sends a unicast service announcement message (for example, the BST message of ETC). The SPDU encapsulating the announcement message must carry the certificate used by the RSU and the signature of the message;
[0120] 2. After receiving the SPDU, the OBU first verifies whether the certificate used by the RSU is legal, and then verifies whether the signature of the message is correct;
[0121] 3. If both the certificate and signature are verified, the OBU generates a symmetric key for subsequent encryption of data;
[0122] 4. The OBU uses the public key in the current certificate of the RSU to encrypt the randomly generated symmetric key to obtain the encrypted symmetric key; the OBU generates a unicast service announcement response message (for example, the VST message of ETC) and encrypts the message using the symmetric key
[0123] 5. The OBU sends the SPDU (Session Protocol Data Unit) encapsulating the unicast service announcement response message to the RSU, and carries the symmetric key encrypted with the RSU public key; at the same time, the OBU needs to sign the message with its own certificate and attach the certificate to the SPDU;
[0124] 6. After receiving the response message from OBU, RSU verifies whether the certificate used by OBU is legal and whether the signature of the verification message is correct;
[0125] 7. If both the certificate and the signature are verified, the RSU uses the private key corresponding to the public key in its own certificate to decrypt the symmetric key; and uses the symmetric key to decrypt the unicast service announcement response message;
[0126] 8. At this point, the symmetric key negotiation is completed between the RSU and the OBU, and the OBU's response information is transmitted to the RSU in an encrypted manner. In subsequent communications, both parties can use this key to keep the communication content confidential.
[0127] Considering the unification of LTE-V2X unicast security mechanism and broadcast security mechanism, it is recommended to use the existing LTE-V2X security mechanism for unicast communication.
[0128] 6. Unicast communication process based on security mode 2
[0129] Taking ETC, a typical application of near-field payment, as an example, its security mechanism has also been defined in the transportation industry (for example, GB / T 20851.3 and GB / T 20851.4). In terms of function, the security protection used includes:
[0130] Access permission: Permission credentials must be provided to access data, and access is allowed only after OBU verification;
[0131] Information authentication: A set of authentication codes is transmitted along with key data, and the data is judged as legitimate only after verification by the RSU;
[0132] Encryption protection: Encrypt data during transmission.
[0133] Specifically, taking the OBU completing the access permission to the RSU as an example, one implementation method defined in the standard is:
[0134] 1. RSU sends a BST message to OBU, including charging related information;
[0135] 2. OBU sends a VST message to RSU, carrying system information (including contactSerialNumber) and a random number rndOBE.
[0136] 3. RSU generates access permission based on system information and random numbers, and sends it to OBU;
[0137] 4. After receiving the access permission, OBU verifies the validity of the access permission, and completes the access permission to RSU after passing it. Then the vehicle information, etc. are sent to RSU.
[0138] If the corresponding security mode identification mechanism is not specially introduced, the terminal can only distinguish the currently used security mode through the content and format of the message set at the application layer. However, the actual security modes based on LTE-V2X and ETC are very different in the encryption process and the content of the information transmitted. It is difficult to distinguish whether the specific reason for the current message interaction failure is due to a security mode identification error or an information transmission error caused by other problems by only judging whether the message set is decrypted successfully or not or the message content format. And it takes multiple attempts to correctly identify the security mode, which increases the complexity of processing and the time of interaction.
[0139] Specifically, the embodiments of the present invention provide a unicast communication method, device and terminal for the Internet of Vehicles, which solve the problem in the prior art that the security mode identification method of the unicast communication process has high processing complexity and is prone to errors, resulting in a long interaction time.
[0140] First embodiment
[0141] like Figure 5 As shown, an embodiment of the present invention provides a unicast communication method of a vehicle network, which is applied to a first terminal, wherein the first terminal may include: a roadside device RSU, an onboard unit OBU and a handheld terminal VRU, etc. The method specifically includes the following steps:
[0142] Step 101: Send a first message frame and indicate the security mode used by the first message frame in a first manner; wherein the first message frame includes at least one of the following: a first dedicated service announcement DSA frame for establishing a unicast link, a first dedicated short message DSM for transmitting unicast service data, and a second DSA frame for releasing a unicast link.
[0143] Specifically, the safety modes include:
[0144] Security Mode 1: Utilize the LTE-based IoV wireless communication security certificate management system to achieve vehicle-side and road-side identity authentication, thereby realizing the charging and payment process;
[0145] Security Mode 2: Utilize the security mechanism of the current ETC electronic toll collection system, refer to GB / T20851.4-2019, implement access permission, information authentication, and encryption protection at the application layer, thereby realizing the charging and payment process.
[0146] It should be noted that the first DSA frame is used to carry unicast service announcements, and the first DSA frame is generated by the application layer / message layer of the first terminal through a cross-layer primitive to instruct the network layer after determining the security mode used for unicast communication, where the cross-layer primitive is: DME-UnicastService.request.
[0147] The second DSA frame is used to carry the link release message, and the second DSA frame is generated by the first terminal through a cross-layer primitive to instruct the network layer; wherein the cross-layer primitive is: DME-UnicastService.request.
[0148] The first dedicated short message DSM is used to carry service data, and the first dedicated short message DSM is generated by instructing the network layer through the cross-layer primitive DSM.request;
[0149] In the above embodiment, the first terminal sends a first message frame and indicates the security mode used by the first message frame in a first manner; wherein the first message frame includes at least one of the following: a first dedicated service announcement DSA frame for establishing a unicast link, a first dedicated short message DSM for unicast service data transmission, and a second DSA frame for releasing a unicast link. This solution can simplify the processing complexity of identifying the security mode and reduce the interactive processing time by indicating the security mode used by the first message frame. It avoids the complexity and easy misjudgment caused by implicitly judging the security mode through the message itself.
[0150] In one embodiment, the first method includes at least one of the following:
[0151] Type 1: the first message frame includes a first target field for indicating the security mode;
[0152] The security mode indicated in the first target field is a specific security mode or a security mode related parameter.
[0153] Exemplarily, the first target field of the first DSA frame and the second DSA frame includes: a reserved field (Reserved) or a frame header extension field (Header Extension), and the security mode related information indicated by the field should correspond to the security mode (security mode) and / or the security mode parameter (Security Mode parameter) in the primitive DME-UnicastService.request; it should be pointed out that the security mode (security mode) and / or the security mode parameter (Security Mode parameter) are new parameters in the primitive DME-UnicastService.request.
[0154] Exemplarily, the first target field of the first DSM includes: a reserved field (Reserved) or an extended field (Extension), and the security mode related information indicated by this field should correspond to the security mode in the primitive DSM.request; it should be noted that a new parameter security mode (Security mode) is added in the primitive DSM.request to indicate the security mode adopted in the current communication.
[0155] Type 2:
[0156] There is a predefined mapping relationship between the media access control MAC address corresponding to the first message frame and the security mode;
[0157] Specifically, the MAC address corresponding to the first message frame is the source MAC address (source MAC address) of the first terminal. When the first message frame uses a different source MAC address, the source MAC address value should at least be selected from [65537, 16777215], and the interval is divided into N sub-intervals according to the number N of security modes, and the sub-intervals are associated with corresponding security modes respectively.
[0158] Type 3:
[0159] There is a predefined mapping relationship between the application identifier AID corresponding to the first message frame and the security mode.
[0160] Specifically, the application identifier AID corresponding to the first message frame is used to distinguish different applications and is also used to associate different security modes.
[0161] Furthermore, in one embodiment, the first message frame is the first DSA frame, and after sending the first message frame, the method further includes:
[0162] Receiving a DSA response frame sent by a second terminal; wherein the DSA response frame is fed back based on the first DSA frame;
[0163] Determine the security mode used by the DSA response frame according to at least one of the following methods:
[0164] Determining, according to the first field in the DSA response frame, a security mode used by the DSA response frame;
[0165] Determine the security mode used by the DSA response frame according to a predefined mapping relationship between the MAC address corresponding to the DSA response frame and the security mode;
[0166] The security mode used by the DSA response frame is determined according to a predefined mapping relationship between the first AID in the DSA response frame and the security mode.
[0167] It should be noted that the DSA response frame is used to carry a unicast service announcement response. The first field in the DSA response frame may include: a reserved field (Reserved) or a frame header extension field (Header Extension); the MAC address corresponding to the DSA response frame may include: the source MAC address of the second terminal or the destination MAC address of the second terminal, and different security modes correspond to different MAC addresses or address ranges; when the DSA response frame uses different MAC addresses, the MAC address value should at least be selected from [65537,16777215], and the interval is divided into N sub-intervals according to the number N of security modes, and the sub-intervals are respectively associated with the corresponding security modes; the first AID in the DSA response frame is used to identify the service application type, and different first AIDs correspond to different security modes.
[0168] In one embodiment, after receiving the DSA response frame sent by the second terminal, the method further includes:
[0169] The first terminal generates a first association relationship between first information and a security mode used for unicast communication; the first information is relevant information for unicast communication between the first terminal and the second terminal;
[0170] According to the first association relationship, a security mode used by a target communication process is determined; wherein the target communication process includes at least one of the following: a data interaction process and a unicast communication link release process.
[0171] Specifically, the first information includes at least one of the following: MAC address information, application identifier, identity identifier, and an internal identifier of the dedicated management entity DME local information storage.
[0172] Exemplarily, the first association relationship between the first information and the security mode used for unicast communication may be as shown in the following Table 5 or 6:
[0173]
[0174]
[0175] Table 5. First association table
[0176] It should be noted that at least one of the security mode parameter information in Table 5 and the security mode used by the unicast service is selected.
[0177]
[0178] Table 6. First association table
[0179] In a specific embodiment, determining the security mode used by the target communication process according to the first association relationship includes:
[0180] receiving a second DSM sent by the second terminal;
[0181] A security mode used by the second DSM is determined according to the first association relationship.
[0182] In this embodiment, the first terminal can quickly identify the security mode used by the second DSM through the second association relationship maintained by itself, thereby avoiding the complexity and easy misjudgment caused by implicitly judging the security mode through the message itself.
[0183] In a specific embodiment, the method further comprises:
[0184] receiving a second DSM sent by a second terminal;
[0185] Determine the security mode used by the second DSM according to one of the following methods:
[0186] Determining a security mode used by the second DSM according to a second field in the second DSM; wherein the second field explicitly indicates the security mode used by the second DSM;
[0187] Determining a security mode used by the second DSM according to a predefined mapping relationship between a MAC address corresponding to the second DSM and a security mode;
[0188] The security mode used by the second DSM is determined according to a predefined mapping relationship between the second AID in the second DSM and the security mode.
[0189] It should be noted that the second field in the second DSM is: a reserved field (Reserved) or an extended domain field (Extension); the MAC address corresponding to the second DSM may include: the source MAC address of the second terminal or the destination MAC address of the second terminal, and different security modes correspond to different MAC addresses or address ranges; when the second DSM uses different MAC addresses, the MAC address value should at least be selected from [65537,16777215], and the interval is divided into N sub-intervals according to the number N of security modes, and the sub-intervals are respectively associated with the corresponding security modes; the second AID in the second DSM is used to identify that the data part is DSA, and different second AIDs correspond to different security modes.
[0190] Second embodiment
[0191] like Figure 6 As shown, the second embodiment of the present invention provides a unicast communication method for an Internet of Vehicles, which is applied to a second terminal and specifically includes the following steps:
[0192] Step 201, receiving a first message frame sent by a first terminal; wherein the first message frame includes at least one of the following: a first DSA frame for establishing a unicast link, a first DSM for transmitting unicast service data, and a second DSA frame for releasing a unicast link;
[0193] In this step, the first DSA frame is used to carry the unicast service announcement, and the first DSA frame is generated by the application layer / message layer of the first terminal through a cross-layer primitive to instruct the network layer after determining the security mode used for unicast communication, where the cross-layer primitive is: DME-UnicastService.request.
[0194] The second DSA frame is used to carry the link release message, and the second DSA frame is generated by the first terminal through a cross-layer primitive to instruct the network layer; wherein the cross-layer primitive is: DME-UnicastService.request.
[0195] The first dedicated short message DSM is used to carry service data, and the first dedicated short message DSM is generated by instructing the network layer through the cross-layer primitive DSM.request;
[0196] Step 202: Determine the security mode used by the first message frame according to the second method.
[0197] Specifically, the safety modes include:
[0198] Security Mode 1: Utilize the LTE-based IoV wireless communication security certificate management system to achieve vehicle-side and road-side identity authentication, thereby realizing the charging and payment process;
[0199] Security Mode 2: Utilize the security mechanism of the current ETC electronic toll collection system, refer to GB / T20851.4-2019, implement access permission, information authentication, and encryption protection at the application layer, thereby realizing the charging and payment process.
[0200] When sending a first message frame, the first terminal indicates the security mode used by the first message frame in a first manner, so that the second terminal determines the security mode used by the first message frame; wherein the first manner and the second manner correspond to each other.
[0201] In the above embodiment, the second terminal receives the first message frame and confirms the security mode used by the first message frame through the second method to perform secure communication in the subsequent process. This solution can simplify the processing complexity of identifying the security mode and reduce the interactive processing time by indicating the security mode used by the first message frame. It avoids the complexity brought by implicitly judging the security mode through the message itself and the problem of easy misjudgment.
[0202] Further, in one embodiment, when the first message frame is the first DSA frame, after receiving the first message frame sent by the first terminal, the method further includes:
[0203] The second terminal generates a second association relationship between second information and a security mode used for unicast communication; wherein the second information is relevant information for unicast communication between the second terminal and the first terminal.
[0204] Specifically, the second information includes at least one of the following: MAC address information, application identifier, identity identifier, and an internal identifier of the dedicated management entity DME local information storage.
[0205] Exemplarily, the first association relationship between the first information and the security mode used for unicast communication may be as shown in Table 5 or 6 above, which will not be described in detail here.
[0206] In a specific embodiment, the second method includes at least one of the following:
[0207] Type 1:
[0208] The first message frame includes a first target field for indicating the security mode;
[0209] The security mode indicated in the first target field is a specific security mode or a security mode related parameter.
[0210] Exemplarily, the first target field of the first DSA frame and the second DSA frame includes: a reserved field (Reserved) or a frame header extension field (Header Extension), and the security mode related information indicated by the field should correspond to the security mode (security mode) and / or the security mode parameter (Security Mode parameter) in the primitive DME-UnicastService.request; it should be pointed out that the security mode (security mode) and / or the security mode parameter (Security Mode parameter) are new parameters in the primitive DME-UnicastService.request.
[0211] Exemplarily, the first target field used for the first DSM includes: a reserved field (Reserved) or an extended field (Extension), and the security mode related information indicated by the field should correspond to the security mode in the primitive DSM.request; it should be noted that a new parameter security mode (Security mode) is added in the primitive DSM.request to indicate the security mode adopted in the current communication.
[0212] Type 2:
[0213] There is a predefined mapping relationship between the MAC address corresponding to the first message frame and the security mode;
[0214] Specifically, the MAC address corresponding to the first message frame is the source MAC address (source MAC address) of the first terminal. When the first message frame uses a different source MAC address, the source MAC address value should at least be selected from [65537, 16777215], and the interval is divided into N sub-intervals according to the number N of security modes, and the sub-intervals are associated with corresponding security modes respectively.
[0215] Type 3:
[0216] There is a predefined mapping relationship between the application identifier AID in the first message frame and the security mode.
[0217] Specifically, the application identifier AID corresponding to the first message frame is used to distinguish different applications and is also used to associate different security modes.
[0218] Type 4:
[0219] In the case where the first message frame is the first DSM or the second DSA frame, the second mode includes: the second association relationship.
[0220] Furthermore, in one embodiment, the above method further includes:
[0221] Sending a second message frame to the first terminal, and indicating the security mode used by the second message frame in a third manner; wherein the second message frame includes: a DSA response frame or a second DSM; and the DSA response frame is fed back according to the first DSA;
[0222] The third method includes at least one of the following:
[0223] The second message frame includes a second target field for indicating the security mode;
[0224] There is a predefined mapping relationship between the MAC address corresponding to the second message frame and the security mode;
[0225] There is a predefined mapping relationship between the application identifier AID corresponding to the second message frame and the security mode.
[0226] It should be noted that the second target field of the DSA response frame is a reserved field (Reserved) or a frame header extension field (Header Extension); the MAC address corresponding to the DSA response frame may include: the source MAC address of the second terminal or the destination MAC address of the second terminal, and different security modes correspond to different MAC addresses or address ranges; when the DSA response frame uses different MAC addresses, the MAC address value should at least be selected from [65537, 16777215], and the interval is divided into N sub-intervals according to the number N of existing security modes, and the sub-intervals are respectively associated with the corresponding security modes; the first AID in the DSA response frame is used to identify the service application type, and different first AIDs correspond to different security modes;
[0227] The second target field of the second DSM is a reserved field (Reserved) or an extended domain field (Extension); the MAC address corresponding to the second DSM may include: the source MAC address of the second terminal or the destination MAC address of the second terminal, and different security modes correspond to different MAC addresses or address ranges; when the second DSM uses different MAC addresses, the MAC address value should at least be selected from [65537,16777215], and the interval is divided into N sub-intervals according to the number N of existing security modes, and the sub-intervals are respectively associated with corresponding security modes; the second AID in the second DSM is used to identify that the data part is DSA, and different second AIDs correspond to different security modes.
[0228] The following describes the unicast process of the present application in conjunction with specific embodiments.
[0229] Example 1
[0230] Taking the first terminal as an RSU and the second terminal as an OBU as an example, the unicast communication process may include the following steps:
[0231] Step 11, during the link establishment process, the first terminal sends a first DSA frame, and indicates the security mode used by the first DSA frame through a first target field in the first DSA frame;
[0232] Step 12: During the link establishment process, the second terminal receives the first DSA frame, and determines the security mode used by the first DSA frame according to the first target field for indicating the security mode included in the first DSA frame;
[0233] Step 13, the second terminal generates a second association relationship between second information and a security mode used for unicast communication; wherein the second information is relevant information for unicast communication between the second terminal and the first terminal;
[0234] Step 14, during the link establishment process, the second terminal sends a DSA response frame to the first terminal, and indicates the security mode used through the second target field in the DSA response frame;
[0235] Step 15, during the link establishment process, the first terminal receives the DSA response frame, and determines the security mode used by the DSA response frame according to the second target field in the DSA response frame;
[0236] Step 16: The first terminal generates a first association relationship between first information and a security mode used for unicast communication; wherein the first information is related information of unicast communication between the second terminal and the first terminal;
[0237] Step 17, during data interaction between the first terminal and the second terminal, the first terminal receives the second DSM sent by the second terminal, and determines the security mode used by the second DSM according to the first association relationship stored in the first terminal;
[0238] Step 18, during data interaction between the first terminal and the second terminal, the second terminal receives the first DSM sent by the first terminal, and determines the security mode used by the first DSM according to the second association relationship stored in the second terminal;
[0239] Step 19, during the link release process, the first terminal sends a second DSA frame to the second terminal;
[0240] Step 20: The second terminal receives the second DSA frame, and determines the security mode used by the second DSA frame according to the second association relationship stored in the second terminal;
[0241] Step 21: The second terminal completes reception of the link release message (second DSA frame) and releases the unicast link.
[0242] Example 2
[0243] Taking the first terminal as an RSU and the second terminal as an OBU as an example, the unicast communication process may include the following steps:
[0244] Step 11, during the link establishment process, the first terminal sends a first DSA frame, and indicates the security mode used by the first DSA frame through a first target field in the first DSA frame;
[0245] Step 12: During the link establishment process, the second terminal receives the first DSA frame, and determines the security mode used by the first DSA frame according to the first target field for indicating the security mode included in the first DSA frame;
[0246] Step 13, the second terminal generates a second association relationship between second information and a security mode used for unicast communication; wherein the second information is relevant information for unicast communication between the second terminal and the first terminal;
[0247] Step 14, during the link establishment process, the second terminal sends a DSA response frame to the first terminal, and indicates the security mode used through the second target field in the DSA response frame;
[0248] Step 15, during the link establishment process, the first terminal receives the DSA response frame, and determines the security mode used by the DSA response frame according to the second target field in the DSA response frame;
[0249] Step 16: The first terminal generates a first association relationship between first information and a security mode used for unicast communication; wherein the first information is related information of unicast communication between the second terminal and the first terminal;
[0250] Step 17, during data interaction between the first terminal and the second terminal, the first terminal receives the second DSM sent by the second terminal, and determines the security mode used by the second DSM according to the first association relationship stored in the first terminal;
[0251] Step 18, during data interaction between the first terminal and the second terminal, the second terminal receives the first DSM sent by the first terminal, and determines the security mode used by the first DSM according to the second association relationship stored in the second terminal;
[0252] Step 19, during the link release process, the first terminal sends a second DSA frame to the second terminal;
[0253] Step 20, the second terminal receives the second DSA frame, and determines the security mode used by the second DSA frame according to the target field in the second DSA frame;
[0254] Step 21: The second terminal completes reception of the link release message (second DSA frame) and releases the unicast link.
[0255] Example 3
[0256] Taking the first terminal as an RSU and the second terminal as an OBU as an example, the unicast communication process may include the following steps:
[0257] Step 11, during the link establishment process, the first terminal sends a first DSA frame, and a predefined mapping relationship is established between the media access control MAC address corresponding to the first DSA frame and the security mode; or a predefined mapping relationship is established between the application identifier AID corresponding to the first DSA frame and the security mode, indicating the security mode used by the first DSA frame;
[0258] Step 12, during the link establishment process, the second terminal receives the first DSA frame, and determines the security mode used by the first DSA frame according to a predefined mapping relationship between a media access control MAC address corresponding to the first DSA frame and the security mode; or a predefined mapping relationship between an application identifier AID corresponding to the first DSA frame and the security mode;
[0259] Step 13, during the link establishment process, the second terminal sends a DSA response frame to the first terminal, and a predefined mapping relationship is established between the media access control MAC address corresponding to the DSA response frame and the security mode; or a predefined mapping relationship is established between the application identifier AID corresponding to the DSA response frame and the security mode, indicating the security mode used;
[0260] Step 14, during the link establishment process, the first terminal receives a DSA response frame, and determines the security mode used by the DSA response frame according to a predefined mapping relationship between a media access control MAC address corresponding to the DSA response frame and the security mode; or a predefined mapping relationship between an application identifier AID corresponding to the DSA response frame and the security mode;
[0261] Step 15, during data interaction between the first terminal and the second terminal, the first terminal receives a second DSM sent by the second terminal, and determines the security mode used by the second DSM according to a predefined mapping relationship between a media access control MAC address corresponding to the second DSM and the security mode; or a predefined mapping relationship between an application identifier AID corresponding to a frame corresponding to the second DSM and the security mode;
[0262] Step 16, during data interaction between the first terminal and the second terminal, the second terminal receives the first DSM sent by the first terminal, and determines the security mode used by the first DSM according to a predefined mapping relationship between a media access control MAC address corresponding to the first DSM and the security mode; or a predefined mapping relationship between an application identifier AID corresponding to a frame corresponding to the first DSM and the security mode;
[0263] Step 17, during the link release process, the first terminal sends a second DSA frame to the second terminal;
[0264] Step 18, the second terminal receives the second DSA frame, and determines the security mode used by the second DSA frame according to a predefined mapping relationship between a media access control MAC address corresponding to the second DSA frame and the security mode; or a predefined mapping relationship between an application identifier AID corresponding to the second DSA frame and the security mode;
[0265] Step 19: The second terminal completes reception of the link release message (second DSA frame) and releases the unicast link.
[0266] Example 4
[0267] Taking the first terminal as an RSU and the second terminal as an OBU as an example, the unicast communication process may include the following steps:
[0268] Step 11, during the link establishment process, the first terminal sends a first DSA frame, and indicates the security mode used by the first DSA frame through a first target field in the first DSA frame;
[0269] Step 12: During the link establishment process, the second terminal receives the first DSA frame, and determines the security mode used by the first DSA frame according to the first target field for indicating the security mode included in the first DSA frame;
[0270] Step 13, during the link establishment process, the second terminal sends a DSA response frame to the first terminal, and indicates the security mode used through the second target field in the DSA response frame;
[0271] Step 14, during the link establishment process, the first terminal receives the DSA response frame, and determines the security mode used by the DSA response frame according to the second target field in the DSA response frame;
[0272] Step 15, during the data interaction between the first terminal and the second terminal, the first terminal sends a first DSM to the second terminal, and indicates the security mode used by the first DSM according to the target field in the first DSM; the second terminal sends a second DSM to the first terminal, and indicates the security mode used by the second DSM according to the target field in the second DSM;
[0273] Step 16, during data interaction between the first terminal and the second terminal, the first terminal receives a second DSM sent by the second terminal, and determines a security mode used by the second DSM according to a second field in the second DSM; the second terminal receives a first DSM sent by the first terminal, and determines a security mode used by the first DSM according to a target field in the first DSM;
[0274] Step 17, during the link release process, the first terminal sends a second DSA frame to the second terminal, and indicates the security mode used by the second DSA frame through the target field in the second DSA frame;
[0275] Step 18, the second terminal receives the second DSA frame, and determines the security mode used by the second DSA frame according to the target field in the second DSA frame;
[0276] Step 19: The second terminal completes reception of the link release message (second DSA frame) and releases the unicast link.
[0277] The above is only an exemplary description, and the indication method and confirmation method of the security mode in different communication processes can be selected according to actual needs, and are not limited to the above examples. In the data interaction process between the first terminal and the second terminal, there is no limit on the number of DSM interactions, that is, the first DSM and the second DSM are only used to illustrate one DSM data interaction.
[0278] In the above scheme, by establishing an explicit security mode indication method at the network layer or maintaining information such as the security mode adopted by the unicast pair at the message layer, the complexity and easy misjudgment caused by implicitly judging the security mode through the message itself are avoided.
[0279] Third embodiment
[0280] like Figure 7 As shown, an embodiment of the present invention provides a unicast communication device 700 for an Internet of Vehicles, which is applied to a first terminal. The device 700 includes:
[0281] A first sending module 701 is used to send a first message frame and indicate a security mode used by the first message frame in a first manner;
[0282] The first message frame includes at least one of the following: a first dedicated service announcement DSA frame for establishing a unicast link, a first dedicated short message DSM for transmitting unicast service data, and a second DSA frame for releasing a unicast link.
[0283] Optionally, the first method includes at least one of the following:
[0284] The first message frame includes a first target field for indicating the security mode;
[0285] There is a predefined mapping relationship between the media access control MAC address corresponding to the first message frame and the security mode;
[0286] There is a predefined mapping relationship between the application identifier AID corresponding to the first message frame and the security mode.
[0287] Optionally, the first message frame is the first DSA frame. After sending the first message frame, the apparatus 700 further includes:
[0288] A response receiving module, configured to receive a DSA response frame sent by a second terminal; wherein the DSA response frame is fed back based on the first DSA frame;
[0289] The first determining module is configured to determine a security mode used by the DSA response frame according to at least one of the following methods:
[0290] Determining, according to the first field in the DSA response frame, a security mode used by the DSA response frame;
[0291] Determine the security mode used by the DSA response frame according to a predefined mapping relationship between the MAC address corresponding to the DSA response frame and the security mode;
[0292] The security mode used by the DSA response frame is determined according to a predefined mapping relationship between the first AID in the DSA response frame and the security mode.
[0293] Optionally, the device further comprises:
[0294] A first processing module, configured for the first terminal to generate a first association relationship between first information and a security mode used for unicast communication; the first information is relevant information for unicast communication between the first terminal and the second terminal;
[0295] The second determination module is used to determine the security mode used by the target communication process according to the first association relationship; wherein the target communication process includes at least one of the following: a data interaction process and a unicast communication link release process.
[0296] Optionally, the second determining module includes:
[0297] A receiving unit, configured to receive a second DSM sent by the second terminal;
[0298] A determining unit is used to determine a security mode used by the second DSM according to the first association relationship.
[0299] Optionally, the method further includes:
[0300] A second receiving module, configured to receive a second DSM sent by a second terminal;
[0301] The third determining module is configured to determine the security mode used by the second DSM according to one of the following methods:
[0302] Determining a security mode used by the second DSM according to a second field in the second DSM; wherein the second field explicitly indicates the security mode used by the second DSM;
[0303] Determining a security mode used by the second DSM according to a predefined mapping relationship between a MAC address corresponding to the second DSM and a security mode;
[0304] The security mode used by the second DSM is determined according to a predefined mapping relationship between the second AID in the second DSM and the security mode.
[0305] Optionally, the first information includes at least one of the following: MAC address information, application identifier, identity identifier, and an internal identifier of the dedicated management entity DME local information storage.
[0306] The device 700 corresponds to the method of the first embodiment described above. All implementation means in the first embodiment described above are applicable to the embodiment of the device 700 and can achieve the same technical effect.
[0307] Fourth embodiment
[0308] like Figure 8 As shown, a unicast communication device 800 of a vehicle network according to an embodiment of the present invention is applied to a second terminal, and the device 800 includes:
[0309] The first receiving module 801 is used to receive a first message frame sent by a first terminal; wherein the first message frame includes at least one of the following: a first DSA frame for establishing a unicast link, a first DSM for transmitting unicast service data, and a second DSA frame for releasing a unicast link;
[0310] The fourth determination module is used to determine the security mode used by the first message frame according to the second method.
[0311] Optionally, when the first message frame is the first DSA frame, the device further includes:
[0312] The second processing module is used for the second terminal to generate a second association relationship between second information and a security mode used for unicast communication; wherein the second information is relevant information for unicast communication between the second terminal and the first terminal.
[0313] Optionally, the second method includes at least one of the following:
[0314] The first message frame includes a first target field for indicating the security mode;
[0315] There is a predefined mapping relationship between the MAC address corresponding to the first message frame and the security mode;
[0316] There is a predefined mapping relationship between the application identifier AID in the first message frame and the security mode.
[0317] Optionally, when the first message frame is the first DSM or the second DSA frame, the second mode includes: the second association relationship.
[0318] Optionally, the second information includes at least one of the following: MAC address information, application identifier, identity identifier, and an internal identifier of the dedicated management entity DME local information storage.
[0319] Optionally, the device 800 further includes:
[0320] A second sending module is used to send a second message frame to the first terminal, and indicate the security mode used by the second message frame in a third manner; wherein the second message frame includes: a DSA response frame or a second DSM; and the DSA response frame is fed back according to the first DSA;
[0321] The third method includes at least one of the following:
[0322] The second message frame includes a second target field for indicating the security mode;
[0323] There is a predefined mapping relationship between the MAC address corresponding to the second message frame and the security mode;
[0324] There is a predefined mapping relationship between the application identifier AID corresponding to the second message frame and the security mode.
[0325] The device 800 is a device corresponding to the method in the second embodiment. All implementation means in the above method embodiment are applicable to the embodiment of the device 800 and can achieve the same technical effect.
[0326] Fifth embodiment
[0327] In order to better achieve the above goals, Fig. 9 As shown, the fifth embodiment of the present invention further provides a terminal, including:
[0328] A processor 900; and a memory 920 connected to the processor 900 via a bus interface, wherein the memory 920 is used to store programs and data used by the processor 900 when performing operations, and the processor 900 calls and executes the programs and data stored in the memory 920.
[0329] The transceiver 910 is connected to the bus interface and is used to receive and send data under the control of the processor 900 ; the processor 900 is used to read the program in the memory 920 .
[0330] Specifically, the transceiver 910 is used to send a first message frame and indicate a security mode used by the first message frame in a first manner;
[0331] The first message frame includes at least one of the following: a first dedicated service announcement DSA frame for establishing a unicast link, a first dedicated short message DSM for transmitting unicast service data, and a second DSA frame for releasing a unicast link.
[0332] Among them, Fig. 9In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by the processor 900 and various circuits of the memory represented by the memory 920 are linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 910 may be a plurality of components, namely, a transmitter and a transceiver, providing a unit for communicating with various other devices on a transmission medium. For different terminals, the user interface 930 may also be an interface capable of externally connecting to required internal devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like. The processor 900 is responsible for managing the bus architecture and general processing, and the memory 920 may store data used by the processor 900 when performing operations.
[0333] Optionally, the first method includes at least one of the following:
[0334] The first message frame includes a first target field for indicating the security mode;
[0335] There is a predefined mapping relationship between the media access control MAC address corresponding to the first message frame and the security mode;
[0336] There is a predefined mapping relationship between the application identifier AID corresponding to the first message frame and the security mode.
[0337] Optionally, the first message frame is the first DSA frame. After sending the first message frame, the transceiver 910 is further configured to receive a DSA response frame sent by the second terminal; wherein the DSA response frame is fed back based on the first DSA frame;
[0338] The processor 900 is configured to determine a security mode used by the DSA response frame according to at least one of the following methods:
[0339] Determining, according to the first field in the DSA response frame, a security mode used by the DSA response frame;
[0340] Determine the security mode used by the DSA response frame according to a predefined mapping relationship between the MAC address corresponding to the DSA response frame and the security mode;
[0341] The security mode used by the DSA response frame is determined according to a predefined mapping relationship between the first AID in the DSA response frame and the security mode.
[0342] Optionally, after receiving the DSA response frame sent by the second terminal, the processor 900 is configured to, by the first terminal, generate a first association relationship between first information and a security mode used for unicast communication; the first information is relevant information for unicast communication between the first terminal and the second terminal;
[0343] According to the first association relationship, a security mode used by a target communication process is determined; wherein the target communication process includes at least one of the following: a data interaction process and a unicast communication link release process.
[0344] Optionally, the processor 900 is used to: receive a second DSM sent by the second terminal; and determine a security mode used by the second DSM according to the first association relationship.
[0345] Optionally, the transceiver 910 is further configured to receive a second DSM sent by a second terminal;
[0346] The processor 900 is configured to determine the security mode used by the second DSM according to one of the following methods:
[0347] Determining a security mode used by the second DSM according to a second field in the second DSM; wherein the second field explicitly indicates the security mode used by the second DSM;
[0348] Determining a security mode used by the second DSM according to a predefined mapping relationship between a MAC address corresponding to the second DSM and a security mode;
[0349] The security mode used by the second DSM is determined according to a predefined mapping relationship between the second AID in the second DSM and the security mode.
[0350] Optionally, the first information includes at least one of the following: MAC address information, application identifier, identity identifier, and an internal identifier of the dedicated management entity DME local information storage.
[0351] The terminal provided by the present invention sends a first message frame and indicates the security mode used by the first message frame in a first manner; wherein the first message frame includes at least one of the following: a first dedicated service announcement DSA frame for establishing a unicast link, a first dedicated short message DSM for unicast service data transmission, and a second DSA frame for releasing a unicast link. By indicating the security mode used by the first message frame, this solution can simplify the processing complexity of identifying the security mode and reduce the interactive processing time. It avoids the complexity and easy misjudgment caused by implicitly judging the security mode through the message itself.
[0352] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or may be accomplished by instructing relevant hardware through a computer program, wherein the computer program includes instructions for executing part or all of the steps of the above method; and the computer program may be stored in a readable storage medium, and the storage medium may be any form of storage medium.
[0353] Sixth embodiment
[0354] In order to better achieve the above goals, Fig.10 As shown, the sixth embodiment of the present invention further provides a terminal, including:
[0355] A processor 1000; and a memory 1020 connected to the processor 1000 via a bus interface, wherein the memory 1020 is used to store programs and data used by the processor 1000 when performing operations, and the processor 1000 calls and executes the programs and data stored in the memory 1020.
[0356] The transceiver 1010 is connected to the bus interface and is used to receive and send data under the control of the processor 1000 ; the processor 1000 is used to read the program in the memory 1020 .
[0357] Specifically, the transceiver 1010 is used to receive a first message frame sent by a first terminal; wherein the first message frame includes at least one of the following: a first DSA frame for establishing a unicast link, a first DSM for transmitting unicast service data, and a second DSA frame for releasing a unicast link;
[0358] The processor 1000 is configured to determine, according to a second manner, a security mode used by the first message frame.
[0359] Among them, Fig.10 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by the processor 1000 and various circuits of the memory represented by the memory 1020 are linked together. The bus architecture may also link together various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1010 may be a plurality of components, namely, a transmitter and a transceiver, providing a unit for communicating with various other devices on a transmission medium. For different terminals, the user interface 1030 may also be an interface capable of externally connecting or internally connecting required devices, and the connected devices include but are not limited to a keypad, a display, a speaker, a microphone, a joystick, and the like. The processor 1000 is responsible for managing the bus architecture and general processing, and the memory 1020 may store data used by the processor 1000 when performing operations.
[0360] Optionally, when the first message frame is the first DSA frame, after receiving the first message frame sent by the first terminal, the processor 1000 is further configured to:
[0361] The second terminal generates a second association relationship between second information and a security mode used for unicast communication; wherein the second information is relevant information for unicast communication between the second terminal and the first terminal.
[0362] Optionally, the second method includes at least one of the following:
[0363] The first message frame includes a first target field for indicating the security mode;
[0364] There is a predefined mapping relationship between the MAC address corresponding to the first message frame and the security mode;
[0365] There is a predefined mapping relationship between the application identifier AID in the first message frame and the security mode.
[0366] Optionally, when the first message frame is the first DSM or the second DSA frame, the second mode includes: the second association relationship.
[0367] Optionally, the second information includes at least one of the following: MAC address information, application identifier, identity identifier, and an internal identifier of the dedicated management entity DME local information storage.
[0368] Optionally, the processor 1000 is further configured to: send a second message frame to the first terminal, and indicate a security mode used by the second message frame in a third manner; wherein the second message frame includes: a DSA response frame or a second DSM; and the DSA response frame is fed back according to the first DSA;
[0369] The third method includes at least one of the following:
[0370] The second message frame includes a second target field for indicating the security mode;
[0371] There is a predefined mapping relationship between the MAC address corresponding to the second message frame and the security mode;
[0372] There is a predefined mapping relationship between the application identifier AID corresponding to the second message frame and the security mode.
[0373] The terminal provided by the present invention receives a first message frame and confirms the security mode used by the first message frame through a second method to perform secure communication in a subsequent process. The solution can simplify the processing complexity of identifying the security mode and reduce the interactive processing time by indicating the security mode used by the first message frame. The complexity caused by implicitly judging the security mode through the message itself and the problem of easy misjudgment are avoided.
[0374] Those skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware, or may be accomplished by instructing relevant hardware through a computer program, wherein the computer program includes instructions for executing part or all of the steps of the above method; and the computer program may be stored in a readable storage medium, and the storage medium may be any form of storage medium.
[0375] In addition, a specific embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the method in the first embodiment or the second embodiment are implemented. And the same technical effect can be achieved, so it will not be repeated here to avoid repetition.
[0376] In addition, it should be noted that in the apparatus and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. Moreover, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order, and some steps can be performed in parallel or independently of each other. For those of ordinary skill in the art, it is understood that all or any steps or components of the method and apparatus of the present invention can be implemented in any computing device (including processors, storage media, etc.) or a network of computing devices in hardware, firmware, software or a combination thereof, which can be achieved by those of ordinary skill in the art using their basic programming skills after reading the description of the present invention.
[0377] Therefore, the purpose of the present invention can also be achieved by running a program or a group of programs on any computing device. The computing device can be a well-known general device. Therefore, the purpose of the present invention can also be achieved by simply providing a program product containing a program code that implements the method or device. That is to say, such a program product also constitutes the present invention, and the storage medium storing such a program product also constitutes the present invention. Obviously, the storage medium can be any well-known storage medium or any storage medium developed in the future. It should also be pointed out that in the device and method of the present invention, it is obvious that each component or each step can be decomposed and / or recombined. These decompositions and / or recombinations should be regarded as equivalent schemes of the present invention. In addition, the steps of performing the above-mentioned series of processing can naturally be performed in chronological order according to the order of description, but it is not necessary to perform them in chronological order. Some steps can be performed in parallel or independently of each other.
[0378] The above is a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A unicast communication method for an Internet of Vehicles, It is characterized in that Applied to a first terminal, the method includes: Sending a first message frame, and indicating a security mode used by the first message frame in a first manner; Wherein, the first message frame includes: a first dedicated service announcement DSA frame for unicast link establishment; After sending the first message frame, the method further includes: Receiving a DSA response frame sent by a second terminal; wherein the DSA response frame is fed back based on the first DSA frame; Determine the security mode used by the DSA response frame based on the first field in the DSA response frame.
2. The unicast communication method of the Internet of Vehicles according to claim 1, It is characterized in that The first method includes at least one of the following: The first message frame includes a first target field for indicating the security mode; There is a predefined mapping relationship between the media access control MAC address corresponding to the first message frame and the security mode; There is a predefined mapping relationship between the application identifier AID corresponding to the first message frame and the security mode.
3. The unicast communication method of the Internet of Vehicles according to claim 1, It is characterized in that After receiving the DSA response frame sent by the second terminal, the method further includes: The first terminal generates a first association relationship between first information and a security mode used for unicast communication; the first information is relevant information for unicast communication between the first terminal and the second terminal; According to the first association relationship, a security mode used by a target communication process is determined; wherein the target communication process includes at least one of the following: a data interaction process and a unicast communication link release process.
4. The unicast communication method of the Internet of Vehicles according to claim 3, It is characterized in that The step of determining the security mode used by the target communication process according to the first association relationship includes: receiving a second DSM sent by the second terminal; A security mode used by the second DSM is determined according to the first association relationship.
5. The unicast communication method of the Internet of Vehicles according to claim 1, It is characterized in that The method further comprises: receiving a second DSM sent by a second terminal; Determine the security mode used by the second DSM according to one of the following methods: Determining a security mode used by the second DSM according to a second field in the second DSM; wherein the second field explicitly indicates the security mode used by the second DSM; Determining a security mode used by the second DSM according to a predefined mapping relationship between a MAC address corresponding to the second DSM and a security mode; The security mode used by the second DSM is determined according to a predefined mapping relationship between the second AID in the second DSM and the security mode.
6. The unicast communication method of the Internet of Vehicles according to claim 3, It is characterized in that The first information includes at least one of the following: MAC address information, application identification, identity identification, and an internal identifier of the dedicated management entity DME local information storage.
7. A unicast communication method for an Internet of Vehicles, It is characterized in that Applied to the second terminal, the method includes: Receive a first message frame sent by a first terminal; wherein the first message frame includes: a first DSA frame for establishing a unicast link; According to the second manner, determining a security mode used by the first message frame; The method further comprises: Send a DSA response frame to the first terminal, and indicate the security mode used by the DSA response frame in the following manner: The DSA response frame includes a first field for indicating the security mode.
8. The unicast communication method of the Internet of Vehicles according to claim 7, It is characterized in that In a case where the first message frame is the first DSA frame, after receiving the first message frame sent by the first terminal, the method further includes: The second terminal generates a second association relationship between second information and a security mode used for unicast communication; wherein the second information is relevant information for unicast communication between the second terminal and the first terminal.
9. The unicast communication method of the Internet of Vehicles according to claim 7, It is characterized in that The second method includes at least one of the following: The first message frame includes a first target field for indicating the security mode; There is a predefined mapping relationship between the MAC address corresponding to the first message frame and the security mode; There is a predefined mapping relationship between the application identifier AID in the first message frame and the security mode.
10. The unicast communication method of the Internet of Vehicles according to claim 8, It is characterized in that In the case where the first message frame is a first DSM or a second DSA frame, the second mode includes: the second association relationship.
11. The unicast communication method of the Internet of Vehicles according to claim 8, It is characterized in that The second information includes at least one of the following: MAC address information, application identification, identity identification, and an internal identifier of the dedicated management entity DME local information storage.
12. The unicast communication method of the Internet of Vehicles according to claim 7, It is characterized in that The method further comprises: Sending a second message frame to the first terminal, and indicating the security mode used by the second message frame in a third manner; wherein the second message frame includes: a second DSM; The third method includes at least one of the following: The second message frame includes a second target field for indicating the security mode; There is a predefined mapping relationship between the MAC address corresponding to the second message frame and the security mode; There is a predefined mapping relationship between the application identifier AID corresponding to the second message frame and the security mode.
13. A terminal, include: A transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the processor implements the steps of the unicast communication method for the Internet of Vehicles as described in any one of claims 1 to 6, or implements the steps of the unicast communication method for the Internet of Vehicles as described in any one of claims 7 to 12.
14. A unicast communication device for an Internet of Vehicles, It is characterized in that Applied to a first terminal, the device includes: A first sending module, configured to send a first message frame and indicate a security mode used by the first message frame in a first manner; Wherein, the first message frame includes: a first dedicated service announcement DSA frame for unicast link establishment; The device also includes: A response receiving module, configured to receive a DSA response frame sent by a second terminal; wherein the DSA response frame is fed back based on the first DSA frame; The first determination module is used to determine the security mode used by the DSA response frame according to the first field in the DSA response frame.
15. A unicast communication device for an Internet of Vehicles, It is characterized in that Applied to a second terminal, the device includes: A first receiving module is configured to receive a first message frame sent by a first terminal; wherein the first message frame includes: a first DSA frame for establishing a unicast link; A first determining module, configured to determine a security mode used by the first message frame according to a second manner; In a case where the first message frame is the first DSA frame, the apparatus further includes: The second sending module is used to send a DSA response frame to the first terminal, and indicate the security mode used by the DSA response frame in the following manner: The DSA response frame includes a first field for indicating the security mode.
16. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, it implements the steps of the unicast communication method for the Internet of Vehicles as described in any one of claims 1 to 6, or implements the steps of the unicast communication method for the Internet of Vehicles as described in any one of claims 7 to 12.
Citation Information
Patent Citations
Method and apparatus for allocating bandwidth of wireless network, and method and apparatus for transmitting and receiving data on the network
CN101184007A
Apparatus and method for transmitting a MAC PDU based on MAC header type information
CN102577268A
Car networking information transmission method and related equipment
CN106559337A
Communication method and device
CN113228717A
Roll-over of identifiers and keys for unicast vehicle to vehicle communication links
US20190364424A1
