CN111356187A - Message transmission method and device - Google Patents

Message transmission method and device Download PDF

Info

Publication number
CN111356187A
CN111356187A CN201811583308.8A CN201811583308A CN111356187A CN 111356187 A CN111356187 A CN 111356187A CN 201811583308 A CN201811583308 A CN 201811583308A CN 111356187 A CN111356187 A CN 111356187A
Authority
CN
China
Prior art keywords
mec
terminal
base station
message
target base
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.)
Pending
Application number
CN201811583308.8A
Other languages
Chinese (zh)
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 Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201811583308.8A priority Critical patent/CN111356187A/en
Publication of CN111356187A publication Critical patent/CN111356187A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The invention provides a message transmission method and a device, which relate to the technical field of communication, and the method comprises the following steps: after acquiring a downlink message sent to a terminal by an application, a first mobile edge computing MEC determines bearing information of the terminal; the bearing information records the information of the base station which the terminal is currently accessed to; the base station which the terminal is currently accessed to is a target base station after the terminal is switched in; and the first MEC sends the downlink message to the target base station according to the bearing information. Compared with the prior art, the first MEC can accurately determine the base station accessed by the current terminal, and sends the downlink message to the base station, and after the terminal is switched, the service continuity of the terminal can be kept without influencing the use of a user.

Description

Message transmission method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for transmitting a message.
Background
The basic idea of the MEC mobile edge computing is to migrate a cloud computing platform from the inside of a mobile core network to the edge of a mobile access network, so as to realize the elastic utilization of computing and storage resources. By utilizing the server deployed at the edge of the network, a mobile operator can provide a production operation environment for various upper-layer applications, thereby realizing the sinking of mobile services, improving the service distribution and transmission capabilities, further reducing the time delay and effectively inhibiting the generation of congestion in a core network. No matter where the MEC is deployed in the network environment, no matter whether the MEC is deployed in a virtualized manner, the MEC is limited by physical devices and transmission, and the MEC may not expand a coverage area without limitation. Each MEC covers a different range, and the terminal has mobility, so that during the terminal moving process in service, due to the change of the anchor point of the MEC, the service message is lost, thereby causing service discontinuity.
In summary, the prior art cannot provide a method for guaranteeing service continuity.
Disclosure of Invention
The invention provides a message transmission method and a message transmission device, which are used for solving the problem that a method for ensuring service continuity cannot be provided in the prior art.
The embodiment of the invention provides a message transmission method, which comprises the following steps:
after acquiring a downlink message sent to a terminal by an application, a first mobile edge computing MEC determines bearing information of the terminal; the information of the base station currently accessed by the terminal is recorded in the bearing information; the base station which the terminal is currently accessed to is a target base station after the terminal is switched to access;
and the first MEC sends the downlink message to the target base station according to the bearing information.
In the embodiment of the present invention, after acquiring the downlink packet, the first MEC determines the base station to which the terminal is currently accessed according to the bearer information of the terminal that needs to receive the downlink packet, and the first MEC sends the downlink packet to the base station to which the terminal is currently accessed, so that the base station sends the downlink packet to the terminal. Compared with the prior art, the first MEC can accurately determine the base station accessed by the current terminal, and sends the downlink message to the base station, and after the terminal is switched, the service continuity of the terminal can be kept without influencing the use of a user.
Further, the sending, by the first MEC, the downlink packet to the base station to which the terminal is currently accessed according to the bearer information includes:
and the first MEC determines that the target base station is a base station under the coverage of the first MEC, and then the first MEC sends the downlink message to the target base station.
In the embodiment of the invention, when the source base station of the terminal and the switched target base station are positioned in the same MEC, the continuity of the service can be ensured.
Further, the sending, by the first MEC, the downlink packet to the base station to which the terminal is currently accessed according to the bearer information includes:
and if the first MEC determines that the target base station is a base station under the coverage of a second MEC, the first MEC sends the downlink message to the second MEC so that the second MEC sends the downlink message to the terminal through the target base station.
The embodiment of the invention can ensure the service continuity of terminal switching under different MEC coverage.
Further, before acquiring the downlink packet sent by the application to the terminal, the first MEC further includes:
the first MEC receives an uplink message sent to an application by the terminal, and after the first MEC determines that the application belongs to the first MEC, the first MEC allocates a local IP (Internet protocol) to the terminal;
the first MEC replaces the network IP of the terminal in the uplink message with the local IP and sends the replaced uplink message to the application, wherein the network IP of the terminal is distributed by the core network of the terminal;
the sending, by the first MEC, the downlink packet to the target base station according to the bearer information includes:
and the first MEC replaces the local IP in the downlink message with the network IP of the terminal and sends the replaced downlink message to the target base station.
In the embodiment of the present invention, in order to ensure transmission security, if the first MEC determines that the terminal accesses the local application, the first MEC allocates the local IP of the first MEC to the terminal, and sends the uplink message after replacing the local IP to the local application, and when the local application sends the downlink message for the terminal, the first MEC further needs to replace the local IP with the network IP of the terminal, so as to ensure that the target base station can send the downlink message to the terminal.
Further, the method further comprises:
the first MEC receives an uplink message sent by the second MEC, wherein the uplink message is forwarded to the first MEC after the second MEC determines that the uplink message is sent to an application corresponding to the first MEC by the terminal;
and the first MEC replaces the network IP of the terminal in the uplink message with the local IP and sends the replaced uplink message to the application.
In the embodiment of the present invention, when the first MEC receives the uplink packet sent by the second MEC and requiring access to the local application of the first MEC, in order to ensure transmission security, the network IP in the uplink packet also needs to be replaced by the local IP, and the replaced uplink packet is sent to the local application of the first MEC.
Further, the bearer information of the terminal is obtained by:
the first MEC receives a switching updating instruction sent by a core network, wherein the switching updating instruction comprises information of a target base station.
In the embodiment of the invention, when the terminal is switched to the connection base station, the core network can acquire the base station information connected with the current terminal, and then the core network sends the information of the target base station to the first MEC, so that the first MEC can determine the base station connected with the current terminal and sends the message to the base station, thereby ensuring the continuity of the service.
An embodiment of the present invention further provides a packet transmission apparatus, including:
the device comprises a bearing information determining unit, a judging unit and a sending unit, wherein the bearing information determining unit is used for determining the bearing information of a terminal after acquiring a downlink message sent to the terminal by an application; the information of the base station currently accessed by the terminal is recorded in the bearing information; the base station which the terminal is currently accessed to is a target base station after the terminal is switched to access;
and the sending unit is used for sending the downlink message to the target base station according to the bearing information.
In the embodiment of the invention, after the downlink message is acquired, the base station which the terminal is currently accessed to is determined according to the bearing information of the terminal which needs to receive the downlink message, and the downlink message is sent to the base station which the terminal is currently accessed to ensure that the base station sends the downlink message to the terminal. Compared with the prior art, the method can accurately determine the base station accessed by the current terminal, sends the downlink message to the base station, and can keep the service continuity of the terminal after the terminal is switched without influencing the use of a user.
Further, the sending unit is specifically configured to:
and if the target base station is determined to be the base station under the coverage of the first MEC, sending the downlink message to the target base station.
Further, the sending unit is specifically configured to:
and if the target base station is determined to be a base station under the coverage of a second MEC, sending the downlink message to the second MEC so that the second MEC is sent to the terminal through the target base station.
Further, the apparatus further comprises:
a message processing unit, configured to receive an uplink message sent by the terminal to an application, where the first MEC determines that the application belongs to the first MEC, and then allocate a local IP to the terminal; replacing the network IP of the terminal in the uplink message with the local IP, and sending the replaced uplink message to the application, wherein the network IP of the terminal is distributed by the core network of the terminal;
the sending unit is specifically configured to:
and replacing the local IP in the downlink message with the network IP of the terminal, and sending the replaced downlink message to the target base station.
Further, the message processing unit is further configured to:
receiving an uplink message sent by the second MEC, wherein the uplink message is forwarded to the message processing unit after the second MEC determines that the uplink message is sent to an application corresponding to the first MEC by the terminal;
and replacing the network IP of the terminal in the uplink message with the local IP, and sending the replaced uplink message to the application.
Further, the apparatus further includes an update instruction receiving unit, configured to receive a handover update instruction sent by a core network, where the handover update instruction includes information of a target base station.
An embodiment of the present invention further provides an electronic device, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of the above embodiments.
Embodiments of the present invention also provide a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of the above embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flowchart of a message transmission method according to an embodiment of the present invention;
FIG. 2 is a schematic view of a scenario one according to the embodiment of the present invention;
fig. 3 is a scene diagram of a second scenario provided in the embodiment of the present invention;
fig. 4 is a schematic flowchart of a message transmission method according to an embodiment of the present invention;
fig. 5 is a schematic flowchart of a message transmission method according to an embodiment of the present invention;
fig. 6 is a schematic flowchart of a message transmission method according to an embodiment of the present invention;
fig. 7 is a schematic flowchart of a message transmission method according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a message transmission apparatus according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Mobile Edge Computing (MEC) can provide services and cloud Computing functions required by telecommunication users nearby by using a wireless access network, thereby creating a telecommunication-level service environment with high performance, low delay and high bandwidth, accelerating the rapid downloading of various contents, services and applications in the network, and enabling consumers to enjoy uninterrupted high-quality network experience.
The MEC is deployed on a mobile edge host, various mobile edge applications are deployed at the same time, the mobile edge applications perform service registration to the MEC platform, and the mobile edge applications are divided into stateless applications and stateful applications. For stateless applications, there is no need to maintain state information of the served UE, and when the UE moves to another mobile edge host, its MEC and the mobile edge application are used, in which case, there is no need to consider the continuity of the traffic. For stateful applications, some specific information of a user needs to be maintained, and in this case, there are two cases, that is, two cells are under different coverage areas of base stations, and the two base stations belong to the same coverage area of an MEC; secondly, two base stations do not belong to the same MEC coverage area under different base station coverage areas of two cells. In both cases, the problem of service continuity due to the mobility of the terminal needs to be considered.
As for stateless applications, it is not necessary to maintain state information of a UE that is served, so that the packet transmission method provided in the embodiment of the present invention is directed to stateful applications, and based on the above, the embodiment of the present invention provides a packet transmission method, as described in fig. 1, including:
step 101, after a first mobile edge computing MEC acquires a downlink message sent to a terminal by an application, determining bearing information of the terminal; the information of the base station currently accessed by the terminal is recorded in the bearing information; the base station which the terminal is currently accessed to is a target base station after the terminal is switched to access;
and step 102, the first MEC sends the downlink message to the target base station according to the bearer information.
In step 101, when the first MEC obtains a downlink packet that the local application needs to send to the terminal, the bearer information of the terminal is determined, and optionally, in the embodiment of the present invention, the first MEC determines the bearer information according to the identifier information of the terminal.
Optionally, in the embodiment of the present invention, the bearer information includes a corresponding relationship list between UE bearer information and physical link information, where the UE bearer information includes information such as UE-IP, eNB-TEID, SGW-IP, SGW-TEID, and EBI.
Optionally, in this embodiment of the present invention, when the terminal is connected to the base station, the bearer information may be generated, and the first MEC obtains the bearer information generated after the latest base station to which the terminal is connected.
Optionally, in the embodiment of the present invention, after the terminal is handed over, the terminal is connected to the target base station, the target base station sends bearer information to the core network, and the first MEC receives a handover update instruction sent by the core network, where the handover update instruction includes information of the target base station.
Optionally, in this embodiment of the present invention, the first MEC may also determine information of a target base station to which the current terminal is connected in a signaling monitoring manner.
In step 102, the first MEC determines a target base station where the terminal is located according to the obtained bearer information, and sends the downlink message to the target base station, so that the service continuity is ensured.
In the embodiment of the present invention, when the terminal is connected to the target base station, the target base station may or may not be covered by the first MEC, so in the embodiment of the present invention, two cases are separately described.
In case one, the first MEC determines, according to the bearer information, that the target base station currently accessed by the terminal is a base station under the coverage of the first MEC.
In the embodiment of the present invention, as shown in fig. 2, a specific process of case one may be:
the UE is connected with the base station 1 at the first time, the UE is connected with the base station 2 at the second time, the base station 1 and the base station 2 belong to the same MEC, after the UE is connected with the base station 1 at the first time, the UE accesses to the application on the first MEC through the base station 1, the application on the first MEC also sends the downlink message to the base station 1, and the base station 1 sends the downlink message to the UE.
When the UE moves and accesses the base station 2, the UE accesses the application on the first MEC through the base station 2, and when the first MEC receives a downlink message sent to the UE by the application, the current bearing information of the terminal is determined according to the identification information of the terminal in the downlink message; the first MEC determines that a target base station accessed by the current terminal is a base station 2 according to the current bearing information; if the first MEC determines that the base station 2 is in the coverage area, the downlink message is directly sent to the base station 2 and sent to the UE by the base station 2, so that the continuity of the data on the first MEC is ensured.
In this case, in order to ensure the transmission security, when the first MEC receives an uplink packet sent by the base station 1 and used by the terminal to access the local application of the first MEC, the first MEC may allocate a local identification information to the UE, optionally, the first MEC may allocate a local IP to the UE, replace the network IP of the UE in the uplink packet with the local IP, and send the replaced uplink packet to the application.
After the first MEC receives the downlink message, determining the identification information of the UE in the downlink message, and if the identification information of the UE in the downlink message is determined to be the local IP, determining that the UE is the UE which is allocated with the local IP; determining a network IP of the UE according to the local IP, determining current bearing information of the UE according to the network IP of the UE, determining a base station 2 accessed by the current UE according to the current bearing information, replacing the local IP in a downlink message with the network IP if the base station 2 accessed by the UE currently is a base station under the coverage of the first MEC, and sending the replaced downlink message to the base station.
And in case two, the first MEC determines that the target base station currently accessed by the terminal is not the base station under the coverage of the first MEC according to the bearing information.
In the embodiment of the present invention, as shown in fig. 3, a specific process of the case two may be:
the UE is connected with the base station 1 at the first time, the UE is connected with the base station 2 at the second time, the base station 1 and the base station 2 belong to different MECs, namely the base station 1 belongs to the first MEC, the base station 2 belongs to the second MEC, after the UE is connected with the base station 1 at the first time, the UE accesses to the first MEC through the base station 1, the application on the first MEC also sends the downlink message to the base station 1, and the base station 1 sends the downlink message to the UE.
When the UE needs to access the application on the first MEC at the second time, the UE first sends an uplink packet to the base station 2, and a destination address of the uplink packet is the application on the first MEC; the base station 2 forwards the uplink message to the second MEC, the second MEC forwards the uplink message to the second MEC after determining that the destination address of the uplink message is the application on the first MEC, and the second MEC sends the uplink message to the first MEC;
and after receiving the uplink message, the first MEC sends the uplink message to a local application.
After receiving a downlink message sent by a local application, a first MEC determines identification information of UE (user equipment) in the downlink message; and the first MEC determines that the target base station currently accessed by the UE is the base station 2 according to the identification information of the terminal, determines that the base station 2 is a base station in the range of the second MEC, and sends the downlink message to the second MEC, the second MEC determines that the destination address of the downlink message is the UE, the base station currently accessed by the UE is the base station 2, the second MEC sends the downlink message to the base station 2, and the base station 2 sends the downlink message to the UE.
In this case, in order to ensure transmission security, after the first MEC receives an uplink packet forwarded by the second MEC and requiring access to the local application of the first MEC, the first MEC allocates the local IP of the first MEC to the UE, replaces the network IP of the UE in the uplink packet with the local IP of the first MEC, and sends the replaced uplink packet to the local application of the first MEC.
When the first MEC receives a downlink message sent by a local application, the first MEC determines that the UE identifier in the downlink message is a local IP, determines that the UE is the UE allocated with the local IP, replaces the local IP in the downlink message with a network IP, and then processes the replaced downlink message.
For the case one and the case two, a path is established between the first MEC and the second MEC, and synchronization of information such as application service forwarding rules is completed in the path.
In case two, when the second MEC receives the uplink message, if it is determined that the first MEC application needs to be accessed, the local IP of the second MEC is not allocated to the UE, but the uplink message is forwarded to the first MEC; if the second MEC receives the uplink packet and determines that the application of the second MEC needs to be accessed, the second MEC may also allocate the local IP of the second MEC to the UE for transmission security.
For the first and second cases, the first MEC and the second MEC may determine the coverage area of which MEC the accessed base station belongs to by determining the identification information of the base station accessed by the current UE, for example, in the embodiment of the present invention, both the first MEC and the second MEC store the correspondence table as in table 1, and the MEC corresponding to the base station accessed by the current UE may be determined by using table 1.
TABLE 1
Figure BDA0001918451690000101
To facilitate understanding of a message transmission method in the embodiment of the present invention, as illustrated in fig. 4, a scheme applicable to the first case is as follows:
step 401, a UE accesses a base station 1 at a first time, a first MEC acquires bearer information of the UE through a core network, and a base station identifier of the UE accessed in the bearer information is 6016801;
step 402, the first MEC receives an uplink message sent by the UE through the base station of the base station identifier 6016081, and a destination address of the uplink message is an application of the first MEC;
step 403, the first MEC determines whether the UE allocates the local IP of the first MEC according to the UE identity information of the uplink packet, if yes, step 404 is executed; otherwise, go to step 405;
step 404, the first MEC obtains a local IP corresponding to the UE identity information, replaces the UE identity of the uplink packet with the local IP, and executes step 406;
step 405, the first MEC allocates a new local IP to the UE, and replaces the UE identity of the uplink packet with the local IP;
step 406, the first MEC sends the uplink packet to the local application.
To facilitate understanding of a message transmission method in the embodiment of the present invention, as illustrated in fig. 5, a scheme applicable to the first case is as follows:
step 501, a first MEC acquires a downlink message sent by a local application;
step 502, the first MEC determines the local IP of the terminal according to the destination address in the downlink message;
step 503, the first MEC determines the network IP of the terminal according to the local IP, and determines the bearer information of the terminal at the current second time according to the network IP, where the identifier information of the base station to which the terminal is currently accessed in the bearer information is 6016802, and the first MEC determines that the terminal is still accessed to the first MEC according to the identifier information of the base station;
step 504, the first MEC replaces the local IP in the downlink message with the network IP, and sends the network IP to the base station with the identification information 6016802;
and step 505, the base station with the identification information of 6016802 sends the downlink message to the terminal.
It can be known from the above embodiments that the UE accesses the base station with the identification information of 6016801 at the first time, the UE accesses the base station with the identification information of 6016802 at the second time, and the UE still needs to access the local application of the first MEC after accessing the base station of 6016802.
To facilitate understanding of the message transmission method in the embodiment of the present invention, as illustrated in fig. 6, the method is applicable to the scheme in case two, and the specific flow is as follows:
601, accessing the UE to the base station 1 at a first time, where the first MEC/the second MEC acquires bearer information of the UE through a core network, and a base station identifier of the UE accessed in the bearer information is 6016801;
step 602, the second MEC receives an uplink message which is applied by the first MEC and has a destination address sent by the base station 2 at the second time, determines that a local IP does not need to be allocated to the UE according to the destination address, and sends the uplink message to the first MEC;
step 603, the first MEC determines whether the UE allocates the local IP of the first MEC according to the UE identity information of the uplink packet, if yes, step 604 is executed; otherwise, go to step 605;
step 604, the first MEC obtains a local IP corresponding to the UE identity information, replaces the UE identity of the uplink packet with the local IP, and performs step 606;
step 605, the first MEC allocates a new local IP to the UE, and replaces the UE identity of the uplink packet with the local IP;
step 606, the first MEC sends the uplink packet to the local application.
To facilitate understanding of a message transmission method in the embodiment of the present invention, as shown in fig. 7, the method is applicable to a scheme in case one, and the specific flow is as follows:
step 701, a first MEC acquires a downlink message sent by a local application;
step 702, the first MEC determines the local IP of the terminal according to the destination address in the downlink message;
step 703, the first MEC determines the network IP of the terminal according to the local IP, and determines the bearer information of the terminal at the current second time according to the network IP, where the identifier information of the base station to which the terminal is currently accessed in the bearer information is 6016807, and the first MEC determines that the terminal is still accessed to the second MEC according to the identifier information of the base station;
step 704, the first MEC replaces the local IP in the downlink message with the network IP and sends the network IP to the second MEC;
step 705, the second MEC sends the downlink message to the base station whose identification information is 6016807;
step 706, the base station with identification information of 6016807 sends the downlink message to the terminal.
Based on the same concept, an embodiment of the present invention further provides a message transmission apparatus, as shown in fig. 8, including:
a bearer information determining unit 801, configured to determine bearer information of a terminal after acquiring a downlink packet sent by an application to the terminal; the information of the base station currently accessed by the terminal is recorded in the bearing information; the base station which the terminal is currently accessed to is a target base station after the terminal is switched to access;
a sending unit 802, configured to send the downlink packet to the target base station according to the bearer information.
Further, the sending unit 802 is specifically configured to:
and if the target base station is determined to be the base station under the coverage of the first MEC, sending the downlink message to the target base station.
Further, the sending unit 802 is specifically configured to:
and if the target base station is determined to be a base station under the coverage of a second MEC, sending the downlink message to the second MEC so that the second MEC is sent to the terminal through the target base station.
Further, the apparatus further comprises:
a message processing unit 803, configured to receive an uplink message sent by the terminal to an application, where the first MEC allocates a local IP to the terminal after determining that the application belongs to the first MEC; replacing the network IP of the terminal in the uplink message with the local IP, and sending the replaced uplink message to the application, wherein the network IP of the terminal is distributed by the core network of the terminal;
the sending unit 802 is specifically configured to:
and replacing the local IP in the downlink message with the network IP of the terminal, and sending the replaced downlink message to the target base station.
Further, the message processing unit 803 is further configured to:
receiving an uplink message sent by the second MEC, where the uplink message is forwarded to the message processing unit 803 after the second MEC determines that the uplink message is sent by the terminal to the application corresponding to the first MEC;
and replacing the network IP of the terminal in the uplink message with the local IP, and sending the replaced uplink message to the application.
Further, the apparatus further includes an update instruction receiving unit 804, configured to receive a handover update instruction sent by a core network, where the handover update instruction includes information of a target base station.
An embodiment of the present invention provides an electronic device, which includes at least one processing unit and at least one storage unit, where the storage unit stores a computer program, and when the program is executed by the processing unit, the processing unit is caused to execute steps of an operation method. As shown in fig. 9, which is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present invention, the electronic device may be a desktop computer, a portable computer, a smart phone, a tablet computer, or the like. Specifically, the electronic device may include a memory 901, a processor 902, and a computer program stored on the memory, where the processor 902 implements the steps of any of the message transmission methods in the above embodiments when executing the program. Memory 901 may include, among other things, Read Only Memory (ROM) and Random Access Memory (RAM), and provides processor 902 with program instructions and data stored in memory 901.
Further, the electronic device described in this embodiment of the application may further include an input device 903, an output device 904, and the like. The input device 903 may include a keyboard, mouse, touch screen, etc.; the output device 904 may include a display device such as a liquid crystal display, a Cathode Ray Tube (CRT), a touch screen, or the like. The memory 901, the processor 902, the input device 903 and the output device 904 may be connected by a bus or other means, and fig. 9 illustrates the connection by a bus as an example. The processor 902 invokes the program instructions stored in the memory 901 and executes the message transmission method provided by the above-described embodiment according to the obtained program instructions.
A computer program product is provided in an embodiment of the present application, the computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform any of the messaging methods described above.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (14)

1. A method for packet transmission, the method comprising:
after acquiring a downlink message sent to a terminal by an application, a first mobile edge computing MEC determines bearing information of the terminal; the information of the base station currently accessed by the terminal is recorded in the bearing information; the base station which the terminal is currently accessed to is a target base station after the terminal is switched to access;
and the first MEC sends the downlink message to the target base station according to the bearing information.
2. The method according to claim 1, wherein the sending, by the first MEC, the downlink packet to the base station to which the terminal is currently accessed according to the bearer information includes:
and the first MEC determines that the target base station is a base station under the coverage of the first MEC, and then the first MEC sends the downlink message to the target base station.
3. The method according to claim 1, wherein the sending, by the first MEC, the downlink packet to the base station to which the terminal is currently accessed according to the bearer information includes:
and if the first MEC determines that the target base station is a base station under the coverage of a second MEC, the first MEC sends the downlink message to the second MEC so that the second MEC sends the downlink message to the terminal through the target base station.
4. The method according to any one of claims 1 to 3, wherein before acquiring the downlink packet sent by the application to the terminal, the first MEC further includes:
the first MEC receives an uplink message sent to an application by the terminal, and after the first MEC determines that the application belongs to the first MEC, the first MEC allocates a local IP (Internet protocol) to the terminal;
the first MEC replaces the network IP of the terminal in the uplink message with the local IP and sends the replaced uplink message to the application, wherein the network IP of the terminal is distributed by the core network of the terminal;
the sending, by the first MEC, the downlink packet to the target base station according to the bearer information includes:
and the first MEC replaces the local IP in the downlink message with the network IP of the terminal and sends the replaced downlink message to the target base station.
5. The method of claim 4, further comprising:
the first MEC receives an uplink message sent by the second MEC, wherein the uplink message is forwarded to the first MEC after the second MEC determines that the uplink message is sent to an application corresponding to the first MEC by the terminal;
and the first MEC replaces the network IP of the terminal in the uplink message with the local IP and sends the replaced uplink message to the application.
6. The method of claim 1, wherein the bearer information of the terminal is obtained by:
the first MEC receives a switching updating instruction sent by a core network, wherein the switching updating instruction comprises information of a target base station.
7. A message transmission apparatus, comprising:
the device comprises a bearing information determining unit, a judging unit and a sending unit, wherein the bearing information determining unit is used for determining the bearing information of a terminal after acquiring a downlink message sent to the terminal by an application; the information of the base station currently accessed by the terminal is recorded in the bearing information; the base station which the terminal is currently accessed to is a target base station after the terminal is switched to access;
and the sending unit is used for sending the downlink message to the target base station according to the bearing information.
8. The apparatus according to claim 7, wherein the sending unit is specifically configured to:
and if the target base station is determined to be the base station under the coverage of the first MEC, sending the downlink message to the target base station.
9. The apparatus according to claim 7, wherein the sending unit is specifically configured to:
and if the target base station is determined to be a base station under the coverage of a second MEC, sending the downlink message to the second MEC so that the second MEC is sent to the terminal through the target base station.
10. The apparatus of any of claims 7 to 9, further comprising:
a message processing unit, configured to receive an uplink message sent by the terminal to an application, where the first MEC determines that the application belongs to the first MEC, and then allocate a local IP to the terminal; replacing the network IP of the terminal in the uplink message with the local IP, and sending the replaced uplink message to the application, wherein the network IP of the terminal is distributed by the core network of the terminal;
the sending unit is specifically configured to:
and replacing the local IP in the downlink message with the network IP of the terminal, and sending the replaced downlink message to the target base station.
11. The apparatus of claim 10, wherein the message processing unit is further configured to:
receiving an uplink message sent by the second MEC, wherein the uplink message is forwarded to the message processing unit after the second MEC determines that the uplink message is sent to an application corresponding to the first MEC by the terminal;
and replacing the network IP of the terminal in the uplink message with the local IP, and sending the replaced uplink message to the application.
12. The apparatus according to claim 7, further comprising an update instruction receiving unit, configured to receive a handover update instruction sent by a core network, where the handover update instruction includes information of a target base station.
13. A terminal device, comprising at least one processing unit and at least one memory unit, wherein the memory unit stores a computer program which, when executed by the processing unit, causes the processing unit to carry out the steps of the method according to any one of claims 1 to 6.
14. A computer-readable medium, in which a computer program executable by a terminal device is stored, which program, when run on the terminal device, causes the terminal device to carry out the steps of the method according to any one of claims 1 to 6.
CN201811583308.8A 2018-12-24 2018-12-24 Message transmission method and device Pending CN111356187A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811583308.8A CN111356187A (en) 2018-12-24 2018-12-24 Message transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811583308.8A CN111356187A (en) 2018-12-24 2018-12-24 Message transmission method and device

Publications (1)

Publication Number Publication Date
CN111356187A true CN111356187A (en) 2020-06-30

Family

ID=71198012

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811583308.8A Pending CN111356187A (en) 2018-12-24 2018-12-24 Message transmission method and device

Country Status (1)

Country Link
CN (1) CN111356187A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438297A (en) * 2021-06-22 2021-09-24 京信网络系统股份有限公司 Data transmission method, device, network element equipment and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140351623A1 (en) * 2013-05-22 2014-11-27 Steven Lloyd Baird System and Method for Virtualized Shared Use Environment with Dynamic IP Address Injection
CN107172666A (en) * 2017-04-28 2017-09-15 武汉星耀科技有限公司 The method and device of its local service is kept when mobile terminal switches communication cell
CN107528679A (en) * 2016-06-22 2017-12-29 大唐移动通信设备有限公司 A kind of S1AP signal transmission methods and device
CN108616826A (en) * 2016-12-30 2018-10-02 中国移动通信集团上海有限公司 MEC service informing methods and device
CN108781389A (en) * 2016-01-27 2018-11-09 诺基亚通信公司 For realizing mobile edge application session connection and mobility method and device
US20180351824A1 (en) * 2015-11-24 2018-12-06 NEC Laboratories Europe GmbH Method and network for managing and orchestrating virtual network functions and network applications

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140351623A1 (en) * 2013-05-22 2014-11-27 Steven Lloyd Baird System and Method for Virtualized Shared Use Environment with Dynamic IP Address Injection
US20180351824A1 (en) * 2015-11-24 2018-12-06 NEC Laboratories Europe GmbH Method and network for managing and orchestrating virtual network functions and network applications
CN108781389A (en) * 2016-01-27 2018-11-09 诺基亚通信公司 For realizing mobile edge application session connection and mobility method and device
CN107528679A (en) * 2016-06-22 2017-12-29 大唐移动通信设备有限公司 A kind of S1AP signal transmission methods and device
CN108616826A (en) * 2016-12-30 2018-10-02 中国移动通信集团上海有限公司 MEC service informing methods and device
CN107172666A (en) * 2017-04-28 2017-09-15 武汉星耀科技有限公司 The method and device of its local service is kept when mobile terminal switches communication cell

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438297A (en) * 2021-06-22 2021-09-24 京信网络系统股份有限公司 Data transmission method, device, network element equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN107172666B (en) Method and device for keeping local service of mobile terminal when switching communication cell
CN108738086B (en) User plane reselection method and device
CN111052849B (en) Method and apparatus for mobile network interaction proxy
EP3993347A1 (en) Method and device for application migration
US11706835B2 (en) Handling QoS mobility and dual connectivity in NR
CN102714824B (en) For the optimized allocation of resources of the wireless device under packet transfer mode
CN107172111B (en) Data transmission method, device and system
US10681603B2 (en) Method and network element for handover of user plane traffic
EP4191951A1 (en) Session processing method, apparatus, and system
US20230254364A1 (en) Method and apparatus for transferring an edge computing application
CN110650513B (en) Method and device for updating user plane path and computer storage medium
CN109561434B (en) Method, apparatus, and computer-readable medium for guaranteeing communication service
US11689956B2 (en) Relocation method and apparatus
US20220174034A1 (en) Gateway apparatus, method, program, and recording medium
CN111200854A (en) Signaling reduction in dual connectivity networks
CN109314893B (en) Switching method and device
US11576097B2 (en) Method and terminal for redirecting network
CN106572030B (en) multipath transmission control method and system in distributed network
CN111356187A (en) Message transmission method and device
CN113678413A (en) Dynamic resource allocation among multiple network service providers
CN109845329B (en) Communication method, network equipment and application management unit
CN112911661A (en) Method for establishing tunnel between local gateways and gateway
CN112752300B (en) Method and device for realizing local distribution
CN113543238B (en) Data transmission method and base station
US20240015606A1 (en) Method and apparatus for handover

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200630

RJ01 Rejection of invention patent application after publication