CN-116962343-B - Message transmission method and system
Abstract
The application discloses a message transmission method and a system, wherein the system comprises a core network EPC and at least one terminal device, the core network EPC receives a first address resolution request sent by an uplink device and then broadcasts an air interface paging message to the at least one terminal device, the terminal device assembles an address resolution request of an Ethernet structure based on a destination IP to obtain a second address resolution request, and sends the second address resolution request to corresponding downlink devices, when the terminal device receives a first address resolution reply sent by the downlink devices, NAS information is sent to the core network EPC, and the core network EPC receives the NAS information and then sends a second address resolution reply to the uplink device. The second address resolution reply includes the destination IP and the MAC address of the PGW of the core network EPC, indicates that the destination IP has been found, and the proxy address is the MAC address of the PGW. The application realizes the search of the device of the destination IP accessed by the uplink device and the transmission of the two-layer Ethernet messages of the uplink device and the downlink device.
Inventors
- MA SHUFENG
- LI FEI
- ZHENG CHANGSONG
- YU GAI
- FENG JIAN
Assignees
- 海能达通信股份有限公司
- 四川省公安科研中心
Dates
- Publication Date
- 20260508
- Application Date
- 20230526
Claims (11)
- 1. A method for transmitting a message, which is applied to a core network EPC, the method comprising: Receiving a first address resolution request sent by uplink equipment, wherein the first address resolution request comprises a target IP; The destination IP is encapsulated in an air interface paging message, and the air interface paging message is broadcast through a base station, so that after receiving the air interface paging message, a terminal device obtains the destination IP, generates a second address resolution request and sends the second address resolution request to a hanging-down device of the terminal device; Receiving NAS information sent by the terminal equipment through an air interface, wherein the NAS information comprises the destination IP and equipment identification of the terminal equipment and is used for indicating that the destination IP belongs to the hanging-down equipment of the terminal equipment; And sending a second address resolution reply to the uplink equipment, wherein the second address resolution reply comprises the target IP and the MAC address of the PGW of the core network EPC, so that the uplink equipment sends a unicast message by taking the MAC address of the PGW as a target MAC address.
- 2. The method according to claim 1, further comprising, after said receiving the NAS message sent by the terminal apparatus: and generating and recording a query result, wherein the query result comprises the corresponding relation between the destination IP and the equipment identifier of the terminal equipment.
- 3. The method according to claim 1 or 2, characterized in that the method further comprises: Receiving a unicast message which is sent by the uplink equipment and is packaged with the target IP by taking the MAC address of the PGW as a target MAC address; Acquiring the equipment identifier of the terminal equipment based on the destination IP; And sending the unicast message to the terminal equipment so that the terminal equipment forwards the unicast message to the down-hanging equipment corresponding to the destination IP based on the destination IP.
- 4. A method for transmitting a message, which is applied to a terminal device, the method comprising: Receiving an air interface paging message broadcast by a core network EPC through a base station, wherein the air interface paging message is obtained by encapsulating the core network EPC based on a destination IP sent by uplink equipment; based on the address resolution request of the destination IP assembly Ethernet structure, obtaining a second address resolution request, and sending the second address resolution request to each hanging-down device of the terminal device; Responding to a first address resolution reply sent by a down-hanging device corresponding to the destination IP, sending an NAS message to the core network EPC through an air interface, so that the core network EPC records the corresponding relation between the destination IP and the device identifier of the terminal device, and sending a second address resolution reply to the uplink device, wherein the first address resolution reply comprises the MAC addresses of the down-hanging device corresponding to the destination IP and the destination IP, the second address resolution reply comprises the MAC addresses of the destination IP and the PGW of the core network EPC, and the NAS message comprises the destination IP and the device identifier of the terminal device and is used for indicating that the destination IP belongs to the down-hanging device of the terminal device.
- 5. The method according to claim 4, wherein the method further comprises: receiving a unicast message which is sent by the core network EPC and is packaged with the destination IP; and forwarding the unicast message to the down-hanging equipment corresponding to the destination IP based on the destination IP.
- 6. A method for transmitting a message, which is applied to a terminal device, the method comprising: Receiving a first address resolution request sent by an underhung device, wherein the first address resolution request comprises a destination IP; The target IP is encapsulated in a first NAS message, the first NAS message is sent to a core network EPC through a base station, after the core network EPC receives the first NAS message, the target IP is acquired, a second address analysis request is generated, the second address analysis request is broadcast to all uplink devices of the core network EPC, and a first address analysis reply is received, wherein the first address analysis reply comprises the MAC address of the uplink device corresponding to the target IP; receiving a second NAS message sent by the core network EPC through an air interface, wherein the second NAS message comprises the target IP, the MAC address of the PGW of the core network EPC and the MAC address of uplink equipment corresponding to the target IP; generating and sending a second address resolution reply to the down-hanging device based on the second NAS message, so that the down-hanging device sends a unicast message to the uplink device corresponding to the destination IP, wherein the second address resolution reply comprises the MAC address of the uplink device corresponding to the destination IP.
- 7. A method for transmitting a message, which is applied to a core network EPC, the method comprising: Receiving a first NAS message which is sent by terminal equipment through a base station and encapsulates a target IP; Acquiring the target IP and generating a second address resolution request, and broadcasting the second address resolution request to each uplink device of the core network EPC; Receiving a first address resolution reply, wherein the first address resolution reply comprises the MAC address of the uplink equipment corresponding to the target IP; And sending a second NAS message to the terminal equipment through an air interface, wherein the second NAS message comprises the destination IP, the MAC address of the PGW of the core network EPC and the MAC address of the uplink equipment corresponding to the destination IP, so that the terminal equipment generates and sends a second address resolution reply to the down-hanging equipment of the terminal equipment based on the second NAS message, and the down-hanging equipment sends a unicast message to the uplink equipment corresponding to the destination IP, and the second address resolution reply comprises the MAC address of the uplink equipment corresponding to the destination IP.
- 8. A message transmission system, comprising a core network EPC and at least one terminal device; the core network EPC is used for packaging a first destination IP in an address resolution request sent by an uplink device in an air interface paging message, and broadcasting the air interface paging message to at least one terminal device through a base station; the terminal device is configured to send an resolution request encapsulated with the first destination IP to each down-link device of the terminal device, and send a NAS message to the core network EPC in response to receiving a first address resolution reply sent by the down-link device, where the first address resolution reply includes the first destination IP and a MAC address of the down-link device, and the NAS message includes the first destination IP and a device identifier of the terminal device; and the core network EPC is used for receiving the NAS message and then sending a second address resolution reply to the uplink equipment, wherein the second address resolution reply comprises the first destination IP and the MAC address of the PGW of the core network EPC so that the uplink equipment sends a unicast message by taking the MAC address of the PGW as a destination MAC address.
- 9. The system of claim 8, wherein the system further comprises a controller configured to control the controller, The core network EPC is further configured to receive a unicast message sent by the uplink device by using the MAC address of the PGW as a proxy address, wherein the unicast message is packaged with the first destination IP, acquire a device identifier of the terminal device based on the first destination IP, and send the unicast message to the terminal device; And the terminal equipment is also used for forwarding the unicast message to the hanging-down equipment based on the first destination IP after receiving the unicast message.
- 10. The system of claim 8, wherein the system further comprises a controller configured to control the controller, The terminal equipment is also used for receiving an address resolution request comprising a second destination IP sent by any one of the down hanging equipment, packaging the second destination IP in a first NAS message, and sending the first NAS message to the core network EPC through a base station; The core network EPC is further configured to broadcast an address resolution request that encapsulates the second destination IP to each uplink device of the core network EPC, and send a second NAS message to the terminal device after receiving a MAC address of an uplink device corresponding to the destination IP sent by an uplink device corresponding to the destination IP, where the second NAS message includes the second destination IP, a MAC address of a PGW of the core network EPC, and a MAC address of an uplink device corresponding to the destination IP; and the terminal equipment is further used for generating and sending an address resolution reply of the MAC address of the uplink equipment corresponding to the second destination IP to the downlink equipment after receiving the second NAS message, so that the downlink equipment sends a unicast message to the uplink equipment corresponding to the destination IP.
- 11. The system according to claim 8 or 9, characterized in that the system further comprises the uplink device and/or the downlink device, the uplink device is connected with the core network EPC through Ethernet communication, and the downlink device is connected with the terminal device through local area network; the uplink device is configured to send a unicast message in which the destination IP is encapsulated, with the MAC address of the PGW as a proxy address after receiving the second address resolution reply; And the down-hanging device is used for generating and sending the first address resolution reply to the terminal device after confirming that the target IP is the device IP of the down-hanging device after receiving the second address resolution request.
Description
Message transmission method and system Technical Field The present application relates to the field of digital communications technologies, and in particular, to a method and a system for transmitting a message. Background In a conventional 4/5G wireless network, IP data transmitted between a UE (terminal) and a core network EPC (Evolved Packet Core) does not contain an ethernet header, and such a network can only transmit three layers of IP packets, but cannot transmit two layers of ethernet data. Most of the current industrial Internet adopts wifi technology, and the wifi technology supports two-layer Ethernet data, namely, most of the current industrial Internet adopts two-layer transmission. At present, in order to upgrade a 4G wireless network on an existing network, when network re-planning is performed, a VPN mode is generally adopted to realize mutual backup of the 4G network and WiFi, namely, a two-layer VPN is established at the front end of a core network and the rear end of UE, so that normal transmission of Ethernet data is ensured. However, by adopting the VPN mode, not only extra equipment is added, resulting in an increase in modification cost and difficulty, but also a large number of broadcast messages need to be notified to all UEs, thereby greatly increasing the load. Disclosure of Invention The application provides a message transmission method and a system, as follows: a message transmission method is applied to a core network EPC, and comprises the following steps: Receiving a first address resolution request sent by uplink equipment, wherein the first address resolution request comprises a target IP; The destination IP is encapsulated in an air interface paging message, and the air interface paging message is broadcast through a base station, so that after receiving the air interface paging message, a terminal device obtains the destination IP, generates a second address resolution request and sends the second address resolution request to a hanging-down device of the terminal device; Receiving NAS information sent by the terminal equipment through an air interface, wherein the NAS information comprises the destination IP and equipment identification of the terminal equipment and is used for indicating that the destination IP belongs to the hanging-down equipment of the terminal equipment; And sending a second address resolution reply to the uplink equipment, wherein the second address resolution reply comprises the target IP and the MAC address of the PGW of the core network EPC, so that the uplink equipment sends a unicast message by taking the MAC address of the PGW as a target MAC address. Optionally, after the receiving the NAS message sent by the terminal device, the method further includes: and generating and recording a query result, wherein the query result comprises the corresponding relation between the destination IP and the equipment identifier of the terminal equipment. Optionally, the method further comprises: Receiving a unicast message which is sent by the uplink equipment and is packaged with the target IP by taking the MAC address of the PGW as a target MAC address; Acquiring the equipment identifier of the terminal equipment based on the destination IP; And sending the unicast message to the terminal equipment so that the terminal equipment forwards the unicast message to the down-hanging equipment corresponding to the destination IP based on the destination IP. A message transmission method is applied to terminal equipment, and comprises the following steps: Receiving an air interface paging message broadcast by a core network EPC through a base station, wherein the air interface paging message is obtained by encapsulating the core network EPC based on a destination IP sent by uplink equipment; based on the address resolution request of the destination IP assembly Ethernet structure, obtaining a second address resolution request, and sending the second address resolution request to each hanging-down device of the terminal device; Responding to a first address resolution reply sent by a down-hanging device corresponding to the destination IP, sending an NAS message to the core network EPC through an air interface, so that the core network EPC records the corresponding relation between the destination IP and the device identifier of the terminal device, and sending a second address resolution reply to the uplink device, wherein the first address resolution reply comprises the MAC addresses of the down-hanging device corresponding to the destination IP and the destination IP, the second address resolution reply comprises the MAC addresses of the destination IP and the PGW of the core network EPC, and the NAS message comprises the destination IP and the device identifier of the terminal device and is used for indicating that the destination IP belongs to the down-hanging device of the terminal device. Optionally, the method further comprises: receiving a unicast mess