CN110198516B - Method and device for establishing network connection - Google Patents

Method and device for establishing network connection Download PDF

Info

Publication number
CN110198516B
CN110198516B CN201810161101.5A CN201810161101A CN110198516B CN 110198516 B CN110198516 B CN 110198516B CN 201810161101 A CN201810161101 A CN 201810161101A CN 110198516 B CN110198516 B CN 110198516B
Authority
CN
China
Prior art keywords
application server
service
address
user entity
identifier
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
CN201810161101.5A
Other languages
Chinese (zh)
Other versions
CN110198516A (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.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201810161101.5A priority Critical patent/CN110198516B/en
Priority to PCT/CN2019/073822 priority patent/WO2019165876A1/en
Publication of CN110198516A publication Critical patent/CN110198516A/en
Application granted granted Critical
Publication of CN110198516B publication Critical patent/CN110198516B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • 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
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Abstract

The disclosure provides a network connection establishing method and device, and belongs to the technical field of Internet of vehicles. The method comprises the following steps: sending a first service query request comprising the position information and the service identification of the user entity to a control server, so that the control server queries a first application server address according to the position information and the service identification of the user entity and sends the first application server address to the user entity; receiving a first application server address, and sending a service acquisition request to a first application server corresponding to the first application server address, wherein the service acquisition request comprises a user entity identifier and a service identifier, and the service acquisition request is used for the first application server to provide a service corresponding to the service identifier to a user entity corresponding to the user entity identifier. In the present disclosure, the application server that establishes a network connection with the user entity is selected by the control server according to the location information and the service identifier, and the application server can provide a service for the control server quickly, so that the timeliness is better.

Description

Method and device for establishing network connection
Technical Field
The disclosure relates to the technical field of vehicle networking, and in particular relates to a network connection establishing method and device.
Background
Vehicle to Everything (V2X) means that the Vehicle and Everything are interconnected through an on-board ad hoc network and various heterogeneous networks. The interconnection of V2X includes Vehicle to Vehicle (V2V), Vehicle to Infrastructure of roads (V2I), Vehicle to pedestrian (V2P), Vehicle to Cloud (V2C), and so on. Based on the V2X technology, a V2X User Entity (UE) can acquire services provided by a V2X AS, such AS a traffic condition reminding service, a driving data sharing service, and the like, by establishing a network connection with a V2X Application Server (AS), and these services play an important role in traffic safety, traffic efficiency, energy saving, emission reduction, and the like, and have become an indispensable component in modern traffic.
Currently, the specification of the second phase of V2X (TS 23.285), published by the third Generation Partnership Project (3rd Generation Partnership Project, 3GPP), provides the following suggestions for V2X UEs to establish a network connection with the V2X AS: the method comprises the steps that V2X UE sends a service acquisition request including service identification to a network in an Anycast mode, when the service acquisition request is received, routing equipment in the network determines a plurality of V2X AS capable of providing the service in the network according to the service identification, the number of nodes through which the service acquisition request is transmitted from a current node to each V2X AS is measured, and then the service request is sent to the V2X AS with the minimum number of nodes through which the service acquisition request is transmitted, so that network connection between the V2X UE and the V2X AS is established.
Because the requirement on the timeliness of the V2X service is high, the V2X AS selected by the Anycast mode is only the V2X AS with the minimum number of path nodes, and actually, the distance between the V2X UE and the V2X AS cannot be reflected by the number of the path nodes, so that the V2X AS selected based on the Anycast has poor timeliness and cannot meet the requirement on the V2X service.
Disclosure of Invention
In order to solve the problems of the related art, the embodiments of the present disclosure provide a method and an apparatus for establishing a network connection. The technical scheme is as follows:
in a first aspect, a user entity sends a first service query request to a control server, where the first service query request includes location information and a service identifier of the user entity, and when receiving the first service query request, the control server queries an address of a first application server according to the location information and the service identifier of the user entity, and sends the address of the first application server to the user entity. The user entity receives a first application server address sent by the control server, and sends a service acquisition request to a first application server corresponding to the first application server address, wherein the service acquisition request comprises a user entity identifier and a service identifier, and when the service acquisition request is received, the first application server provides a service corresponding to the service identifier to the user entity corresponding to the user entity identifier.
According to the scheme shown in the embodiment of the disclosure, the control server selects the application server capable of providing service for the user entity according to the position information of the user entity and the service identifier of the required service, so that the timeliness of the service is improved, and the service requirement of V2X is met.
In one possible design, the first application server Address includes an edge application server domain name and a port number, for this case, before the user entity sends a service acquisition request to the first application server corresponding to the first application server Address, a domain name query request may also be sent to the domain name system, where the domain name query request includes the edge application server domain name, and when receiving the domain name query request, the domain name system queries an IP (Internet Protocol Address, Internet Protocol) Address of the edge application server corresponding to the edge application server domain name, and sends the IP Address of the edge application server to the user entity. Based on the received IP address of the edge server and the port number of the edge server, the user entity sends a service acquisition request to the edge application server corresponding to the IP address and the port number of the edge application server.
According to the scheme shown in the embodiment of the disclosure, the IP address of the edge application server is obtained, and the service obtaining request is initiated based on the obtained address, so that the service initiating process is more targeted.
In another possible design, when the first application server address includes an IP address of the cloud application server, the user entity may send a service acquisition request to the cloud application server corresponding to the IP address of the cloud application server according to the IP address of the cloud application server.
According to the scheme shown in the embodiment of the disclosure, the IP address of the cloud application server is obtained, and the service obtaining request is initiated based on the obtained address, so that the service initiating process is more targeted.
In another possible design, when a service corresponding to the service identifier is obtained, the user entity may send a first notification message to the control server, where the first notification message includes the user entity identifier, the service identifier, and the first application server address, and the first notification message is used for the control server to store a corresponding relationship between the user entity identifier, the service identifier, and the first application server address.
According to the scheme shown in the embodiment of the disclosure, the control server can store the user entity identifier, the service identifier and the first application server address by sending the first notification message to the control server, so that the subsequent disaster recovery and data synchronization process can be performed according to the current connection relationship.
In another possible design, when the control server detects that the service corresponding to the service identifier provided by the first application server is unavailable, the control server obtains the address of the second application server capable of providing the available service, and sends a service address change message to the user entity. And the user entity receives the service address change message sent by the control server and further establishes network connection with the second application server.
According to the scheme provided by the embodiment of the disclosure, when the service provided by the first application server is unavailable, the first application server can be switched to other application servers capable of providing the available service, so that the continuity of the service is ensured, and the service quality is improved.
In another possible design, after the user entity establishes the network connection with the control server, the user entity further sends a second notification message to the control server, where the second notification message is used for the control server to store a corresponding relationship between the user entity identifier, the service identifier, and the address of the second application server.
According to the scheme shown in the embodiment of the disclosure, the control server can store the corresponding relationship among the user entity, the service identifier and the second application server address by sending the second notification message to the control server, so that the service can be monitored according to the stored corresponding relationship.
In another possible design, when detecting that the location information changes, the user entity sends a second service query request to the control server, where the second service query request includes updated location information and a service identifier of the user entity, the second service query request is used for the control server to query an address of a third application server, to trigger the first application server and the third application server corresponding to the address of the third application server to perform data synchronization, and send the address of the third application server to the user entity, and when receiving the address of the third application server, the user entity establishes network connection with the third application server corresponding to the address of the third application server.
According to the scheme shown in the embodiment of the disclosure, when the user entity detects the position change of the user entity, data synchronization is performed between the two application servers before and after the position change, and a new network connection is established, so that the continuity of the service is ensured.
In another possible design, the user entity sends a third notification message to the control server, where the third notification message is used for the control server to store a correspondence between the user entity identifier, the service identifier, and the third application server address.
According to the scheme shown in the embodiment of the disclosure, the control server can store the corresponding relationship among the user entity, the service identifier and the third application server address by sending the second notification message to the control server, so that the service can be monitored according to the stored corresponding relationship.
In a second aspect, a method for establishing a network connection is provided, where the method includes: the control server receives a first service query request of a user entity, the first service query request comprises position information and a service identifier of the user entity, the control server queries a first application server address according to the position information and the service identifier of the user entity and sends the first application server address to the user entity, when the first application server address is received, the user entity sends a service acquisition request to a first application server corresponding to the first application server address, and the service acquisition request comprises the user entity identifier, the service identifier and the like.
According to the scheme shown in the embodiment of the disclosure, the control server selects the application server capable of providing service for the user entity according to the position information of the user entity and the service identifier of the required service, so that the timeliness of the service is improved, and the service requirement of V2X is met.
In one possible design, the first service query request further includes a mobile edge computing server address of a mobile edge computing server located upstream of the user entity, and when the first service query request is received, the control server queries an edge application server domain name and a port number according to the user location information, the mobile edge computing server address and the service identifier, and further takes the edge application server domain name and the port number as the first application server address.
The scheme shown in the embodiment of the disclosure provides a method for inquiring an address of a first application server.
In another possible design, the control server queries the IP address of the cloud application server according to the location information and the service identifier of the user entity, and then uses the IP address of the cloud application server as the first application server address.
The scheme shown in the embodiment of the disclosure provides another method for querying the address of the first application server.
In another possible design, after the user entity establishes a network connection with the first application server and obtains a service provided by the first application server, the user entity further sends a first notification message to the control server, where the first notification message includes a user entity identifier, a service identifier, and a first application server address, and when receiving the first notification message sent by the user entity, the control server stores a corresponding relationship between the user entity identifier, the service identifier, and the first application server address.
In the solution shown in the embodiment of the present disclosure, the control server may monitor the service according to the stored correspondence by storing the correspondence between the user entity identifier, the service identifier, and the first application server address.
In another possible design, when detecting that the service corresponding to the service identifier provided by the first application server is unavailable, the control server obtains a second application server address capable of providing the available service, and sends a service address change message to the user entity, where the service address change message includes the second application server address, and the service address change message is used for the user entity to establish network connection with the second application server corresponding to the second application server address.
In another possible design, the control server may query whether there are other edge service addresses capable of providing available services in a service status table according to the service identifier, where the service status table stores a corresponding relationship among the service identifier, the application server address, and the service available state, and further obtains the second application server address according to the presence or absence. Specifically, if the second application server address exists, the control server takes the other edge service addresses as the second application server address; and if the IP address does not exist, the control server takes the IP address of the cloud application server as the address of the second application server.
According to the scheme shown in the embodiment of the disclosure, the second application server capable of rapidly providing the available service for the user entity is selected according to the service available state in the service state table, and the service providing time is shortened as much as possible on the premise of ensuring the service availability.
In another possible design, the control server further receives status reports sent by the mobile edge computing server and the cloud application server, where the status reports include addresses of the edge application servers, and the control server maintains the service status table according to the received status reports.
According to the scheme shown in the embodiment of the disclosure, the control server maintains the service availability status of the service provided by each edge application server in the service status table by receiving the status report, so that the application server capable of providing the available service can be selected for the user entity.
In another possible design, the control server receives a second notification message sent by the user entity, where the second notification message includes a user entity identifier, a service identifier, and a second application server address, and further stores a correspondence between the user entity identifier, the service identifier, and the second application server address.
In another possible design, when the user entity detects that the location information changes, a second service query request may be sent to the control server, where the second service query request includes updated location information and a service identifier of the user entity, and when the second service query request of the user entity is received, the user entity obtains an address of a third application server according to the updated location information and the service identifier of the user entity, and sends a data synchronization request to the first application server, where the data synchronization request includes the user entity identifier, the service identifier, and the third application server address, and the data synchronization request is used for performing data synchronization between the first application server and the third application server corresponding to the third application server address, and sends a data synchronization response to the control server after the data synchronization is completed. And when the data synchronization response is received, the control server sends a third application server address to the user entity, wherein the third service address is used for establishing network connection between the user entity and the third application server.
In another possible design, the control server receives a third notification message sent by the user entity, where the third notification message includes a user entity identifier, a service identifier, and a third application server address, and when the third notification message is received, the user entity stores a corresponding relationship between the user entity identifier, the service identifier, and the third application server address.
In a third aspect, a method for establishing a network connection is provided, where the method includes: the method comprises the steps that a mobile edge computing server receives a first service query request sent by a user entity, the first service query request comprises position information and a service identifier of the user entity, then the address of the mobile edge computing server is added into the first service query request, the first service query request comprising the address of the mobile edge computing server is sent to a control server, the first service query request comprising the address of the mobile edge computing server is used for the control server to query an edge application server domain name and a port number according to the position information, the service identifier and the address of the mobile edge computing server of the user entity, and the edge application server domain name and the port number are sent to the user entity, and the edge application server domain name and the port number are used for establishing network connection between the user entity and the edge application server.
According to the scheme shown in the embodiment of the disclosure, the mobile edge computing server adds the address of the mobile edge computing server to the first service query request of the user entity, so that the control server can select an edge application server capable of providing service for the user entity quickly according to the position information of the user entity, the service identifier of the required service and the address of the mobile edge computing server, and the timeliness of the service is ensured.
In a possible implementation manner, the mobile edge computing server receives a service acquisition request sent by a user entity, where the service acquisition request includes a user entity identifier and a service identifier, and then the mobile edge computing server sends the service acquisition request to the edge application server, where the edge application server provides a service corresponding to the service identifier to the user entity corresponding to the user entity identifier.
In another possible implementation manner, the mobile edge computing server may receive a status report sent by each edge application server, where the status report includes an address of the edge application server, and further send the status report to the control server, where the status report is used for the control server to maintain a service status table, and a corresponding relationship between a service identifier, an address of the application server, and an available state is stored in the service status table.
In a fourth aspect, a user entity is provided, where the user entity has a function of implementing the user entity in the method for establishing a network connection. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software comprises one or more modules corresponding to the functions.
In one possible design, the structure of the user entity includes a processing unit and a communication unit, and the processing unit is configured to support the user entity to perform corresponding functions in the above method. The communication unit is used for supporting communication between the user entity and other equipment. The user entity may further comprise a storage unit for coupling with the processing unit, which stores program instructions and data necessary for the user entity. As an example, the processing unit may be a processor, the communication unit may be a transceiver, and the storage unit may be a memory.
In another possible design, the structure of the user entity includes a sending unit, a receiving unit, and a connecting unit, and these units may perform corresponding functions in the above example of the method for establishing a network connection, for which specific reference is made to the detailed description in the method embodiment, which is not described herein again.
In a fifth aspect, a control server is provided, where the control server has a function of implementing the control server in the network connection establishment method. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software comprises one or more modules corresponding to the functions.
In one possible design, the structure of the control server includes a processing unit and a communication unit, and the processing unit is configured to support the control server to execute the corresponding functions in the above method. The communication unit is used for supporting communication between the control server and other equipment. The control server may further comprise a storage unit for coupling with the processing unit, which stores program instructions and data necessary for the control server. As an example, the processing unit may be a processor, the communication unit may be a transceiver, and the storage unit may be a memory.
In another possible design, the structure of the control server includes a receiving unit, a querying unit, a sending unit, a storing unit, an obtaining unit, and a maintaining unit, and these units may execute corresponding functions in the above example of the method for establishing a network connection.
In a sixth aspect, a mobile edge computing server is provided, where the mobile edge computing server has a function of implementing the mobile edge computing server in the network connection establishment method. The functions can be realized by hardware, and the functions can also be realized by executing corresponding software by hardware. The hardware or software comprises one or more modules corresponding to the functions.
In one possible design, the mobile edge computing server structure includes a processing unit and a communication unit, and the processing unit is configured to support the mobile edge computing server to execute the corresponding functions in the above method. The communication unit is used for supporting communication between the mobile edge computing server and other devices. The mobile edge computing server may further comprise a storage unit for coupling with the processing unit, which stores program instructions and data necessary for the mobile edge computing server. As an example, the processing unit may be a processor, the communication unit may be a transceiver, and the storage unit may be a memory.
In another possible design, the structure of the mobile edge computing server includes a receiving unit, an address adding unit, and a sending unit, which may perform corresponding functions in the above example of the method for establishing a network connection, for which specific reference is made to the detailed description in the method embodiment, which is not described herein again.
In a seventh aspect, a network device is provided, which includes a memory, a processor, a transceiver, and a bus, where the memory, the processor, and the transceiver are connected to each other through the bus, the memory is used to store computer instructions, and when the network device runs, the processor runs the computer instructions, so that the network device performs the method for establishing a network connection according to the first aspect.
In an eighth aspect, a network device is provided, which includes a memory, a processor, a transceiver, and a bus, where the memory, the processor, and the transceiver are connected to each other through the bus, the memory is used to store computer instructions, and when the network device runs, the processor runs the computer instructions, so that the network device performs the method for establishing a network connection according to the second aspect.
In a ninth aspect, a network device is provided, which includes a memory, a processor, a transceiver and a bus, wherein the memory, the processor and the transceiver are connected to each other through the bus, the memory is used for storing computer instructions, and when the network device is operated, the processor executes the computer instructions, so that the network device executes the network connection establishment method according to the third aspect.
In a tenth aspect, a network connection establishment system is provided, where the network connection establishment system includes any one of the network devices: the user entity of the fourth aspect, the control server of the fifth aspect, and the mobile edge computing server of the sixth aspect. In another possible design, other devices for interacting with the user entity, the control server, or the mobile edge computing server in the solution provided by the embodiment of the present disclosure may also be included.
In an eleventh aspect, a computer-readable storage medium is provided for storing computer software instructions for the user entity, which includes a program for executing the program designed in the first aspect.
In a twelfth aspect, a computer-readable storage medium is provided for storing computer software instructions for the control server, which includes a program for executing the program designed in the second aspect.
In a thirteenth aspect, a computer-readable storage medium is provided for storing computer software instructions for the mobile edge computing server, which includes a program for executing the third aspect.
In a fourteenth aspect, there is provided a computer program product containing instructions which, when run on a computer device, cause the computer to perform the method for establishing a network connection according to the above aspects.
The technical scheme provided by the embodiment of the disclosure has the following beneficial effects:
in the present disclosure, the application server that establishes a network connection with the user entity is selected by the control server according to the location information and the service identifier, and the application server can provide a service for the control server quickly, so that the timeliness is better.
Drawings
Fig. 1 is an architecture diagram of a network connection establishment system provided by an embodiment of the present disclosure;
fig. 2A is a schematic structural diagram of a network device according to an embodiment of the present disclosure;
fig. 2B is a schematic structural diagram of a network device according to an embodiment of the present disclosure;
fig. 3 is a flowchart of a method for establishing a network connection according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a network connection establishment process provided by an embodiment of the present disclosure;
fig. 5 is a flowchart of a method for establishing a network connection according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a network connection establishment process provided by an embodiment of the present disclosure;
fig. 7 is a flowchart of a method for establishing a network connection according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram of a network connection establishment procedure provided by an embodiment of the present disclosure;
fig. 9 is a schematic structural diagram of a user entity provided in the embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a control server provided in an embodiment of the present disclosure;
fig. 11 is a schematic structural diagram of a mobile edge computing server according to an embodiment of the present disclosure.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.
Before describing embodiments of the present disclosure in detail, a plurality of network devices related to the present disclosure will be introduced.
An application server: in the V2X scenario, denoted by V2X AS, including Edge V2X AS and Cloud V2X AS, are mainly used to provide application layer-dependent V2X services, and perform V2X service heartbeat keep-alive with V2X CF.
A user entity: in the V2X scenario, denoted AS V2X UE, is mainly used to obtain services from V2X AS.
A control server: in the V2X scenario, denoted by V2X CF, is mainly used to provide network layer-oriented services, and dynamically selects V2X AS for V2X UEs.
The mobile edge computing server: in the V2X scenario, denoted MEC, is located between the base station and the packet core network and closer to the base station. The MEC regional deployment is mainly used for adding an MEC address into a V2X AS query request in the process of providing the V2X service, and reporting Edge V2X AS heartbeat information to V2X CF so AS to keep the heartbeat between the Edge V2X AS and the V2X CF.
Fig. 1 shows an architecture diagram of a network connection establishment system including a Cloud V2XAS, a plurality of Edge V2X AS, a MEC, a plurality of base stations, a plurality of V2X UE, and V2 XCF.
The connection relationship of each network device is as follows:
1. the Cloud V2X AS is erected on an IoT Platform, the Edge V2X AS is erected on an MEC Platform, each MEC Platform is provided with a plurality of Edge V2X AS which can provide the same V2X service, and the Cloud V2X AS, the Edge V2X AS and the V2X CF form a control surface through the established network connection and can receive various instructions sent by the V2X CF;
2. the V2X UE and the V2X CF form a control plane through the established network connection, and can receive various instructions sent by the 2 XCF;
3. the V2X UE forms a data plane with Cloud V2X AS and Edge V2X AS through the established network connection, and can obtain V2X service from Cloud V2X AS or Edge V2X AS;
4. the Cloud V2X AS and the Edge V2X AS form a data plane through the established network connection, data interaction and data synchronization can be carried out between the Cloud V2X AS and the Edge V2X AS in the data plane, and data interaction and data synchronization can also be carried out between the Edge V2X AS and the Edge V2X AS;
5. the base station establishes network connection with the V2X UE and the Cloud V2X AS or the Edge V2X AS, and can provide V2X service for the V2X UE.
The functions implemented by each network device are as follows:
1. under the scene of MEC coverage, the V2X UE can access to the Edge V2X AS through MEC Platform, and further acquire the required V2X service from the Edge V2X AS; in a scenario without MEC coverage, the V2X UE may directly access CloudV2X AS, thereby acquiring the required V2X services from the Cloud V2X AS;
2. the same MEC Platform can support multiple V2X services and can support multiple Edge V2X AS;
3. in consideration of Edge V2X AS disaster tolerance, the same MEC Platform deploys a plurality of Edge V2XAS instances to the same V2X service;
4. when multiple Edge V2X AS on MEC Platform cannot provide V2X service, V2X service may be provided by Cloud V2 XAS;
5. the V2X CF may select an appropriate V2X AS based on the V2X UE's location information, MEC address, and V2X service identification;
6. the V2X CF maintains the heartbeat through the MEC and the V2X AS, and maintains the available states of the V2X AS and the V2X service;
7. the V2X UE may be in V2X communication with Edge V2X AS or Cloud V2X AS;
8. data synchronization is performed at the time of V2X AS handover.
Fig. 2A shows a schematic structural diagram of a network device according to an embodiment of the present disclosure, where the network device 200 includes: a storage unit 201, a processing unit 202 and a communication unit 203, the storage unit 201 being used for storing program codes and data of the network device 200. The network devices may be user entities, control servers, and mobile edge computing servers.
When the network device 200 is a user entity, the network device 200 is used to implement the functions of the user entity in the network connection establishment method in fig. 3 or fig. 5 or fig. 7. The processing unit 202 is configured to control and manage actions of the user entity, and the communication unit 203 is configured to support the user entity to communicate with other network entities.
When the network device 200 is a control server, the network device 200 is used to implement the function of the control server in the network connection establishment method in fig. 3, fig. 5, or fig. 7. The processing unit 202 is configured to control and manage actions of the control server, and the communication unit 203 is configured to support the control server to communicate with other network entities.
When the network device 200 is a mobile edge computing server, the network device 200 is configured to implement the function of the mobile edge computing server in the network connection establishing method in fig. 3, fig. 5, or fig. 7. The processing unit 202 is used for controlling and managing the actions of the mobile edge computing server, and the communication unit 203 is used for supporting the mobile edge computing server to communicate with other network entities.
The processing Unit 202 may be a Processor or a controller, and may be, for example, a Central Processing Unit (CPU), a general-purpose Processor, a Digital Signal Processor (DSP), an Application-Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a transistor logic device, a hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others. The communication unit 203 may be a transceiver. The storage unit 201 may be a memory.
When the storage unit 201 is a memory, the processing unit 202 is a processor, and the communication unit 203 is a transceiver, the network device according to the embodiment of the disclosure may be the network device shown in fig. 2B.
Referring to fig. 2B, the network device includes: memory 201, processor 202, transceiver 203, and bus 204. Wherein, the memory 201, the processor 202, and the transceiver 203 are connected to each other through the bus 204, the memory 201 is used for storing computer instructions, and when the network device runs, the processor 202 runs the computer instructions, so that the network device implements the method for establishing the network connection in fig. 3, 5, or 7; the bus 204 may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 2B, but it is not intended that there be only one bus or one type of bus.
Based on the architecture diagram of the network connection establishment system shown in fig. 1, an embodiment of the present disclosure provides a network connection establishment method, and referring to fig. 3, a method flow provided by the embodiment of the present disclosure includes:
301. the user entity sends a first service query request to the control server.
When the user entity needs to acquire a service due to a service requirement, the user entity may send a first service query request to the control server. The first service query request includes Location information and a service identifier of the user entity, and the Location information of the user entity includes TAI (Tracking Area Identity), Cell-ID (Cell-ID), or Location information obtained by E-SMLC (Evolved Serving Mobile Location Center) positioning.
In an embodiment of the present disclosure, if a mobile edge computing server is deployed upstream of a user entity, the mobile edge computing server may intercept the first service query request, add an address of the mobile edge computing server to the first service query request, and further send the first service query request including the address of the mobile edge computing server to the control server.
In another embodiment of the present disclosure, if the mobile edge computing server is not deployed upstream of the user entity, the first service query request is sent directly to the control server.
302. When receiving a first service query request of a user entity, the control server queries a first application server address according to the position information and the service identifier of the user entity, and sends the first application server address to the user entity.
Whether a mobile edge computing server is deployed in the uplink of a user entity can be divided into two cases:
in the first case, the user entity is deployed with a mobile edge computing server upstream.
For the situation, after receiving a first service query request including a mobile edge service address, the control server queries a corresponding edge application server domain name and a port number according to the position information of the user entity, the mobile edge computing server address and the service identifier, and then sends the edge application server domain name and the port number to the user entity as a first application server address. During actual query, the control server can also query the corresponding domain name and port number of the edge application server according to the mobile edge computing server address and the service identifier. For example, if the MEC address is IP address 1 and the service identifier is V2X service identifier 2 are obtained from the first service query request, the domain name of the corresponding edge application server is domain name 1 and the port number is port number 2 can be obtained by querying table 1.
TABLE 1
MEC address V2X service identification V2X AS Domain name/IP Address V2X AS port number
IP address 1 V2X service identification 1 Domain name 1/IP address 1 Port number 1
IP address 1 V2X service identity 2 Domain name 1/IP address 1 Port No. 2
IP address 2 V2X service identification 1 Domain name 2/IP address 2 Port number 1
The edge application server domain name and port number may be intercepted by the mobile edge compute server during transmission from the control server to the user entity and then sent by the mobile edge compute server to the user entity. When receiving a domain name and a port number of an edge application server, a user entity needs to send a domain name query request to a domain name system, wherein the domain name query request comprises the domain name of the edge application server, the domain name system queries an IP address of the edge application server corresponding to the domain name of the edge application server, and then the IP address of the edge application server is sent to the user entity. And the user entity sends a service acquisition request to the edge application server corresponding to the IP address and the port number of the edge application server based on the received IP address and the port number of the edge server.
In the second case, the user entity is not deployed with a mobile edge computing server upstream.
In the case, the control server can query the IP address of the cloud application server according to the location information and the service identifier of the user entity, and send a service acquisition request to the cloud application server corresponding to the IP address of the cloud application server by using the IP address of the cloud application server as the first application server address.
303. And when receiving the first application server address, the user entity sends a service acquisition request to the first application server corresponding to the first application server address.
Aiming at a scene that a user entity is deployed with a mobile edge computing server in an uplink mode, when an IP address and a port number of an edge application server are received, the user entity can send a service acquisition request to the edge application server corresponding to the IP address and the port number of the edge application server, wherein the service acquisition request comprises a user entity identifier, a service identifier and the like. In the process, if the mobile edge computing server has the shunting capacity, the mobile edge computing server can directly send the service acquisition request to the edge application server; if the mobile edge computing server does not have the shunting capacity, the mobile edge computing server can send the service acquisition request to the packet core network, the packet core network sends the service acquisition request to the public network, the service acquisition request is sent to the edge application server through the public network, and then the edge application server provides the service corresponding to the service identifier for the user entity. For example, the address of the first application server is IP address 1 and port number 1, and the mobile edge computing server learns that the edge application server has the offloading capability through the lookup table 2, and then the mobile edge computing server can directly send the service acquisition request to the edge application server.
TABLE 2
IP address/port number Whether or not to have shunting capability
IP address 1/port number 1 Is that
IP address 2/port number 2 Whether or not
Aiming at a scene that a user entity does not deploy a mobile edge computing server in an uplink, when receiving an IP address of a cloud application server, the user entity can send a service acquisition request to the cloud application server corresponding to the IP address of the cloud application server, the service acquisition request is sent to a base station through the user entity, then is sent to a packet core network through the base station, then is sent to a public network through the packet core network, and is sent to the cloud application server through the public network, and then the cloud application server provides service corresponding to a service identifier for the user entity.
In another embodiment of the present disclosure, after the user entity successfully communicates with the first application server (the cloud application server or the edge application server), the user entity further sends a first notification message to the control server, where the first notification message includes a user entity identifier, a service identifier, a first application server address, and the like, and when receiving the first notification message sent by the user entity, the control server stores a corresponding relationship between the user entity identifier, the service identifier, and the first application server address, and sends a confirmation message to the user entity, where the corresponding relationship can be used to subsequently monitor the service of the user entity.
Fig. 4 shows a process of establishing a network connection provided by the embodiment of the present disclosure in a V2X scenario, where the process is as follows:
1. the V2X UE sends a V2X AS query request to the V2X CF, wherein the V2X AS query request comprises the position information of the V2X UE and the V2X Service identification; if the V2X UE has MEC deployed upstream, execute step 2, if the V2X UE has not MEC deployed upstream, execute step 10;
2. under the scene that the MEC is deployed on the uplink of the V2X UE, the MEC intercepts a V2X AS query request, adds an MEC IP address into the V2X AS query request, and sends the V2X AS query request to the V2X CF;
3. the V2X CF queries the domain name and the port number of the Edge V2X AS and sends the domain name and the port number of the Edge V2X AS to the MEC;
4. the MEC sends the domain name and the port number of the Edge V2X AS to the V2X UE;
5. the V2X UE sends a domain name query request to the DNS, wherein the domain name query request comprises a domain name of an Edge V2X AS;
6. DNS queries the IP address of Edge V2X AS corresponding to the domain name of Edge V2X AS, and sends the IP address of Edge V2X AS to V2X UE;
7. if two V2X services required by the V2X UE are respectively V2X Service1 and V2X Service2, and it is determined through the steps 1 to 3 that V2X Service1 is provided by Edge V2X AS and V2X Service2 is provided by Cloud V2X AS, the V2X can send a Service acquisition request carrying the V2X Service1 identifier to Edge V2X AS and send a Service acquisition request carrying the V2X Service2 identifier to Cloud V2 XAS;
8. the MEC intercepts a service acquisition request sent to an Edge V2X AS, and if the MEC has the shunting capacity, the MEC sends the service acquisition request to an Edge V2X AS; if the MEC does not have the shunting capability, the MEC sends the service acquisition request to a packet core network, the packet core network sends the service acquisition request to a public network, and the service acquisition request is sent to an Edge V2X AS through the public network;
9. for the service acquisition request sent to the Cloud V2X AS, the MEC does not intercept and directly sends the request to the packet core network, the request is sent to the public network by the packet core network, and the request is sent to the Edge V2X AS by the public network;
10. under the scene that no MEC is deployed on the uplink of V2X UE, V2X UE sends a V2X AS acquisition request to Cloud V2X AS, and after network connection is established with Cloud V2X AS, sends a service acquisition request to Cloud V2X AS, and the Cloud V2X AS provides service for the service;
11. after the V2X UE successfully communicates with Edge V2X AS or Cloud V2X AS, the V2X UE sends a notification message to V2X CF, wherein the notification message comprises the corresponding relation among V2X UE identification, V2X Service identification and V2X AS address;
12. after storing the corresponding relationship among the V2X UE identity, the V2X Service identity and the V2X AS address, the V2X CF sends a confirmation message to the V2X UE.
According to the method provided by the embodiment of the disclosure, when the user entity initiates the service query request, the position information of the user entity is added into the service query request, so that the control server can query the user entity to be a proper application server according to the position information of the user entity, the required service can be rapidly acquired, and the service acquisition speed and the service quality are improved.
Based on the architecture diagram of the network connection establishment system shown in fig. 1, an embodiment of the present disclosure provides a network connection establishment method, and referring to fig. 5, a method flow provided by the embodiment of the present disclosure includes:
501. when detecting that the service corresponding to the service identification provided by the first application server is unavailable, the control server acquires a second application server address capable of providing the available service and sends a service address change message to the user entity.
In the embodiment of the present disclosure, the control server maintains a service state table, and the service state table may store a corresponding relationship between the service identifier, the address of the application server, and the service available state, and may also store a corresponding relationship between the user entity identifier, the location information of the user entity, and the above information. The specific form of the service status table can be seen in table 3.
TABLE 3
Figure BDA0001582971160000111
Figure BDA0001582971160000121
The service status table can be maintained in two ways:
in the first mode, the application server periodically sends a status report for maintaining heartbeat to the control server, and the control server determines the service availability status of all services provided by the application server according to whether the status report is received or not. Specifically, for an edge application server, the edge application server periodically sends a status report for maintaining heartbeat to a mobile edge computing server, the status report includes an edge application server address, the mobile edge computing server sends the status report to a control server, if the control server does not receive the status report, it is determined that all services provided by the edge application server corresponding to the edge application server address are unavailable, and then the service available status of all services provided by the edge application server in a service status table is changed into unavailable; for the cloud application server, the cloud application server can periodically send a status report for maintaining heartbeat to the control server, and if the control server does not receive the status report, all services provided by the cloud application server are determined to be unavailable, so that the service available state of all the services provided by the cloud application server in the service status table is changed into unavailable.
In the second mode, the application server periodically sends a status report for maintaining the heartbeat of the specific service to the control server, and the control server determines the service availability status of the specific service provided by the application server according to whether the status report is received or not. Specifically, for the edge application server, the edge application server periodically sends a status report for maintaining the heartbeat of the specific service to the mobile edge computing server, wherein the status report comprises an address of the edge application server and a specific service identifier, the mobile edge computing server sends the status report to the control server, if the control server does not receive the status report, the control server determines that the specific service provided by the edge application server is unavailable, and then changes the available state of the specific service provided by the edge application server in the service status table into unavailable state; for the cloud application server, the cloud application server can periodically send a status report for maintaining the heartbeat of the specific service to the control server, and if the control server does not receive the status report, the control server determines that the specific service provided by the cloud application server is unavailable, so that the available state of the specific service provided by the cloud application server in the service status table is changed into unavailable.
Based on the maintained status report, when detecting that the service corresponding to the service identifier provided by the first application server is unavailable, the control server acquires a second application server address capable of providing the available service, and further sends a service address change message to the user entity, wherein the service address change message comprises the second application server address and the like.
The method for the control server to obtain the address of the second application server capable of providing the available service is as follows:
the first step, the control server inquires whether other edge application service addresses capable of providing available services exist in a service state table according to the service identification;
secondly, if the second application server exists, the control server takes other edge service addresses as the address of the second application server; and if the address does not exist, taking the IP address of the cloud application server as the address of the second application server.
502. And when receiving the service address change message sent by the control server, the user entity establishes network connection with the second application server.
And when receiving the service address change message sent by the control server, the user entity sends a service acquisition request to a second application server corresponding to the address of the second application server, and establishes network connection with the second application server. When the second notification message is received, the control server stores the corresponding relation among the user entity identifier, the service identifier and the second application server address, and returns a confirmation message to the user entity, wherein the corresponding relation can be used for monitoring the service of the user entity in the follow-up process.
Fig. 6 shows a process of establishing a network connection provided by the embodiment of the present disclosure in a V2X scenario, where the process is as follows:
1. under a V2X scene, Edge V2X AS1 periodically sends a status report to the MEC, wherein the status report comprises an Edge V2X AS1 address and the like, and Edge V2X AS2 also can periodically send a status report to the MEC, wherein the status report comprises an Edge V2X AS2 address and the like; if receiving the status report sent by Edge V2X AS1, the MEC will send the received status report to V2X CF, and V2X CF receives the status report forwarded by MEC, and sets the service provided by Edge V2X AS1 to an available state in the service status table, and if V2X CF does not receive the status report of Edge V2X AS1 within a preset time period, sets the service provided by Edge V2X AS1 to an unavailable state in the service status table; the available state of the MEC for maintaining the Edge V2XAS2 service is the same AS the maintenance process for maintaining the available state of the Edge V2X AS1 service, which is specifically referred to the maintenance process of the Edge V2X AS1 and is not described herein again;
3. when the V2X CF detects that the V2X service provided by Edge V2X AS1 to the V2X UE is unavailable, the V2X CF may obtain an Edge V2X AS2 address capable of providing the V2X available service according to the service state table, and send the Edge V2X AS2 address to the V2X UE;
4. when receiving the Edge V2X AS2 address, the V2X UE establishes a network connection with Edge V2X AS 2;
5. after the V2X UE successfully communicates with Edge V2X AS2, the V2X UE sends a notification message to V2X CF, and when receiving the notification message, V2X CF stores the correspondence between V2X UE id, service id and Edge V2X AS2 address, and sends an acknowledgement message to V2X UE.
Data synchronization between the first application server and the second application server may also be involved in the process of switching from the first application server to the second application server, and a specific data synchronization process may be referred to in the embodiment shown in fig. 7.
According to the method provided by the embodiment of the disclosure, in the service providing process, when the application server is detected to be unavailable, the application server providing the service is replaced for the user entity, so that the continuity of the service is ensured.
Based on the architecture diagram of the network connection establishment system shown in fig. 1, an embodiment of the present disclosure provides a network connection establishment method, and referring to fig. 7, a method flow provided by the embodiment of the present disclosure includes:
701. when a change in location information is detected, the user entity sends a second service query request to the control server.
In the process of acquiring service from the first application server, when a user entity detects that tracking Cell identification change or Cell-ID change or E-SMLC positioning change exceeds a certain threshold, the position information change can be determined, and a second service query request is sent to the control server, wherein the second service query request comprises updated position information, service identification and the like of the user entity. If the user entity is deployed with a mobile edge computing server in an uplink, the mobile edge computing server can intercept the second service query request and send the second service query request to the control server; if the mobile edge computing server is not deployed on the uplink of the user entity, the user entity can directly send a second service query request to the control server.
702. And when a second service query request of the user entity is received, the control server acquires the address of the third application server according to the updated position information and the service identifier of the user entity and sends a data synchronization request to the first application server.
And when a second service query request of the user entity is received, the control server determines a third application service address of a third application server to be accessed according to the updated position information, the running track of the user entity, the current road condition and other information. The control server sends a data synchronization request to the first application server, wherein the data synchronization request comprises a user entity identifier, a service identifier, a third application server address and the like, and the data synchronization request is used for triggering the first application server and the third application server to perform data synchronization. Data synchronization between the first application server and the third application server includes, but is not limited to, the following scenarios:
in the first scenario, the first application server is a cloud application server, the third application server is an edge application server, and the data synchronization process is a process in which the cloud application server synchronizes stored interaction data with a user entity to the edge application server to be accessed by the user entity.
In the second scenario, the first application server is an edge application server, the third application server is a cloud application server, and the data synchronization process is a process in which the edge application server synchronizes the stored interaction data with the user entity to the cloud application server to be accessed by the user entity.
In a third scenario, the first application server is an edge application server, the third application server is another edge application server, and the data synchronization process is a process in which the edge application server synchronizes stored interaction data with the user entity to another edge application server to which the user entity is to be accessed.
When receiving a data synchronization request, the first application server initiates a data pre-synchronization request to a third application server corresponding to the address of the third application server, wherein the data pre-synchronization request comprises a user entity identifier, a service identifier, data to be synchronized and the like. And after the data synchronization is finished, the first application server sends a data synchronization response to the control server, wherein the data synchronization response comprises a user entity identifier, a service identifier, a third application server identifier and the like.
703. When receiving the data synchronization response of the first application server, the control server sends a third application server address to the user entity.
And when receiving the data synchronization response of the first application server, the control server sends the address of the third application server to the user entity so as to trigger the user entity to establish network connection with the third application server. If the first application server is an edge application server, the third application server is another edge application server, and the first application server and the third application server are positioned on platforms of different mobile edge computing servers, after receiving a data synchronization response of the first application server, the control server detects whether a user entity is accessed to the platform of the mobile edge computing server corresponding to the third application server, and if the user entity is accessed to the platform of the mobile edge computing server corresponding to the third application server, the address of the third application server is sent to the user entity; and if the user entity is not accessed to the platform of the mobile edge computing server corresponding to the third application server, sending the first application server address to the user entity, and maintaining the data synchronization state between the first application server and the third application server.
704. And when the third application server address is received, the user entity establishes network connection with the third application server corresponding to the third application server address.
And when receiving the third application server address, the user entity establishes network connection with a third application server corresponding to the third application server address according to the third application server address. Specifically, if the received address of the third application server is the domain name and the port number of the edge application server, the user entity sends a domain name query request to the domain name query system, queries the IP address of the edge application server corresponding to the domain name of the edge application server, and then establishes network connection with the third application server through the queried IP address and port number of the edge application server.
In another implementation of the present disclosure, after the user entity and the third application server successfully communicate, a third notification message is further sent to the control server, where the third notification message includes the user entity identifier, the service identifier, the address of the third application server, and the like, and when the third notification message is received, the control server stores the corresponding relationship between the user entity identifier, the service identifier, and the address of the third application server.
Fig. 8 shows a process of establishing a network connection provided by the embodiment of the present disclosure in a V2X scenario, where the process is as follows:
1. in the process that the V2X UE acquires service from Edge V2X AS1, when the V2X UE detects location update, the V2XUE sends a V2X AS query request to the V2X CF, wherein the V2X AS query request comprises the updated location information of the V2X UE and a V2XService identifier;
2. the V2X CF determines an Edge V2X AS2 corresponding to the MEC to be accessed, and sends a data synchronization request to an Edge V2X AS1, wherein the data synchronization request comprises a V2X UE identifier, a V2X Service identifier, an Edge V2X AS2 identifier and the like;
3. when receiving a data synchronization request, an Edge V2X AS1 initiates a data pre-synchronization request to an Edge V2X AS2, wherein the data pre-synchronization request comprises a V2X UE identifier, a V2X Service identifier, data to be synchronized and the like, and the Edge V2X AS1 interacts with an Edge V2X AS2 to realize data synchronization;
4. after the data synchronization is completed, the Edge V2X AS1 sends a data synchronization response to the V2X CF, wherein the data synchronization response comprises a V2X UE identifier, a V2X Service identifier, an Edge V2X AS2 identifier and the like;
5. when detecting that the V2X UE accesses to an MEC platform where Edge V2X AS2 is located, sending an Edge V2X AS2 domain name and a port number to the V2X UE; when detecting that the V2X UE still accesses the MEC platform where the Edge V2X AS1 is located, sending the Edge V2X AS1 domain name and the port number to the V2X UE, and keeping the data synchronization state between the Edge V2X AS1 and the Edge V2X AS 2;
6. the V2X UE sends a domain name query request to the DNS to acquire an Edge V2XAS2IP address corresponding to an Edge V2X AS2 domain name;
7. the V2X UE initiates a network connection with Edge V2X AS2 based on the Edge V2X AS2IP address and port number;
8. after the V2X UE successfully communicates with Edge V2X AS2, the V2X UE sends a notification message to V2X CF to notify V2X CF to store the corresponding relationship between V2X Service identity, Edge V2X AS2IP address and port number.
According to the method provided by the embodiment of the disclosure, when the position of the user entity needs to be switched to a new application server, data synchronization is performed between the two application servers before and after switching, the unavailability of services after switching is avoided, and the service quality is improved.
An embodiment of the present disclosure provides a user entity, referring to fig. 9, the user entity includes: a transmitting unit 901 and a receiving unit 902.
Wherein, the sending unit 901 is configured to execute step 301 in fig. 3 and step 701 in fig. 7;
the receiving unit 902 is configured to perform step 303 in fig. 3, step 502 in fig. 5, and step 704 in fig. 7.
An embodiment of the present disclosure provides a control server, referring to fig. 10, including: receiving section 1001, inquiring section 1002, and transmitting section 1003.
Wherein, the receiving unit 1001 is configured to execute step 302 in fig. 3 and steps 702 and 703 in fig. 7;
the query unit 1002 is configured to perform step 302 in fig. 3;
the sending unit 1003 is configured to execute step 501 in fig. 5.
An embodiment of the present disclosure provides a mobile edge computing server, referring to fig. 11, including: a receiving unit 1101, an address joining unit 1102, and a sending unit 1103.
The receiving unit 1101, the address adding unit 1102 and the sending unit 1103 are configured to implement the process from step 301 to step 302 in fig. 3.
It should be noted that: in the above embodiment, when establishing a network connection, the user entity, the control server and the mobile edge computing server are only illustrated by dividing the functional modules, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the embodiments of the method for establishing a connection between a user entity, a control server, a mobile edge computing server and a network provided in the foregoing embodiments belong to the same concept, and specific implementation processes thereof are described in detail in the embodiments of the method and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is intended to be exemplary only and not to limit the present disclosure, and any modification, equivalent replacement, or improvement made without departing from the spirit and scope of the present disclosure is to be considered as the same as the present disclosure.

Claims (37)

1. A method for establishing a network connection, the method comprising:
sending a first service query request to a control server, wherein the first service query request comprises position information and a service identifier of a user entity, and the first service query request is used for the control server to query a first application server address according to the position information and the service identifier of the user entity and send the first application server address to the user entity;
receiving the address of the first application server, and sending a service acquisition request to the first application server corresponding to the address of the first application server, wherein the service acquisition request comprises a user entity identifier and a service identifier, and the service acquisition request is used for the first application server to provide a service corresponding to the service identifier to a user entity corresponding to the user entity identifier.
2. The method of claim 1, wherein the first application server address comprises an edge application server domain name and a port number, and before sending the service acquisition request to the first application server corresponding to the first application server address, the method further comprises:
sending a domain name query request to a domain name system, wherein the domain name query request comprises the domain name of the edge application server, and is used for the domain name system to query the IP address of the IP (internet protocol) of the edge application server corresponding to the domain name of the edge application server and send the IP address of the edge application server to the user entity;
the sending a service acquisition request to the first application server corresponding to the first application server address includes:
and sending the service acquisition request to the edge application server corresponding to the IP address and the port number of the edge application server.
3. The method of claim 1, wherein the first application server address comprises an Internet Protocol (IP) address of a cloud application server, and wherein sending the service acquisition request to the first application server corresponding to the first application server address comprises:
and sending the service acquisition request to a cloud application server corresponding to the IP address of the cloud application server.
4. The method according to any one of claims 1 to 3, further comprising:
when the service corresponding to the service identifier is obtained, sending a first notification message to the control server, where the first notification message includes a user entity identifier, the service identifier, and the first application server address, and the first notification message is used for the control server to store a corresponding relationship between the user entity identifier, the service identifier, and the first application server address.
5. The method of claim 4, further comprising:
receiving a service address change message sent by the control server, wherein the service address change message includes a second application server address, the service address change message is sent when the control server detects that the service corresponding to the service identifier provided by the first application server is unavailable, and the second application server corresponding to the second application server address is used for providing the service corresponding to the service identifier;
and establishing network connection with the second application server.
6. The method of claim 4, further comprising:
when the position information change is detected, sending a second service query request to the control server, wherein the second service query request comprises updated position information of the user entity and the service identifier, and the second service query request is used for the control server to query a third application server address, triggering the first application server and the third application server corresponding to the third application server address to perform data synchronization, and sending the third application server address to the user entity;
and receiving the address of the third application server, and establishing network connection with the third application server corresponding to the address of the third application server.
7. A method for establishing a network connection, the method comprising:
receiving a first service query request of a user entity, wherein the first service query request comprises position information and a service identifier of the user entity;
and inquiring a first application server address according to the position information of the user entity and the service identification, and sending the first application server address to the user entity, wherein the first application server address is used for the user entity to send a service acquisition request to a first application server, and the service acquisition request comprises the user entity identification and the service identification.
8. The method of claim 7, wherein the first service query request further comprises a mobile edge compute server address of a mobile edge compute server upstream from the user entity;
the querying an address of a first application server according to the location information of the user entity and the service identifier includes:
and inquiring the domain name and the port number of the edge application server according to the position information, the address of the mobile edge computing server and the service identifier, and taking the domain name and the port number of the edge application server as the address of the first application server.
9. The method of claim 7, wherein querying the first application server address according to the location information of the user entity and the service identifier comprises:
and inquiring I P address of a network interconnection protocol of a cloud application server according to the position information of the user entity and the service identification, and taking the IP address of the cloud application server as the address of the first application server.
10. The method according to any one of claims 7 to 9, further comprising:
receiving a first notification message sent by the user entity, wherein the first notification message comprises the user entity identifier, the service identifier and the first application server address;
and storing the corresponding relation among the user entity identification, the service identification and the first application server address.
11. The method of claim 10, further comprising:
when detecting that the service corresponding to the service identifier provided by the first application server is unavailable, acquiring a second application server address capable of providing the available service, and sending a service address change message to the user entity, wherein the service address change message comprises the second application server address, and the service address change message is used for establishing network connection between the user entity and the second application server corresponding to the second application server address.
12. The method of claim 11, wherein obtaining the address of the second application server capable of providing the available service comprises:
inquiring whether other edge application service addresses capable of providing available services exist in a service state table or not according to the service identification, wherein the service state table stores the corresponding relation among the service identification, the application server address and the service available state;
if the second application server address exists, taking other edge service addresses as the second application server address;
and if the second application server address does not exist, taking the IP address of the cloud application server as the second application server address.
13. The method according to claim 12, wherein before querying a service status table for whether there are other edge service addresses capable of providing available services according to the service identifier, further comprising:
receiving a status report sent by a mobile edge computing server and a cloud application server, wherein the status report comprises an application server address;
and maintaining the service state table according to the state report.
14. The method of claim 10, further comprising:
receiving a second service query request of the user entity, wherein the second service query request comprises updated position information of the user entity and the service identifier, and the second service query request is sent when the user entity detects that the position information changes;
acquiring a third application server address according to the updated position information of the user entity and the service identifier, and sending a data synchronization request to the first application server, wherein the data synchronization request comprises the user entity identifier, the service identifier and the third application server address, and the data synchronization request is used for performing data synchronization on the first application server and the third application server corresponding to the third application server address, and sending a data synchronization response to a control server after the data synchronization is completed;
and when the data synchronization response is received, sending the third application server address to the user entity, wherein the third application server address is used for establishing network connection between the user entity and the third application server.
15. A method for establishing a network connection, the method comprising:
receiving a first service query request sent by a user entity, wherein the first service query request comprises position information and a service identifier of the user entity;
adding a mobile edge computing server address into the first service query request, and sending the first service query request including the mobile edge computing server address to a control server, wherein the first service query request including the mobile edge computing server address is used for the control server to query an edge application server domain name and a port number according to the position information of the user entity, the service identifier and the mobile edge computing server address, and sending the edge application server domain name and the port number to the user entity, and the edge application server domain name and the port number are used for the user entity and the edge application server to establish network connection.
16. The method of claim 15, wherein after sending the first service query request including the address of the mobile edge computing server to the control server, further comprising:
receiving a service acquisition request sent by the user entity, wherein the service acquisition request comprises a user entity identifier and the service identifier;
and sending the service acquisition request to an edge application server, wherein the service acquisition request is used for the edge application server to provide the service corresponding to the service identifier for the user entity corresponding to the user entity identifier.
17. The method of claim 15, further comprising:
receiving a status report sent by each edge application server, wherein the status report comprises an address of the edge application server;
and sending the status report to the control server, wherein the status report is used for the control server to maintain a service status table, and the service status table stores the corresponding relation among the service identification, the application server address and the available state.
18. A user entity, characterized in that the user entity comprises:
a sending unit, configured to send a first service query request to a control server, where the first service query request includes location information and a service identifier of a user entity, and the first service query request is used for the control server to query a first application server address according to the location information and the service identifier of the user entity, and send the first application server address to the user entity;
a receiving unit, configured to receive the first application server address;
the sending unit is further configured to send a service acquisition request to a first application server corresponding to the first application server address, where the service acquisition request includes a user entity identifier and a service identifier, and the service acquisition request is used for the first application server to provide a service corresponding to the service identifier to a user entity corresponding to the user entity identifier.
19. The user entity according to claim 18, wherein the first application server address includes an edge application server domain name and a port number, and the sending unit is further configured to send a domain name query request to a domain name system, where the domain name query request includes the edge application server domain name, and the domain name query request is used for the domain name system to query an internet protocol IP address of an edge application server corresponding to the edge application server domain name, and send the IP address of the edge application server to the user entity;
the sending unit is further configured to send the service acquisition request to an edge application server corresponding to the IP address and the port number of the edge application server.
20. The user entity according to claim 18, wherein the first application server address includes an internet protocol IP address of a cloud application server, and the sending unit is further configured to send the service acquisition request to the cloud application server corresponding to the IP address of the cloud application server.
21. The user entity according to any one of claims 18 to 20, wherein the sending unit is further configured to send a first notification message to the control server when the service corresponding to the service identifier is obtained, where the first notification message includes a user entity identifier, the service identifier, and the first application server address, and the first notification message is used for the control server to store a correspondence between the user entity identifier, the service identifier, and the first application server address.
22. The user entity according to claim 21,
the receiving unit is configured to receive a service address change message sent by the control server, where the service address change message includes a second application server address, the service address change message is sent when the control server detects that a service corresponding to the identifier provided by the first application server is unavailable, and the second application server corresponding to the second application server address is used to provide the service corresponding to the service identifier;
the user entity further comprises: and the connection unit is used for establishing network connection with the second application server.
23. The ue of claim 22, wherein the sending unit is further configured to send a second service query request to the control server when detecting that the location information changes, where the second service query request includes updated location information of the ue and the service identifier, and the second service query request is used for the control server to query a third application server address, trigger a third application server corresponding to the first application server and the third application server address to perform data synchronization, and send the third application server address to the ue;
the receiving unit is further configured to receive the address of the third application server, and establish a network connection with the third application server corresponding to the address of the third application server.
24. A control server, characterized in that the control server comprises:
a receiving unit, configured to receive a first service query request of a user entity, where the first service query request includes location information and a service identifier of the user entity;
the query unit is used for querying the address of the first application server according to the position information of the user entity and the service identifier;
a sending unit, configured to send the first application server address to the user entity, where the first application server address is used for the user entity to send a service acquisition request to a first application server, and the service acquisition request includes a user entity identifier and a service identifier.
25. The control server of claim 24, wherein the first service query request further comprises a mobile edge compute server address of a mobile edge compute server upstream from the user entity;
the query unit is further configured to query a domain name and a port number of an edge application server according to the location information, the mobile edge computing server address, and the service identifier, and use the domain name and the port number of the edge application server as the first application server address.
26. The control server according to claim 24, wherein the query unit is further configured to query, according to the location information of the user entity and the service identifier, an internet protocol IP address of a cloud application server, and use the IP address of the cloud application server as the first application server address.
27. The control server according to any one of claims 24 to 26, characterized in that the control server further comprises:
a receiving unit, configured to receive a first notification message sent by the user entity, where the first notification message includes the user entity identifier, the service identifier, and the first application server address;
and the storage unit is also used for storing the corresponding relation among the user entity identification, the service identification and the first application server address.
28. The control server of claim 27, further comprising:
an obtaining unit, configured to obtain, when it is detected that a service corresponding to the service identifier provided by the first application server is unavailable, an address of a second application server capable of providing an available service;
the sending unit is further configured to send a service address change message to the user entity, where the service address change message includes the address of the second application server, and the service address change message is used for establishing network connection between the user entity and the second application server corresponding to the address of the second application server.
29. The control server according to claim 28, wherein the obtaining unit is further configured to query, according to the service identifier, whether there are other edge service addresses capable of providing available services in a service status table, where a correspondence relationship between the service identifier, an application server address, and a service availability status is stored in the service status table; if the second application server address exists, taking other edge service addresses as the second application server address; and if the second application server address does not exist, taking the IP address of the cloud application server as the second application server address.
30. The control server of claim 29, further comprising:
the receiving unit is further configured to receive a status report sent by the mobile edge computing server and the cloud application server, where the status report includes an application server address;
and the maintenance unit is used for maintaining the service state table according to the state report.
31. The control server of claim 27, further comprising:
the receiving unit is configured to receive a second service query request of the user entity, where the second service query request includes updated location information of the user entity and the service identifier, and the second service query request is sent when the user entity detects that the location information changes;
an obtaining unit, configured to obtain a third application server address according to the updated location information of the user entity and the service identifier, and send a data synchronization request to the first application server, where the data synchronization request includes the user entity identifier, the service identifier, and the third application server address, and the data synchronization request is used for performing data synchronization between the first application server and the third application server corresponding to the third application server address, and sending a data synchronization response to a control server after the data synchronization is completed;
the sending unit is further configured to send the third application server address to the user entity when receiving the data synchronization response, where the third application server address is used for establishing network connection between the user entity and the third application server.
32. A mobile edge computing server, the mobile edge computing server comprising:
a receiving unit, configured to receive a first service query request sent by a user entity, where the first service query request includes location information and a service identifier of the user entity;
an address adding unit, configured to add a mobile edge computing server address to the first service query request;
a sending unit, configured to send a first service query request including the mobile edge computing server address to a control server, where the first service query request including the mobile edge computing server address is used by the control server to query an edge application server domain name and a port number according to the location information of the user entity, the service identifier, and the mobile edge computing server address, and send the edge application server domain name and the port number to the user entity, where the edge application server domain name and the port number are used for establishing network connection between the user entity and an edge application server.
33. The mobile edge computation server of claim 32, wherein the receiving unit is further configured to receive a service acquisition request sent by the user entity, where the service acquisition request includes a user entity identifier and the service identifier;
the sending unit is configured to send the service acquisition request to an edge application server, where the service acquisition request is used for the edge application server to provide a service corresponding to the service identifier to a user entity corresponding to the user entity identifier.
34. The mobile edge computation server of claim 33, wherein the receiving unit is further configured to receive a status report sent by each edge application server, and the status report includes an address of the edge application server;
the sending unit is further configured to send the status report to the control server, where the status report is used for the control server to maintain a service status table, and a corresponding relationship between a service identifier, an application server address, and an available state is stored in the service status table.
35. A network device, comprising a memory, a processor, a transceiver, and a bus, wherein the memory, the processor, and the transceiver are connected to each other via the bus, and the memory is used for storing computer instructions, and when the network device is operated, the processor executes the computer instructions to make the network device execute the network connection establishment method according to any one of claims 1 to 17.
36. A computer-readable storage medium for storing computer software instructions for the user entity, the computer-readable storage medium comprising a program configured to perform the method for establishing a network connection according to any one of claims 1 to 17.
37. The system for establishing the network connection is characterized by comprising a user entity, a control server and a mobile edge computing server;
the user entity of any one of claims 18 to 23;
the control server of any one of claims 24 to 31;
the mobile edge computing server of any of claims 32 to 34.
CN201810161101.5A 2018-02-27 2018-02-27 Method and device for establishing network connection Active CN110198516B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201810161101.5A CN110198516B (en) 2018-02-27 2018-02-27 Method and device for establishing network connection
PCT/CN2019/073822 WO2019165876A1 (en) 2018-02-27 2019-01-30 Method and device for establishing network connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810161101.5A CN110198516B (en) 2018-02-27 2018-02-27 Method and device for establishing network connection

Publications (2)

Publication Number Publication Date
CN110198516A CN110198516A (en) 2019-09-03
CN110198516B true CN110198516B (en) 2020-06-16

Family

ID=67751103

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810161101.5A Active CN110198516B (en) 2018-02-27 2018-02-27 Method and device for establishing network connection

Country Status (2)

Country Link
CN (1) CN110198516B (en)
WO (1) WO2019165876A1 (en)

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491717A (en) * 2019-09-12 2021-03-12 华为技术有限公司 Service routing method and device
EP4032253A4 (en) * 2019-09-18 2023-08-30 Telefonaktiebolaget LM Ericsson (publ.) Method and apparatus for local application server discovery in mobile edge computing
CN112533177A (en) * 2019-09-19 2021-03-19 大唐移动通信设备有限公司 Method, device, apparatus and medium for providing and discovering moving edge calculation
CN112583880B (en) * 2019-09-30 2022-02-25 大唐移动通信设备有限公司 Server discovery method and related equipment
CN111405014B (en) * 2020-03-09 2022-04-22 联想(北京)有限公司 Data processing method and device based on mobile edge computing MEC platform and storage medium
US11765680B2 (en) * 2020-04-03 2023-09-19 Apple Inc. Data analytics for multi-access edge computation
CN113542330B (en) * 2020-04-21 2023-10-27 中移(上海)信息通信科技有限公司 Mobile edge calculation data acquisition method and system
CN113905413A (en) * 2020-06-19 2022-01-07 中兴通讯股份有限公司 Positioning method, edge computing platform, positioning platform and computer readable medium
CN113938910A (en) * 2020-07-13 2022-01-14 华为技术有限公司 Communication method and device
WO2022056733A1 (en) 2020-09-16 2022-03-24 Apple Inc. Security protection on user consent for edge computing
WO2022067829A1 (en) * 2020-09-30 2022-04-07 华为技术有限公司 Method and apparatus for dynamically triggering instantiation of edge application server
CN114844865A (en) * 2021-01-30 2022-08-02 华为技术有限公司 Service identifier distribution method and communication device in computational power awareness network
CN114945016A (en) * 2021-02-10 2022-08-26 维沃移动通信有限公司 Information processing method, device and equipment
CN115185669A (en) * 2021-04-06 2022-10-14 中国移动通信有限公司研究院 Edge configuration server information processing method and device and communication equipment
CN113220527A (en) * 2021-05-13 2021-08-06 北京百度网讯科技有限公司 Edge end execution method, cloud end execution method and device
CN113613196A (en) * 2021-06-16 2021-11-05 北京交通大学 Communication method, device and system for geographic area
CN113537011A (en) * 2021-07-06 2021-10-22 广西电网有限责任公司 Cloud edge fusion-based method for monitoring state of power transmission line of power tower
CN113490152B (en) * 2021-07-20 2024-04-16 中国重汽集团济南动力有限公司 Snow wax car monitored control system with remote intelligent communication
CN113992690B (en) * 2021-10-26 2023-10-27 北京百度网讯科技有限公司 Message transmission method, device, equipment and storage medium
CN116074365A (en) * 2021-11-01 2023-05-05 中兴通讯股份有限公司 Method and device for establishing connection, storage medium and electronic device
CN114845248A (en) * 2022-03-17 2022-08-02 中国联合网络通信集团有限公司 User position acquisition method, front-end processor, equipment and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105210418A (en) * 2013-05-16 2015-12-30 三星电子株式会社 Scheme for discovery in a communication network
CN106658424A (en) * 2015-11-02 2017-05-10 中兴通讯股份有限公司 Method and device for sending vehicle to everything V2X services
CN107683613A (en) * 2015-06-24 2018-02-09 英特尔Ip公司 It is enhanced to support vehicle to all things on earth(V2X)Communication
CN107733955A (en) * 2016-08-12 2018-02-23 中兴通讯股份有限公司 Car networking business collocation method and device, business obtaining method, apparatus and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7903635B2 (en) * 2006-03-02 2011-03-08 Tango Networks, Inc. System and method for enabling DTMF detection in a VoIP network
EP2482525B1 (en) * 2011-01-28 2014-03-12 NTT DoCoMo, Inc. Method and apparatus for determining a server which should respond to a service request
CN202737911U (en) * 2012-06-12 2013-02-13 中国人民解放军91655部队 Authority control system
CN107463172B (en) * 2017-07-21 2019-08-27 浙江大学 It is a kind of that automated driving system is controlled based on the cloud of SUMO and unified time axis

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105210418A (en) * 2013-05-16 2015-12-30 三星电子株式会社 Scheme for discovery in a communication network
CN107683613A (en) * 2015-06-24 2018-02-09 英特尔Ip公司 It is enhanced to support vehicle to all things on earth(V2X)Communication
CN106658424A (en) * 2015-11-02 2017-05-10 中兴通讯股份有限公司 Method and device for sending vehicle to everything V2X services
CN107733955A (en) * 2016-08-12 2018-02-23 中兴通讯股份有限公司 Car networking business collocation method and device, business obtaining method, apparatus and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Definition of the USD for Uu based V2X communication and V2X Application Server discovery;Qualcomm Incorporated;《SA WG2 Meeting #S2-117 S2-166031》;20161128;全文 *

Also Published As

Publication number Publication date
CN110198516A (en) 2019-09-03
WO2019165876A1 (en) 2019-09-06

Similar Documents

Publication Publication Date Title
CN110198516B (en) Method and device for establishing network connection
US20220124147A1 (en) Application relocation method and apparatus
US11240647B2 (en) Efficient vehicular services
JP6768934B2 (en) Efficient and dynamic support for mobile low latency services
US11622416B2 (en) Group-based relay selection for wireless network communication
JP5565981B2 (en) Domain selection method and system for incoming calls
US20200287975A1 (en) Session Processing Method, Apparatus, And System
US9137268B2 (en) Method, terminal, and server for obtaining heartbeat period
US9445348B2 (en) Delivery of Internet based service to user equipment
CN113891430A (en) Communication method, device and system
CN112512096A (en) Communication method and device based on slice
EP2698963A1 (en) Heartbeat cycle obtaining method, terminal, and server
US20190273650A1 (en) Method and System for Processing NF Component Exception, and Device
CN113986520A (en) UPF selection method and device
CN110519172B (en) Wireless communication method and apparatus
US20230275872A1 (en) Communication method and apparatus, and computer-readable storage medium
WO2022082724A1 (en) Method and apparatus for multicast service support in time sensitive network
US11096098B2 (en) Methods and apparatus for handover control in a wireless communication network
EP3791635B1 (en) Switching pans while maintaining parent/child relationships
WO2010069188A1 (en) Service processing method, device and system
CN110140416A (en) Customer equipment context management method, device and equipment
CN105611597A (en) Routing method and network system of mobile ad hoc
US20230217508A1 (en) Method for adding 3gpp pdn leg to an ma pdu session with non-3gpp leg
Benedetti et al. An energy efficient and software-defined information-centric networking approach to consumer mobility
JP2023539805A (en) How to search and register devices, network side devices

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
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220215

Address after: 550025 Huawei cloud data center, jiaoxinggong Road, Qianzhong Avenue, Gui'an New District, Guiyang City, Guizhou Province

Patentee after: Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.