WO2023020148A1 - 一种单播连接建立异常处理方法及装置 - Google Patents
一种单播连接建立异常处理方法及装置 Download PDFInfo
- Publication number
- WO2023020148A1 WO2023020148A1 PCT/CN2022/104228 CN2022104228W WO2023020148A1 WO 2023020148 A1 WO2023020148 A1 WO 2023020148A1 CN 2022104228 W CN2022104228 W CN 2022104228W WO 2023020148 A1 WO2023020148 A1 WO 2023020148A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- message
- identifier
- address
- mac address
- unicast connection
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/40—Connection management for selective distribution or broadcast
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/40—Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/40—Network security protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/12—Detection or prevention of fraud
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/12—Detection or prevention of fraud
- H04W12/121—Wireless intrusion detection systems [WIDS]; Wireless intrusion prevention systems [WIPS]
- H04W12/122—Counter-measures against attacks; Protection against rogue devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/11—Allocation or use of connection identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/18—Management of setup rejection or failure
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2101/00—Indexing scheme associated with group H04L61/00
- H04L2101/60—Types of network addresses
- H04L2101/618—Details of network addresses
- H04L2101/622—Layer-2 addresses, e.g. medium access control [MAC] addresses
Definitions
- the present application relates to the field of Internet of Vehicles communication, in particular to a method and device for handling exceptions in unicast connection establishment.
- the Internet of Vehicle (IOV) technology can realize the exchange and sharing of intelligent information (such as road condition information, service information, etc.) between vehicles and X (people, vehicles, roads, clouds, etc.), which greatly facilitates the Communication with X.
- intelligent information such as road condition information, service information, etc.
- the application discloses a method and device for handling abnormalities in unicast connection establishment, which can effectively solve the problem of abnormal unicast connection establishments, improve the efficiency of establishing unicast connections, and ensure the smooth execution of unicast services between communication parties.
- the present application provides a method for handling exceptions in unicast connection establishment, which is applied to a first device, and the method includes: receiving a first message sent by a second device, and the first message is used to request the first device to communicate with the second The device establishes a unicast connection, and the first message carries the first media access control MAC address, address identifier and security mechanism of the second device; according to the first message, it is determined that the establishment of the unicast connection between the second device and the first device is abnormal; Sending a second message to the second device, where the second message carries the first MAC address, an address identifier and an error identifier, where the error identifier is used to indicate the cause of the abnormal establishment of the unicast connection.
- the first device may be a Road Side Unit (Road Side Unit, RSU), Multi-Access Edge Computing (Multi-Access Edge Computing, MEC), an On Board Unit (OBU), an intelligent gas station, an intelligent signal light, Portable mobile devices (such as mobile phones, tablets, etc.), or other sensors or devices with communication functions such as components and chips in portable mobile devices.
- RSU Road Side Unit
- MEC Multi-Access Edge Computing
- OBU On Board Unit
- the first device may also be a system consisting of an RSU and an MEC, or a system consisting of an RSU and a sensor, or a system consisting of an RSU, an MEC, and a sensor.
- the second device may be a vehicle-mounted unit, a smart gas station, a smart signal light, a portable mobile device (such as a mobile phone, a tablet, etc.), or other sensors or devices with communication functions such as components and chips in a portable mobile device. Not specifically limited.
- the security mechanism refers to the security mode or security protection method adopted by the device during communication.
- the security mechanism may be a security mechanism based on a symmetric key, a security mechanism based on a certificate, etc., and is not specifically limited in this embodiment of the application.
- the address identification may identify the second device.
- the address identifier may be a device identifier of the second device, a random number, or a character string generated according to the MAC address of the second device and the device identifier, etc., which are not specifically limited in this embodiment of the present application.
- the first device can effectively distinguish different devices with the same MAC address based on the address identification, and can accurately indicate the cause of the abnormal establishment of the unicast connection between the second device and the first device based on the error identification.
- Messages such as identifiers and error identifiers can effectively solve the problem of abnormal establishment of unicast connections, help to improve the efficiency of establishing unicast connections, and ensure the normal execution of unicast services between communication parties.
- determining that the unicast connection between the second device and the first device is abnormal includes: determining that the first MAC address is the same as the second MAC address of the third device based on a judgment result that the first MAC address The address is the same as the second MAC address of the third device, where the third device is a device requesting to establish a unicast connection with the first device; based on the judgment result that the security mechanism of the second device does not match the security mechanism supported by the first device , determining that the security mechanism of the second device does not match the security mechanism supported by the first device; or determining that the message structure of the first message is wrong based on a judgment result that the message structure of the first message is wrong.
- the fact that the first MAC address is the same as the second MAC address of the third device means that there is a conflict between the first MAC address of the second device, which will cause abnormal unicast connection establishment; the security mechanism of the second device is different from that supported by the first device If the security mechanism does not match, it means that the first device and the second device encrypt and decrypt information in different ways during the interaction process, which will lead to abnormal unicast connection establishment; the wrong message structure of the first message means that the first device cannot parse or accurately Parse the first message, which will cause an exception in the establishment of a unicast connection.
- the first MAC address is a MAC address
- the second message carries the first MAC address, including: the first MAC address is determined by the destination MAC address field of the second message bearer.
- the first MAC address is carried by the destination MAC address field of the second message, that is, the first MAC address is the Destination Layer 2 ID of the second message.
- the second message carries the address identifier and the error identifier, including: the address identifier and the error identifier of the second device are carried in the Header Extension field of the dedicated service announcement DSA message frame of the second message; or the second The address identifier and error identifier of the device are carried in the Application Extension field in the DSA message frame of the second message.
- the second message carries the address identifier and error identifier of the second device, so that the receiving end of the second message can quickly determine whether the unicast connection with the first device is abnormal according to the address identifier, and indicate according to the error identifier
- the cause of the abnormal establishment of the unicast connection is processed accordingly, which is beneficial to solve the problem of the abnormal establishment of the unicast connection between the communication parties.
- the first MAC address is multiple MAC addresses
- the second message also includes a dedicated application identifier, which is used to indicate that the unicast connection is abnormally established, and the dedicated application identifier
- the application identification AID field carried in the dedicated short message DSM message frame of the second message; the destination MAC address field of the second message is used to carry the conversion value of the dedicated application identification.
- the second device when the second device is multiple devices, when the destination MAC address field of the second message is used to carry the conversion value of the dedicated application identifier, it can be known that the second message carries the MAC addresses of multiple devices , so that the number of transmission times of the second message can be reduced, effectively reducing the consumption of network resources.
- the second message carries the first MAC address, address identifier and error identifier, including: the first MAC address, address identifier and error identifier are carried in the header extension field Header in the dedicated service announcement DSA message frame of the second message Extension field; or the first MAC address, address identifier and error identifier are carried in the Application Extension field of the DSA message frame of the second message.
- the second message in the case of the second device is a plurality of devices, the second message carries a plurality of MAC addresses, a plurality of address identifiers and at least one error identifier, through a second message can inform the communication with the first device
- Multiple devices with abnormal unicast connection establishment can help improve the efficiency of unicast connection establishment and effectively reduce the consumption of network resources.
- the address identifier of the second device is carried by at least one of the DSA identifier DSA Identifier field and the Content Count field in the dedicated service announcement DSA message frame of the first message.
- the first message carries the address identifier of the second device, and the address identifier enables the receiving end of the first message (that is, the first device) to effectively distinguish different devices with the same MAC address.
- the address identifier of the second device is carried in the Header Extension field of the dedicated service announcement DSA message frame of the first message.
- the first message carries the address identifier of the second device, and the address identifier enables the receiving end of the first message (that is, the first device) to effectively distinguish different devices with the same MAC address.
- the second message is sent by the network layer or the application layer of the first device.
- the network layer is the network layer in the wireless communication technology of the Internet of Vehicles based on Long Term Evolution (LTE).
- LTE Long Term Evolution
- the management sublayer in the network layer can be used to complete functions such as system configuration and maintenance.
- the data sublayer in the network layer It can be used to transmit data streams between application layers and data streams between management entities of different devices or between management entities and applications;
- the application layer is the application layer in the LTE-based Internet of Vehicles wireless communication technology, and the application layer is mainly used to process application services application layer business logic, for example, generating instant messages, unicast service announcements, etc.
- the interaction between the network layer and the application layer can be realized through cross-layer primitives.
- the network layer of the first device can send the second message, and the network layer of the first device can also determine that the unicast connection between the second device and the first device is abnormal according to the first message, which can be found faster The unicast link establishes an abnormal situation and responds quickly, while saving the consumption of upper-layer resources in the first device.
- the application layer of the first device can determine the abnormality of the establishment of the unicast connection between the second device and the first device according to the first message and send the second message, which is beneficial to reduce the data processing of other layers in the first device Pressure, the handling method is relatively flexible.
- the present application provides a method for handling exceptions in unicast connection establishment, which is applied to a second device.
- the method includes: sending a first message to the first device, and the first message is used to request that the first device communicate with the second device Establishing a unicast connection, the first message carrying the first MAC address of the second device, the first address identifier, and the security mechanism; receiving the second message sent by the first device, the second message carrying at least one MAC address, At least one address identifier and an error identifier, where the error identifier is used to indicate the cause of the abnormal establishment of the unicast connection; according to the second message, it is determined that the establishment of the unicast connection between the second device and the first device is abnormal; and an exception handling operation is performed according to the error identifier.
- an address identifier is added to the content carried in the first message, and the address identifier can identify the second device; according to the error identifier in the second message, the second device, It can accurately know the cause of abnormal unicast connection establishment between itself and the first device, thereby effectively solving the problem of abnormal unicast connection establishment, which is conducive to improving the efficiency of unicast connection establishment and ensuring unicast services between communication parties normal execution.
- performing the exception handling operation according to the error identifier may be: reselecting the first MAC address when the error identifier indicates that the first MAC address has a conflict.
- performing the exception handling operation according to the error identifier may be: reselecting the security mechanism of the second device when the error identifier indicates that the security mechanism of the second device does not match the security mechanism supported by the first device.
- performing the exception handling operation according to the error identifier may be: re-checking the message structure of the first message when the error identifier indicates that the message structure of the first message is wrong.
- determining, according to the second message, that the establishment of the unicast connection between the second device and the first device is abnormal includes: when the at least one MAC address is the first MAC address and the at least one address identifier is the first address identifier, It is determined that the establishment of the unicast connection between the second device and the first device is abnormal.
- the MAC address and address identifier carried in the second message can enable the receiving end of the second message to uniquely determine that the establishment of the unicast connection between itself and the first device is abnormal.
- the second message carries at least one MAC address, at least one address identifier, and an error identifier, including: the at least one MAC address is carried by the destination MAC address field of the second message; the at least one address identifier and the error identifier are carried in The Header Extension field in the dedicated service announcement DSA message frame of the second message, or the above-mentioned at least one address identifier and error identifier are carried in the Application Extension field in the DSA message frame of the second message.
- the address identifier and error identifier carried in the second message enable the receiving end of the second message to quickly determine whether the unicast connection establishment with the first device is abnormal and whether the unicast connection is established according to the error identifier according to the address identifier. Corresponding processing is performed on the cause of the abnormality, which is beneficial to solving the problem of abnormal establishment of the unicast connection between the communication parties.
- the second message also includes a dedicated application identifier, which is used to indicate that the unicast connection is abnormally established, and the dedicated application identifier is carried in the application identifier AID field in the dedicated short message DSM message frame of the second message, according to the second
- the message determines that the establishment of the unicast connection between the second device and the first device is abnormal, which may be: when the content carried in the destination MAC address field of the second message includes the conversion value of the dedicated application identifier, and the at least one MAC address includes the first MAC address address and the at least one address identifier includes the first address identifier, it is determined that the establishment of the unicast connection between the second device and the first device is abnormal.
- the second message when the destination MAC address field of the second message is used to carry the conversion value of the dedicated application identifier, it can be known that the second message carries multiple MAC addresses and multiple address identifiers, and when the second message carries the second In the case of the MAC address and address identifier of the device, the second device can quickly determine that the establishment of the unicast connection between itself and the first device is abnormal.
- the second message carries at least one MAC address, at least one address identifier, and error identifier, including: the above-mentioned at least one MAC address, at least one address identifier, and error identifier are carried in a dedicated service announcement DSA message frame of the second message The Header Extension field of the header extension field; or the above-mentioned at least one MAC address, at least one address identifier and error identifier are carried in the Application Extension field of the DSA message frame of the second message.
- the second message can carry multiple MAC addresses and multiple address identifiers. Through such a second message, multiple devices that have abnormal unicast connection establishment with the first device can be notified at the same time, which is beneficial to improve the establishment of a single The efficiency of the broadcast connection can effectively reduce the consumption of network resources.
- the first address identifier is carried by at least one of the DSA identifier DSA Identifier field and the Content Count field in the dedicated service announcement DSA message frame of the first message.
- the first message carries the first address identifier, which enables the receiving end of the first message (that is, the first device) to effectively distinguish different devices with the same MAC address.
- the first address identifier is carried in the Header Extension field of the dedicated service announcement DSA message frame of the first message.
- the first message carries the first address identifier, which enables the receiving end of the first message (that is, the first device) to effectively distinguish different devices with the same MAC address.
- the present application provides a device for processing an abnormal establishment of a unicast connection, the device comprising: a receiving unit, configured to receive a first message sent by the second device, and the first message is used to request the first device to communicate with the The second device establishes a unicast connection, and the first message carries the first media access control MAC address, address identifier and security mechanism of the second device; the processing unit is configured to determine the relationship between the second device and the first device according to the first message The inter-unicast connection establishment is abnormal; the sending unit is configured to send a second message to the second device, the second message carries the first MAC address, address identifier and error identifier, and the error identifier is used to indicate the cause of the abnormal unicast connection establishment.
- the processing unit is specifically configured to: determine that the first MAC address is the same as the second MAC address of the third device based on a judgment result that the first MAC address is the same as the second MAC address of the third device, wherein the third The device is a device requesting to establish a unicast connection with the first device; based on the judgment result that the security mechanism of the second device does not match the security mechanism supported by the first device, determine that the security mechanism of the second device is different from the security mechanism supported by the first device do not match; or based on the judgment result that the message structure of the first message is wrong, it is determined that the message structure of the first message is wrong.
- the first MAC address is a MAC address
- the second message carries the first MAC address, including: the first MAC address is determined by the destination MAC address field of the second message bearer.
- the second message carries the address identifier and the error identifier, including: the address identifier and the error identifier of the second device are carried in the Header Extension field of the dedicated service announcement DSA message frame of the second message; or the address identifier and the error identifier are carried in the Application Extension field of the DSA message frame of the second message.
- the first MAC address is multiple MAC addresses
- the second message also includes a dedicated application identifier, which is used to indicate that the unicast connection is abnormally established, and the dedicated application identifier
- the application identification AID field carried in the dedicated short message DSM message frame of the second message; the destination MAC address field of the second message is used to carry the conversion value of the dedicated application identification.
- the second message carries the first MAC address, address identifier and error identifier, including: the first MAC address, address identifier and error identifier are carried in the header extension field Header in the dedicated service announcement DSA message frame of the second message Extension field; or the first MAC address, address identifier and error identifier are carried in the Application Extension field of the DSA message frame of the second message.
- the address identifier of the second device is carried by at least one of the DSA identifier DSA Identifier field and the Content Count field in the dedicated service announcement DSA message frame of the first message.
- the address identifier of the second device is carried in the Header Extension field of the dedicated service announcement DSA message frame of the first message.
- the second message is sent by the network layer or the application layer of the first device.
- the present application provides a device for processing an abnormality in establishing a unicast connection, the device comprising: a sending unit, configured to send a first message to the first device, and the first message is used to request the first device to communicate with the first device
- the two devices establish a unicast connection, and the first message carries the first media access control MAC address, first address identifier and security mechanism of the second device
- the receiving unit is configured to receive the second message sent by the first device, and the second message carrying at least one MAC address, at least one address identifier and an error identifier, where the error identifier is used to indicate the cause of the abnormal establishment of the unicast connection
- the processing unit is configured to determine the unicast connection between the second device and the first device according to the second message Create an exception; the processing unit is also used to perform exception handling operations according to the error identifier.
- the processing unit is specifically configured to: reselect the first MAC address when the error flag indicates that the first MAC address conflicts.
- the processing unit is specifically configured to: reselect the security mechanism of the second device when the error identifier indicates that the security mechanism of the second device does not match the security mechanism supported by the first device.
- the processing unit is specifically configured to: recheck the message structure of the first message when the error identifier indicates that the message structure of the first message is wrong.
- the processing unit is specifically configured to: determine that the establishment of the unicast connection between the second device and the first device is abnormal when the at least one MAC address is the first MAC address and the at least one address identifier is the first address identifier.
- the second message carries at least one MAC address, at least one address identifier and error identifier, including: at least one MAC address is carried by the destination MAC address field of the second message; at least one address identifier and error identifier are carried by the second The Header Extension field in the DSA message frame of the dedicated service announcement of the message, or at least one address identifier and error identifier carried in the Application Extension field in the DSA message frame of the second message.
- the second message also includes a dedicated application identifier, which is used to indicate that the unicast connection is abnormally established, and the dedicated application identifier is carried in the application identifier AID field in the dedicated short message DSM message frame of the second message; the processing unit specifically Used for: when the content carried in the destination MAC address field of the second message includes the conversion value of the dedicated application identifier, and the at least one MAC address includes the first MAC address and the at least one address identifier includes the first address identifier, determine the second The unicast connection between the device and the first device is abnormal.
- the second message carries at least one MAC address, at least one address identifier and error identifier, including: at least one MAC address, at least one address identifier and error identifier carried in the dedicated service announcement DSA message frame of the second message Header Extension field; or at least one MAC address, at least one address identifier and error identifier carried in the Application Extension field of the DSA message frame of the second message.
- the first address identifier is carried by at least one of the DSA identifier DSA Identifier field and the Content Count field in the dedicated service announcement DSA message frame of the first message.
- the first address identifier is carried in the Header Extension field of the dedicated service announcement DSA message frame of the first message.
- the present application provides a device, which includes a processor and a memory, wherein the memory is used to store program instructions; the processor invokes the program instructions in the memory, so that the device executes the first aspect or the first aspect.
- a device which includes a processor and a memory, wherein the memory is used to store program instructions; the processor invokes the program instructions in the memory, so that the device executes the first aspect or the first aspect.
- the present application provides a device, which includes a processor and a memory, wherein the memory is used to store program instructions; the processor invokes the program instructions in the memory, so that the device executes the second aspect or the first A method in any possible implementation of the two aspects.
- the present application provides a computer-readable storage medium, including computer instructions.
- the computer instructions are executed by a processor, the above-mentioned first aspect or any possible implementation of the first aspect can be realized. method.
- the present application provides a computer-readable storage medium, including computer instructions.
- the computer instructions are executed by a processor, the above-mentioned second aspect or any possible implementation of the second aspect can be realized. method.
- the present application provides a computer program product.
- the computer program product When the computer program product is executed by a processor, the method in the above-mentioned first aspect or any possible embodiment of the first aspect is implemented.
- the computer program product can be, for example, a software installation package. If the method provided by any possible design of the first aspect above needs to be used, the computer program product can be downloaded and executed on the processor. , so as to implement the first aspect or the method in any possible embodiment of the first aspect.
- the present application provides a computer program product.
- the computer program product When the computer program product is executed by a processor, the method in the above-mentioned second aspect or any possible embodiment of the second aspect is implemented.
- the computer program product may be, for example, a software installation package. If the method provided by any possible design of the second aspect above needs to be used, the computer program product may be downloaded and executed on the processor. , so as to implement the second aspect or the method in any possible embodiment of the second aspect.
- the present application provides a vehicle, including the device according to the third or fifth aspect above, or the device according to any possible implementation of the third or fifth aspect above, or including the device according to the fourth or fifth aspect above.
- the present application provides a unicast connection establishment exception processing system, including a first device and a second device, wherein the first device is the device in the third or fifth aspect above, or the third or fifth device in the above
- the first device is the device in the third or fifth aspect above, or the third or fifth device in the above
- the second device is the apparatus of the fourth or sixth aspect above, or the device of any possible implementation manner of the fourth or sixth aspect above.
- Fig. 1 is a structure diagram of a communication system
- Fig. 2 is a schematic diagram of a protocol stack of an LTE-based Internet of Vehicles wireless communication technology
- FIG. 3 is a schematic diagram of a scenario of establishing a unicast connection
- FIG. 4 is a flow chart of a method for handling exceptions in unicast connection establishment provided by an embodiment of the present application
- FIG. 5 is a flow chart of another method for handling exceptions in unicast connection establishment provided by an embodiment of the present application.
- FIG. 6A is a schematic diagram of carrying an address identifier in a first message according to an embodiment of the present application.
- FIG. 6B is a schematic diagram of carrying an address identifier in a first message according to an embodiment of the present application.
- Fig. 7A is a schematic diagram of a second message provided by the embodiment of the present application.
- Fig. 7B is a schematic diagram of a second message provided by the embodiment of the present application.
- FIG. 8 is a flow chart of another method for handling exceptions in unicast connection establishment provided by an embodiment of the present application.
- Fig. 9A is a schematic diagram of a second message provided by the embodiment of the present application.
- Fig. 9B is a schematic diagram of a second message provided by the embodiment of the present application.
- FIG. 10 is a schematic diagram of a high-speed charging scenario provided by an embodiment of the present application.
- FIG. 11 is a schematic diagram of a vehicle-to-vehicle communication scenario provided by an embodiment of the present application.
- FIG. 12 is a schematic diagram of a functional structure of a communication device provided in this embodiment of the present application.
- FIG. 13 is a schematic structural diagram of a communication device provided in this embodiment of the present application.
- FIG. 1 is a schematic diagram of a communication system architecture, wherein the communication system includes a roadside device and at least one terminal, wherein the roadside device and the terminal, and the terminal and the terminal can communicate in a wireless manner.
- the roadside device can be a roadside unit (Road Side Unit, RSU), or a multi-access edge computing (Multi-Access Edge Computing, MEC) with wireless communication functions, smart gas stations, smart signal lights, etc.
- the terminal can be a vehicle-mounted Unit (On Board Unit, OBU), portable mobile device (such as mobile phone, tablet, etc.), or other sensors or devices such as components and chips in the portable mobile device that can communicate with roadside devices and other terminals, the embodiment of this application Not specifically limited.
- At least one terminal may include terminal 1 and terminal 2, the roadside device may respectively establish a unicast connection with terminal 1 and terminal 2, and terminal 1 and terminal 2 may also establish a unicast connection.
- the communication between the roadside device and the terminal, or between terminals can use cellular communication technology, such as 2G cellular communication, such as global system for mobile communication (GSM) , general packet radio service (GPRS); or 3G cellular communication, such as wideband code division multiple access (WCDMA), time division-synchronous code division multiple access (time division-synchronous code division multiple access, TS-SCDMA), code division multiple access (code division multiple access, CDMA), or 4G cellular communication, such as long term evolution (long term evolution, LTE), LTE-vehicle networking wireless communication technology (Vehicle to Everything , V2X) PC5 communication, or 5G cellular communication, such as New Radio (NR)-V2X PC5 communication, or other evolved cellular communication technologies.
- 2G cellular communication such as global system for mobile communication (GSM) , general packet radio service (GPRS); or 3G cellular communication, such as wideband code division multiple access (WCDMA), time division-synchronous code division multiple access (time division-synchronous code division multiple access,
- the wireless communication system may also utilize non-cellular communication technologies, such as Wi-Fi and wireless local area network (wireless local area network, WLAN) communication.
- the communication between the above devices can also use infrared link, bluetooth or ZigBee for direct communication.
- other wireless protocols may be used for communication between the above devices, such as various vehicle communication systems, for example, the system may include one or more dedicated short range communications (DSRC) devices, these devices It may include public and/or private data communication between vehicles and/or roadside stations, which is not specifically limited in this application.
- DSRC dedicated short range communications
- FIG. 1 is only an exemplary architecture diagram, but does not limit the number of network elements included in the communication system shown in FIG. 1 .
- FIG. 1 may also include other functional entities.
- the method provided in the embodiment of the present application can be applied to the communication system shown in FIG. 1 , and of course the method provided in the embodiment of the present application can also be applied to other communication systems, which is not limited in the embodiment of the present application.
- FIG. 2 provides a schematic diagram of a protocol stack of an LTE-based Internet of Vehicles wireless communication technology.
- the protocol stack includes application layer, network layer and access layer.
- the application layer is mainly used for processing application layer business logic of application services, for example, generating instant messages, unicast service announcements, and the like.
- the application layer includes user applications and a message layer.
- the message layer is located inside the application layer.
- the message layer connects to the data sublayer downwards and supports specific user applications upwards.
- the message layer can support the transmission of various data defined by the network layer of the LTE-based Internet of Vehicles wireless communication technology.
- the interaction between the message layer and the data sublayer inside the network layer is realized through cross-layer primitives (also called operation primitives or service primitives).
- the network layer includes a management sublayer and a data sublayer.
- the management sublayer is used to complete functions such as system configuration and maintenance, such as the selection of MAC addresses and the selection of security mechanisms.
- the management sublayer can be a dedicated management entity (Dedicated Management Entity) , DME), DME provides a management interface for all data sublayer entities.
- DME Dedicated Management Entity
- the data sublayer not only transmits the data flow between application layers, but also transmits the data flow between management entities of different devices or between management entities and applications.
- the data sublayer includes Adaptation Layer, Dedicated Short Message Protocol (DSMP) layer, etc. Among them, the DSMP layer is used for data interaction with different applications, and the adaptation layer is used to provide access to the underlying layer.
- DSMP Dedicated Short Message Protocol
- the transmission adaptation function between the layer and the upper layer protocol stack distinguishes the underlying interface used by the data packet to be sent (for example, DSMP data packet, IP (Internet Protocol) data packet, etc.) and passes the corresponding data packet to the interface
- the function of the adaptation layer also includes the generation/change/maintenance of the source layer 2 identifier, the mapping between the unicast/multicast address and the layer 2 identifier, etc.
- the access layer supports a cellular communication interface (for example, a Uu port) and/or a direct connection communication interface (for example, a PC5 port), wherein the PC5 port and the Uu port can support different radio access technologies (Radio Access Technology, RAT),
- a RAT may include LTE technology or NR technology.
- the roadside device takes RSU as an example, and the terminal takes OBU as an example.
- At least one terminal includes OBU1, OBU2 and OBU3.
- the RSU can communicate with OBU1, OBU2 and OBU3 respectively, wherein the MAC addresses of OBU1, OBU2 and OBU3 are all It is used for random selection within the same address field.
- the RSU periodically broadcasts unicast service announcements carrying specified application services. Since OBU1, OBU2, and OBU3 are all within the broadcast range of the RSU, OBU1, OBU2, and OBU3 can all receive the unicast service announcements from the RSU.
- OBU1 After OBU1, OBU2, and OBU3 analyze their own business requirements, only OBU1 responds to the unicast service announcement sent by RSU, that is, OBU1 sends a response message to RSU, and the response message carries the MAC address of OBU1 (for example, MAC1), and RSU receives After receiving the response message sent by OBU1, it is found that the MAC address of OBU1 is the same as that of OBU3 or that it does not support the security mechanism provided by OBU1, etc., resulting in abnormalities in the establishment of unicast connections, which may cause confusion in the communication process and affect the normal execution of services. .
- OBU1 After receiving the response message sent by OBU1, it is found that the MAC address of OBU1 is the same as that of OBU3 or that it does not support the security mechanism provided by OBU1, etc., resulting in abnormalities in the establishment of unicast connections, which may cause confusion in the communication process and affect the normal execution of services. .
- the embodiment of the present application proposes a method for handling abnormality of unicast connection establishment to solve the problem of abnormal unicast establishment caused by MAC address conflicts during the unicast establishment process and mismatching security mechanisms of both communication parties. . Therefore, the efficiency of establishing a unicast connection is improved, and the normal execution of the unicast service between the communication parties is ensured.
- FIG. 4 is a method for handling exceptions in unicast connection establishment provided by an embodiment of the present application, which is applied to a system for handling exceptions in unicast connection establishments.
- the system includes a first device and a second device, wherein the first device is is the sender of the above-mentioned unicast service announcement, and the second device is the above-mentioned responder.
- the method includes but is not limited to the following steps:
- S101 The second device sends a first message to the first device.
- the first device first sends a broadcast message to the second device, and the broadcast message may be a unicast service announcement for indicating a preset application service.
- the second device after receiving the broadcast message, determines that it needs to establish a unicast connection based on the preset application service with the first device based on its own business needs, and then the second device sends a message to the first device.
- the device sends a first message. It can be understood that the first message is a response message to the broadcast message.
- the second device may be one or more devices.
- m is a positive integer greater than or equal to 1.
- the second device is one device, that is, device 1.
- the distance between the first device and the second device please refer to the description of the embodiment in Figure 5 below;
- the second device is a plurality of devices, specifically including device 1, device 2, ..., device m, in this case, the first device
- the interaction process with each device refer to the description of the embodiment in FIG. 8 below, and details are not repeated here.
- the first message is used to request the first device to establish a unicast connection with the second device.
- the first message carries the MAC address of the second device, the address identifier of the second device and the security mechanism of the second device.
- the MAC address of the second device, the address identifier of the second device, and the security mechanism of the second device are determined by the second device.
- the MAC address of the second device is an address used by the second device to communicate with other devices in the network.
- the MAC address of the second device may be 24 bits, which is selected by the second device in an autonomous address selection manner.
- the security mechanism of the second device is a security mode adopted by the second device when interacting with other devices.
- the security mechanism of the second device includes, but is not limited to, a security mechanism based on a symmetric key, a security mechanism based on a certificate, and the like.
- a security mechanism based on a symmetric key means that both communicating parties must use the same key to encrypt and decrypt messages or data. It should be noted that the above-mentioned security mechanism has been widely applied in the field of communication, and will not be repeated here.
- the address identifier of the second device is used to identify the second device.
- the address identifier of the second device may be a randomly generated random number, or a device identifier of the second device, or a character string calculated based on the MAC address of the second device and the device identifier of the second device, etc., here Not specifically limited.
- the first device determines, according to the first message, that the establishment of the unicast connection between the second device and the first device is abnormal.
- the first device receives the first message sent by the second device, and according to the first message, determines that the establishment of the unicast connection between the second device and the first device is abnormal, specifically including:
- the MAC address of the second device is the same as the MAC address of the third device, which means that the second device has a MAC address conflict; the security mechanism of the second device does not match the security mechanism supported by the first device, which means that the second device and the first device Communication will be impossible due to different information encryption and decryption methods; the message structure error of the first message sent by the second device indicates that the first device cannot parse the first message sent by the second device. It should be noted that the embodiment of the present application does not limit the conditions for determining that the unicast establishment between the second device and the first device is abnormal to only the conditions listed above, and may also be other conditions that cause the establishment of the unicast connection to fail.
- the second device when the second device is one device, if it is determined that the establishment of the unicast connection between the second device and the first device is abnormal, the second device may be called an abnormal device.
- the second device is multiple devices, whether the unicast connection between each device and the first device is abnormal can be judged according to the above method, so that it can be determined that each device in the multiple devices is connected to the first device by unicast An exception is established, each of the plurality of devices may be referred to as an exception device.
- S103 The first device sends a second message to the second device.
- the second message carries the MAC address of the abnormal device, the address identifier, and the error identifier, where the error identifier is used to indicate the cause of the abnormal establishment of the unicast connection corresponding to the abnormal device.
- the error identifier may also be referred to as an error code.
- the value of the error flag when the value of the error flag is the first value, it indicates that the abnormal device has a MAC address conflict; when the value of the error flag is the second value, it indicates that the security mechanism of the abnormal device is different from the security mechanism supported by the first device. match; when the value of the error flag is the third value, it indicates that the message format of the first message sent by the abnormal device is wrong.
- the value of the error flag when the value of the error flag is the fourth value, it indicates that the abnormal device has a MAC address conflict and the security mechanism of the abnormal device does not match the security mechanism supported by the first device.
- the error identification can also be represented by bits, for example, use 001 to indicate that the MAC address conflict of the abnormal device occurs, use 010 to indicate that the security mechanism of the abnormal device does not match the security mechanism supported by the first device, and use 100 Indicates that the message format of the first message sent by the abnormal device is wrong, and 011 indicates that the abnormal device has a MAC address conflict and the security mechanism of the abnormal device does not match the security mechanism supported by the first device, which is not specifically limited here.
- the MAC address carried in the second message is one.
- S102 and S103 can be performed by the network layer or application layer of the first device.
- the network layer is the network layer in the LTE-based Internet of Vehicles wireless communication technology.
- the application layer is the application layer in the LTE-based Internet of Vehicles wireless communication technology.
- the relevant description of the application layer in FIG. 2 which will not be repeated here.
- S102 and S103 may be performed by the network layer of the first device, for example, may be performed by a DME in the network layer of the first device. Specifically, after the DME in the network layer of the first device receives the first message sent by the second device, the DME of the first device determines that the establishment of the unicast connection between the second device and the first device is abnormal according to the first message, and The sending of the second message is triggered by the DME of the first device.
- S102 and S103 may also be performed by the application layer of the first device.
- the network layer of the first device receives the first message sent by the second device
- the network layer of the first device sends data such as the MAC address, address identifier, and security mechanism in the first message to the
- the application layer of the first device determines that the establishment of the unicast connection between the second device and the first device is abnormal according to the received data, and the application layer of the first device triggers the sending of the second message.
- the second device determines, according to the second message, that the establishment of the unicast connection between itself and the first device is abnormal, and performs an exception handling operation.
- the number of abnormal devices when the number of abnormal devices is one, it means that the MAC address of the abnormal device carried in the second message is one.
- the MAC address of the abnormal device is the MAC address of the second device and the abnormal The address identifier of the device is the address identifier of the second device, indicating that the second device is the abnormal device, so it is determined that the establishment of the unicast connection between the second device and the first device is abnormal, and the second device performs an exception handling operation.
- the second device determines that the second message is a unicast establishment In the case of an abnormal message, if it is further judged that the multiple MAC addresses carried in the second message include the MAC address of the second device and the multiple address identifiers carried in the second message include the address identifier of the second device, then it is determined that the second device If the establishment of the unicast connection with the first device is abnormal, the second device performs an exception handling operation.
- the second device performs an exception handling operation.
- the execution of the exception handling operation may be performed by the network layer or the application layer of the second device, which is not specifically limited in the embodiment of the present application.
- the sender can effectively distinguish different responders with the same MAC address based on the address identifier.
- the sender can carry The responder's address identification, error identification and other content messages are used to inform the responder of the cause of the abnormal establishment of the unicast connection, so that the responder can handle it accordingly, which can effectively solve the problem of abnormal establishment of the unicast connection between the sender and the responder.
- the efficiency of establishing the unicast connection is improved, and the normal execution of the business between the communication parties is ensured.
- FIG. 5 is a method for handling exceptions in unicast connection establishment provided by an embodiment of the present application.
- the second device in FIG. 5 is one device.
- the embodiment in FIG. 5 may be independent from the embodiment in FIG. 4 above, or may be a supplement to the embodiment in FIG. 4 above.
- the method includes but is not limited to the following steps:
- S201 The second device sends a first message to the first device.
- the second device may send the first message to the first device in response to the unicast service announcement sent by the first device.
- the first message is used to request the first device to establish a unicast connection with the second device, and the first message carries the MAC address, address identifier and security mechanism of the second device.
- the bearing position of the MAC address, address identifier and security mechanism of the second device in the first message will be specifically introduced below.
- the address identifier of the second device mainly has the following two bearing modes in the first message:
- the first type carried by at least one of the dedicated service announcement identification field and the content count field in the first message
- the address identifier of the second device can be determined by the DSA identifier (DSA Identifier) field and the content count (Content Count) field in the dedicated service announcement (Dedicated Services Advertisement, DSA) message frame of the first message.
- DSA DSA identifier
- Content count Content count
- DSA dedicated Services Advertisement
- FIG. 6A is a schematic diagram of carrying an address identifier in a first message according to an embodiment of the present application.
- the DSA message frame format of the first message is shown, and the DSA message frame includes a DSA header field and an application information field.
- the DSA header field specifically includes a dedicated service announcement version number (DSA Version) field, a DSA header extension field indication (DSA Header Extension Indicator) field, a reserved (Reserved) field, a DSA identifier (DSA Identifier) field, a content Count (Content Count) field and header extension domain (Header Extension) field.
- DSA Version a dedicated service announcement version number
- DSA Header Extension Indicator DSA header extension field indication
- reserved Reserve
- DSA identifier DSA identifier
- Content Count Content Count
- Header Extension header extension domain
- the value of the DSA Header Extension Indicator field is 1, which means that the Header Extension field appears, and the value is 0, which means that the Header Extension field does not appear;
- the Reserved field can be used for function extension;
- the DSA Identifier field is used to indicate the uniqueness of DSA;
- Content Count The field can be used to identify whether it is a duplicate of the previous DSA when the DSA ID is the same; the Header Extension field can be reserved for other information.
- the application information field specifically includes an application information count field (Application Info Count) field, an application identification (AID, Application Identifier) field and an application extension field (Application Extension) field.
- Application Info Count field is used to indicate the number of application information following this field
- AID field is used to indicate the type of application service
- Application Extension field is used to indicate relevant information of the application service.
- the address identifier of the second device may be carried in the DSA Identifier field or the Content Count field in FIG. 6A.
- the address identifier of the second device is a 4-bit device identifier, it may be filled into the DSA Identifier field or the Content Count field in the DSA message frame of the first message.
- the address identifier of the second device may be jointly carried by both the DSA Identifier field and the Content Count field in FIG. 6A.
- the address identifier of the second device is an 8-bit random number, which can be filled into the DSA Identifier field and the Content Count field in the DSA message frame of the first message.
- the second type carried by the header extension field in the first message
- the address identifier of the second device may be carried by the Header Extension field in the DSA message frame of the first message.
- FIG. 6B is a schematic diagram of carrying an address identifier in a first message according to an embodiment of the present application.
- the Header Extension field further includes the information element count (Information Element Count) field and at least one information element (Information Elements), and an information element can pass an Element ID field, a length length field and a content content field representation.
- the address identifier of the second device may be carried by the Header Extension field.
- the address identifier of the second device can be carried in the Header Extension field through the newly defined Element ID.
- an Element ID field is defined to indicate the function identifier for detecting address conflicts
- the content field is used to indicate the address of the second device.
- the identifier and length fields are used to indicate the length of the address identifier of the second device.
- the MAC address of the second device is carried by the source MAC address field of the first message, that is, the MAC address of the second device is the Source Layer 2 ID (Source Layer 2 ID) of the first message;
- the security mechanism may also be carried in the header extension field (Header Extension) field in the DSA message frame of the first message, which will not be repeated here.
- the second device may further store a mapping relationship between the MAC address of the second device and the address identifier of the second device.
- the first device determines, according to the first message, that the establishment of the unicast connection between the second device and the first device is abnormal.
- the process for the first device to determine that the unicast connection establishment between the second device and the first device is abnormal according to the first message may be: judging whether the first message sent by the second device can be correctly parsed, and comparing the Whether the security mechanism of the first device matches the security mechanism supported by the first device and whether the MAC address of the third device is the same as the MAC address of the second device, etc., where the third device is a request to establish a unicast connection with the first device device, the third device is different from the second device. If the first message cannot be parsed, it means that the message structure of the first message is wrong, and it is determined that the establishment of the unicast connection between the second device and the first device is abnormal.
- the security mechanism of the second device does not match the security mechanism supported by the first device, it is determined that the establishment of the unicast connection between the second device and the first device is abnormal. If it is detected that the MAC address of the third device is the same as the MAC address of the second device, it means that the MAC address of the second device conflicts, and it is determined that the establishment of the unicast connection between the second device and the first device is abnormal. In some possible embodiments, various combinations of the failure of the first message to be parsed, the MAC address conflict of the second device, and the mismatch between the security mechanism of the second device and the security mechanism supported by the first device may also occur. It can be determined that the establishment of the unicast connection between the second device and the first device is abnormal.
- the second device satisfies the following conditions: the message structure of the first message sent by the second device is correct, the MAC address of the second device does not conflict, and the security mechanism of the second device is the same as that of the first device. If the supported security mechanisms match, the first device and the second device successfully establish a unicast connection.
- S203 The first device sends a second message to the second device.
- the first device when it is determined that the unicast connection between the second device and the first device is abnormally established, the first device sends a second message to the second device, and the second message carries the second device's MAC address, An address identifier and an error identifier, wherein the error identifier is used to indicate the cause of the abnormal establishment of the unicast connection.
- the MAC address of the second device is carried by the destination MAC address field of the second message, that is, the MAC address of the second device is the target layer 2 identification (Destination Layer2 ID) of the second message.
- FIG. 7A is a schematic diagram of a second message provided by an embodiment of the present application.
- the source MAC address field of the second message is used to carry the MAC address of the first device, that is, the source layer 2 identifier of the second message is the MAC address of the first device, and the destination MAC address field of the second message is used for
- the MAC address of the second device is carried, that is, the target layer 2 identifier of the second message is the MAC address of the second device, and the MAC payload field of the second message can be used to carry a dedicated short message (Dedicated Short Message, DSM) message frame.
- DSM dedicated Short Message
- the DSM message frame includes a dedicated short message protocol version number (DSMP Version) field, a DSMP extension domain indication (DSMP Extension Indicator) field, a reserved (Reserved) field, an extension domain (Extension) field, an application identification (AID) field, and a length ( Length) field and data (Data) field.
- DSMP Version a dedicated short message protocol version number
- DSMP Extension Indicator a DSMP Extension Indicator
- Reserve reserved
- Extension Extension
- Extension extension domain
- AID application identification
- Data data
- the value of the DSMP Extension Indicator field is 1, which means that the following Extension field appears, and the value of 0 means that the Extension field does not appear;
- the Reserved field can be used for function extension;
- the AID field is used to fill in the application identifier to distinguish different applications;
- the Length field is used to indicate the byte length of the application layer data entity;
- the Data field can be used to carry the data entity of the application layer or the management sublayer.
- the Data field in the DSM message frame is used to carry the DSA message frame. For details of each field in the DSA message frame, refer to the description of the DSA message frame in FIG. 6A .
- the address identifier of the second device and the error identifier of the second device are carried by the Application Extension field in the DSA message frame of the second message.
- a Data field may be newly defined in the Application Extension field to carry the address identifier and error identifier of the second device.
- FIG. 7B is a schematic diagram of a second message provided by an embodiment of the present application.
- the source MAC address field of the second message is used to carry the MAC address of the first device
- the destination MAC address field of the second message is used to carry the MAC address of the second device
- the MAC payload field is used to carry the DSM message Frame
- the Data field in the DSM message frame is used to carry the DSA message frame, wherein, for each field in the DSM message frame, please refer to the relevant description in Figure 7A, for each field in the DSA message frame, please refer to the relevant description in Figure 6A , which will not be repeated here.
- the address identifier of the second device and the error identifier of the second device are carried by the Header Extension field in the DSA message frame of the second message.
- a new information element is defined in the Header Extension field, and the information element is represented by the Element ID field, the length field, and the content field, where the Element ID field is used to indicate the abnormality of unicast establishment, and the length field is used to indicate the content field
- the Element ID field is used to indicate the abnormality of unicast establishment
- the length field is used to indicate the content field
- the length of the carried content, the content field is used to carry the address identifier and error identifier of the second device.
- the second device determines that the establishment of the unicast connection between itself and the first device is abnormal according to the second message, and performs an exception handling operation according to the error identifier carried in the second message.
- the second device receives the second message, knows that the number of MAC addresses carried in the second message is one and the number of address identifiers carried in the second message is one, and detects that the MAC address carried in the second message is The MAC address of the second device and the address identifier carried in the second message is the address identifier of the second device, which means that the second message carries the MAC address of the second device and the address identifier of the second device, so the second device determines that The establishment of the unicast connection between the first device is abnormal.
- the second device after determining that the establishment of the unicast connection between itself and the first device is abnormal, the second device performs an exception handling operation according to the error identifier carried in the second message.
- the second device performs an exception handling operation according to the error identifier carried in the second message, specifically: when the error identifier indicates that the MAC address of the second device conflicts, the second device reselects its own MAC address.
- the address identifier of the second device is obtained based on the MAC address of the second device, since the MAC address of the second device changes, the address identifier of the second device also needs to be changed. After re-selecting the own MAC address, the own address identification can also be re-determined.
- the second device performs an exception handling operation according to the error identifier carried in the second message, specifically: when the error identifier indicates that the security mechanism of the second device does not match the security mechanism supported by the first device, the second device restarts Choose your own security mechanism.
- the second device performs an exception handling operation according to the error identifier carried in the second message. It may also be: when the error identifier indicates that the message structure of the first message sent by the second device is incorrect, the second device checks the first message sent by the second device. A message structure for a message. In some possible embodiments, when the error flag indicates that the MAC address of the second device conflicts and the security mechanism of the second device does not match the security mechanism supported by the first device, the second device reselects its own MAC address and its own security mechanism. The embodiment of the present application does not specifically limit the exception handling operation performed by the second device.
- the second device may re-request the first device to establish a unicast connection with the second device.
- the responding party can be identified based on the MAC address and address identifier of the responding party, based on the information carried in the message, and based on the error identification carried in the message, the responding party can be guided to effectively resolve MAC address conflicts and security mechanisms.
- the problem of abnormal establishment of the unicast connection between the sender and the responder caused by the mismatch and other problems is conducive to improving the efficiency of establishing the unicast connection and ensuring the normal execution of the unicast service between the communication parties.
- FIG. 8 is another method for handling exceptions in establishing a unicast connection provided by an embodiment of the present application.
- the embodiment in FIG. 8 may be independent from the above-mentioned embodiments in FIG. 4 and FIG. 5 , and may also be a supplement to the above-mentioned embodiment in FIG. 4 .
- the method includes but is not limited to the following steps:
- S301 Multiple devices send a first message to a first device.
- the multiple devices sending the first message to the first device may be: each of the multiple devices sends a first message to the first device, that is, the number of first messages is equal to the number of The number of devices is the same.
- the first message is used to request the first device to establish a unicast connection with the device.
- the multiple devices may be device 1, device 2, ..., device m in FIG. 8 , where m is a positive integer greater than 1.
- the first message sent by device 1 to the first device is used to request the first device to establish a unicast connection with device 1, and the first message sent by device 1 carries The MAC address, address identifier and security mechanism of device 1 are shown.
- the MAC address, address identifier, and security mechanism of the device 1 are carried in the first message, reference may be made to the related description of the above-mentioned embodiment S201 in FIG. 5 , which will not be repeated here.
- the first device determines, according to the first message sent by the multiple devices, that the establishment of the unicast connection between the multiple devices and the first device is abnormal.
- the first device determines, according to the first message sent by each of the multiple devices, that each of the multiple devices has an abnormal establishment of a unicast connection with the first device.
- the first device determines that the unicast connection between device 1 and the first device is abnormal according to the first message sent by device 1.
- the specific process For details, reference may be made to relevant descriptions of S102 in the embodiment of FIG. 4 or S202 in the embodiment of FIG. 5 , and details are not repeated here.
- S303 The first device sends a second message to multiple devices.
- the second message carries the MAC addresses, address identifiers, and error identifiers of the above-mentioned multiple devices (that is, m devices), and the error identifier is used to indicate the reason why the unicast connection establishment of the corresponding device is abnormal.
- the second message may be a broadcast message.
- the second message further includes a dedicated application identifier, which is used to indicate that the unicast connection is abnormally established, and the dedicated application identifier is carried by the AID field in the DSM message frame of the second message.
- the destination MAC address field of the second message is used to carry the conversion value of the dedicated application identifier.
- the bearing positions of the MAC addresses, address identifiers and error identifiers of multiple devices in the second message mainly have the following two modes:
- FIG. 9A is a schematic diagram of a second message provided by an embodiment of the present application.
- the source MAC address field of the second message is used to carry the MAC address of the first device
- the destination MAC address field of the second message is used to carry the converted value of the dedicated application identifier
- the MAC payload field is used to carry the DSM message frame
- the AID field in the DSM message frame is used to carry the dedicated application identifier
- the Data field in the DSM message frame is used to carry the DSA message frame.
- FIG. 6A which will not be repeated here.
- the MAC addresses, address identifiers and error identifiers of multiple devices are carried by the Application Extension field in the DSA message frame of the second message.
- a Data field can be newly defined in the Application Extension field to carry the MAC addresses, address identifiers, and error identifiers of multiple devices.
- it can also carry the statistical value m of the device.
- a plurality of devices include device 1, ..., device m.
- FIG. 9B is a schematic diagram of a second message provided by an embodiment of the present application.
- the source MAC address field of the second message is used to carry the MAC address of the first device
- the MAC payload field of the second message is used to carry the DSM message frame
- the destination MAC address field of the second message is used to carry the dedicated application
- the conversion value of the identifier, the AID field in the DSM message frame of the second message is used to carry the dedicated application identifier
- the Data field in the DSM message frame is used to carry the DSA message frame, where each field in the DSM message frame can refer to the figure
- FIG. 6A for details.
- the MAC addresses, address identifiers and error identifiers of multiple devices are carried by the Header Extension field in the DSA message frame of the second message.
- a new information element is defined in the Header Extension field, and the information element is represented by the Element ID field, the length field, and the content field.
- the Element ID field can be used to indicate the abnormality of unicast establishment, and the length field is used to indicate the content The length of the content carried by the field.
- the content field is used to carry the MAC addresses, address identifiers, and error identifiers of multiple devices. In addition, it can also carry the statistical value m of the device.
- the plurality of devices include device 1, ..., device m.
- the first message may also send a corresponding second message to each of the multiple devices, and each The second message corresponding to the device only carries the MAC address, address identifier, and error identifier of the device.
- the second message may be in the form shown in FIG. 7A or FIG. 7B.
- Each of the multiple devices determines that the establishment of the unicast connection between itself and the first device is abnormal according to the second message, and performs an exception handling operation according to the corresponding error identifier.
- device 1 After device 1 receives the second message from the first device, it first determines that the content carried in the destination MAC address field of the second message includes the conversion value of the dedicated application identifier, which is equivalent to knowing that the second message carries multiple MAC addresses, multiple address identifiers and at least one error identifier. Further, device 1 judges whether the MAC address of device 1 is included in the multiple MAC addresses carried in the second message and whether the address identifier of device 1 is included in the multiple address identifiers carried in the second message. When the MAC addresses include the MAC address of the device 1 and the multiple address identifiers carried in the second message include the address identifiers of the device 1, the device 1 determines that the establishment of the unicast connection between itself and the first device is abnormal.
- mapping relationship among the MAC address, address identifier, and error identifier carried in the second message when device 1 determines that the unicast connection between itself and the first device is abnormal, device 1 The mapping relationship between the address identifier and the error identifier obtains the error identifier corresponding to the device 1 from the second message, and the device 1 executes an exception handling operation according to its corresponding error identifier. It should be noted that, for details about the process of the device 1 executing the exception handling operation, reference may be made to the related description of the second device executing the exception handling operation in S204 in the embodiment of FIG. 5 , which will not be repeated here.
- an address identifier and an error identifier for the processing procedure of the device 1, refer to the related description of S204 in the embodiment of FIG. 5 for details.
- the sender can effectively distinguish different responders with the same MAC address based on the address identifier.
- Fig. 10 is a schematic diagram of a high-speed charging scenario.
- RSU is equivalent to the first device in FIG. 5 above
- OBU1 is equivalent to the second device in FIG. 5 above
- OBU2 is equivalent to the third device in FIG. 5 above.
- the MAC address of OBU2 is the same as the MAC address of OBU1, both are MAC1
- the address identifier of OBU1 is address identifier 1
- the security mechanism of OBU1 is security mechanism 1.
- OBU2 enters the broadcast range of the RSU before OBU1.
- OBU2 establishes a unicast connection with the RSU to complete a near-field payment.
- the RSU stores the MAC address of OBU2 (That is, MAC1).
- OBU1 enters the broadcast range of the RSU, responds to the received unicast service announcement, and sends the first message to the RSU to request the RSU to establish a unicast connection with OBU1.
- the first message carries the information of OBU1 MAC1, address identification 1 and security mechanism 1.
- the RSU detects that MAC1 is identical to the MAC address of OBU1 in the stored MAC address list, that is, the MAC address of OBU1 conflicts, so it is determined that the error identifier of OBU1 is error identifier 1, which is used to indicate that the MAC address has conflict, and trigger the RSU to send a second message, the second message carries the MAC1 of the OBU1, the address ID 1 and the error ID 1.
- OBU1 detects that the MAC address carried in the second message is MAC1 and the address identifier carried in the second message is address identifier 1, that is, it determines that the establishment of the unicast connection between OBU1 and the RSU is abnormal.
- the cause of the abnormal establishment of the unicast connection is that the MAC address conflicts. Therefore, OBU1 reselects its own MAC address, or reselects its own MAC address and address identification, and then Re-response to unicast service announcements from the RSU, thereby improving the efficiency of unicast connection establishment.
- FIG. 11 is a schematic diagram of a vehicle-to-vehicle communication scenario.
- OBU1 may be the device 1 in FIG. 8 above, and OBU2 is equivalent to the first device in FIG. 8 above.
- the MAC address of OBU1 is MAC1
- the address identifier of OBU1 is address identifier 1
- the security mechanism of OBU1 is security mechanism 1.
- the security mechanism supported by OBU2 is security mechanism 2, and security mechanism 1 is different from security mechanism 2.
- OBU2 broadcasts a unicast service announcement for traffic service applications.
- OBU1 is within the broadcast range of OBU2.
- OBU1 sends a first message to OBU2 in response to the unicast service announcement to request OBU2 to establish a unicast connection with OBU1.
- the first message carries MAC1, address identifier 1 and security mechanism 1 of OBU1.
- OBU2 detects that the security mechanism 1 of OBU1 does not match the security mechanism supported by itself (that is, security mechanism 2), and determines that the error identifier of OBU1 is error identifier 2, and the error identifier 2 is used to indicate the security mechanism of OBU1 It does not match the security mechanism supported by OBU2, and triggers OBU2 to send a second message.
- the second message is a broadcast message, and the second message carries multiple MAC addresses, multiple address identifiers and at least one error identifier.
- OBU1 detects that the content carried in the destination MAC address field of the second message is the conversion value of the dedicated application identifier, which is used to indicate that the unicast connection is abnormally established.
- the multiple MAC addresses include MAC1 of OBU1 and the multiple address identifiers include address identifier 1 of OBU1.
- OBU1 determines that the unicast connection between itself and OBU2 is abnormal. Further, the error ID corresponding to itself is obtained from the second message as error ID 2, and the reason for obtaining the unicast connection establishment exception according to error ID 2 is that the security mechanism does not match. Therefore, OBU1 reselects its own security mechanism, and then restarts Responding to the unicast service announcement from OBU2 improves the efficiency of unicast connection establishment and ensures the normal execution of services between the communication parties.
- FIG. 12 is a schematic functional structure diagram of a communication device provided by an embodiment of the present application.
- the communication device 30 includes a sending unit 310 , a processing unit 312 and a receiving unit 314 .
- the communication device 30 may be implemented by hardware, software, or a combination of software and hardware.
- the communication device 30 may be the first device in the foregoing FIG. 4 , FIG. 5 or FIG. 8 .
- the receiving unit 314 is configured to receive a first message sent by the second device, the first message is used to request the first device to establish a unicast connection with the second device, and the first message carries the first media access control of the second device MAC address, address identification and security mechanism;
- the processing unit 312 is used to determine that the unicast connection between the second device and the first device is abnormal according to the first message;
- the sending unit 310 is used to send the second message to the second device, the first The second message carries the first MAC address, an address identifier and an error identifier, and the error identifier is used to indicate the reason for the abnormal establishment of the unicast connection.
- the communication device 30 may be used to implement the method on the first device side described in the embodiment of FIG. 4 .
- the receiving unit 314 and the processing unit 312 may be used to perform S102
- the sending unit 310 may be used to perform S103.
- Each functional module of the communication device 30 may also be used to implement the method on the first device side described in the embodiment of FIG. 5 or FIG. 8 , and for the sake of brevity of the description, details are not repeated here.
- the communication device 30 may be the second device in FIG. 4 or FIG. 5 above, or any one of the multiple devices shown in FIG. 8 above.
- the sending unit 310 is configured to send a first message to the first device, the first message is used to request the first device to establish a unicast connection with the second device, and the first message carries the first medium access control MAC of the second device address, a first address identifier and a security mechanism;
- the receiving unit 314 is configured to receive a second message sent by the first device, the second message carries at least one MAC address, at least one address identifier and an error identifier, and the error identifier is used to indicate a unicast connection The cause of the establishment exception;
- the processing unit 312 is configured to determine, according to the second message, that the establishment of the unicast connection between the second device and the first device is abnormal, and perform an exception handling operation according to the error identifier.
- the communication device 30 may be used to implement the method on the second device side described in the embodiment of FIG. 4 .
- the sending unit 310 may be used to execute S101
- the receiving unit 314 and the processing unit 312 may be used to execute S104.
- the functional modules of the communication device 30 can also be used to implement the method on the second device side described in the embodiment of FIG. 5 or the methods on the multiple device sides described in the embodiment of FIG. 8 . .
- each unit in the above embodiment shown in FIG. 12 can be realized by software, hardware, firmware or a combination thereof.
- the software or firmware includes but is not limited to computer program instructions or codes, and can be executed by a hardware processor.
- the hardware includes but is not limited to various integrated circuits, such as a central processing unit (CPU, Central Processing Unit), a digital signal processor (DSP, Digital Signal Processor), a field programmable gate array (FPGA, Field Programmable Gate Array) or Application Specific Integrated Circuit (ASIC).
- CPU central processing unit
- DSP Digital Signal Processor
- FPGA Field Programmable Gate Array
- ASIC Application Specific Integrated Circuit
- FIG. 13 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
- the communication device 32 includes: a processor 321 , a transceiver 322 , a memory 323 and a bus 324 .
- the processor 321 , the memory 323 and the transceiver 322 communicate through the bus 324 . It should be understood that the present application does not limit the number of processors and memories in the communication device 32 .
- the communication device 32 may be the first device in the embodiment of FIG. 4, FIG. 5 or FIG. 8, and the first device may be a roadside device, such as a roadside unit (Road Side Unit, RSU) , Multi-Access Edge Computing (MEC), smart gas stations, smart signal lights, etc.
- RSU roadside unit
- MEC Multi-Access Edge Computing
- smart gas stations smart signal lights
- RSU and MEC a roadside unit
- RSU Roadside unit
- MEC Multi-Access Edge Computing
- the first device can also be a terminal, for example, an on-board unit (On Board Unit, OBU), a portable mobile device (such as a mobile phone, a tablet, etc.), or other sensors or devices with communication functions such as components and chips in the portable mobile device , which is not specifically limited in this embodiment of the present application.
- OBU On Board Unit
- portable mobile device such as a mobile phone, a tablet, etc.
- sensors or devices with communication functions such as components and chips in the portable mobile device , which is not specifically limited in this embodiment of the present application.
- the communication device 32 may be the second device in FIG. 4 or FIG. 5 or any one of the multiple devices shown in FIG. Any one of these devices can be an on-board unit (On Board Unit, OBU), a smart gas station, a smart signal light, a portable mobile device (such as a mobile phone, a tablet, etc.), or a component, chip, etc.
- OBU On Board Unit
- a smart gas station such as a gas pump
- a smart signal light such as a mobile phone, a tablet, etc.
- portable mobile device such as a mobile phone, a tablet, etc.
- component, chip etc.
- Other sensors or devices with functions are not specifically limited in this embodiment of the present application.
- the bus 324 may be a peripheral component interconnect standard (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus or the like.
- PCI peripheral component interconnect
- EISA extended industry standard architecture
- the bus can be divided into address bus, data bus, control bus and so on. For ease of representation, only one line is used in FIG. 13 , but it does not mean that there is only one bus or one type of bus.
- Bus 324 may include pathways for communicating information between various components of communication device 32 (eg, memory 323 , processor 321 , transceiver 322 ).
- the processor 321 may include any one or more of processors such as a central processing unit (central processing unit, CPU), a microprocessor (micro processor, MP), or a digital signal processor (digital signal processor, DSP).
- processors such as a central processing unit (central processing unit, CPU), a microprocessor (micro processor, MP), or a digital signal processor (digital signal processor, DSP).
- the memory 323 is used to provide a storage space, in which data such as operating systems and computer programs can be stored.
- Memory 323 can be random access memory (random access memory, RAM), erasable programmable read only memory (erasable programmable read only memory, EPROM), read-only memory (read-only memory, ROM), or portable read-only memory One or more combinations of memory (compact disc read memory, CD-ROM), etc.
- the memory 323 can exist independently, or can be integrated inside the processor 321 .
- Transceiver 322 may be used to provide information input or output to processor 321 .
- the transceiver 322 can be used to receive data sent from the outside and/or send data to the outside, and can be a wired link interface such as an Ethernet cable, or a wireless link (such as Wi-Fi, Bluetooth, general wireless transmission, vehicle short-distance communication technology, etc.) interface.
- the transceiver 322 may also include a transmitter (such as a radio frequency transmitter, an antenna, etc.) or a receiver coupled with the interface.
- the processor 321 in the communication device 32 is used to read the computer program stored in the memory 323, and is used to execute the aforementioned FIG. 4, FIG. 5 or The method on the first device side described in the embodiment of FIG. 8 .
- the communication device 32 can be one or more modules in the first device that executes the method shown in FIG. 4 , and the processor 321 can be used to read one or more computer Programs that do the following:
- the first message is used to request the first device to establish a unicast connection with the second device, and the first message carries the first media access control MAC address and address of the second device Identification and security mechanism; according to the first message, determine that the unicast connection between the second device and the first device is abnormal; send a second message to the second device through the sending unit 310, and the second message carries the first MAC address, address ID and error ID, the error ID is used to indicate the cause of the abnormal establishment of the unicast connection.
- the processor 321 in the communication device 32 is used to read the computer program stored in the memory 323, and is used to execute the aforementioned FIG. 4 or FIG. 5 The method on the second device side described in the embodiment or the methods on multiple device sides described in the embodiment in FIG. 8 .
- the communication device 32 can be one or more modules in the second device that executes the method shown in FIG. 4 , and the processor 321 can be used to read one or more computer Programs that do the following:
- the sending unit 310 is configured to send a first message to the first device, the first message is used to request the first device to establish a unicast connection with the second device, and the first message carries a first media access control MAC address of the second device, First address identification and security mechanism; receiving the second message sent by the first device through the receiving unit 314, the second message carries at least one MAC address, at least one address identification and error identification, and the error identification is used to indicate that the unicast connection is abnormally established Reason: determining, according to the second message, that the establishment of the unicast connection between the second device and the first device is abnormal, and performing an exception handling operation according to the error identification.
- An embodiment of the present application further provides a vehicle, and the vehicle includes the above-mentioned first device or second device.
- the vehicle can be used to execute the method on the first device side described in the embodiment in FIG. 4 , FIG. 5 or FIG. 8 .
- the vehicle can be used to execute the method on the second device side described in the embodiment in FIG. 4 or FIG. 5 , or the methods on multiple device sides described in the embodiment in FIG. 8 .
- An embodiment of the present application also provides a system for handling exceptions in establishing a unicast connection, and the system includes the above-mentioned first device and second device.
- the system is used to implement the methods described in the above embodiments of the present application.
- the first device may be a Road Side Unit (Road Side Unit, RSU), Multi-Access Edge Computing (Multi-Access Edge Computing, MEC), an On Board Unit (OBU), an intelligent gas station, an intelligent signal light, Portable mobile devices (such as mobile phones, tablets, etc.), or other sensors or devices with communication functions such as components and chips in portable mobile devices.
- RSU Road Side Unit
- MEC Multi-Access Edge Computing
- OBU On Board Unit
- the first device may also be a system consisting of an RSU and an MEC, or a system consisting of an RSU and a sensor, or a system consisting of an RSU, an MEC, and a sensor.
- the second device may be a vehicle-mounted unit, a smart gas station, a smart signal light, a portable mobile device (such as a mobile phone, a tablet, etc.), or other sensors or devices with communication functions such as components and chips in a portable mobile device. Examples are not specifically limited.
- storage medium includes read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), programmable read-only memory (Programmable Read-only Memory, PROM), erasable programmable read-only memory ( Erasable Programmable Read Only Memory, EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically-Erasable Programmable Read-Only Memory, EEPROM, Compact Disc Read-Only Memory (CD-ROM) or other optical disk storage, magnetic disk storage, tape storage, or any other computer-readable medium that can be used to carry or store data.
- Read-Only Memory Read-Only Memory
- RAM Random Access Memory
- PROM Programmable Read-only Memory
- PROM Programmable Read-only Memory
- EPROM Erasable Programmable Read Only Memory
- OTPROM One-time Programmable Read-Only Memory
- EEPROM Electrically-Erasable Programmable Read-Only Memory
- CD-ROM Compact Disc Read-Only Memory
- the essence of the technical solution of the present application or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of software products.
- the computer program product is stored in a storage medium, including several instructions. So that a device (which may be a personal computer, a server, or a network device, a robot, a single-chip microcomputer, a chip, a robot, etc.) executes all or part of the steps of the methods described in the various embodiments of the present application.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
Description
Claims (41)
- 一种单播连接建立异常处理方法,应用于第一设备,其特征在于,所述方法包括:接收第二设备发送的第一消息,所述第一消息用于请求所述第一设备与所述第二设备建立单播连接,所述第一消息携带所述第二设备的第一媒介接入控制MAC地址、地址标识和安全机制;根据所述第一消息,确定所述第二设备与所述第一设备之间单播连接建立异常;向所述第二设备发送第二消息,所述第二消息中携带所述第一MAC地址、所述地址标识和错误标识,所述错误标识用于指示所述单播连接建立异常的原因。
- 根据权利要求1所述的方法,其特征在于,所述根据所述第一消息,确定所述第二设备与所述第一设备之间单播连接建立异常包括:基于所述第一MAC地址与第三设备的第二MAC地址相同的判断结果,确定所述第二设备与所述第一设备之间单播连接建立异常,其中,所述第三设备为请求与所述第一设备建立单播连接的设备;基于所述安全机制与所述第一设备支持的安全机制不匹配的判断结果,确定所述第二设备与所述第一设备之间单播连接建立异常;或基于所述第一消息的消息结构错误的判断结果,确定所述第二设备与所述第一设备之间单播连接建立异常。
- 根据权利要求1或2所述的方法,其特征在于,所述第二设备为一个设备,所述第一MAC地址为一个MAC地址,且所述第二消息中携带所述第一MAC地址包括:所述第一MAC地址由所述第二消息的目的MAC地址字段承载。
- 根据权利要求3所述的方法,其特征在于,所述第二消息中携带所述地址标识和错误标识,包括:所述地址标识和所述错误标识承载于所述第二消息的专用业务公告DSA消息帧中的头扩展域Header Extension字段;或者所述地址标识和所述错误标识承载于所述第二消息的所述DSA消息帧中的应用扩展域Application Extension字段。
- 根据权利要求1或2所述的方法,其特征在于,所述第二设备为多个设备,所述第一MAC地址为多个MAC地址,所述第二消息还包括专用应用标识,所述专用应用标识用于指示所述单播连接建立异常,所述专用应用标识承载于所述第二消息的专用短消息DSM消息帧中的应用标识AID字段;所述第二消息的目的MAC地址字段用于承载所述专用应用标识的转化值。
- 根据权利要求5所述的方法,其特征在于,所述第二消息中携带所述第一MAC地址、所述地址标识和错误标识,包括:所述第一MAC地址、所述地址标识和所述错误标识承载于所述第二消息的专用业务公告DSA消息帧中的头扩展域Header Extension字段;或者所述第一MAC地址、所述地址标识和所述错误标识承载于所述第二消息的所述DSA消息帧中的应用扩展域Application Extension字段。
- 根据权利要求1-6任一项所述的方法,其特征在于,在所述第一消息中,所述第二设备的地址标识由所述第一消息的专用业务公告DSA消息帧中的DSA标识DSA Identifier字段和 内容计数Content Count字段中的至少一者承载。
- 根据权利要求1-6任一项所述的方法,其特征在于,在所述第一消息中,所述第二设备的地址标识承载于所述第一消息的专用业务公告DSA消息帧的头扩展域Header Extension字段中。
- 一种单播连接建立异常处理方法,应用于第二设备,其特征在于,所述方法包括:向第一设备发送第一消息,所述第一消息用于请求所述第一设备与所述第二设备建立单播连接,所述第一消息携带所述第二设备的第一媒介接入控制MAC地址、第一地址标识和安全机制;接收所述第一设备发送的第二消息,所述第二消息中携带至少一个MAC地址、至少一个地址标识和错误标识,所述错误标识用于指示所述单播连接建立异常的原因;根据所述第二消息确定所述第二设备与所述第一设备之间单播连接建立异常;根据所述错误标识执行异常处理操作。
- 根据权利要求9所述的方法,其特征在于,所述根据所述错误标识执行异常处理操作,包括:在所述错误标识指示所述第一MAC地址有冲突时,重新选择所述第一MAC地址。
- 根据权利要求9或10所述的方法,其特征在于,所述根据所述错误标识执行异常处理操作,包括:在所述错误标识指示所述安全机制与所述第一设备支持的安全机制不匹配时,重新选择所述安全机制。
- 根据权利要求9-11任一项所述的方法,其特征在于,所述根据所述第二消息确定所述第二设备与所述第一设备之间单播连接建立异常,包括:当所述至少一个MAC地址为所述第一MAC地址且所述至少一个地址标识为所述第一地址标识时,确定所述第二设备与所述第一设备之间单播连接建立异常。
- 根据权利要求12所述的方法,其特征在于,所述第二消息中携带至少一个MAC地址、至少一个地址标识和错误标识,包括:所述至少一个MAC地址由所述第二消息的目的MAC地址字段承载;所述至少一个地址标识和错误标识承载于所述第二消息的专用业务公告DSA消息帧中的头扩展域Header Extension字段,或者,所述至少一个地址标识和错误标识承载于所述第二消息的所述DSA消息帧中的应用扩展域Application Extension字段。
- 根据权利要求9-11任一项所述的方法,其特征在于,所述第二消息还包括专用应用标识,所述专用应用标识用于指示所述单播连接建立异常,所述专用应用标识承载于所述第二消息的专用短消息DSM消息帧中的应用标识AID字段,所述根据所述第二消息确定所述第二设备与所述第一设备之间单播连接建立异常,包括:当所述第二消息的目的MAC地址字段承载的内容包括所述专用应用标识的转化值,以及所述至少一个MAC地址包括所述第一MAC地址且所述至少一个地址标识包括所述第一地址标识时,确定所述第二设备与所述第一设备之间单播连接建立异常。
- 根据权利要求14所述的方法,其特征在于,所述第二消息中携带至少一个MAC地址、至少一个地址标识和错误标识,包括:所述至少一个MAC地址、所述至少一个地址标识和错误标识承载于所述第二消息的专 用业务公告DSA消息帧中的头扩展域Header Extension字段;或者所述至少一个MAC地址、所述至少一个地址标识和错误标识承载于所述第二消息的所述DSA消息帧中的应用扩展域Application Extension字段。
- 根据权利要求9-15任一项所述的方法,其特征在于,在所述第一消息中,所述第一地址标识由所述第一消息的专用业务公告DSA消息帧中的DSA标识DSA Identifier字段和内容计数Content Count字段中的至少一者承载。
- 根据权利要求9-15任一项所述的方法,其特征在于,在所述第一消息中,所述第一地址标识承载于所述第一消息的专用业务公告DSA消息帧的头扩展域Header Extension字段中。
- 一种用于处理单播连接建立异常的装置,其特征在于,所述装置包括:接收单元,用于接收第二设备发送的第一消息,所述第一消息用于请求所述第一设备与所述第二设备建立单播连接,所述第一消息携带所述第二设备的第一媒介接入控制MAC地址、地址标识和安全机制;处理单元,用于根据所述第一消息,确定所述第二设备与所述第一设备之间单播连接建立异常;发送单元,用于向所述第二设备发送第二消息,所述第二消息中携带所述第一MAC地址、所述地址标识和错误标识,所述错误标识用于指示所述单播连接建立异常的原因。
- 根据权利要求18所述的装置,其特征在于,所述处理单元,具体用于:基于所述第一MAC地址与第三设备的第二MAC地址相同的判断结果,确定所述第二设备与所述第一设备之间单播连接建立异常,其中,所述第三设备为请求与所述第一设备建立单播连接的设备;基于所述安全机制与所述第一设备支持的安全机制不匹配的判断结果,确定所述第二设备与所述第一设备之间单播连接建立异常;或基于所述第一消息的消息结构错误的判断结果,确定所述第二设备与所述第一设备之间单播连接建立异常。
- 根据权利要求18或19所述的装置,其特征在于,所述第二设备为一个设备,所述第一MAC地址为一个MAC地址,且所述第二消息中携带所述第一MAC地址包括:所述第一MAC地址由所述第二消息的目的MAC地址字段承载。
- 根据权利要求20所述的装置,其特征在于,所述第二消息中携带所述地址标识和错误标识,包括:所述地址标识和所述错误标识承载于所述第二消息的专用业务公告DSA消息帧中的头扩展域Header Extension字段;或者所述地址标识和所述错误标识承载于所述第二消息的所述DSA消息帧中的应用扩展域Application Extension字段。
- 根据权利要求18或19所述的装置,其特征在于,所述第二设备为多个设备,所述第一MAC地址为多个MAC地址,所述第二消息还包括专用应用标识,所述专用应用标识用于指示所述单播连接建立异常,所述专用应用标识承载于所述第二消息的专用短消息DSM消息帧中的应用标识AID字段;所述第二消息的目的MAC地址字段用于承载所述专用应用标识的转化值。
- 根据权利要求22所述的装置,其特征在于,所述第二消息中携带所述第一MAC地址、 所述地址标识和错误标识,包括:所述第一MAC地址、所述地址标识和所述错误标识承载于所述第二消息的专用业务公告DSA消息帧中的头扩展域Header Extension字段;或者所述第一MAC地址、所述地址标识和所述错误标识承载于所述第二消息的所述DSA消息帧中的应用扩展域Application Extension字段。
- 根据权利要求18-23任一项所述的装置,其特征在于,在所述第一消息中,所述第二设备的地址标识由所述第一消息的专用业务公告DSA消息帧中的DSA标识DSA Identifier字段和内容计数Content Count字段中的至少一者承载。
- 根据权利要求18-23任一项所述的装置,其特征在于,在所述第一消息中,所述第二设备的地址标识承载于所述第一消息的专用业务公告DSA消息帧的头扩展域Header Extension字段中。
- 一种用于处理单播连接建立异常的装置,其特征在于,所述装置包括:发送单元,用于向第一设备发送第一消息,所述第一消息用于请求所述第一设备与所述第二设备建立单播连接,所述第一消息携带所述第二设备的第一媒介接入控制MAC地址、第一地址标识和安全机制;接收单元,用于接收所述第一设备发送的第二消息,所述第二消息中携带至少一个MAC地址、至少一个地址标识和错误标识,所述错误标识用于指示所述单播连接建立异常的原因;处理单元,用于根据所述第二消息确定所述第二设备与所述第一设备之间单播连接建立异常;所述处理单元,还用于根据所述错误标识执行异常处理操作。
- 根据权利要求26所述的装置,其特征在于,所述处理单元,具体用于:在所述错误标识指示所述第一MAC地址有冲突时,重新选择所述第一MAC地址。
- 根据权利要求26或27所述的装置,其特征在于,所述处理单元,具体用于:在所述错误标识指示所述安全机制与所述第一设备支持的安全机制不匹配时,重新选择所述安全机制。
- 根据权利要求26-28任一项所述的装置,其特征在于,所述处理单元,具体用于:当所述至少一个MAC地址为所述第一MAC地址且所述至少一个地址标识为所述第一地址标识时,确定所述第二设备与所述第一设备之间单播连接建立异常。
- 根据权利要求29所述的装置,其特征在于,所述第二消息中携带至少一个MAC地址、至少一个地址标识和错误标识,包括:所述至少一个MAC地址由所述第二消息的目的MAC地址字段承载;所述至少一个地址标识和错误标识承载于所述第二消息的专用业务公告DSA消息帧中的头扩展域Header Extension字段,或者,所述至少一个地址标识和错误标识承载于所述第二消息的所述DSA消息帧中的应用扩展域Application Extension字段。
- 根据权利要求26-28任一项所述的装置,其特征在于,所述第二消息还包括专用应用标识,所述专用应用标识用于指示所述单播连接建立异常,所述专用应用标识承载于所述第二消息的专用短消息DSM消息帧中的应用标识AID字段,所述处理单元,具体用于:当所述第二消息的目的MAC地址字段承载的内容包括所述专用应用标识的转化值,以及所述至少一个MAC地址包括所述第一MAC地址且所述至少一个地址标识包括所述第一地 址标识时,确定所述第二设备与所述第一设备之间单播连接建立异常。
- 根据权利要求31所述的装置,其特征在于,所述第二消息中携带至少一个MAC地址、至少一个地址标识和错误标识,包括:所述至少一个MAC地址、所述至少一个地址标识和错误标识承载于所述第二消息的专用业务公告DSA消息帧中的头扩展域Header Extension字段;或者所述至少一个MAC地址、所述至少一个地址标识和错误标识承载于所述第二消息的所述DSA消息帧中的应用扩展域Application Extension字段。
- 根据权利要求26-31任一项所述的装置,其特征在于,在所述第一消息中,所述第一地址标识由所述第一消息的专用业务公告DSA消息帧中的DSA标识DSA Identifier字段和内容计数Content Count字段中的至少一者承载。
- 根据权利要求26-31任一项所述的装置,其特征在于,在所述第一消息中,所述第一地址标识承载于所述第一消息的专用业务公告DSA消息帧的头扩展域Header Extension字段中。
- 一种用于处理单播连接建立异常的装置,其特征在于,所述装置包括存储器和处理器,所述存储器存储计算机程序指令,所述处理器运行所述计算机程序指令以使所述装置执行如权利要求1-8任一项所述的方法。
- 一种用于处理单播连接建立异常的装置,其特征在于,所述装置包括存储器和处理器,所述存储器存储计算机程序指令,所述处理器运行所述计算机程序指令以使所述装置执行如权利要求9-17任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在被处理器运行时,实现如权利要求1-8任一项所述的方法。
- 一种计算机可读存储介质,其特征在于,包括计算机指令,当所述计算机指令在被处理器运行时,实现如权利要求9-17任一项所述的方法。
- 一种车辆,其特征在于,所述车辆包括如权利要求18-25或35所述的装置,或者,所述车辆包括如权利要求26-34或36所述的装置。
- 一种单播连接建立异常处理系统,其特征在于,所述系统包括第一设备和第二设备,其中,所述第一设备用于执行如权利要求1-8所述的方法,所述第二设备用于执行如权利要求9-17所述的方法。
- 一种计算机程序产品,其特征在于,包括计算机指令,当所述计算机指令在处理器上运行时,实现如权利要求1-8或者9-17任一项所述的方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP22857461.2A EP4366342B1 (en) | 2021-08-19 | 2022-07-06 | Method and apparatus for processing exception in unicast connection establishment |
| US18/426,254 US12615692B2 (en) | 2021-08-19 | 2024-01-29 | Method and apparatus for handling unicast connection establishment abnormality |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110955602.2A CN115708370B (zh) | 2021-08-19 | 2021-08-19 | 一种单播连接建立异常处理方法及装置 |
| CN202110955602.2 | 2021-08-19 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US18/426,254 Continuation US12615692B2 (en) | 2021-08-19 | 2024-01-29 | Method and apparatus for handling unicast connection establishment abnormality |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023020148A1 true WO2023020148A1 (zh) | 2023-02-23 |
Family
ID=85212609
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/104228 Ceased WO2023020148A1 (zh) | 2021-08-19 | 2022-07-06 | 一种单播连接建立异常处理方法及装置 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US12615692B2 (zh) |
| EP (1) | EP4366342B1 (zh) |
| CN (1) | CN115708370B (zh) |
| WO (1) | WO2023020148A1 (zh) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US12273782B2 (en) | 2020-04-02 | 2025-04-08 | Interdigital Patent Holdings, Inc. | Methods, apparatus and systems for command and control (C2) communications setup and update |
| JP7792181B2 (ja) * | 2023-07-18 | 2025-12-25 | インターデイジタル パテント ホールディングス インコーポレイテッド | 無線送信/受信ユニット(wtru)リレー媒体アクセス制御(mac)アクセス競合サポートのためのwtru |
| US12335229B2 (en) | 2023-07-18 | 2025-06-17 | Interdigital Patent Holdings, Inc. | Wireless transmit/receive unit (WTRU) to WTRU relay media access control (MAC) access conflict support |
| WO2025019402A1 (en) * | 2023-07-18 | 2025-01-23 | Interdigital Patent Holdings, Inc. | Wireless transmit/receive unit (wtru) to wtru relay media access control (mac) access conflict support |
| KR20250054831A (ko) | 2023-07-18 | 2025-04-23 | 인터디지탈 패튼 홀딩스, 인크 | 무선 송수신 유닛(wtru) 대 wtru 릴레이 미디어 액세스 제어(mac) 액세스 충돌 지원 |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106603740A (zh) * | 2016-12-07 | 2017-04-26 | 广东欧珀移动通信有限公司 | 网络连接异常的处理方法与终端设备 |
| CN111278165A (zh) * | 2019-01-11 | 2020-06-12 | 维沃移动通信有限公司 | 连接建立方法、终端设备及网络设备 |
| CN111866796A (zh) * | 2019-04-30 | 2020-10-30 | 华为技术有限公司 | 用于获取无线承载配置的方法和装置 |
| CN112118326A (zh) * | 2019-06-20 | 2020-12-22 | 上海诺基亚贝尔股份有限公司 | Mac地址冲突检测方法、设备、装置和计算机可读存储介质 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20070104109A1 (en) * | 2005-11-04 | 2007-05-10 | Innovative Sonic Limited | Method and apparatus for RLC protocol error handling in a wireless communications system |
| EP3151599A1 (en) * | 2015-09-30 | 2017-04-05 | Apple Inc. | Authentication failure handling for cellular network access through wlan |
| CN114727328B (zh) * | 2018-12-14 | 2024-11-29 | 华为技术有限公司 | 一种故障确定方法及装置 |
| EP4593471A3 (en) * | 2019-01-10 | 2025-10-01 | Samsung Electronics Co., Ltd. | Method and apparatus for performing communication in wireless communication system |
| WO2020150495A1 (en) * | 2019-01-16 | 2020-07-23 | Apple Inc. | Sideline connection establishment design to support unicast and groupcast communication for nr v2x |
| CN109982450B (zh) * | 2019-02-19 | 2020-09-29 | 生迪智慧科技有限公司 | 通信链路修复方法、装置、协调器及系统 |
| CN110248347B (zh) * | 2019-06-28 | 2022-03-15 | Oppo广东移动通信有限公司 | 通话异常检测方法、装置、设备及存储介质 |
| US20210227620A1 (en) * | 2020-01-21 | 2021-07-22 | Asustek Computer Inc. | Method and apparatus for configuring sidelink discontinuous reception in a wireless communication system |
-
2021
- 2021-08-19 CN CN202110955602.2A patent/CN115708370B/zh active Active
-
2022
- 2022-07-06 WO PCT/CN2022/104228 patent/WO2023020148A1/zh not_active Ceased
- 2022-07-06 EP EP22857461.2A patent/EP4366342B1/en active Active
-
2024
- 2024-01-29 US US18/426,254 patent/US12615692B2/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106603740A (zh) * | 2016-12-07 | 2017-04-26 | 广东欧珀移动通信有限公司 | 网络连接异常的处理方法与终端设备 |
| CN111278165A (zh) * | 2019-01-11 | 2020-06-12 | 维沃移动通信有限公司 | 连接建立方法、终端设备及网络设备 |
| CN111866796A (zh) * | 2019-04-30 | 2020-10-30 | 华为技术有限公司 | 用于获取无线承载配置的方法和装置 |
| CN112118326A (zh) * | 2019-06-20 | 2020-12-22 | 上海诺基亚贝尔股份有限公司 | Mac地址冲突检测方法、设备、装置和计算机可读存储介质 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4366342A4 |
Also Published As
| Publication number | Publication date |
|---|---|
| US12615692B2 (en) | 2026-04-28 |
| CN115708370A (zh) | 2023-02-21 |
| CN115708370B (zh) | 2026-03-17 |
| EP4366342B1 (en) | 2025-10-01 |
| EP4366342A1 (en) | 2024-05-08 |
| US20240172330A1 (en) | 2024-05-23 |
| EP4366342A4 (en) | 2024-11-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2023020148A1 (zh) | 一种单播连接建立异常处理方法及装置 | |
| CN104871637B (zh) | 代理连接方法和装置 | |
| EP3893530B1 (en) | Communication method and communication device | |
| US9736876B1 (en) | Method and apparatus for establishing links and maintaining consistent link information between stations | |
| WO2023001307A1 (zh) | 旁链路通信方法及设备 | |
| US20240244408A1 (en) | Communication method and apparatus, and related device | |
| CN116158187A (zh) | 多链路设备的aid分配方法及相关装置 | |
| CN121464708A (zh) | 感测数据交换 | |
| US10812545B2 (en) | Beacon sensor advertisement frame | |
| WO2021114043A1 (zh) | 设备到设备的通信方法和通信装置 | |
| WO2023065999A1 (zh) | 一种数据传输方法及相关装置 | |
| WO2018137209A1 (zh) | 一种业务数据传输方法、第一通信节点及基站 | |
| US20220030400A1 (en) | Data Sending Method and Apparatus, and Computer-Readable Storage Medium | |
| CN110224803B (zh) | 一种实现beacon自主发现的LoRa通信方法 | |
| WO2019226098A1 (en) | Methods, transmitting node and receiving user equipment for handling a pdu based on 3gpp release, version or feature | |
| CN112640495B (zh) | 针对组播业务的配置管理方法及相关产品 | |
| EP4639997A1 (en) | Communication apparatus and communication method for enhanced tunnelled direct link setup | |
| KR20060059326A (ko) | 인터넷 접속 서비스를 위한 dsrc 단말기 및 기지국의브릿지 방법 및 장치 | |
| EP4566347A1 (en) | Systems and methods for facilitating ue route selection policy rule enforcement |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22857461 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2022857461 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2022857461 Country of ref document: EP Effective date: 20240130 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWG | Wipo information: grant in national office |
Ref document number: 2022857461 Country of ref document: EP |