CN112235734B - Method, device and equipment for realizing unicast service in broadcast mode - Google Patents

Method, device and equipment for realizing unicast service in broadcast mode Download PDF

Info

Publication number
CN112235734B
CN112235734B CN202011099443.2A CN202011099443A CN112235734B CN 112235734 B CN112235734 B CN 112235734B CN 202011099443 A CN202011099443 A CN 202011099443A CN 112235734 B CN112235734 B CN 112235734B
Authority
CN
China
Prior art keywords
layer
address
service primitive
service
source
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.)
Active
Application number
CN202011099443.2A
Other languages
Chinese (zh)
Other versions
CN112235734A (en
Inventor
刘龙山
房家奕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Datang Gaohong Zhilian Technology (Chongqing) Co.,Ltd.
Original Assignee
Datang Gaohong Zhilian Technology Chongqing Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Datang Gaohong Zhilian Technology Chongqing Co ltd filed Critical Datang Gaohong Zhilian Technology Chongqing Co ltd
Priority to CN202011099443.2A priority Critical patent/CN112235734B/en
Publication of CN112235734A publication Critical patent/CN112235734A/en
Application granted granted Critical
Publication of CN112235734B publication Critical patent/CN112235734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Abstract

The application provides a unicast service realization method, a unicast service realization device and unicast service realization equipment in a broadcast mode, which relate to the technical field of communication, and the method comprises the following steps: the network layer receives a first service primitive sent by an application layer, wherein the first service primitive at least comprises: an application identifier AID and a first source Media Access Control (MAC) address; the network layer sends a second service primitive to an access layer, wherein the second service primitive at least comprises: a source layer address determined by a first source MAC address translation and a destination layer address determined by an AID mapping; and the access layer sends a broadcast message to a receiving end, wherein the broadcast message at least comprises the source layer address and the destination layer address. The scheme of the application solves the problem that the source layer address and the source MAC address have no corresponding relation in the broadcast mode and are not beneficial to the establishment of the subsequent unicast link.

Description

Method, device and equipment for realizing unicast service in broadcast mode
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method, an apparatus, and a device for implementing a unicast service in a broadcast mode.
Background
Currently, an access layer based on Long Term Evolution (LTE) -Vehicle-to-outside (V2X) only supports a broadcast mode, and some services, such as near field payment and Vehicle identity information management, need to be performed in a unicast mode, so that, in the services such as near field payment and Vehicle identity information management, a first service message is sent in a broadcast mode, and according to a current broadcast message sending mechanism, an address of an active layer of a sending end is generated by a network layer, so that no correspondence relationship exists between the address of the active layer and an address of a source MAC, and establishment of a subsequent unicast link is not facilitated.
Disclosure of Invention
The application provides a unicast service realization method, a unicast service realization device and unicast service realization equipment in a broadcast mode, and solves the problem that no corresponding relation between source layer addresses and source MAC addresses is not beneficial to establishment of a unicast link in the current broadcast mode.
In a first aspect, an embodiment of the present application provides a method for implementing a unicast service in a broadcast mode, where the method is applied to a sending end, and includes:
the network layer receives a first service primitive sent by an application layer, wherein the first service primitive at least comprises: an application identifier AID and a first source Media Access Control (MAC) address;
the network layer sends a second service primitive to an access layer, wherein the second service primitive at least comprises: a source layer address determined by a first source MAC address translation and a destination layer address determined by an AID mapping;
and the access layer sends a broadcast message to a receiving end, wherein the broadcast message at least comprises the source layer address and the destination layer address.
In a second aspect, an embodiment of the present application provides a method for implementing a unicast service in a broadcast mode, where the method is applied to a receiving end, and includes:
the access layer receives and transmits a broadcast message sent by a transmitting terminal, wherein the broadcast message at least comprises the source layer address and the destination layer address;
the access layer sends a seventh service primitive to a network layer, wherein the seventh service primitive at least comprises the source layer address and the destination layer address;
the network layer sends an eighth service primitive to the application layer, the eighth service primitive including at least a first source MAC address, the first source MAC address determined by the source address translation.
In a third aspect, an embodiment of the present application provides a unicast service implementing device in a broadcast mode, where the unicast service implementing device is applied to a sending end, and the unicast service implementing device includes: a transceiver, a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method for implementing unicast traffic in broadcast mode according to the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present application provides a unicast service implementing device in a broadcast mode, which is applied to a receiving end, and includes: a transceiver, a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the unicast service implementing method in the broadcast mode according to the second aspect when executing the computer program.
In a fifth aspect, an embodiment of the present application provides an apparatus for implementing a unicast service in a broadcast mode, where the apparatus is applied to a sending end, and the apparatus includes:
a network layer, configured to receive a first service primitive sent by an application layer, where the first service primitive at least includes: an application identifier AID and a first source Media Access Control (MAC) address;
the network layer is further configured to send a second service primitive to the access stratum, where the second service primitive includes at least: a source layer address determined by a first source MAC address translation and a destination layer address determined by an AID mapping;
and the access layer is used for sending a broadcast message to a receiving end, wherein the broadcast message at least comprises the source layer address and the destination layer address.
In a sixth aspect, an embodiment of the present application provides an apparatus for implementing a unicast service in a broadcast mode, where the apparatus is applied to a receiving end, and the apparatus includes:
an access layer, configured to receive a broadcast message sent by a sending end, where the broadcast message at least includes the source layer address and the destination layer address;
the access layer is further configured to send a seventh service primitive to the network layer, where the seventh service primitive includes at least the source layer address and the destination layer address;
a network layer, configured to send an eighth service primitive to an application layer, where the eighth service primitive includes at least a first source MAC address, and the first source MAC address is determined by the source address translation.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the unicast service implementing method in the broadcast mode according to the first aspect, or implements the steps of the unicast service implementing method in the broadcast mode according to the second aspect.
The beneficial effects of the above technical scheme of this application are:
in the scheme of the application, a network layer of a sending end receives a first service primitive sent by an application layer, where the first service primitive at least includes: an application identifier AID and a first source Media Access Control (MAC) address; the network layer determines an original layer address and a destination layer address according to the AID and the first source MAC address, so that a corresponding relation is formed between the first source MAC address and the original layer address; then, the network layer sends a second service primitive including an source layer address and a destination layer address to the access layer, so that the access layer sends a broadcast message including the source layer address and the destination layer address to the receiving end, and the receiving end can also know the first source MAC address, thereby facilitating the establishment of a unicast link between the receiving end and the sending end and realizing the receiving and sending of service data through the unicast message in a broadcast mode.
Drawings
Fig. 1 shows one of flowcharts of a unicast service implementation method in a broadcast mode according to an embodiment of the present application;
fig. 2 shows a second flowchart of a unicast service implementation method in a broadcast mode according to an embodiment of the present application;
fig. 3 is a third flowchart of a unicast service implementation method in a broadcast mode according to an embodiment of the present application;
fig. 4 shows one of the block diagrams of the unicast service implementing device in the broadcast mode according to the embodiment of the present application;
fig. 5 shows a second block diagram of a unicast service implementation apparatus in broadcast mode according to an embodiment of the present application;
fig. 6 shows one of the block diagrams of the unicast service implementing device in the broadcast mode according to the embodiment of the present application;
fig. 7 shows a second block diagram of a unicast service implementing device in broadcast mode according to an embodiment of the present application.
Detailed Description
To make the technical problems, technical solutions and advantages to be solved by the present application clearer, the following detailed description is made with reference to the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help the embodiments of the present application be fully understood. Accordingly, it will be apparent to those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present application. In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present application, it should be understood that the sequence numbers of the following processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
In addition, the terms "system" and "network" are often used interchangeably herein.
In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may be determined from a and/or other information.
In this embodiment, the access network may be an access network including a Macro Base Station (Macro Base Station), a micro Base Station (Pico Base Station), a Node B (3G mobile Station), an enhanced Base Station (eNB), a Home enhanced Base Station (Femto eNB or Home eNode B or Home eNB or HeNB), a relay Station, an access point, an RRU (Remote Radio Unit), an RRH (Remote Radio Head), and the like. The user terminal may be a mobile phone (or handset), or other device capable of sending or receiving wireless signals, including user Equipment, a Personal Digital Assistant (PDA), a wireless modem, a wireless communicator, a handheld device, a laptop computer, a cordless phone, a Wireless Local Loop (WLL) station, a CPE (Customer Premise Equipment) or a mobile smart hotspot capable of converting mobile signals into WiFi signals, a smart appliance or other device capable of autonomously communicating with a mobile communication network without human operation, and so on.
First embodiment
As shown in fig. 1, an embodiment of the present application provides a method for implementing a unicast service in a broadcast mode, which is applied to a sending end, where the sending end includes, but is not limited to: road Side Unit (RSU), handheld terminal, etc.
Specifically, the method for implementing the unicast service in the broadcast mode includes the following steps:
step 101: the network layer receives a first service primitive sent by the application layer, and the first service primitive at least comprises: an Application Identifier (AID) and a first source Media Access Control (MAC) address;
it should be noted that, in this embodiment of the present application, the network Layer may include a Dedicated Short Message (DSM) Layer and an Adaptation Layer (Adaptation Layer), where the DSM Layer is configured to receive a service primitive issued by the application Layer, or send the service primitive to the application Layer, and the Adaptation Layer is configured to issue the service primitive to the access Layer, or receive the service primitive sent by the access Layer. Therefore, this step is specifically that the DSM layer in the network layer receives the first service primitive.
It should be further noted that the service primitives include a Request (Request) service primitive, an Indication (Indication) service primitive, a Response (Response) service primitive and a confirmation (Confirm) service primitive; the first service primitive in this step may be a request service primitive, such as: request, DSM.
Step 102: the network layer sends a second service primitive to the access layer, wherein the second service primitive at least comprises: source layer address and destination layer address, the source layer address is determined by first source MAC address translation, the destination layer address is determined by AID mapping;
that is, after receiving the first service primitive, the DSM layer firstly encapsulates the AID and the first source MAC address to obtain an addition layer.request service primitive, and secondly sends the addition layer.request service primitive to the adaptation layer; then, the adaptation layer converts the first source MAC address in the adaptation layer.request service primitive to obtain a source layer address, and maps the AID to obtain a destination layer address; finally, the adaptation layer encapsulates the source layer address and the destination layer address to obtain an Access layer request service primitive, and sends the Access layer request service primitive to the Access layer.
Specifically, the first source MAC address may be a 3-byte character string, and after the DSM layer receives the first service primitive, the DSM layer encapsulates the first source MAC address to obtain a 16-byte source address, creates a 16-byte destination address with each bit value being 0, and finally encapsulates the AID, the source address, and the destination address together in an adaptation layer request service primitive and sends the result to the adaptation layer.
After receiving the application layer.request service primitive, the adaptation layer firstly analyzes the application layer.request service primitive to obtain the AID, the source address and the destination address; secondly, obtaining the source layer address of 3 bytes by converting the source address of 16 bytes, specifically, extracting the source layer address from the source address; mapping the AID to obtain a destination layer address of 3 bytes; and finally, encapsulating the source layer address and the destination layer address in a second service primitive (Access layer.
Step 103: the access layer sends a broadcast message to the receiving end, wherein the broadcast message at least comprises a source layer address and a destination layer address.
It should be noted that in this step, after receiving the second service primitive, the access stratum may continue to encapsulate the second service primitive to generate the broadcast message.
First, a network layer receives a first service primitive sent by an application layer, where the first service primitive includes at least an AID and a first source MAC address; secondly, the network layer generates a second service primitive according to the first service primitive, wherein the source layer address in the second service primitive is determined by the first source MAC address conversion, the destination layer address is determined by the AID mapping, and the second service primitive is sent to the access layer; thus, the corresponding relation between the first source MAC address and the source layer address is realized; and finally, the access layer generates a broadcast message comprising the source layer address and the destination layer address according to the received second service primitive, and sends the broadcast message to the receiving end, so that a unicast link is established between the receiving end and the sending end, and the service data is received and sent through the unicast message in a broadcast mode.
Further, as an optional embodiment, before the step 101, the network layer receives the first service primitive sent by the application layer, the method further includes:
the network layer receives a third service primitive sent by the application layer, wherein the third service primitive at least comprises AID;
the network layer feeds back a fourth service primitive to the application layer, the fourth service primitive including at least the first source MAC address.
The optional embodiment is a specific implementation manner for confirming the first source MAC address between the network layer and the application layer, where the implementation manner is that the network layer determines the first source MAC address; the method specifically comprises the following steps: the application layer sends a third service primitive including AID to the network layer to inform the network layer that the broadcast message is required to be sent at present, and the network layer generates a source MAC address and carries the source MAC address in a fourth service primitive to send the fourth service primitive to the application layer to inform the application layer of the source MAC address in the broadcast message at this time under the condition that the third service primitive includes AID and does not include the first source MAC address.
Further, as another optional embodiment, before the step 101, the network layer receives the first service primitive sent by the application layer, the method further includes:
the network layer receives a fifth service primitive sent by the application layer, wherein the fifth service primitive at least comprises AID and a second source MAC address;
the network layer sends a sixth service primitive to the application layer;
under the condition that the sixth service primitive carries a third source MAC address determined by the network layer, the application layer confirms that the first source MAC address is the same as the third source MAC address; in case the sixth service primitive is a confirm service primitive, the application layer determines that the first source MCA address is the same as the second source MAC address.
Specifically, the network layer sends a sixth service primitive to the application layer, including:
under the condition that the network layer confirms that the second source MAC address has conflict currently, the network layer sends a sixth service primitive comprising a third source MAC address to the application layer; wherein the third source MAC address is generated by the network layer;
in the event that the network layer determines that there is no conflict currently with the second source MAC address, the network layer sends a sixth service primitive to the application layer indicating that the fifth service primitive has been acknowledged.
This optional embodiment is a specific implementation of the acknowledgement of the first source MAC address between the network layer and the application layer, where the implementation is that the application layer provides a source MAC address, and the network layer acknowledges whether the source MAC address is available.
The method specifically comprises the following steps: the network layer generates a second source MAC address, carries the second source MAC address and the AID in a fifth service primitive and sends the fifth service primitive to the network layer; the network layer performs conflict detection on the second source MAC address in the fifth service primitive, and generates a third source MAC address and carries the third source MAC address in a sixth service primitive to inform an application layer of the source MAC address capable of broadcasting under the condition that a conflict exists in the detection result; in case that there is no conflict in the detection result, the network layer sends a sixth service primitive (the sixth service primitive is a confirm service primitive) indicating that the fifth service primitive is confirmed to be received to the application layer, so that the application layer can determine the source MAC address in the broadcast mechanism.
Here, it should be noted that the execution subject of the two alternative embodiments may specifically be a DSM layer of a network layer.
Further, as an optional embodiment, the first service primitive further includes: destination MAC address, destination MAC address is 0. That is to say, the first service primitive sent by the application layer to the network layer at least needs to include the AID and the first source MAC address, and may further include a destination MAC address, where the destination MAC address should be 0 or another predetermined value. In other words, the first service primitive may include a destination MAC address of a preset value or may not include the destination MAC address.
In the unicast service implementation method in the broadcast mode of the embodiment of the application, firstly, service primitives are interacted between an application layer and a network layer, so that both the application layer and the network layer acquire a first source MAC address for broadcasting; secondly, the application layer sends a first service primitive comprising AID and a first source MAC address to the network layer; thirdly, the network layer determines a source layer address and a destination layer address according to the first source MAC address and the AID in the first service primitive, so that a corresponding relation is formed between the first source MAC address and the source layer address; then, sending a second service primitive comprising the source layer address and the destination layer address to the access layer; and finally, the access layer generates a broadcast message according to the second service primitive to be sent to the receiving end in a broadcast mode, so that the receiving end can acquire the first source MAC address, a unicast link can be conveniently established between the receiving end and the sending end, and the service data can be received and sent through the unicast message in the broadcast mode.
Second embodiment
The embodiment of the application also provides a unicast service implementation method in the broadcast mode, which is applied to the sending end.
Here, it should be noted that the sending end at least includes an application layer, a network layer, and an access layer; wherein, the network layer can comprise a DSM layer and an adaptation layer; specifically, the application layer interacts with a DSM layer in the network layer through a service primitive, and the access layer interacts with an adaptation layer in the network layer through the service primitive; of course, the DSM layer and the adaptation layer also interact through service primitives.
As shown in fig. 2, a method for implementing a unicast service in a broadcast mode in an embodiment of the present application specifically includes the following steps:
step 201: the application layer sends a tenth service primitive to the network layer, wherein the tenth service primitive at least comprises AID;
step 202: the network layer sends an eleventh service primitive to the application layer, wherein the eleventh service primitive at least comprises an original layer address; the source layer address is generated by the network layer upon receiving the eleventh service primitive.
Step 203: the network layer sends a twelfth service primitive to the access layer, wherein the twelfth service primitive at least comprises an original layer address and a destination layer address; the source layer address is generated by the network layer under the triggering of the eleventh service primitive; the destination layer address is determined by the network layer for the AID mapping.
It should be noted that, after the DSM layer in the network layer receives the eleventh service primitive, first, the eleventh service primitive is parsed to obtain the AID; secondly, the AID is encapsulated to obtain a thirteenth service primitive, where the thirteenth service primitive includes the AID, and the thirteenth service primitive may further include: a source address and a destination address; wherein, the source address and the destination address are preset values, such as: the preset value is zero; and thirdly, the DSM layer sends the thirteenth service primitive to the adaptation layer, and then the adaptation layer automatically generates a source layer address and maps the AID to obtain a destination layer address under the condition that the adaptation layer receives the thirteenth service primitive and determines that a source address in the thirteenth service primitive is a preset value.
In order to establish a unicast link between a subsequent receiving end and a transmitting end, in the embodiment of the present application, the source layer address needs to be sent to the application layer to inform the application layer of establishing the source layer address of the unicast link. The method specifically comprises the following steps: the adaptation layer encapsulates the source layer address to obtain a fourteenth service primitive and sends the fourteenth service primitive to the DSM layer; the DSM layer continues encapsulating the received fourteenth service primitive to obtain a fifteenth service primitive, and sends the fifteenth service primitive to the application layer, wherein the fifteenth service primitive includes the source layer address.
Step 204: the access layer sends a broadcast message to a receiving end, wherein the broadcast message at least comprises the source layer address and the destination layer address.
Third embodiment
The embodiment of the present application provides a method for implementing a unicast service in a broadcast mode, which is applied to a receiving end, wherein the receiving end includes but is not limited to: an On-board Unit (OBU), a handheld terminal and the like.
Here, it should be noted that the receiving end at least includes an application layer, a network layer, and an access layer; wherein, the network layer can comprise a DSM layer and an adaptation layer; specifically, the application layer interacts with a DSM layer in the network layer through a service primitive, and the access layer interacts with an adaptation layer in the network layer through the service primitive; of course, the DSM layer and the adaptation layer also interact through service primitives.
Specifically, as shown in fig. 3, the method for implementing a unicast service in a broadcast mode includes the following steps:
step 301: the access layer receives and transmits the broadcast message sent by the transmitting terminal, wherein the broadcast message at least comprises an original layer address and a destination layer address;
in this step, the source layer address is an address converted by a network layer of the sending end according to the first source MAC address; the destination layer address is an address obtained by the sending end according to AID mapping.
Step 302: the access layer sends a seventh service primitive to the network layer, wherein the seventh service primitive at least comprises an original layer address and a destination layer address;
that is, after receiving the broadcast message, the access layer firstly analyzes the broadcast message to obtain the source layer address and the destination layer address; and then, obtaining the seventh service primitive according to the source layer address and the destination layer address, so as to send the seventh service primitive to an adaptation layer in a network layer, wherein the seventh service primitive at least comprises the source layer address and the destination layer address.
Step 303: the network layer sends an eighth service primitive to the application layer, the eighth service primitive including at least a first source MAC address, the first source MAC address determined by the source layer address translation.
Specifically, after receiving the seventh service primitive, the adaptation layer in the network layer firstly parses the seventh service primitive to obtain at least an address of the source layer; secondly, the first source MAC address is obtained through the conversion of the source layer address; thirdly, packaging the source layer address to obtain a ninth service primitive; then, the ninth service primitive is sent to a DSM layer in the network layer; and finally, the eighth service primitive is sent to an application layer, so that the application layer can acquire the first source MAC address, and a unicast link can be established between a receiving end and a sending end and data interaction can be carried out.
In the unicast service implementation method in the broadcast mode of the embodiment of the application, an access layer receives and sends a broadcast message sent by a sending end, wherein the broadcast message at least comprises an source layer address and a destination layer address; the access layer sends a seventh service primitive to the network layer according to the broadcast message, wherein the seventh service primitive at least comprises an original layer address and a destination layer address; the network layer sends an eighth service primitive to the application layer, wherein the eighth service primitive at least comprises a first source MAC address, and the first source MAC address is determined by source layer address conversion; the application layer of the receiving end can also know the first source MAC address, so that a unicast link can be conveniently established between the subsequent receiving end and the transmitting end, and the unicast message can be transmitted in a broadcast mode.
As an alternative embodiment, the eighth service primitive further comprises a destination MAC address, the destination MAC address being 0. That is, the eighth service primitive sent by the network layer to the application layer at least needs to include the first source MAC address and may further include the destination MAC address, where the destination MAC address should be 0 or another predetermined value. In other words, the eighth service primitive may include a destination MAC address of a preset value or may not include the destination MAC address.
It should be noted that the eighth service primitive may further include a service data packet, and after receiving the eighth service primitive, the network layer may analyze the eighth service primitive to determine whether a unicast link needs to be established with the sending end according to data in the data packet, so as to implement data transmission. Under the condition that the unicast link needs to be established, the application layer sends a service primitive for establishing a unicast link notification to the network layer so as to realize that the access layer sends a unicast message comprising an original layer address and a destination layer address to the sending end and realize service data interaction between the sending end and the receiving end.
Fourth embodiment
As shown in fig. 4, an embodiment of the present application provides an apparatus for implementing a unicast service in a broadcast mode, which is applied to a sending end, and includes:
the network layer 402 is configured to receive a first service primitive sent by the application layer 401, where the first service primitive at least includes: an application identifier AID and a first source Media Access Control (MAC) address;
the network layer 402 is further configured to send a second service primitive to the access layer 403, where the second service primitive includes at least: source layer address and destination layer address, the source layer address is determined by first source MAC address translation, the destination layer address is determined by AID mapping;
an access stratum 403, configured to send a broadcast message to a receiving end, where the broadcast message includes at least a source layer address and a destination layer address.
Optionally, in the unicast service implementing apparatus in the broadcast mode in this embodiment of the application, the network layer 402 is further configured to receive a third service primitive sent by the application layer 401, where the third service primitive includes at least an AID; and feeding back a fourth service primitive to the application layer 401, the fourth service primitive comprising at least the first source MAC address.
Optionally, in the unicast service implementing apparatus in the broadcast mode of the embodiment of the present application, the network layer 402 is further configured to receive a fifth service primitive sent by the application layer 401, where the fifth service primitive includes at least an AID and a second source MAC address; and, send a sixth service primitive to the application layer 401;
wherein, under the condition that the sixth service primitive carries the third source MAC address determined by the network layer 401, the application layer 401 determines that the first source MAC address is the same as the third source MAC address; in the case where the sixth service primitive is a confirm service primitive, the application layer 401 determines that the first source MCA address is the same as the second source MAC address.
Optionally, when the network layer 402 is configured to send the sixth service primitive to the application layer 401, the network layer 402 is specifically configured to:
in case the network layer 402 confirms that there is a conflict currently with the second source MAC address, the network layer 402 sends a sixth service primitive including a third source MAC address to the application layer 401; wherein the third source MAC address is generated by the network layer 402;
in the event that the network layer 402 determines that there is no conflict currently with the second source MAC address, the network layer 402 sends a sixth service primitive to the application layer 401 indicating that the fifth service primitive has been acknowledged.
Optionally, in the unicast service implementation method in the broadcast mode in this embodiment of the application, the first service primitive further includes: destination MAC address, destination MAC address is 0.
First, a network layer 402 receives a first service primitive sent by an application layer 401, where the first service primitive includes at least an AID and a first source MAC address; secondly, the network layer 402 generates a second service primitive according to the first service primitive, wherein the source layer address in the second service primitive is determined by the first source MAC address conversion, the destination layer address is determined by the AID mapping, and sends the second service primitive to the access layer 403; thus, the corresponding relation between the first source MAC address and the source layer address is realized; finally, the access layer 403 generates a broadcast message including the source layer address and the destination layer address according to the received second service primitive, and sends the broadcast message to the receiving end, so as to establish a unicast link between the receiving end and the sending end, and implement receiving and sending of service data through the unicast message in the broadcast mode.
It should be noted that the apparatus of the embodiment of the present application corresponds to the first embodiment of the method, and all implementation means in the embodiment of the method are applicable to the embodiment of the apparatus, so that the same technical effects can be achieved.
Fifth embodiment
As shown in fig. 5, an embodiment of the present application provides an apparatus for implementing a unicast service in a broadcast mode, which is applied to a receiving end, and includes:
an access layer 503, configured to receive a broadcast message sent by a sending end, where the broadcast message at least includes a source layer address and a destination layer address;
the access layer 503 is further configured to send a seventh service primitive to the network layer 502, where the seventh service primitive includes at least an origination layer address and a destination layer address;
the network layer 502 is configured to send an eighth service primitive to the application layer 501, where the eighth service primitive includes at least a first source MAC address determined by source layer address translation.
Optionally, the eighth service primitive further includes a destination MAC address, and the destination MAC address is 0.
In the apparatus for implementing a unicast service in a broadcast mode according to the embodiment of the present application, the access layer 503 receives a broadcast message sent by a sending end, where the broadcast message at least includes an source layer address and a destination layer address; the access layer 503 sends a seventh service primitive to the network layer according to the broadcast message, where the seventh service primitive includes at least an source layer address and a destination layer address; the network layer sends an eighth service primitive to the application layer, wherein the eighth service primitive at least comprises a first source MAC address, and the first source MAC address is determined by source layer address conversion; the application layer of the receiving end can also know the first source MAC address, so that a unicast link can be conveniently established between the subsequent receiving end and the transmitting end, and the unicast message can be transmitted in a broadcast mode.
The apparatus of the embodiment of the present application is corresponding to the second embodiment of the method, and all implementation means in the embodiment of the method are applicable to the embodiment of the apparatus, so that the same technical effect can be achieved.
Sixth embodiment
In order to better achieve the above object, as shown in fig. 6, an embodiment of the present application further provides a unicast service implementing device in a broadcast mode, where the unicast service implementing device is applied to a sending end, and the device includes: a processor 600; and a memory 620 connected to the processor 600 through a bus interface, the memory 620 storing programs and data used by the processor 600 in performing operations, the processor 600 calling and executing the programs and data stored in the memory 720.
The transceiver 610 is connected to the bus interface, and is configured to receive and transmit data under the control of the processor 600; the processor 600 is used to read the program in the memory 620 to perform the following steps:
the network layer receives a first service primitive sent by an application layer, wherein the first service primitive at least comprises: an application identifier AID and a first source Media Access Control (MAC) address;
the network layer sends a second service primitive to an access layer, wherein the second service primitive at least comprises: a source layer address determined by a first source MAC address translation and a destination layer address determined by an AID mapping;
and the access layer sends a broadcast message to a receiving end, wherein the broadcast message at least comprises the source layer address and the destination layer address.
Where in fig. 6, the bus architecture may include any number of interconnected buses and bridges, with various circuits being linked together, particularly one or more processors represented by processor 600 and memory represented by memory 620. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 610 may be a number of elements including a transmitter and a transceiver providing a means for communicating with various other apparatus over a transmission medium. For different terminals, the user interface 630 may also be an interface capable of interfacing with a desired device, including but not limited to a keypad, display, speaker, microphone, joystick, etc. The processor 600 is responsible for managing the bus architecture and general processing, and the memory 620 may store data used by the processor 600 in performing operations.
Optionally, before controlling the network layer to receive the first service primitive sent by the application layer, the processor 600 is further configured to:
the control network layer receives a third service primitive sent by the application layer, wherein the third service primitive at least comprises AID;
the control network layer feeds back a fourth service primitive to the application layer, the fourth service primitive including at least the first source MAC address.
Optionally, before controlling the network layer to receive the first service primitive sent by the application layer, the processor 600 is further configured to:
the control network layer receives a fifth service primitive sent by the application layer, wherein the fifth service primitive at least comprises AID and a second source MAC address;
controlling the network layer to send a sixth service primitive to the application layer;
under the condition that the sixth service primitive carries a third source MAC address determined by the network layer, the application layer confirms that the first source MAC address is the same as the third source MAC address; in case the sixth service primitive is a confirm service primitive, the application layer determines that the first source MCA address is the same as the second source MAC address.
Optionally, when the processor 600 is configured to control the network layer to send the sixth service primitive to the application layer, specifically, to:
under the condition that the network layer confirms that the second source MAC address has conflict currently, the network layer sends a sixth service primitive comprising a third source MAC address to the application layer; wherein the third source MAC address is generated by the network layer;
in the event that the network layer determines that there is no conflict currently with the second source MAC address, the network layer sends a sixth service primitive to the application layer indicating that the fifth service primitive has been acknowledged.
Optionally, the first service primitive further includes: destination MAC address, destination MAC address is 0.
The sixth embodiment of the present application is corresponding to the first embodiment of the method, and all implementation means in the method embodiments are applicable to the embodiment of the terminal, so that the same technical effects can be achieved.
Those skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be performed by hardware, or may be instructed to be performed by associated hardware by a computer program that includes instructions for performing some or all of the steps of the above methods; and the computer program may be stored in a readable storage medium, which may be any form of storage medium.
Seventh embodiment
As shown in fig. 7, to better achieve the above object, an embodiment of the present application further provides a unicast service implementing device in a broadcast mode, which is applied to a receiving end, and the device includes: a processor 700; and a memory 720 connected to the processor 700 through a bus interface, the memory 720 storing programs and data used by the processor 700 in performing operations, the processor 700 calling and executing the programs and data stored in the memory 720.
The transceiver 710 is connected to the bus interface, and is configured to receive and transmit data under the control of the processor 700; the processor 700 is used for reading the program in the memory 720 and executing the following steps:
controlling an access layer to receive a broadcast message sent by a sending end, wherein the broadcast message at least comprises an original layer address and a destination layer address;
controlling the access layer to send a seventh service primitive to the network layer, wherein the seventh service primitive at least comprises an original layer address and a destination layer address;
the control network layer sends an eighth service primitive to the application layer, the eighth service primitive including at least a first source MAC address, the first source MAC address determined by the source layer address translation.
Where in fig. 7, the bus architecture may include any number of interconnected buses and bridges, with various circuits being linked together, particularly one or more processors represented by processor 700 and memory represented by memory 720. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. The bus interface provides an interface. The transceiver 710 may be a number of elements including a transmitter and a transceiver providing a means for communicating with various other apparatus over a transmission medium. For different terminals, the user interface 730 may also be an interface capable of interfacing with a desired device, including but not limited to a keypad, display, speaker, microphone, joystick, etc. The processor 700 is responsible for managing the bus architecture and general processing, and the memory 720 may store data used by the processor 700 in performing operations.
Optionally, the eighth service primitive further includes a destination MAC address, and the destination MAC address is 0.
The seventh embodiment of the present invention is corresponding to the second embodiment of the method, and all the implementation means in the method embodiment are applicable to the embodiment of the terminal, so that the same technical effects can be achieved.
Those skilled in the art will appreciate that all or part of the steps for implementing the above embodiments may be performed by hardware, or may be instructed to be performed by associated hardware by a computer program that includes instructions for performing some or all of the steps of the above methods; and the computer program may be stored in a readable storage medium, which may be any form of storage medium.
Further, it should be noted that in the apparatus and method of the embodiments of the present application, it is apparent that each component or each step may be decomposed and/or recombined. These decompositions and/or recombinations are to be considered as equivalents of the present application. Also, the steps of performing the series of processes described above may naturally be performed chronologically in the order described, but need not necessarily be performed chronologically, and some steps may be performed in parallel or independently of each other. It will be understood by those of ordinary skill in the art that all or any of the steps or elements of the methods and apparatus of the present application may be implemented in any computing device (including processors, storage media, etc.) or network of computing devices, in hardware, firmware, software, or any combination thereof, which can be implemented by those of ordinary skill in the art using their basic programming skills after reading the description of the present application.
Thus, the objects of the embodiments of the present application can also be achieved by running a program or a set of programs on any computing device. The computing device may be a general purpose device as is well known. Thus, the object of the embodiments of the present application can also be achieved only by providing a program product containing program code for implementing the method or apparatus. That is, such a program product also constitutes the present application, and a storage medium storing such a program product also constitutes the present application. It is to be understood that the storage medium may be any known storage medium or any storage medium developed in the future. It is further noted that in the apparatus and method of the present application, it is apparent that the components or steps may be disassembled and/or recombined. These decompositions and/or recombinations are to be considered as equivalents of the present application. Also, the steps of executing the series of processes described above may naturally be executed chronologically in the order described, but need not necessarily be executed chronologically. Some steps may be performed in parallel or independently of each other.
The foregoing is a preferred embodiment of the present application and it should be noted that modifications and embellishments could be made by those skilled in the art without departing from the principle described in the present application and should be considered as the scope of protection of the present application.

Claims (12)

1. A method for realizing unicast service in broadcast mode is applied to a sending end, and is characterized by comprising the following steps:
the network layer receives a first service primitive sent by an application layer, wherein the first service primitive at least comprises: an application identifier AID and a first source Media Access Control (MAC) address;
the network layer sends a second service primitive to an access layer, wherein the second service primitive at least comprises: a source layer address determined by a first source MAC address translation and a destination layer address determined by an AID mapping;
and the access layer sends a broadcast message to a receiving end, wherein the broadcast message at least comprises the source layer address and the destination layer address.
2. The method of claim 1, wherein before the network layer receives the first service primitive sent by the application layer, the method further comprises:
the network layer receives a third service primitive sent by the application layer, wherein the third service primitive at least comprises AID;
the network layer feeds back a fourth service primitive to the application layer, the fourth service primitive including at least the first source MAC address.
3. The method of claim 1, wherein before the network layer receives the first service primitive sent by the application layer, the method further comprises:
the network layer receives a fifth service primitive sent by the application layer, wherein the fifth service primitive at least comprises an AID and a second source MAC address;
the network layer sends a sixth service primitive to the application layer;
under the condition that the sixth service primitive carries a third source MAC address determined by the network layer, the application layer confirms that the first source MAC address is the same as the third source MAC address; in a case where the sixth service primitive is a confirm service primitive, the application layer determines that the first source MAC address is the same as the second source MAC address.
4. The method as claimed in claim 3, wherein the network layer sends a sixth service primitive to the application layer, comprising:
in the case where the network layer confirms that there is a conflict currently with the second source MAC address, the network layer sends the sixth service primitive including the third source MAC address to the application layer; wherein the third source MAC address is generated by the network layer;
in the event that the network layer determines that there is no conflict currently with the second source MAC address, the network layer sends a sixth service primitive to the application layer indicating that the fifth service primitive has been acknowledged.
5. The method of claim 1, wherein the first service primitive further comprises: a destination MAC address, the destination MAC address being 0.
6. A method for realizing unicast service in broadcast mode is applied to a receiving end, and is characterized by comprising the following steps:
the access layer receives and transmits the broadcast message sent by the transmitting terminal, wherein the broadcast message at least comprises an original layer address and a destination layer address;
the access layer sends a seventh service primitive to a network layer, wherein the seventh service primitive at least comprises the source layer address and the destination layer address;
the network layer sends an eighth service primitive to the application layer, the eighth service primitive including at least a first source MAC address, the first source MAC address determined by the source address translation.
7. The method as recited in claim 6, wherein the eighth service primitive further comprises a destination MAC address, and wherein the destination MAC address is 0.
8. A unicast service implementing device under broadcast mode is applied to a sending end, and is characterized by comprising: transceiver, memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor when executing the computer program implements the steps of the unicast service implementing method in broadcast mode according to any of the claims 1 to 5.
9. A unicast service implementing device under broadcast mode is applied to a receiving end, and is characterized by comprising: transceiver, memory, processor and computer program stored on the memory and executable on the processor, characterized in that the processor when executing the computer program implements the steps of the unicast service implementing method in broadcast mode according to any of claims 6 to 7.
10. A unicast service device under a broadcast mode is applied to a sending end, and is characterized by comprising:
a network layer, configured to receive a first service primitive sent by an application layer, where the first service primitive at least includes: an application identifier AID and a first source Media Access Control (MAC) address;
the network layer is further configured to send a second service primitive to the access stratum, where the second service primitive includes at least: a source layer address determined by a first source MAC address translation and a destination layer address determined by an AID mapping;
and the access layer is used for sending a broadcast message to a receiving end, wherein the broadcast message at least comprises the source layer address and the destination layer address.
11. A unicast service realizing device under a broadcast mode is applied to a receiving end and is characterized by comprising the following steps:
the access layer is used for receiving a broadcast message sent by a sending end, wherein the broadcast message at least comprises an original layer address and a destination layer address;
the access layer is further configured to send a seventh service primitive to the network layer, where the seventh service primitive includes at least the source layer address and the destination layer address;
a network layer, configured to send an eighth service primitive to an application layer, where the eighth service primitive includes at least a first source MAC address, and the first source MAC address is determined by the source address translation.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for unicast service implementation in broadcast mode according to one of claims 1 to 5, or the steps of the method for unicast service implementation in broadcast mode according to one of claims 6 to 7.
CN202011099443.2A 2020-10-14 2020-10-14 Method, device and equipment for realizing unicast service in broadcast mode Active CN112235734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011099443.2A CN112235734B (en) 2020-10-14 2020-10-14 Method, device and equipment for realizing unicast service in broadcast mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011099443.2A CN112235734B (en) 2020-10-14 2020-10-14 Method, device and equipment for realizing unicast service in broadcast mode

Publications (2)

Publication Number Publication Date
CN112235734A CN112235734A (en) 2021-01-15
CN112235734B true CN112235734B (en) 2022-04-08

Family

ID=74112995

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011099443.2A Active CN112235734B (en) 2020-10-14 2020-10-14 Method, device and equipment for realizing unicast service in broadcast mode

Country Status (1)

Country Link
CN (1) CN112235734B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115250444A (en) * 2021-04-12 2022-10-28 华为技术有限公司 Communication method, device and related equipment
CN115396402A (en) * 2021-05-21 2022-11-25 大唐高鸿智联科技(重庆)有限公司 Address conflict processing method and device in Internet of vehicles and user equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040995A (en) * 2016-02-04 2017-08-11 中兴通讯股份有限公司 Broadcasting method and device, the method for building up of MBMS carryings of car networking communication V2X message
CN110972103A (en) * 2018-09-28 2020-04-07 华为技术有限公司 Communication method and device
CN111182655A (en) * 2018-11-09 2020-05-19 华硕电脑股份有限公司 Method and apparatus for improving connection of sidelink communications in a wireless communication system
CN111417092A (en) * 2019-01-04 2020-07-14 华硕电脑股份有限公司 Method and apparatus for supporting single one-to-one side link communication link vehicle networking services
WO2020171534A1 (en) * 2019-02-19 2020-08-27 삼성전자 주식회사 Method and device for identifying terminal for message transmission in mobile communication system
CN111629438A (en) * 2019-02-27 2020-09-04 华为技术有限公司 Resource allocation method and device
CN111698723A (en) * 2019-03-14 2020-09-22 华硕电脑股份有限公司 Method and apparatus for sidelink logical channel establishment in a wireless communication system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10554547B2 (en) * 2015-05-07 2020-02-04 Cisco Technology, Inc. Scalable network address translation at high speed in a network environment
US20190124489A1 (en) * 2016-03-30 2019-04-25 Interdigital Patent Holdings, Inc. Method and wireless unit for v2x communication
WO2019216641A1 (en) * 2018-05-08 2019-11-14 엘지전자 주식회사 Method for transmitting v2x data in wireless communication system, and device therefor
CN113475158A (en) * 2019-02-13 2021-10-01 康维达无线有限责任公司 Apparatus, system, method, and computer readable medium for connection-oriented vehicle-to-X (VTX) communication in 5G

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107040995A (en) * 2016-02-04 2017-08-11 中兴通讯股份有限公司 Broadcasting method and device, the method for building up of MBMS carryings of car networking communication V2X message
CN110972103A (en) * 2018-09-28 2020-04-07 华为技术有限公司 Communication method and device
CN111182655A (en) * 2018-11-09 2020-05-19 华硕电脑股份有限公司 Method and apparatus for improving connection of sidelink communications in a wireless communication system
CN111417092A (en) * 2019-01-04 2020-07-14 华硕电脑股份有限公司 Method and apparatus for supporting single one-to-one side link communication link vehicle networking services
WO2020171534A1 (en) * 2019-02-19 2020-08-27 삼성전자 주식회사 Method and device for identifying terminal for message transmission in mobile communication system
CN111629438A (en) * 2019-02-27 2020-09-04 华为技术有限公司 Resource allocation method and device
CN111698723A (en) * 2019-03-14 2020-09-22 华硕电脑股份有限公司 Method and apparatus for sidelink logical channel establishment in a wireless communication system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
.《3GPP TS 23.303 V16.0.0》.2020, *
3rd Generation Partnership Project.Technical Specification Group Services and System Aspects *
Proximity-based services (ProSe) *

Also Published As

Publication number Publication date
CN112235734A (en) 2021-01-15

Similar Documents

Publication Publication Date Title
TWI764893B (en) Method and device for establishing radio resource control connection
US10863578B2 (en) Data transmission method, device and system
CN112235734B (en) Method, device and equipment for realizing unicast service in broadcast mode
WO2015158168A1 (en) Method and apparatus for communication between mobile terminal and pos terminal, and pos terminal
CN110505714B (en) Multi-link communication method, equipment and terminal
CN114071372B (en) Multicast broadcast service MBS transmission method, terminal and network equipment
US20210029759A1 (en) Wireless communication method and network device
WO2012088906A1 (en) Intercommunication method and system for internet of things terminals
WO2019136611A1 (en) Cell handover method, access network device and terminal device
WO2015103848A1 (en) Method, system and terminal for realizing network access via wifi
CN113453176A (en) Method for enabling satellite terminal to support NAS signaling to achieve 5G core network management and control
WO2019242525A1 (en) Data transmission method, related device and system
WO2017219205A1 (en) Base station, data transmission method and apparatus
Chen et al. Cellular based machine to machine communication with un-peer2peer protocol stack
CN104662936B (en) A kind of method, apparatus and system for transmitting data
US20220240328A1 (en) Unicast connection establishment method and apparatus, and storage medium
CN108617000B (en) Information transmission method and device
WO2021218563A1 (en) Method and device for transmitting data
CN108886766B (en) Control information transmission method and device
CN109167851B (en) Method and device for acquiring MAC address
CN112214425A (en) Data transmission method, data transmission device, computer equipment and storage medium
CN111586649B (en) Method for updating near field communication user equipment identification and user equipment
US9961562B2 (en) System and method for extending coverage of a communication network
EP4344329A1 (en) Communication method and apparatus
WO2023216932A1 (en) Communication method and apparatus

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20220104

Address after: 400040 No. 35, Jinghe Road, Huxi street, high tech Zone, Shapingba District, Chongqing

Applicant after: Datang Gaohong Zhilian Technology (Chongqing) Co.,Ltd.

Address before: 550025 Leihua road crossing, Huaxi District, Guiyang City, Guizhou Province

Applicant before: DATANG GAOHONG DATA NETWORK TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant