[go: up one dir, main page]

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
server
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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

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 present disclosure relates to the technical field of Internet of Vehicles, and in particular, to a method and device for establishing a network connection.

背景技术Background technique

车与一切事物(Vehicle to Everything,V2X)表示车辆与一切事物通过车载自组网及多种异构网络进行互联。V2X的互联方式包括车与车(Vehicle to Vehicle,V2V)、车与道路基础设施(Vehicle to Infrastructure,V2I)、车与行人(Vehicle to Pedestrians,V2P)、车与云端(Vehicle to Cloud,V2C)等。基于V2X技术,V2X用户实体(User Entity,UE)通过与V2X应用服务器(Application Server,AS)建立网络连接,可获取V2X AS提供的服务,例如,交通状况提醒服务、驾驶数据共享服务等,这些服务在交通安全、交通效率及节能减排等方面发挥着重要作用,已成为现代交通中不可或缺的组成部分。Vehicle to Everything (V2X) means that vehicles and everything are interconnected through in-vehicle ad hoc networks and various heterogeneous networks. The interconnection methods of V2X include Vehicle to Vehicle (V2V), Vehicle to Infrastructure (V2I), Vehicle to Pedestrians (V2P), Vehicle to Cloud (V2C) Wait. Based on the V2X technology, the V2X user entity (User Entity, UE) can obtain the services provided by the V2X AS by establishing a network connection with the V2X application server (Application Server, AS), such as traffic condition reminder service, driving data sharing service, etc. Service plays an important role in traffic safety, traffic efficiency, energy conservation and emission reduction, and has become an indispensable part of modern transportation.

目前,第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)所发布的V2X第二阶段的规范(TS 23.285),对V2X UE与V2X AS建立网络连接提供了如下建议:V2X UE采用Anycast方式向网络发送包括服务标识的服务获取请求,当接收到服务获取请求,网络内的路由设备根据服务标识,确定网络内能够提供该服务的多个V2X AS,并度量将服务获取请求从当前节点传输到每个V2X AS所途径的节点数量,进而将服务请求发送至途径节点数量最少的V2X AS,以建立V2X UE与该V2X AS之间的网络连接。At present, the V2X Phase II specification (TS 23.285) released by the 3rd Generation Partnership Project (3GPP) provides the following recommendations for establishing network connections between V2X UEs and V2X ASs: V2X UEs use the Anycast method to The network sends a service acquisition request including the service ID. When receiving the service acquisition request, the routing device in the network determines multiple V2X ASs that can provide the service in the network according to the service ID, and measures the transmission of the service acquisition request from the current node to the The number of nodes routed by each V2X AS, and then the service request is sent to the V2X AS with the least number of routed nodes to establish a network connection between the V2X UE and the V2X AS.

由于V2X业务时效性要求较高,而采用Anycast方式所选取的V2X AS只是途径节点数量最少的V2X AS,实际上途径节点数量的多少并不能反映V2X UE与V2X AS之间的距离远近,因而基于Anycast所选择的V2X AS时效性较差,无法满足V2X业务需求。Due to the high timeliness requirements of V2X services, the V2X AS selected by the Anycast method is only the V2X AS with the smallest number of route nodes. In fact, the number of route nodes does not reflect the distance between the V2X UE and the V2X AS. The V2X AS selected by Anycast has poor timeliness and cannot meet the needs of V2X services.

发明内容SUMMARY OF THE INVENTION

为了解决相关技术的问题,本公开实施例提供了一种网络连接的建立方法及装置。所述技术方案如下:In order to solve the problems in the related art, the embodiments of the present disclosure provide a method and apparatus for establishing a network connection. The technical solution is as follows:

第一方面,提供了一种网络连接的建立方法,用户实体向控制服务器发送第一服务查询请求,该第一服务查询请求包括用户实体的位置信息和服务标识,当接收到第一服务查询请求时,控制服务器根据用户实体的位置信息和服务标识,查询第一应用服务器地址,并将第一应用服务器地址发送至用户实体。用户实体接收控制服务器发送的第一应用服务器地址,并向第一应用服务器地址对应的第一应用服务器发送服务获取请求,该服务获取请求包括用户实体标识和服务标识,当接收到服务获取请求,第一应用服务器向用户实体标识对应的用户实体提供服务标识对应的服务。A first aspect provides a method for establishing a network connection. 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. When the first service query request is received At the time, the control server queries the address of the first application server according to the location information and service identifier of the user entity, and sends the address of the first application server to the user entity. The user entity receives the first application server address sent by the control server, and sends a service acquisition request to the first application server corresponding to the first application server address, where the service acquisition request includes the user entity identifier and the service identifier. When receiving the service acquisition request, The first application server provides the service corresponding to the service identifier to the user entity corresponding to the user entity identifier.

本公开实施例示出的方案,控制服务器根据用户实体自身的位置信息及所需服务的服务标识,为用户实体选择出能够快速为其提供服务的应用服务器,提高了服务的时效性,从而满足了V2X业务需求。In the solution shown in the embodiments of the present disclosure, the control server selects an application server that can quickly provide services for the user entity according to the location information of the user entity itself and the service identifier of the required service, which improves the timeliness of the service and satisfies the V2X business requirements.

在一种可能的设计中,第一应用服务器地址包括边缘应用服务器域名和端口号,针对该种情况,用户实体向第一应用服务器地址对应的第一应用服务器发送服务获取请求之前,还可向域名系统发送域名查询请求,该域名查询请求包括边缘应用服务器域名,当接收到域名查询请求时,域名系统查询边缘应用服务器域名对应的边缘应用服务器的IP(Internet Protocol Address,网络互连协议)地址,并将边缘应用服务器的IP地址发送至用户实体。基于所接收到的边缘服务器的IP地址及边缘服务器的端口号,用户实体向边缘应用服务器的IP地址和端口号对应的边缘应用服务器发送服务获取请求。In a possible design, the address of the first application server includes the domain name and port number of the edge application server. In this case, before sending the service acquisition request to the first application server corresponding to the address of the first application server, the user entity may also The domain name system sends a domain name query request, and the domain name query request includes the domain name of the edge application server. When receiving the domain name query request, the domain name system queries the IP (Internet Protocol Address, Internet Protocol) address 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. 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 port number of the edge application server.

本公开实施例示出的方案,通过获取边缘应用服务器的IP地址,并基于所获取的地址发起服务获取请求,使得服务发起过程更具针对性。The solutions shown in the embodiments of the present disclosure make the service initiation process more targeted by acquiring the IP address of the edge application server and initiating a service acquisition request based on the acquired address.

在另一种可能的设计中,当第一应用服务器地址包括云端应用服务器的IP地址时,用户实体可根据云端应用服务器的IP地址,向云端应用服务器的IP地址对应的云端应用服务器发送服务获取请求。In another possible design, when the first application server address includes the IP address of the cloud application server, the user entity can send the service acquisition to the cloud application server corresponding to the cloud application server's IP address according to the cloud application server's IP address ask.

本公开实施例示出的方案,通过获取云端应用服务器的IP地址,并基于所获取的地址发起服务获取请求,使得服务发起过程更具针对性。The solution shown in the embodiment of the present disclosure makes the service initiation process more targeted by acquiring the IP address of the cloud application server and initiating a service acquisition request based on the acquired address.

在另一种可能的设计中,当获取到服务标识对应的服务时,用户实体可向控制服务器发送第一通知消息,该第一通知消息包括用户实体标识、服务标识及第一应用服务器地址,该第一通知消息用于控制服务器存储用户实体标识、服务标识及第一应用服务器地址之间的对应关系。In another possible design, when the 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, The first notification message is used for the control server to store the correspondence between the user entity identifier, the service identifier and the address of the first application server.

本公开实施例示出的方案,通过向控制服务器发送第一通知消息,可使控制服务器存储用户实体标识、服务标识及第一应用服务器地址,从而能够根据当前的连接关系,进行后续的容灾及数据同步流程。In the solution shown in the embodiments of the present disclosure, by sending the first notification message to the control server, the control server can be made to store the user entity identifier, the service identifier and the address of the first application server, so that subsequent disaster recovery and recovery can be performed according to the current connection relationship. Data synchronization process.

在另一种可能的设计中,当控制服务器检测到第一应用服务器提供的服务标识对应的服务不可用时,获取能够提供可用服务的第二应用服务器地址,并向用户实体发送服务地址变更消息。用户实体接收控制服务器发送的服务地址变更消息,进而与第二应用服务器建立网络连接。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 that can provide the available service, and sends a service address change message to the user entity. The user entity receives the service address change message sent by the control server, and then establishes a network connection with the second application server.

本公开实施例示出的方案,在第一应用服务器提供的服务不可用时,能够切换到其他能够提供可用服务的应用服务器,从而确保了服务的连续性,提高了服务质量。In the solutions shown in the embodiments of the present disclosure, when the service provided by the first application server is unavailable, it can switch to other application servers that can provide available services, thereby ensuring service continuity and improving service quality.

在另一种可能的设计中,当用户实体与控制服务器建立网络连接之后,用户实体还将向控制服务器发送第二通知消息,该第二通知消息用于控制服务器存储用户实体标识、服务标识及第二应用服务器地址之间的对应关系。In another possible design, after the user entity establishes a network connection with the control server, the user entity will also send a second notification message to the control server, where the second notification message is used for the control server to store the user entity identifier, service identifier and The correspondence between addresses of the second application server.

本公开实施例示出的方案,通过向控制服务器发送第二通知消息,可使控制服务器存储用户实体、服务标识及第二应用服务器地址之间的对应关系,从而能够根据所存储的对应关系,对服务进行监控。In the solution shown in the embodiments of the present disclosure, by sending the second notification message to the control server, the control server can store the correspondence between the user entity, the service identifier and the address of the second application server, so that the stored correspondence can be Services are monitored.

在另一种可能的设计中,当检测到位置信息变化时,用户实体向控制服务器发送第二服务查询请求,该第二服务查询请求包括用户实体的更新位置信息和服务标识,该第二服务查询请求用于控制服务器查询第三应用服务器地址,触发第一应用服务器和第三应用服务器地址对应的第三应用服务器进行数据同步,并将第三应用服务器地址发送至用户实体,当接收到第三应用服务器地址,用户实体与第三应用服务器地址对应的第三应用服务器建立网络连接。In another possible design, when the location information change is detected, the user entity sends a second service query request to the control server, where the second service query request includes the updated location information of the user entity and the service identifier, the second service query request The query request is used to control the server to query the address of the third application server, 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. The third application server address, the user entity establishes a network connection with the third application server corresponding to the third application server address.

本公开实施例示出的方案,用户实体在检测到自身位置变化时,在位置变化前后的两个应用服务器之间数据同步,并建立新的网络连接,保证了服务的连续性。In the solution shown in the embodiments of the present disclosure, when a user entity detects a change in its own location, data is synchronized between the two application servers before and after the location change, and a new network connection is established to ensure service continuity.

在另一种可能的设计中,用户实体向控制服务器发送第三通知消息,该第三通知消息用于控制服务器存储用户实体标识、服务标识及第三应用服务器地址之间的对应关系。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 the correspondence between the user entity identifier, the service identifier and the address of the third application server.

本公开实施例示出的方案,通过向控制服务器发送第二通知消息,可使控制服务器存储用户实体、服务标识及第三应用服务器地址之间的对应关系,从而能够根据所存储的对应关系,对服务进行监控。In the solution shown in the embodiment of the present disclosure, by sending the second notification message to the control server, the control server can be made to store the correspondence between the user entity, the service identifier and the address of the third application server, so that according to the stored correspondence, Services are monitored.

第二方面,提供了一种网络连接的建立方法,该方法包括:控制服务器接收用户实体的第一服务查询请求,该第一服务查询请求包括用户实体的位置信息和服务标识,控制服务器根据用户实体的位置信息和服务标识,查询第一应用服务器地址,并将第一应用服务器地址发送至用户实体,当接收到第一应用服务器地址时,用户实体向第一应用服务器地址对应的第一应用服务器发送服务获取请求,该服务获取请求包括用户实体标识和服务标识等。In a second aspect, a method for establishing a network connection is provided. The method includes: a control server receives a first service query request from a user entity, where the first service query request includes location information and a service identifier of the user entity. The location information and service identifier of the entity, query the address of the first application server, and send the address of the first application server to the user entity. When receiving the address of the first application server, the user entity sends the first application corresponding to the address of the first application server to the user entity. The server sends a service acquisition request, where the service acquisition request includes the user entity identifier and the service identifier.

本公开实施例示出的方案,控制服务器根据用户实体自身的位置信息及所需服务的服务标识,为用户实体选择出能够快速为其提供服务的应用服务器,提高了服务的时效性,从而满足了V2X业务需求。In the solution shown in the embodiments of the present disclosure, the control server selects an application server that can quickly provide services for the user entity according to the location information of the user entity itself and the service identifier of the required service, which improves the timeliness of the service and satisfies the V2X business requirements.

在一种可能的设计中,第一服务查询请求还包括位于用户实体上行的移动边缘计算服务器的移动边缘计算服务器地址,当接收到第一服务查询请求时,控制服务器根据用户位置信息、移动边缘计算服务器地址及服务标识,查询边缘应用服务器域名和端口号,进而将边缘应用服务器域名和端口号作为第一应用服务器地址。In a possible design, the first service query request further includes the mobile edge computing server address of the mobile edge computing server located on the uplink of the user entity. When receiving the first service query request, the control server will Calculate the server address and service identifier, query the domain name and port number of the edge application server, and then use the domain name and port number of the edge application server as the first application server address.

本公开实施例示出的方案,提供了一种查询第一应用服务器地址的方法。The solutions shown in the embodiments of the present disclosure provide a method for querying the address of a first application server.

在另一种可能的设计中,控制服务器根据用户实体的位置信息和服务标识,查询云端应用服务器的IP地址,进而将云端应用服务器的IP地址作为第一应用服务器地址。In another possible design, the control server queries the IP address of the cloud application server according to the location information and service identifier of the user entity, and then uses the IP address of the cloud application server as the first application server address.

本公开实施例示出的方案,提供了另一种查询第一应用服务器地址的方法。The solutions shown in the embodiments of the present disclosure provide 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 the service provided by the first application server, the user entity will also send a first notification message to the control server, the first notification message It includes the user entity identifier, the service identifier and the first application server address. When receiving the first notification message sent by the user entity, the control server stores the correspondence between the user entity identifier, the service identifier and the address of the first application server.

本公开实施例示出的方案,控制服务器通过存储用户实体标识、服务标识及第一应用服务器地址之间的对应关系,可根据所存储的对应关系,对服务进行监控。In the solution shown in the embodiment of the present disclosure, the control server can monitor the service according to the stored correspondence by storing the correspondence between the user entity identifier, the service identifier and the address of the first application server.

在另一种可能的设计中,当检测到第一应用服务器提供的服务标识对应的服务不可用时,控制服务器获取能够提供可用服务的第二应用服务器地址,并向用户实体发送服务地址变更消息,该服务地址变更消息包括第二应用服务器地址,该服务地址变更消息用于用户实体与第二应用服务器地址对应的第二应用服务器建立网络连接。In another possible design, when it is detected 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 that can provide the available service, and sends a service address change message to the user entity, 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 a network connection with the second application server corresponding to the second application server address.

在另一种可能的设计中,控制服务器可根据服务标识,查询服务状态表中是否存在能够提供可用服务的其他边缘服务地址,该服务状态表中存储有服务标识、应用服务器地址及服务可用状态之间的对应关系,进而根据存在与否获取第二应用服务器地址。具体地,如果存在,则控制服务器将其他边缘服务地址作为第二应用服务器地址;如果不存在,则控制服务器将云端应用服务器的IP地址作为第二应用服务器地址。In another possible design, the control server may, according to the service ID, query whether there are other edge service addresses that can provide available services in the service status table, where the service status table stores the service ID, application server address and service availability status The corresponding relationship between the two, and then obtain the address of the second application server according to whether it exists or not. Specifically, if it exists, the control server uses other edge service addresses as the second application server address; if not, the control server uses the IP address of the cloud application server as the second application server address.

本公开实施例示出的方案,根据服务状态表中服务可用状态,从中选择出能够快速为用户实体提供可用服务的第二应用服务器,在保证服务可用的前提下,尽可能的缩短了服务提供时间。In the solution shown in the embodiments of the present disclosure, according to the service availability status in the service status table, a second application server that can quickly provide available services to the user entity is selected, and the service provision time is shortened as much as possible on the premise of ensuring service availability .

在另一种可能的设计中,控制服务器还将接收移动边缘计算服务器及云端应用服务器发送的状态报告,该状态报告包括各个边缘应用服务器地址等,根据接收到的状态报告,控制服务器维护该服务状态表。In another possible design, the control server will also receive a status report sent by the mobile edge computing server and the cloud application server, where the status report includes the addresses of each edge application server, etc. According to the received status report, the control server maintains the service Status table.

本公开实施例示出的方案,控制服务器通过接收状态报告,维护服务状态表中各个边缘应用服务器所提供服务的服务可用状态,从而能够为用户实体选择出能够提供可用服务的应用服务器。In the solution shown in the embodiment of the present disclosure, the control server maintains the service availability status of the services provided by each edge application server in the service status table by receiving the status report, so as to select the application server that can provide the available service 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 the user entity identifier, the service identifier and the address of the second application server, and further stores the user entity identifier, the service identifier and the second application server address. The correspondence between the two application server addresses.

在另一种可能的设计中,当用户实体检测到位置信息变化时,可向控制服务器发送第二服务查询请求,该第二服务查询请求包括用户实体的更新位置信息和服务标识,当接收到用户实体的第二服务查询请求,用户实体根据用户实体的更新位置信息和服务标识,获取第三应用服务器地址,并向第一应用服务器发送数据同步请求,该数据同步请求包括用户实体标识、服务标识及第三应用服务器地址,该数据同步请求用于第一应用服务器与第三应用服务器地址对应的第三应用服务器进行数据同步,并在数据同步完成后向控制服务器发送数据同步响应。当接收到数据同步响应时,控制服务器向用户实体发送第三应用服务器地址,该第三服务地址用于用户实体与第三应用服务器建立网络连接。In another possible design, when the user entity detects a change in location information, it can send a second service query request to the control server, where the second service query request includes the updated location information and service identifier of the user entity. The second service query request of the user entity. The user entity obtains the address of the 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. The data synchronization request includes the user entity identifier, service identifier and service identifier. The identifier and the address of the third application server. The data synchronization request is used for the first application server to synchronize data with the third application server corresponding to the address of the third application server, and to send a data synchronization response to the control server after the data synchronization is completed. When receiving the data synchronization response, the control server sends a third application server address to the user entity, where the third service address is used for the user entity to establish a network connection with 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 the user entity identifier, the service identifier and the address of the third application server. When receiving the third notification message, the user entity The correspondence between the user entity identifier, the service identifier and the address of the third application server is stored.

第三方面,提供了一种网络连接的建立方法,该方法包括:移动边缘计算服务器接收用户实体发送的第一服务查询请求,该第一服务查询请求包括用户实体的位置信息和服务标识,然后将移动边缘计算服务器地址加入到第一服务查询请求中,并将包括移动边缘计算服务器地址的第一服务查询请求发送至控制服务器,该包括移动边缘计算服务器地址的第一服务查询请求用于控制服务器根据用户实体的位置信息、服务标识及移动边缘计算服务器地址,查询边缘应用服务器域名和端口号,并将边缘应用服务器域名和端口号发送至用户实体,该边缘应用服务器域名和端口号用于所述用户实体与边缘应用服务器建立网络连接。In a third aspect, a method for establishing a network connection is provided. The method includes: a mobile edge computing server receives 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, and then Add the mobile edge computing server address to the first service query request, and send the first service query request including the mobile edge computing server address to the control server, where the first service query request including the mobile edge computing server address is used for control The server queries the domain name and port number of the edge application server according to the location information, service identifier and mobile edge computing server address of the user entity, and sends the domain name and port number of the edge application server to the user entity. The domain name and port number of the edge application server are used for The user entity establishes a network connection with the edge application server.

本公开实施例示出的方案,移动边缘计算服务器通过将自身地址加入到用户实体的第一服务查询请求中,使得控制服务器能够根据用户实体的位置信息、所需服务的服务标识及移动边缘计算服务器地址,为用户实体选择出能够快速为其提供服务的边缘应用服务器,从而保证了业务的时效性。According to the solution shown in the embodiments of the present disclosure, the mobile edge computing server adds its own address to the first service query request of the user entity, so that the control server can be based on the location information of the user entity, the service identifier of the required service and the mobile edge computing server. address, and select the edge application server that can quickly provide services for the user entity, thus ensuring the timeliness of the business.

在一种可能的实现方式中,移动边缘计算服务器接收用户实体发送的服务获取请求,该服务获取请求包括用户实体标识和服务标识,然后移动边缘计算服务器将该服务获取请求发送至边缘应用服务器,由边缘应用服务器向用户实体标识对应的用户实体提供服务标识对应的服务。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 the user entity identifier and the service identifier, and then the mobile edge computing server sends the service acquisition request to the edge application server, The edge application server provides the 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 the address of the edge application server, etc., and then send the status report to the control server, where the status report is used to control The server maintains a service state table, and the service state table stores the correspondence between the service identifier, the address of the application server and the available state.

第四方面,提供了一种用户实体,该用户实体具有实现上述网络连接的建立方法中用户实体的功能。所述功能可通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个上述功能相对应的模块。In a fourth aspect, a user entity is provided, and the user entity has the functions of the user entity in the above method for establishing a network connection. The functions can be implemented by hardware, and can also be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.

在一种可能的设计中,用户实体的结构包括处理单元和通信单元,所述处理单元被配置为支持用户实体执行上述方法中相应的功能。所述通信单元用于支持用户实体与其他设备之间的通信。所述用户实体还可以包括存储单元,所述存储单元用于与处理单元耦合,其保存用户实体必要的程序指令和数据。作为示例,处理单元可以为处理器,通信单元可以为收发器,存储单元可以为存储器。In a 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 the corresponding functions in the above method. The communication unit is used to support communication between the user entity and other devices. The user entity may further comprise a storage unit for coupling with the processing unit, which stores necessary program instructions and data of 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 can perform the corresponding functions in the above example of the method for establishing a network connection. For details, refer to the detailed description in the method embodiment. It is not repeated here.

第五方面,提供了一种控制服务器,该控制服务器具有实现上述网络连接的建立方法中控制服务器的功能。所述功能可通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个上述功能相对应的模块。In a fifth aspect, a control server is provided, and the control server has the function of the control server in the above-mentioned method for establishing a network connection. The functions can be implemented by hardware, and can also be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.

在一种可能的设计中,控制服务器的结构包括处理单元和通信单元,所述处理单元被配置为支持控制服务器执行上述方法中相应的功能。所述通信单元用于支持控制服务器与其他设备之间的通信。所述控制服务器还可以包括存储单元,所述存储单元用于与处理单元耦合,其保存控制服务器必要的程序指令和数据。作为示例,处理单元可以为处理器,通信单元可以为收发器,存储单元可以为存储器。In a 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 perform the corresponding functions in the above method. The communication unit is used to support communication between the control server and other devices. The control server may further include a storage unit for coupling with the processing unit, which stores program instructions and data necessary to control the 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 storage unit, an obtaining unit and a maintenance unit, and these units can perform the corresponding functions in the above example of the method for establishing a network connection. Refer to the detailed description in the method embodiment, which is not repeated here.

第六方面,提供了一种移动边缘计算服务器,该移动边缘计算服务器具有实现上述网络连接的建立方法中移动边缘计算服务器的功能。所述功能可通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个上述功能相对应的模块。In a sixth aspect, a mobile edge computing server is provided, and the mobile edge computing server has the function of the mobile edge computing server in the above method for establishing a network connection. The functions can be implemented by hardware, and can also be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions.

在一种可能的设计中,移动边缘计算服务器的结构包括处理单元和通信单元,所述处理单元被配置为支持移动边缘计算服务器执行上述方法中相应的功能。所述通信单元用于支持移动边缘计算服务器与其他设备之间的通信。所述移动边缘计算服务器还可以包括存储单元,所述存储单元用于与处理单元耦合,其保存移动边缘计算服务器必要的程序指令和数据。作为示例,处理单元可以为处理器,通信单元可以为收发器,存储单元可以为存储器。In a possible design, the structure of the mobile edge computing server includes a processing unit and a communication unit, and the processing unit is configured to support the mobile edge computing server to perform the corresponding functions in the above method. The communication unit is used to support communication between the mobile edge computing server and other devices. The mobile edge computing server may further include a storage unit, the storage unit is configured to be coupled with the processing unit, and stores necessary program instructions and data of 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, and these units can perform the corresponding functions in the above example of the method for establishing a network connection. The detailed description will not be repeated here.

第七方面,提供了一种网络设备,该网络设备包括存储器、处理器、收发器以及总线,其中,存储器、处理器、收发器通过总线相互连接,存储器用于存放计算机指令,当网络设备运行时,处理器运行计算机指令,使得网络设备执行第一方面所述的网络连接的建立方法。In a seventh aspect, a network device is provided, the network device includes a memory, a processor, a transceiver, and a bus, wherein the memory, the processor, and the transceiver are connected to each other through a bus, and the memory is used to store computer instructions, and when the network device runs When the processor executes the computer instructions, the network device executes the method for establishing a network connection described in the first aspect.

第八方面,提供了一种网络设备,该网络设备包括存储器、处理器、收发器以及总线,其中,存储器、处理器、收发器通过总线相互连接,存储器用于存放计算机指令,当网络设备运行时,处理器运行计算机指令,使得网络设备执行第二方面所述的网络连接的建立方法。In an eighth aspect, a network device is provided, the network device includes a memory, a processor, a transceiver, and a bus, wherein the memory, the processor, and the transceiver are connected to each other through a bus, and the memory is used to store computer instructions, and when the network device runs When the processor executes the computer instructions, the network device executes the method for establishing a network connection described in the second aspect.

第九方面,提供了一种网络设备,该网络设备包括存储器、处理器、收发器以及总线,其中,存储器、处理器、收发器通过总线相互连接,存储器用于存放计算机指令,当网络设备运行时,处理器运行计算机指令,使得网络设备执行第三方面所述的网络连接的建立方法。In a ninth aspect, a network device is provided, the network device includes a memory, a processor, a transceiver, and a bus, wherein the memory, the processor, and the transceiver are connected to each other through a bus, and the memory is used to store computer instructions, and when the network device runs When the processor executes the computer instructions, the network device executes the method for establishing a network connection described in the third aspect.

第十方面,提供了一种网络连接的建立系统,该网络连接的建立系统包括任一网络设备:第四方面所述的用户实体、第五方面所述的控制服务器及第六方面所述的移动边缘计算服务器。在另一种可能的设计中,还可以包括本公开实施例提供的方案中与用户实体、控制服务器或移动边缘计算服务器进行交互的其他设备。A tenth aspect provides a system for establishing a network connection, where the system for establishing a network connection includes any network device: the user entity described in the fourth aspect, the control server described in the fifth aspect, and the system described in the sixth aspect. Mobile edge computing servers. In another possible design, other devices that interact with the user entity, the control server, or the mobile edge computing server in the solutions provided by the embodiments of the present disclosure may also be included.

第十一方面,提供了一种计算机可读存储介质,用于存储上述用户实体所用的计算机软件指令,其包括用于执行上述第一方面所设计的程序。In an eleventh aspect, a computer-readable storage medium is provided, which is used for storing computer software instructions used by the above-mentioned user entity, which includes the program designed for executing the above-mentioned first aspect.

第十二方面,提供了一种计算机可读存储介质,用于存储上述控制服务器所用的计算机软件指令,其包括用于执行上述第二方面所设计的程序。A twelfth aspect provides a computer-readable storage medium for storing computer software instructions used by the above-mentioned control server, which includes a program for executing the above-mentioned second aspect.

第十三方面,提供了一种计算机可读存储介质,用于存储上述移动边缘计算服务器所用的计算机软件指令,其包括用于执行上述第三方面所设计的程序。A thirteenth aspect provides a computer-readable storage medium for storing computer software instructions used by the above mobile edge computing server, which includes a program for executing the above designed program in the third aspect.

第十四方面,提供了一种包含指令的计算机程序产品,当其在计算机设备上运行时,使得计算机执行上述各方面所述的网络连接的建立方法。A fourteenth aspect provides a computer program product containing instructions that, when executed on a computer device, cause the computer to execute the method for establishing a network connection described in the above aspects.

本公开实施例提供的技术方案带来的有益效果是:The beneficial effects brought by the technical solutions provided by the embodiments of the present disclosure are:

本公开中与用户实体建立网络连接的应用服务器为控制服务器根据位置信息及服务标识所选择出的,该应用服务器能够快速为其提供服务,因而时效性较佳。In the present disclosure, the application server that establishes the network connection with the user entity is selected by the control server according to the location information and the service identifier. The application server can quickly provide services for the user entity, so the timeliness is better.

附图说明Description of drawings

图1是本公开实施例提供的一种网络连接的建立系统的架构图;1 is an architecture diagram of a system for establishing a network connection provided by an embodiment of the present disclosure;

图2A是本公开实施例提供的一种网络设备的结构示意图;2A is a schematic structural diagram of a network device provided by an embodiment of the present disclosure;

图2B是本公开实施例提供的一种网络设备的结构示意图;2B is a schematic structural diagram of a network device provided by an embodiment of the present disclosure;

图3是本公开实施例提供的一种网络连接的建立方法的流程图;3 is a flowchart of a method for establishing a network connection provided by an embodiment of the present disclosure;

图4是本公开实施例提供的一种网络连接的建立过程的示意图;4 is a schematic diagram of a process of establishing a network connection provided by an embodiment of the present disclosure;

图5是本公开实施例提供的一种网络连接的建立方法的流程图;5 is a flowchart of a method for establishing a network connection provided by an embodiment of the present disclosure;

图6是本公开实施例提供的一种网络连接的建立过程的示意图;6 is a schematic diagram of a process of establishing a network connection provided by an embodiment of the present disclosure;

图7是本公开实施例提供的一种网络连接的建立方法的流程图;7 is a flowchart of a method for establishing a network connection provided by an embodiment of the present disclosure;

图8是本公开实施例提供的一种网络连接的建立过程的示意图;8 is a schematic diagram of a process of establishing a network connection provided by an embodiment of the present disclosure;

图9是本公开实施例提供的一种用户实体的结构示意图;9 is a schematic structural diagram of a user entity provided by an embodiment of the present disclosure;

图10是本公开实施例提供的一种控制服务器的结构示意图;10 is a schematic structural diagram of a control server provided by an embodiment of the present disclosure;

图11是本公开实施例提供的一种移动边缘计算服务器的结构示意图。FIG. 11 is a schematic structural diagram of a mobile edge computing server provided by an embodiment of the present disclosure.

具体实施方式Detailed ways

为使本公开的目的、技术方案和优点更加清楚,下面将结合附图对本公开实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present disclosure clearer, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.

在对本公开实施例进行详细描述之前,先介绍一下本公开涉及到的多个网络设备。Before describing the embodiments of the present disclosure in detail, a plurality of network devices involved in the present disclosure will be introduced.

应用服务器:在V2X场景下,用V2X AS表示,包括Edge V2X AS和Cloud V2X AS,主要用于提供应用层相关的V2X服务,并与V2X CF进行V2X服务心跳保活。Application server: In the V2X scenario, it is represented by V2X AS, including Edge V2X AS and Cloud V2X AS, which are mainly used to provide V2X services related to the application layer and keep V2X service heartbeat with V2X CF.

用户实体:在V2X场景下,用V2X UE表示,主要用于从V2X AS上获取服务。User entity: In the V2X scenario, it is represented by V2X UE, which is mainly used to obtain services from V2X AS.

控制服务器:在V2X场景下,用V2X CF表示,主要用于提供网络层向相关的服务,为V2X UE动态选择V2X AS。Control server: In the V2X scenario, it is represented by V2X CF, which is mainly used to provide related services at the network layer and dynamically select the V2X AS for the V2X UE.

移动边缘计算服务器:在V2X场景下,用MEC表示,位于基站和分组核心网之间且更靠近基站。MEC区域性部署,主要用于在V2X服务提供过程中在V2X AS查询请求中加入MEC地址,并将Edge V2X AS心跳信息上报至V2X CF,以保持Edge V2X AS与V2X CF之间的心跳。Mobile edge computing server: In the V2X scenario, represented by MEC, located between the base station and the packet core network and closer to the base station. The regional deployment of MEC is mainly used to add the MEC address to the V2X AS query request during the V2X service provision process, and to report the Edge V2X AS heartbeat information to the V2X CF to maintain the heartbeat between the Edge V2X AS and the V2X CF.

图1示出了一种网络连接的建立系统的架构图,该网络连接系统包括Cloud V2XAS、多个Edge V2X AS、MEC、多个基站、多个V2X UE及V2X CF。FIG. 1 shows an architecture diagram of a system for establishing a network connection. The network connection system includes Cloud V2XAS, multiple Edge V2X ASs, MECs, multiple base stations, multiple V2X UEs, and V2X CFs.

各个网络设备的连接关系如下:The connection relationship of each network device is as follows:

1、Cloud V2X AS架设于IoT Platform上,Edge V2X AS架设于MEC Platform上,且每个MEC Platform部署有多个能够提供相同V2X服务的Edge V2X AS,Cloud V2X AS和EdgeV2X AS与V2X CF通过所建立的网络连接形成一个控制面,可接收V2X CF发送的各种指令;1. Cloud V2X AS is built on IoT Platform, Edge V2X AS is built on MEC Platform, and each MEC Platform is deployed with multiple Edge V2X ASs that can provide the same V2X service. Cloud V2X AS, EdgeV2X AS and V2X CF pass through The established network connection forms a control plane that can receive various commands sent by the V2X CF;

2、V2X UE与V2X CF通过所建立的网络连接形成一个控制面,可接收2X CF发送的各种指令;2. The V2X UE and the V2X CF form a control plane through the established network connection, which can receive various instructions sent by the 2X CF;

3、V2X UE与Cloud V2X AS和Edge V2X AS通过所建立的网络连接形成一个数据面,可从Cloud V2X AS或Edge V2X AS获取V2X服务;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 services from Cloud V2X AS or Edge V2X AS;

4、Cloud V2X AS与Edge V2X AS通过所建立的网络连接形成一个数据面,在该数据面内Cloud V2X AS与Edge V2X AS之间可进行数据交互及数据同步、Edge V2X AS与EdgeV2X AS之间也可进行数据交互及数据同步;4. Cloud V2X AS and Edge V2X AS form a data plane through the established network connection. In this data plane, data exchange and data synchronization can be performed between Cloud V2X AS and Edge V2X AS, and between Edge V2X AS and Edge V2X AS. Data interaction and data synchronization can also be performed;

5、基站与V2X UE及Cloud V2X AS或Edge V2X AS建立网络连接,可为V2X UE提供V2X服务。5. The base station establishes network connection with V2X UE and Cloud V2X AS or Edge V2X AS, which can provide V2X service for V2X UE.

各个网络设备所实现的功能如下:The functions implemented by each network device are as follows:

1、在MEC覆盖的场景下,V2X UE可通过MEC Platform接入到Edge V2X AS,进而从Edge V2X AS获取所需的V2X服务;在没有MEC覆盖的场景下,V2X UE可直接接入到CloudV2X AS,进而从Cloud V2X AS获取所需的V2X服务;1. In the MEC coverage scenario, the V2X UE can access the Edge V2X AS through the MEC Platform, and then obtain the required V2X services from the Edge V2X AS; in the MEC coverage scenario, the V2X UE can directly access CloudV2X AS, and then obtain the required V2X services from the Cloud V2X AS;

2、同一MEC Platform可支持多种V2X服务,且可支持多个Edge V2X AS;2. The same MEC Platform can support multiple V2X services and multiple Edge V2X ASs;

3、考虑到Edge V2X AS容灾,同一MEC Platform对同一V2X服务部署多个Edge V2XAS实例;3. Considering Edge V2X AS disaster recovery, the same MEC Platform deploys multiple Edge V2XAS instances for the same V2X service;

4、当MEC Platform上的多个Edge V2X AS不能提供V2X服务时,可由Cloud V2X AS提供V2X服务;4. When multiple Edge V2X ASs on the MEC Platform cannot provide V2X services, Cloud V2X ASs can provide V2X services;

5、V2X CF可基于V2X UE的位置信息、MEC地址及V2X服务标识选择合适的V2X AS;5. The V2X CF can select the appropriate V2X AS based on the location information of the V2X UE, the MEC address and the V2X service identifier;

6、V2X CF通过MEC与V2X AS保持心跳,维护V2X AS与V2X服务的可用状态;6. The V2X CF maintains the heartbeat with the V2X AS through the MEC to maintain the availability of the V2X AS and V2X services;

7、V2X UE可与Edge V2X AS或Cloud V2X AS进行V2X通信;7. V2X UE can conduct V2X communication with Edge V2X AS or Cloud V2X AS;

8、在V2X AS切换时进行数据同步。8. Data synchronization is performed during V2X AS switching.

图2A示出了本公开实施例涉及的网络设备的结构示意图,该网络设备200包括:存储单元201、处理单元202及通信单元203,该存储单元201用于存储网络设备200的程序代码和数据。该网络设备可以为用户实体、控制服务器及移动边缘计算服务器。FIG. 2A shows a schematic structural diagram of a network device involved in an embodiment of the present disclosure. The network device 200 includes: a storage unit 201 , a processing unit 202 and a communication unit 203 , where the storage unit 201 is used to store program codes and data of the network device 200 . The network device can be a user entity, a control server and a mobile edge computing server.

当网络设备200为用户实体时,该网络设备200用于实现图3或图5或图7中网络连接的建立方法中用户实体的功能。处理单元202用于对用户实体的动作进行控制管理,通信单元203用于支持用户实体与其他网络实体进行通信。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 method for establishing a network connection in FIG. 3 or FIG. 5 or FIG. 7 . The processing unit 202 is used to control and manage the actions of the user entity, and the communication unit 203 is used to support the user entity to communicate with other network entities.

当网络设备200为控制服务器时,该网络设备200用于实现图3或图5或图7中网络连接的建立方法中控制服务器的功能。处理单元202用于对控制服务器的动作进行控制管理,通信单元203用于支持控制服务器与其他网络实体进行通信。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 method for establishing a network connection in FIG. 3 or FIG. 5 or FIG. 7 . The processing unit 202 is used to control and manage the actions of the control server, and the communication unit 203 is used to support the control server to communicate with other network entities.

当网络设备200为移动边缘计算服务器时,该网络设备200用于实现图3或图5或图7中网络连接的建立方法中移动边缘计算服务器的功能。处理单元202用于对移动边缘计算服务器的动作进行控制管理,通信单元203用于支持移动边缘计算服务器与其他网络实体进行通信。When the network device 200 is a mobile edge computing server, the network device 200 is used to implement the function of the mobile edge computing server in the method for establishing a network connection in FIG. 3 or FIG. 5 or FIG. 7 . The processing unit 202 is used to control and manage the actions of the mobile edge computing server, and the communication unit 203 is used to support the mobile edge computing server to communicate with other network entities.

其中,处理单元202可以是处理器或控制器,例如可以是中央处理器(CentralProcessing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本公开公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元203可以是收发器。存储单元201可以是存储器。The processing unit 202 may be a processor or a controller, for example, a central processing unit (Central Processing Unit, CPU), a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application-Specific Integrated Circuit) Circuit, ASIC), Field Programmable Gate Array (Field Programmable Gate Array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute the various exemplary logical blocks, modules and circuits described in connection with this disclosure. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like. The communication unit 203 may be a transceiver. The storage unit 201 may be a memory.

当存储单元,201为存储器,处理单元202为处理器,通信单元203为收发器时,本公开实施例所涉及的网络设备可以为图2B所示的网络设备。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 involved in the embodiment of the present disclosure may be the network device shown in FIG. 2B .

参阅图2B所示,该网络设备包括:存储器201、处理器202、收发器203、以及总线204。其中,存储器201、处理器202、收发器203通过总线204相互连接,存储器201用于存放计算机指令,当网络设备运行时,处理器202运行计算机指令,使得网络设备实现图3或图5或图7中网络连接的建立方法;总线204可以是外设部件互连标准(peripheral componentinterconnect,简称PCI)总线或扩展工业标准结构(extended industry standardarchitecture,简称EISA)总线等。所述总线可以分为地址总线、数据总线、控制总线等。为便于表示,图2B中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 2B , the network device includes: a memory 201 , a processor 202 , a transceiver 203 , and a bus 204 . Among them, the memory 201, the processor 202, and the transceiver 203 are connected to each other through the bus 204, and the memory 201 is used to store computer instructions. When the network device is running, the processor 202 runs the computer instructions, so that the network device realizes FIG. 3 or FIG. 5 or FIG. The method for establishing a network connection in 7. The bus 204 may be a peripheral component interconnect (PCI for short) bus or an extended industry standard architecture (EISA for short) bus or the like. The bus can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 2B, but it does not mean that there is only one bus or one type of bus.

基于图1所示的网络连接的建立系统的架构图,本公开实施例提供了一种网络连接的建立方法,参见图3,本公开实施例提供的方法流程包括:Based on the architecture diagram of the system for establishing a network connection shown in FIG. 1 , an embodiment of the present disclosure provides a method for establishing a network connection. Referring to FIG. 3 , the flow of the method provided by the embodiment of the present disclosure includes:

301、用户实体向控制服务器发送第一服务查询请求。301. The user entity sends a first service query request to the control server.

当因业务需求,用户实体需要获取服务时,用户实体可向控制服务器发送第一服务查询请求。其中,第一服务查询请求包括用户实体的位置信息和服务标识等,用户实体的位置信息包括TAI(Tracking Area Identity,跟踪区标识)、小区标识Cell-ID或者通过E-SMLC(Evolved Serving Mobile Location Center,演进的服务移动位置中心)定位得到的位置信息等。When the user entity needs to obtain the service due to business requirements, the user entity may send a first service query request to the control server. The first service query request includes the location information and service identification of the user entity, etc. The location information of the user entity includes TAI (Tracking Area Identity, tracking area identification), cell identification Cell-ID or E-SMLC (Evolved Serving Mobile Location Center, Evolved Service Mobile Location Center) location information obtained by positioning, etc.

在本公开的一个实施例中,如果用户实体的上行部署有移动边缘计算服务器,则移动边缘计算服务器可截获该第一服务查询请求,并将移动边缘计算服务器地址加入到第一服务查询请求中,进而将包括移动边缘计算服务器地址的第一服务查询请求发送至控制服务器。In an embodiment of the present disclosure, if a mobile edge computing server is deployed on the uplink of the user entity, the mobile edge computing server may intercept the first service query request and add the mobile edge computing server address to the first service query request , and then send the first service query request including the mobile edge computing server address to the control server.

在本公开的另一个实施例中,如果用户实体的上行未部署有移动边缘计算服务器,则该第一服务查询请求将直接发送至控制服务器。In another embodiment of the present disclosure, if the mobile edge computing server is not deployed on the uplink of the user entity, the first service query request will be directly sent to the control server.

302、当接收到用户实体的第一服务查询请求,控制服务器根据用户实体的位置信息和服务标识,查询第一应用服务器地址,并将第一应用服务器地址发送至用户实体。302. When receiving the first service query request from the user entity, the control server queries the address of the 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.

针对用户实体上行是否部署有移动边缘计算服务器,可分为两种情况:Whether a mobile edge computing server is deployed in the uplink of the user entity can be divided into two situations:

第一种情况、用户实体上行部署有移动边缘计算服务器。In the first case, a mobile edge computing server is deployed upstream of the user entity.

针对该种情况、控制服务器接收到包括移动边缘服务地址的第一服务查询请求后,将根据用户实体的位置信息、移动边缘计算服务器地址及服务标识,查询到相应的边缘应用服务器域名和端口号,进而将该边缘应用服务器域名和端口号作为第一应用服务器地址发送至用户实体。在实际查询时,控制服务器还可根据移动边缘计算服务器地址及服务标识,查询相应的边缘应用服务器域名和端口号。例如,如果从第一服务查询请求中获取到MEC地址为IP地址1、服务标识为V2X服务标识2,则通过查询表1可获取到对应的边缘应用服务器域名为域名1,端口号为端口号2。In this case, after receiving the first service query request including the mobile edge service address, the control server will query the corresponding edge application server domain name and port number according to the location information of the user entity, the mobile edge computing server address and the service identifier. , and then send the edge application server domain name and port number as the first application server address to the user entity. During the actual query, the control server can also query the domain name and port number of the corresponding edge application server according to the mobile edge computing server address and service identifier. For example, if the MEC address obtained from the first service query request is IP address 1 and the service ID is V2X service ID 2, then the corresponding edge application server domain name can be obtained by querying Table 1 as domain name 1 and the port number as port number 2.

表1Table 1

MEC地址MEC address V2X服务标识V2X service identification V2X AS域名/IP地址V2X AS domain name/IP address V2X AS端口号V2X AS port number IP地址1IP address 1 V2X服务标识1V2X Service ID 1 域名1/IP地址1Domain Name 1/IP Address 1 端口号1port number 1 IP地址1IP address 1 V2X服务标识2V2X Service Identity 2 域名1/IP地址1Domain Name 1/IP Address 1 端口号2port number 2 IP地址2IP address 2 V2X服务标识1V2X Service ID 1 域名2/IP地址2Domain Name 2/IP Address 2 端口号1port number 1

边缘应用服务器域名和端口号在从控制服务器至用户实体的传输过程中,可被移动边缘计算服务器截获,然后由移动边缘计算服务器发送至用户实体。当接收到边缘应用服务器域名和端口号时,用户实体需要向域名系统发送域名查询请求,该域名查询请求包括边缘应用服务器域名,由域名系统查询边缘应用服务器域名对应的边缘应用服务器的IP地址,进而将边缘应用服务器的IP地址发送至用户实体。用户实体基于所接收到的边缘服务器的IP地址和端口号,向该边缘应用服务器的IP地址和端口号对应的边缘应用服务器发送服务获取请求。The domain name and port number of the edge application server can be intercepted by the mobile edge computing server during the transmission process from the control server to the user entity, and then sent by the mobile edge computing server to the user entity. When receiving the domain name and port number of the edge application server, the user entity needs to send a domain name query request to the domain name system. The domain name query request includes the domain name of the edge application server, and the domain name system queries the IP address of the edge application server corresponding to the domain name of the edge application server. Then, the IP address of the edge application server is sent to the user entity. Based on the received IP address and 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 port number of the edge application server.

第二种情况、用户实体上行未部署有移动边缘计算服务器。In the second case, the mobile edge computing server is not deployed in the uplink of the user entity.

针对该种情况、控制服务器可根据用户实体的位置信息和服务标识,查询云端应用服务器的IP地址,将云端应用服务器的IP地址作为第一应用服务器地址,进而向云端应用服务器的IP地址对应的云端应用服务器发送服务获取请求。In view of this situation, the control server can query the IP address of the cloud application server according to the location information and service identifier of the user entity, take the IP address of the cloud application server as the first application server address, and then send the corresponding IP address to the cloud application server. The cloud application server sends a service acquisition request.

303、当接收到第一应用服务器地址,用户实体向第一应用服务器地址对应的第一应用服务器发送服务获取请求。303. 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.

针对用户实体上行部署有移动边缘计算服务器的场景,当接收到边缘应用服务器的IP地址和端口号,用户实体即可向边缘应用服务器的IP地址和端口号对应的边缘应用服务器发送服务获取请求,该服务获取请求包括用户实体标识和服务标识等。在该过程中,如果移动边缘计算服务器具有分流能力,则移动边缘计算服务器可直接将该服务获取请求发送至边缘应用服务器;如果移动边缘计算服务器不具有分流能力,则移动边缘计算服务器可将该服务获取请求发送至分组核心网,由分组核心网发送至公网,再经公网发送至边缘应用服务器,进而由边缘应用服务器为用户实体提供服务标识对应的服务。例如,第一应用服务器地址为IP地址1、端口号1,移动边缘计算服务器通过查询表2,获知边缘应用服务器具有分流能力,则移动边缘计算服务器可直接将服务获取请求发送至该边缘应用服务器。For the scenario where the user entity is deployed with a mobile edge computing server upstream, after receiving the IP address and port number of the edge application server, the user entity can send a service acquisition request to the edge application server corresponding to the IP address and port number of the edge application server. The service acquisition request includes the user entity identifier and the service identifier. In this process, if the mobile edge computing server has the offload capability, 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 offload capability, the mobile edge computing server can The service acquisition request is sent to the packet core network, the packet core network is sent to the public network, and then sent to the edge application server via the public network, and the edge application server provides the user entity with the service corresponding to the service identifier. For example, if 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 offload capability by querying Table 2, the mobile edge computing server can directly send the service acquisition request to the edge application server .

表2Table 2

IP地址/端口号IP address/port number 是否具有分流能力Whether it has the ability to divert IP地址1/端口号1IP address 1/Port number 1 Yes IP地址2/端口号2IP address 2/Port number 2 no

针对用户实体上行未部署移动边缘计算服务器的场景,当接收到云端应用服务器IP地址,用户实体可向云端应用服务器IP地址对应的云端应用服务器发送服务获取请求,该服务获取请求经由用户实体发送至基站,再由基站发送至分组核心网,再由分组核心网发送至公网,经由公网发送至云端应用服务器,进而由云端应用服务器为用户实体提供服务标识对应的服务。For the scenario where the mobile edge computing server is not deployed in the uplink of the user entity, when receiving the IP address of the cloud application server, the user entity can send a service acquisition request to the cloud application server corresponding to the cloud application server IP address, and the service acquisition request is sent to the cloud application server via the user entity. The base station is then sent to the packet core network, and then sent to the public network by the packet core network, and sent to the cloud application server via the public network, and then the cloud application server provides the user entity with the service corresponding to the service identifier.

在本公开的另一个实施中,当用户实体与第一应用服务器(云端应用服务器或边缘应用服务器)成功通信后,用户实体还将向控制服务器发送第一通知消息,该第一通知消息包括用户实体标识、服务标识及第一应用服务器地址等,当接收到用户实体发送的第一通知消息,控制服务器将存储用户实体标识、服务标识及第一应用服务器地址之间的对应关系,并向用户实体发送确认消息,该对应关系可用于后续对用户实体的服务进行监控。In another implementation of the present disclosure, after the user entity successfully communicates with the first application server (cloud application server or edge application server), the user entity will also send a first notification message to the control server, where the first notification message includes the user Entity ID, service ID and address of the first application server, etc. When receiving the first notification message sent by the user entity, the control server will store the correspondence between the user entity ID, service ID and the address of the first application server, and send it to the user. The entity sends a confirmation message, and the corresponding relationship can be used to monitor the service of the user entity subsequently.

图4示出了V2X场景下本公开实施例提供的网络连接的建立过程,该过程如下:FIG. 4 shows a process of establishing a network connection provided by an embodiment of the present disclosure in a V2X scenario, and the process is as follows:

1、V2X UE向V2X CF发送V2X AS查询请求,该V2X AS查询请求包括V2X UE的位置信息和V2X Service标识;如果V2X UE上行部署有MEC,执行步骤2,如果V2X UE上行部署未MEC,执行步骤10;1. The V2X UE sends a V2X AS query request to the V2X CF, and the V2X AS query request includes the location information of the V2X UE and the V2X Service identifier; if the V2X UE is deployed with MEC in the uplink, go to step 2; if the V2X UE is deployed in the uplink without MEC, go to step 10;

2、在V2X UE上行部署有MEC的场景下,MEC截获V2X AS查询请求,在V2X AS查询请求中加入MEC IP地址,并将V2X AS查询请求发送至V2X CF;2. In the scenario where the MEC is deployed upstream of the V2X UE, the MEC intercepts the V2X AS query request, adds the MEC IP address to the V2X AS query request, and sends the V2X AS query request to the V2X CF;

3、V2X CF查询Edge V2X AS的域名和端口号,并将Edge V2X AS的域名和端口号发送至MEC;3. The V2X CF queries the domain name and port number of the Edge V2X AS, and sends the domain name and port number of the Edge V2X AS to the MEC;

4、MEC将Edge V2X AS的域名和端口号发送至V2X UE;4. The MEC sends the domain name and port number of the Edge V2X AS to the V2X UE;

5、V2X UE向DNS发送域名查询请求,该域名查询请求包括Edge V2X AS的域名;5. The V2X UE sends a domain name query request to the DNS, and the domain name query request includes the domain name of the Edge V2X AS;

6、DNS查询Edge V2X AS的域名对应的Edge V2X AS的IP地址,并将Edge V2X AS的IP地址发送至V2X UE;6. DNS queries the IP address of the Edge V2X AS corresponding to the domain name of the Edge V2X AS, and sends the IP address of the Edge V2X AS to the V2X UE;

7、如果V2X UE需要的V2X服务有两种,分别为V2X Service1和V2X Service2,经过上述步骤1至3确定出V2X Service1由Edge V2X AS提供,V2X Service2由Cloud V2X AS提供,则V2X可向Edge V2X AS发送携带V2X Service1标识的服务获取请求,并向Cloud V2XAS发送携带V2X Service2标识的服务获取请求;7. If the V2X UE needs two V2X services, namely V2X Service1 and V2X Service2, after steps 1 to 3 above determine that V2X Service1 is provided by Edge V2X AS and V2X Service2 is provided by Cloud V2X AS, then V2X can provide Edge V2X AS. V2X AS sends a service acquisition request carrying the V2X Service1 identifier, and sends a service acquisition request carrying the V2X Service2 identifier to Cloud V2XAS;

8、MEC截获发向Edge V2X AS的服务获取请求,如果MEC具有分流能力,则MEC将该服务获取请求发送至Edge V2X AS;如果MEC不具有分流能力,则MEC将该服务获取请求发送至分组核心网,由分组核心网发送至公网,经由公网发送至Edge V2X AS;8. The MEC intercepts the service acquisition request sent to the Edge V2X AS. If the MEC has the offload capability, the MEC sends the service acquisition request to the Edge V2X AS; if the MEC does not have the offload capability, the MEC sends the service acquisition request to the packet Core network, sent from the packet core network to the public network, and sent to the Edge V2X AS via the public network;

9、对于发向Cloud V2X AS的服务获取请求,MEC并不会截获,而是直接发送至分组核心网,由分组核心网发送至公网,经由公网发送至Edge V2X AS;9. The MEC will not intercept the service acquisition request sent to Cloud V2X AS, but will directly send it to the packet core network, which will then be sent to the public network, and then sent to the Edge V2X AS via the public network;

10、在V2X UE上行未部署有MEC的场景下,V2X UE向Cloud V2X AS发送V2X AS获取请求,并在与Cloud V2X AS建立网络连接之后,向Cloud V2X AS发送服务获取请求,由Cloud V2X AS为其提供服务;10. In the scenario where the MEC is not deployed on the V2X UE uplink, the V2X UE sends a V2X AS acquisition request to the Cloud V2X AS, and after establishing a network connection with the Cloud V2X AS, it sends a service acquisition request to the Cloud V2X AS, and the Cloud V2X AS sends a service acquisition request. provide services to it;

11、当V2X UE与Edge V2X AS或Cloud V2X AS成功通信后,V2X UE向V2X CF发送通知消息,该通知消息包括V2X UE标识、V2X Service标识、V2X AS地址之间的对应关系;11. After the V2X UE successfully communicates with the Edge V2X AS or Cloud V2X AS, the V2X UE sends a notification message to the V2X CF, and the notification message includes the correspondence between the V2X UE identifier, the V2X Service identifier, and the V2X AS address;

12、V2X CF存储V2X UE标识、V2X Service标识、V2X AS地址之间的对应关系后,向V2X UE发送确认消息。12. After storing the correspondence between the V2X UE identifier, the V2X Service identifier, and the V2X AS address, the V2X CF sends a confirmation message to the V2X UE.

本公开实施例提供的方法,用户实体在发起服务查询请求时,将自身的位置信息加入到该服务查询请求中,使得控制服务器能够根据用户实体的位置信息为该用户实体查询到为合适的应用服务器,从而能够快速地获取到所需服务,提高了服务获取速度及服务质量。In the method provided by the embodiment of the present disclosure, when a user entity initiates a service query request, the user entity adds its own location information to the service query request, so that the control server can query an appropriate application for the user entity according to the location information of the user entity The server can quickly obtain the required service, thereby improving the speed of obtaining the service and the quality of the service.

基于图1所示的网络连接的建立系统的架构图,本公开实施例提供了一种网络连接的建立方法,参见图5,本公开实施例提供的方法流程包括:Based on the architecture diagram of the system for establishing a network connection shown in FIG. 1 , an embodiment of the present disclosure provides a method for establishing a network connection. Referring to FIG. 5 , the flow of the method provided by the embodiment of the present disclosure includes:

501、当检测到第一应用服务器提供的服务标识对应的服务不可用时,控制服务器获取能够提供可用服务的第二应用服务器地址,并向用户实体发送服务地址变更消息。501. When detecting that the service corresponding to the service identifier provided by the first application server is unavailable, the control server acquires the address of the second application server that can provide the available service, and sends a service address change message to the user entity.

在本公开实施例中,控制服务器维护一个服务状态表,该服务状态表中可存储有服务标识、应用服务器地址及服务可用状态之间的对应关系,还可存储有用户实体标识及用户实体的位置信息与上述信息之间的对应关系。该服务状态表的具体形式,可参见表3。In the embodiment of the present disclosure, the control server maintains a service status table, and the service status table may store the correspondence between the service identifier, the address of the application server, and the service availability status, and may also store the user entity identifier and the user entity ID. Correspondence between the location information and the above information. For the specific form of the service status table, see Table 3.

表3table 3

Figure BDA0001582971160000111
Figure BDA0001582971160000111

Figure BDA0001582971160000121
Figure BDA0001582971160000121

服务状态表可采用如下两种方式进行维护:The service status table can be maintained in the following two ways:

第一种方式、应用服务器向控制服务器周期性发送维持心跳的状态报告,控制服务器根据状态报告的接收与否,确定应用服务器提供的所有服务的服务可用状态。具体地,对于边缘应用服务器,边缘应用服务器向移动边缘计算服务器周期性发送维持心跳的状态报告,该状态报告包括边缘应用服务器地址,由移动边缘计算服务器发送至控制服务器,如果控制服务器未接收到状态报告,则确定该边缘应用服务器地址对应的边缘应用服务器提供的所有服务均不可用,进而将该边缘应用服务器提供的所有服务在服务状态表中的服务可用状态更改为不可用;对于云端应用服务器,云端应用服务器可向控制服务器周期性发送维持心跳的状态报告,如果控制服务器未接收到状态报告,则确定该云端应用服务器提供的所有服务均不可用,进而将该云端应用服务器提供的所有服务在服务状态表中的服务可用状态更改为不可用。In the first manner, the application server periodically sends a status report for maintaining the 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 the edge application server, the edge application server periodically sends a status report of maintaining the heartbeat to the mobile edge computing server, and the status report includes the address of the edge application server, which is sent by the mobile edge computing server to the control server. If the control server does not receive 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 availability status of all services provided by the edge application server in the service status table is changed to unavailable; for cloud applications The server, the cloud application server can periodically send the status report of maintaining the heartbeat to the control server. If the control server does not receive the status report, it is determined that all services provided by the cloud application server are unavailable, and then all the services provided by the cloud application server are unavailable. The service's service available status in the service status table changes to unavailable.

第二种方式、应用服务器向控制服务器周期性发送用于维持特定服务心跳的状态报告,控制服务器根据该状态报告的接收与否,确定应用服务器提供的特定服务的服务可用状态。具体地,对于边缘应用服务器,边缘应用服务器向移动边缘计算服务器周期性发送用于维持特定服务心跳的状态报告,该状态报告包括边缘应用服务器地址和特定服务标识,由移动边缘计算服务器发送至控制服务器,如果控制服务器未接收到状态报告,则确定边缘应用服务器提供的特定服务不可用,进而将该边缘应用服务器提供的特定服务在服务状态表中的可用状态更改为不可用;对于云端应用服务器,云端应用服务器可向控制服务器周期性发送用于维持特定服务心跳的状态报告,如果控制服务器未接收到状态报告,则确定该云端应用服务器提供的特定服务不可用,进而将该云端应用服务器提供的特定服务在服务状态表中的可用状态更改为不可用。In the second manner, the application server periodically sends a status report for maintaining the heartbeat of a 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 a specific service to the mobile edge computing server. The status report includes the address of the edge application server and the specific service identifier, and is sent by the mobile edge computing server to the control If the control server does not receive the status report, it determines that the specific service provided by the edge application server is unavailable, and then changes the available status of the specific service provided by the edge application server in the service status table to unavailable; for the cloud application server , the cloud application server can periodically send a status report for maintaining the heartbeat of a specific service to the control server. If the control server does not receive the status report, it is determined that the specific service provided by the cloud application server is unavailable, and then the cloud application server provides The availability status of a specific service in the service status table changes to unavailable.

基于所维护的状态报告,当检测到第一应用服务器提供的服务标识对应的服务不可用时,控制服务器获取能够提供可用服务的第二应用服务器地址,进而向用户实体发送服务地址变更消息,该服务地址变更消息包括第二应用服务器地址等。Based on the maintained status report, when it is detected 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 that can provide the available service, and then sends a service address change message to the user entity. The address change message includes the second application server address and the like.

控制服务器获取能够提供可用服务的第二应用服务器地址的方法如下:The method for the control server to obtain the address of the second application server that can provide available services is as follows:

第一步,控制服务器根据服务标识,查询服务状态表中是否存在能够提供可用服务的其他边缘应用服务地址;In the first step, the control server queries whether there are other edge application service addresses that can provide available services in the service status table according to the service identifier;

第二步,如果存在,则控制服务器将其他边缘服务地址作为第二应用服务器地址;如果不存在,则将云端应用服务器的IP地址作为第二应用服务器地址。In the second step, if it exists, the control server uses the address of other edge services as the address of the second application server; if it does not exist, the IP address of the cloud application server is used as the address of the second application server.

502、当接收到控制服务器发送的服务地址变更消息,用户实体与第二应用服务器建立网络连接。502. After receiving the service address change message sent by the control server, the user entity establishes a network connection with the second application server.

当接收到控制服务器发送的服务地址变更消息,用户实体通过向第二应用服务器地址对应的第二应用服务器发送服务获取请求,与第二应用服务器建立网络连接。当用户实体与第二应用服务器成功进行通信之后,用户实体还将向控制服务器发送第二通知消息,该第二通知消息包括用户实体标识、服务标识及第二应用服务器地址,当接收到第二通知消息时,控制服务器存储用户实体标识、服务标识及第二应用服务器地址之间的对应关系,并向用户实体返回确认消息,该对应关系可用于后续对用户实体的服务进行监控。When receiving the service address change message sent by the control server, the user entity establishes a network connection with the second application server by sending a service acquisition request to the second application server corresponding to the address of the second application server. After the user entity successfully communicates with the second application server, the user entity will also send a second notification message to the control server, where the second notification message includes the user entity identifier, the service identifier and the address of the second application server. When notifying the message, the control server stores the corresponding relationship between the user entity identifier, the service identifier and the address of the second application server, and returns a confirmation message to the user entity, and the corresponding relationship can be used for subsequent monitoring of the user entity's services.

图6示出了V2X场景下本公开实施例提供的网络连接的建立过程,该过程如下:FIG. 6 shows a process of establishing a network connection provided by an embodiment of the present disclosure in a V2X scenario, and the process is as follows:

1、在V2X场景下,Edge V2X AS1周期性地向MEC发送状态报告,该状态报告包括Edge V2X AS1地址等,Edge V2X AS2也可周期性地向MEC发送状态报告,该状态报告包括Edge V2X AS2地址等;如果接收到Edge V2X AS1发送的状态报告,MEC会将接收到的状态报告发送至V2X CF,V2X CF接收到MEC转发的状态报告,并在服务状态表中将Edge V2X AS1提供的服务设置为可用状态,如果在预设时间周期内V2X CF未接收到Edge V2X AS1的状态报告,则在服务状态表中将该Edge V2X AS1提供的服务设置为不可用状态;MEC维护Edge V2XAS2提供服务的可用状态与上述维护Edge V2X AS1提供服务的可用状态的维护过程相同,具体参见对Edge V2X AS1的维护过程,此处不再赘述;1. In the V2X scenario, the Edge V2X AS1 periodically sends a status report to the MEC. The status report includes the Edge V2X AS1 address, etc., and the Edge V2X AS2 can also periodically send a status report to the MEC. The status report includes the Edge V2X AS2 address, etc.; if it receives the status report sent by Edge V2X AS1, MEC will send the received status report to V2X CF, V2X CF will receive the status report forwarded by MEC, and put the services provided by Edge V2X AS1 in the service status table. Set to the available state. If the V2X CF does not receive the status report of the Edge V2X AS1 within the preset time period, the service provided by the Edge V2X AS1 is set to the unavailable state in the service status table; MEC maintains the Edge V2XAS2 to provide services The availability status of the Edge V2X AS1 is the same as the maintenance process for maintaining the availability status of the services provided by the Edge V2X AS1. For details, please refer to the maintenance process of the Edge V2X AS1, which will not be repeated here;

3、当V2X CF检测到Edge V2X AS1向V2X UE提供的V2X服务不可用时,V2X CF可根据服务状态表,获取能够提供V2X可用服务的Edge V2X AS2地址,并将Edge V2X AS2地址发送至V2X UE;3. When the V2X CF detects that the V2X service provided by the Edge V2X AS1 to the V2X UE is unavailable, the V2X CF can obtain the Edge V2X AS2 address that can provide the V2X available service according to the service status table, and send the Edge V2X AS2 address to the V2X UE. ;

4、当接收到Edge V2X AS2地址,V2X UE与Edge V2X AS2建立网络连接;4. When receiving the Edge V2X AS2 address, the V2X UE establishes a network connection with the Edge V2X AS2;

5、当V2X UE与Edge V2X AS2成功通信后,V2X UE向V2X CF发送通知消息,当接收到通知消息,V2X CF存储V2X UE标识、服务标识及Edge V2X AS2地址之间的对应关系,并向V2X UE发送确认消息。5. When the V2X UE communicates with the Edge V2X AS2 successfully, the V2X UE sends a notification message to the V2X CF. When the notification message is received, the V2X CF stores the correspondence between the V2X UE ID, the service ID and the Edge V2X AS2 address, and sends the notification message to the V2X UE. The V2X UE sends a confirmation message.

在由第一应用服务器切换至第二应用服务器的过程中,第一应用服务器与第二应用服务器之间也会涉及数据同步问题,具体的数据同步过程可参见图7所示的实施例。In the process of switching from the first application server to the second application server, the problem of data synchronization is also involved between the first application server and the second application server. For the specific data synchronization process, refer to the embodiment shown in FIG. 7 .

本公开实施例提供的方法,在服务提供过程中,当检测到应用服务器不可用时,为用户实体更换提供服务的应用服务器,从而确保服务的连续性。In the method provided by the embodiments of the present disclosure, in the service provision process, when it is detected that the application server is unavailable, the application server that provides the service is replaced for the user entity, thereby ensuring the continuity of the service.

基于图1所示的网络连接的建立系统的架构图,本公开实施例提供了一种网络连接的建立方法,参见图7,本公开实施例提供的方法流程包括:Based on the architecture diagram of the system for establishing a network connection shown in FIG. 1 , an embodiment of the present disclosure provides a method for establishing a network connection. Referring to FIG. 7 , the flow of the method provided by the embodiment of the present disclosure includes:

701、当检测到位置信息变化时,用户实体向控制服务器发送第二服务查询请求。701. When the location information change is detected, the user entity sends a second service query request to the control server.

在从第一应用服务器获取服务的过程中,当用户实体检测到跟踪小区标识改变或者Cell-ID改变或者E-SMLC定位改变超过某个阈值,可确定位置信息变化,进而向控制服务器发送第二服务查询请求,该第二服务查询请求包括用户实体的更新位置信息和服务标识等。如果用户实体的上行部署有移动边缘计算服务器,则移动边缘计算服务器可截获到该第二服务查询请求,并将该第二服务查询请求发送至控制服务器;如果用户实体的上行未部署有移动边缘计算服务器,则用户实体可直接向控制服务器发送第二服务查询请求。In the process of obtaining the service from the first application server, when the user entity detects that the tracking cell identity changes, the Cell-ID changes, or the E-SMLC positioning changes exceed a certain threshold, it can determine the location information changes, and then send the second information to the control server. A service query request, the second service query request includes the updated location information of the user entity, the service identifier, and the like. If a mobile edge computing server is deployed on the uplink of the user entity, 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 uplink of the user entity is not deployed with a mobile edge If the computing server is used, the user entity can directly send the second service query request to the control server.

702、当接收到用户实体的第二服务查询请求,控制服务器根据用户实体的更新位置信息和服务标识,获取第三应用服务器地址,并向第一应用服务器发送数据同步请求。702. When receiving the second service query request from the user entity, the control server obtains the address of the 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.

当接收到用户实体的第二服务查询请求,控制服务器根据更新位置信息、用户实体的行驶轨迹及当前路况等信息,确定待接入的第三应用服务器的第三应用服务地址。控制服务器向第一应用服务器发送数据同步请求,该数据同步请求包括用户实体标识、服务标识、第三应用服务器标识第三应用服务器地址等,该数据同步请求用于触发第一应用服务器和第三应用服务器进行数据同步。第一应用服务器和第三应用服务器之间的数据同步,包括但不限于如下几种场景:When receiving the second service query request of the user entity, the control server determines the third application service address of the third application server to be accessed according to the updated location information, the driving track of the user entity and the current road conditions. The control server sends a data synchronization request to the first application server, where the data synchronization request includes a user entity identifier, a service identifier, a third application server identifier, a third application server address, and the like, and the data synchronization request is used to trigger the first application server and the third application server. The application server performs 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 that the cloud server synchronizes the stored interaction data with the user entity to the edge to be accessed by the user entity The process of applying the server.

第二种场景、第一应用服务器为边缘应用服务器,第三应用服务器为云端应用服务器,数据同步过程为边缘应用服务器将所存储的与用户实体之间的交互数据同步到用户实体待接入的云端应用服务器的过程。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 that the edge application server synchronizes the stored interaction data with the user entity to the user entity to be accessed. The process of cloud application server.

第三种场景、第一应用服务器为一个边缘应用服务器,第三应用服务器为另一个边缘应用服务器,数据同步过程为一个边缘应用服务器将所存储的与用户实体之间的交互数据同步到用户实体待接入的另一个边缘应用服务器的过程。In the 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 that an edge application server synchronizes the stored interaction data with the user entity to the user entity The process of another edge application server to be accessed.

当接收到数据同步请求,第一应用服务器向第三应用服务器地址对应的第三应用服务器发起数据预同步请求,该数据预同步请求包括用户实体标识、服务标识和待同步的数据等。在数据同步完成后,第一应用服务器向控制服务器发送数据同步响应,该数据同步响应包括用户实体标识、服务标识及第三应用服务器标识等。When receiving the data synchronization request, the first application server initiates a data pre-synchronization request to the third application server corresponding to the address of the third application server, where the data pre-synchronization request includes the user entity identifier, the service identifier, and the data to be synchronized. After the data synchronization is completed, the first application server sends a data synchronization response to the control server, where the data synchronization response includes the user entity identifier, the service identifier, the third application server identifier, and the like.

703、当接收到第一应用服务器的数据同步响应时,控制服务器向用户实体发送第三应用服务器地址。703. When receiving the data synchronization response from the first application server, the control server sends the address of the third application server to the user entity.

当接收到第一应用服务器的数据同步响应时,控制服务器将第三应用服务器地址发送至用户实体,以触发用户实体与第三应用服务器建立网络连接。如果第一应用服务器为一个边缘应用服务器,第三应用服务器为另一个边缘应用服务器,且第一应用服务器和第三应用服务器位于不同移动边缘计算服务器的平台上,则接收到第一应用服务器的数据同步响应后,控制服务器检测用户实体是否接入到第三应用服务器对应的移动边缘计算服务器的平台上,如果用户实体接入到第三应用服务器对应的移动边缘计算服务器的平台上,则将第三应用服务器地址发送至用户实体;如果用户实体未接入到第三应用服务器对应的移动边缘计算服务器的平台上,将第一应用服务器地址发送至用户实体,并保持第一应用服务器和第三应用服务器之间的数据同步状态。When receiving the data synchronization response from 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 a 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 located on different mobile edge computing After the data synchronization response, the control server detects whether the user entity is connected to the platform of the mobile edge computing server corresponding to the third application server. If the user entity is connected to the platform of the mobile edge computing server corresponding to the third application server, it will The address of the third application server is sent to the user entity; if the user entity is not connected to the platform of the mobile edge computing server corresponding to the third application server, the address of the first application server is sent to the user entity, and the first application server and the third application server are kept. The data synchronization status between the three application servers.

704、当接收到第三应用服务器地址,用户实体与第三应用服务器地址对应的第三应用服务器建立网络连接。704. After receiving the third application server address, the user entity establishes a network connection with the third application server corresponding to the third application server address.

当接收到第三应用服务器地址,用户实体根据该第三应用服务器地址,与第三应用服务地址对应的第三应用服务器建立网络连接。具体地,如果接收到的第三应用服务器地址为边缘应用服务器的域名和端口号,则用户实体将向域名查询系统发送域名查询请求,查询该边缘应用服务器的域名对应的边缘应用服务器的IP地址,进而通过查询到的边缘应用服务器的IP地址和端口号与第三应用服务器建立网络连接。When receiving the third application server address, the user entity establishes a network connection with the third application server corresponding to the third application service address according to the third application server address. Specifically, if the received third application server address is the domain name and port number of the edge application server, the user entity will send a domain name query request to the domain name query system to query the IP address of the edge application server corresponding to the domain name of the edge application server , and then establish a network connection with the third application server through the IP address and port number of the edge application server obtained.

在本公开的另一个实施中,用户实体与第三应用服务器成功通信之后,还将向控制服务器发送第三通知消息,该第三通知消息包括用户实体标识、服务标识及第三应用服务器地址等,当接收第三通知消息,控制服务器存储用户实体标识、服务标识及第三应用服务器地址之间的对应关系。In another implementation of the present disclosure, after the user entity successfully communicates with the third application server, it will also send a third notification message to the control server, where the third notification message includes the user entity identifier, the service identifier, and the address of the third application server, etc. , when receiving the third notification message, the control server stores the correspondence between the user entity identifier, the service identifier and the address of the third application server.

图8示出了V2X场景下本公开实施例提供的网络连接的建立过程,该过程如下:FIG. 8 shows a process of establishing a network connection provided by an embodiment of the present disclosure in a V2X scenario, and the process is as follows:

1、在V2X UE从Edge V2X AS1获取服务的过程中,当V2X UE检测到位置更新时,V2XUE向V2X CF发送V2X AS查询请求,该V2X AS查询请求包括V2X UE的更新位置信息、V2XService标识;1. During the process of the V2X UE obtaining the service from the Edge V2X AS1, when the V2X UE detects a location update, the V2X UE sends a V2X AS query request to the V2X CF, and the V2X AS query request includes the updated location information of the V2X UE and the V2XService identifier;

2、V2X CF确定待接入的MEC对应的Edge V2X AS2,并向Edge V2X AS1发送数据同步请求,该数据同步请求包括V2X UE标识、V2X Service标识及Edge V2X AS2标识等;2. The V2X CF determines the Edge V2X AS2 corresponding to the MEC to be accessed, and sends a data synchronization request to the Edge V2X AS1. The data synchronization request includes the V2X UE identifier, the V2X Service identifier, and the Edge V2X AS2 identifier, etc.;

3、当接收到数据同步请求时,Edge V2X AS1向Edge V2X AS2发起数据预同步请求,该数据预同步请求包括V2X UE标识、V2X Service标识及待同步数据等,Edge V2X AS1通过与Edge V2X AS2进行交互,实现数据同步;3. When receiving a data synchronization request, Edge V2X AS1 initiates a data pre-synchronization request to Edge V2X AS2. The data pre-synchronization request includes the V2X UE ID, V2X Service ID, and data to be synchronized, etc. Edge V2X AS1 communicates with Edge V2X AS2. Interact to achieve data synchronization;

4、数据同步完成后,Edge V2X AS1向V2X CF发送数据同步响应,该数据同步响应包括V2X UE标识、V2X Service标识及Edge V2X AS2标识等;4. After the data synchronization is completed, the Edge V2X AS1 sends a data synchronization response to the V2X CF, and the data synchronization response includes the V2X UE identifier, the V2X Service identifier, and the Edge V2X AS2 identifier, etc.;

5、当检测到V2X UE接入到Edge V2X AS2所在的MEC平台时,将Edge V2X AS2域名和端口号发送至V2X UE;当检测到V2X UE仍接入Edge V2X AS1所在的MEC平台时,将EdgeV2X AS1域名和端口号发送至V2X UE,并保持Edge V2X AS1与Edge V2X AS2之间的数据同步状态;5. When it is detected that the V2X UE is connected to the MEC platform where the Edge V2X AS2 is located, the Edge V2X AS2 domain name and port number are sent to the V2X UE; when it is detected that the V2X UE is still connected to the MEC platform where the Edge V2X AS1 is located, the The EdgeV2X AS1 domain name and port number are sent to the V2X UE, and the data synchronization state between Edge V2X AS1 and Edge V2X AS2 is maintained;

6、V2X UE向DNS发送域名查询请求,以获取Edge V2X AS2域名对应的Edge V2XAS2IP地址;6. The V2X UE sends a domain name query request to DNS to obtain the Edge V2XAS2 IP address corresponding to the Edge V2X AS2 domain name;

7、V2X UE基于Edge V2X AS2IP地址和端口号发起与Edge V2X AS2的网络连接;7. The V2X UE initiates a network connection with the Edge V2X AS2 based on the Edge V2X AS2 IP address and port number;

8、当V2X UE与Edge V2X AS2成功通信后,V2X UE向V2X CF发送通知消息,以通知V2X CF存储V2X Service标识、Edge V2X AS2IP地址及端口号之间的对应关系。8. After the V2X UE successfully communicates with the Edge V2X AS2, the V2X UE sends a notification message to the V2X CF to notify the V2X CF to store the correspondence between the V2X Service ID, the Edge V2X AS2 IP address, and the port number.

本公开实施例提供的方法,在用户实体的位置更新需要切换到新的应用服务器时,在切换前后两个应用服务器之间进行数据同步,避免切换后服务不可用,提高了服务质量。In the method provided by the embodiments of the present disclosure, when the user entity needs to be switched to a new application server for location update, data synchronization is performed between the two application servers before and after the switch, so as to avoid service unavailability after the switch and improve service quality.

本公开实施例提供了一种用户实体,参见图9,该用户实体包括:发送单元901和接收单元902。An embodiment of the present disclosure provides a user entity. Referring to FIG. 9 , the user entity includes: a sending unit 901 and a receiving unit 902 .

其中,发送单元901用于执行图3中的步骤301、图7中的步骤701;Wherein, the sending unit 901 is configured to perform step 301 in FIG. 3 and step 701 in FIG. 7 ;

接收单元902用于执行图3中的步骤303、图5中的步骤502及图7中的步骤704。The receiving unit 902 is configured to execute step 303 in FIG. 3 , step 502 in FIG. 5 and step 704 in FIG. 7 .

本公开实施例提供了一种控制服务器,参见图10,该控制服务器包括:接收单元1001、查询单元1002及发送单元1003。An embodiment of the present disclosure provides a control server. Referring to FIG. 10 , the control server includes: a receiving unit 1001 , a querying unit 1002 and a sending unit 1003 .

其中,接收单元1001用于执行图3中的步骤302、图7中的步骤702及703;The receiving unit 1001 is configured to perform step 302 in FIG. 3 and steps 702 and 703 in FIG. 7 ;

查询单元1002用于执行图3中的步骤302;The query unit 1002 is configured to execute step 302 in FIG. 3;

发送单元1003用于执行图5中的步骤501。The sending unit 1003 is configured to execute step 501 in FIG. 5 .

本公开实施例提供了一种移动边缘计算服务器,参见图11,该移动边缘计算服务器包括:接收单元1101、地址加入单元1102及发送单元1103。An embodiment of the present disclosure provides a mobile edge computing server. Referring to FIG. 11 , the mobile edge computing server includes: a receiving unit 1101 , an address adding unit 1102 , and a sending unit 1103 .

其中,接收单元1101、地址加入单元1102及发送单元1103用于实现图3中的步骤301到步骤302之间的过程。The receiving unit 1101, the address adding unit 1102, and the sending unit 1103 are used to implement the process between steps 301 and 302 in FIG. 3 .

需要说明的是:上述实施例提供的用户实体、控制服务器及移动边缘计算服务器在建立网络连接时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的用户实体、控制服务器、移动边缘计算服务器与网络连接的建立方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the user entity, the control server and the mobile edge computing server provided in the above-mentioned embodiments establish a network connection, only the division of the above-mentioned functional modules is used as an example for illustration. In practical applications, the above-mentioned functions can be allocated as required. It is completed by different functional modules, 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 method embodiments for establishing a user entity, a control server, a mobile edge computing server and a network connection provided by the above embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.

本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, etc.

以上所述仅为本公开的可选实施例,并不用以限制本公开,凡在本公开的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。The above are only optional embodiments of the present disclosure, and are not intended to limit the present disclosure. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present disclosure shall be included in the protection of the present disclosure. within the range.

Claims (37)

1.一种网络连接的建立方法,其特征在于,所述方法包括:1. A method for establishing a network connection, wherein the method comprises: 向控制服务器发送第一服务查询请求,所述第一服务查询请求包括用户实体的位置信息和服务标识,所述第一服务查询请求用于所述控制服务器根据所述用户实体的位置信息和服务标识,查询第一应用服务器地址,并将所述第一应用服务器地址发送至所述用户实体;Sending a first service query request to the control server, where the first service query request includes the location information and service identifier of the user entity, and the first service query request is used by the control server according to the location information and service identifier of the user entity identifying, querying the address of the first application server, and sending the address of the first application server to the user entity; 接收所述第一应用服务器地址,并向所述第一应用服务器地址对应的第一应用服务器发送服务获取请求,所述服务获取请求包括用户实体标识和服务标识,所述服务获取请求用于所述第一应用服务器向所述用户实体标识对应的用户实体提供所述服务标识对应的服务。Receive the first application server address, and send a service acquisition request to the 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 all The first application server provides the service corresponding to the service identifier to the user entity corresponding to the user entity identifier. 2.根据权利要求1所述的方法,其特征在于,所述第一应用服务器地址包括边缘应用服务器域名和端口号,所述向所述第一应用服务器地址对应的第一应用服务器发送服务获取请求之前,还包括:2. The method according to claim 1, wherein the first application server address comprises an edge application server domain name and port number, and the first application server corresponding to the first application server address is sent to obtain a service Before the request, also include: 向域名系统发送域名查询请求,所述域名查询请求包括所述边缘应用服务器域名,所述域名查询请求用于所述域名系统查询所述边缘应用服务器域名对应的边缘应用服务器的网络互连协议IP地址,并将所述边缘应用服务器的IP地址发送至所述用户实体;Send a domain name query request to the domain name system, where the domain name query request includes the edge application server domain name, and the domain name query request is used by the domain name system to query the network interconnection protocol IP of the edge application server corresponding to the edge application server domain name address, 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: 向所述边缘应用服务器的IP地址和所述端口号对应的边缘应用服务器发送所述服务获取请求。The service acquisition request is sent to the edge application server corresponding to the IP address of the edge application server and the port number. 3.根据权利要求1所述的方法,其特征在于,所述第一应用服务器地址包括云端应用服务器的网络互连协议IP地址,所述向所述第一应用服务器地址对应的第一应用服务器发送服务获取请求,包括:3. The method according to claim 1, wherein the first application server address comprises an IP address of a cloud application server, and the first application server address corresponding to the first application server address Send a service acquisition request, including: 向所述云端应用服务器的IP地址对应的云端应用服务器发送所述服务获取请求。The service acquisition request is sent to the cloud application server corresponding to the IP address of the cloud application server. 4.根据权利要求1至3中任一项所述的方法,其特征在于,所述方法还包括:4. The method according to any one of claims 1 to 3, wherein the method further comprises: 当获取到所述服务标识对应的服务时,向所述控制服务器发送第一通知消息,所述第一通知消息包括用户实体标识、所述服务标识及所述第一应用服务器地址,所述第一通知消息用于所述控制服务器存储所述用户实体标识、所述服务标识及所述第一应用服务器地址之间的对应关系。When the service corresponding to the service identifier is acquired, a first notification message is sent to the control server, where the first notification message includes the user entity identifier, the service identifier and the address of the first application server, the first notification message A notification message is used for the control server to store the correspondence between the user entity identifier, the service identifier and the address of the first application server. 5.根据权利要求4所述的方法,其特征在于,所述方法还包括:5. The method according to claim 4, wherein the method further comprises: 接收所述控制服务器发送的服务地址变更消息,所述服务地址变更消息包括第二应用服务器地址,所述服务地址变更消息为所述控制服务器检测到所述第一应用服务器提供的所述服务标识对应的服务不可用时发送,所述第二应用服务器地址对应的第二应用服务器用于提供所述服务标识对应的服务;Receive a service address change message sent by the control server, where the service address change message includes the address of the second application server, and the service address change message is for the control server to detect the service identifier provided by the first application server Sent when the corresponding service 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; 与所述第二应用服务器建立网络连接。A network connection is established with the second application server. 6.根据权利要求4所述的方法,其特征在于,所述方法还包括:6. The method according to claim 4, wherein the method further comprises: 当检测到所述位置信息变化时,向所述控制服务器发送第二服务查询请求,所述第二服务查询请求包括所述用户实体的更新位置信息和所述服务标识,所述第二服务查询请求用于所述控制服务器查询第三应用服务器地址,触发所述第一应用服务器和所述第三应用服务器地址对应的第三应用服务器进行数据同步,并将所述第三应用服务器地址发送至所述用户实体;When a change in the location information is detected, a second service query request is sent to the control server, where the second service query request includes the updated location information of the user entity and the service identifier, and the second service query request The request is for the control server to query the address of the third application server, 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; 接收所述第三应用服务器地址,与所述第三应用服务器地址对应的第三应用服务器建立网络连接。The third application server address is received, and a network connection is established to the third application server corresponding to the third application server address. 7.一种网络连接的建立方法,其特征在于,所述方法包括:7. A method for establishing a network connection, wherein the method comprises: 接收用户实体的第一服务查询请求,所述第一服务查询请求包括所述用户实体的位置信息和服务标识;receiving a first service query request from a user entity, where the first service query request includes location information and a service identifier of the user entity; 根据所述用户实体的位置信息和所述服务标识,查询第一应用服务器地址,并将所述第一应用服务器地址发送至所述用户实体,所述第一应用服务器地址用于所述用户实体向第一应用服务器发送服务获取请求,所述服务获取请求包括用户实体标识和服务标识。According to the location information of the user entity and the service identifier, query a first application server address, and send the first application server address to the user entity, where the first application server address is used for the user entity A service acquisition request is sent to the first application server, where the service acquisition request includes a user entity identifier and a service identifier. 8.根据权利要求7所述的方法,其特征在于,所述第一服务查询请求还包括位于所述用户实体上行的移动边缘计算服务器的移动边缘计算服务器地址;8. The method according to claim 7, wherein the first service query request further comprises the mobile edge computing server address of the mobile edge computing server located in the uplink of the user entity; 所述根据所述用户实体的位置信息和所述服务标识,查询第一应用服务器地址,包括:The querying the address of the first application server according to the location information of the user entity and the service identifier includes: 根据所述位置信息、所述移动边缘计算服务器地址及所述服务标识,查询边缘应用服务器域名和端口号,将所述边缘应用服务器域名和端口号作为所述第一应用服务器地址。According to the location information, the mobile edge computing server address and the service identifier, query the domain name and port number of the edge application server, and use the domain name and port number of the edge application server as the first application server address. 9.根据权利要求7所述的方法,其特征在于,所述根据所述用户实体的位置信息和所述服务标识,查询第一应用服务器地址,包括:9. The method according to claim 7, wherein the querying the address of the first application server according to the location information of the user entity and the service identifier comprises: 根据所述用户实体的位置信息和所述服务标识,查询云端应用服务器的网络互连协议I P地址,将所述云端应用服务器的IP地址作为所述第一应用服务器地址。According to the location information of the user entity and the service identifier, query the IP address of the cloud application server for the network interconnection protocol, and use the IP address of the cloud application server as the first application server address. 10.根据权利要求7至9中任一项所述的方法,其特征在于,所述方法还包括:10. The method according to any one of claims 7 to 9, wherein the method further comprises: 接收所述用户实体发送的第一通知消息,所述第一通知消息包括所述用户实体标识、所述服务标识及所述第一应用服务器地址;receiving 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; 存储所述用户实体标识、所述服务标识及所述第一应用服务器地址之间的对应关系。The correspondence between the user entity identifier, the service identifier and the address of the first application server is stored. 11.根据权利要求10所述的方法,其特征在于,所述方法还包括:11. The method of claim 10, wherein the method further comprises: 当检测到所述第一应用服务器提供的所述服务标识对应的服务不可用时,获取能够提供可用服务的第二应用服务器地址,并向所述用户实体发送服务地址变更消息,所述服务地址变更消息包括所述第二应用服务器地址,所述服务地址变更消息用于所述用户实体与所述第二应用服务器地址对应的第二应用服务器建立网络连接。When it is detected that the service corresponding to the service identifier provided by the first application server is unavailable, the address of a second application server capable of providing an available service is obtained, and a service address change message is sent to the user entity, and the service address is changed The message includes the second application server address, and the service address change message is used for the user entity to establish a network connection with the second application server corresponding to the second application server address. 12.根据权利要求11所述的方法,其特征在于,所述获取能够提供可用服务的第二应用服务器地址,包括:12. The method according to claim 11, wherein the acquiring the address of the second application server capable of providing available services comprises: 根据所述服务标识,查询服务状态表中是否存在能够提供可用服务的其他边缘应用服务地址,所述服务状态表中存储有服务标识、应用服务器地址及服务可用状态之间的对应关系;According to the service identifier, query whether there are other edge application service addresses that can provide available services in the service status table, where the service status table stores the correspondence between the service identifier, the application server address and the service availability status; 如果存在,则将其他边缘服务地址作为所述第二应用服务器地址;If it exists, use other edge service addresses as the second application server address; 如果不存在,则将云端应用服务器的IP地址作为所述第二应用服务器地址。If it does not exist, the IP address of the cloud application server is used as the second application server address. 13.根据权利要求12所述的方法,其特征在于,所述根据所述服务标识,查询服务状态表中是否存在能够提供可用服务的其他边缘服务地址之前,还包括:13 . The method according to claim 12 , wherein, before querying, according to the service identifier, whether there are other edge service addresses capable of providing available services in the service status table, the method further comprises: 13 . 接收移动边缘计算服务器及云端应用服务器发送的状态报告,所述状态报告包括应用服务器地址;receiving a status report sent by the mobile edge computing server and the cloud application server, where the status report includes the address of the application server; 根据所述状态报告,维护所述服务状态表。Based on the status report, the service status table is maintained. 14.根据权利要求10所述的方法,其特征在于,所述方法还包括:14. The method of claim 10, wherein the method further comprises: 接收所述用户实体的第二服务查询请求,所述第二服务查询请求包括所述用户实体的更新位置信息和所述服务标识,所述第二服务查询请求由所述用户实体检测到所述位置信息变化时发送;Receive a second service query request from the user entity, where the second service query request includes the updated location information of the user entity and the service identifier, and the second service query request is detected by the user entity. Sent when the location information changes; 根据所述用户实体的更新位置信息和所述服务标识,获取第三应用服务器地址,并向所述第一应用服务器发送数据同步请求,所述数据同步请求包括所述用户实体标识、所述服务标识及所述第三应用服务器地址,所述数据同步请求用于所述第一应用服务器与所述第三应用服务器地址对应的第三应用服务器进行数据同步,并在数据同步完成后向控制服务器发送数据同步响应;Obtain the address of a third application server 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 address of the third application server, the data synchronization request is used for the first application server to synchronize data with the third application server corresponding to the address of the third application server, and to the control server after the data synchronization is completed Send data synchronization response; 当接收到所述数据同步响应时,向所述用户实体发送所述第三应用服务器地址,所述第三应用服务器地址用于所述用户实体与所述第三应用服务器建立网络连接。When receiving the data synchronization response, the third application server address is sent to the user entity, where the third application server address is used for the user entity to establish a network connection with the third application server. 15.一种网络连接的建立方法,其特征在于,所述方法包括:15. A method for establishing a network connection, wherein the method comprises: 接收用户实体发送的第一服务查询请求,所述第一服务查询请求包括所述用户实体的位置信息和服务标识;receiving 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; 将移动边缘计算服务器地址加入到所述第一服务查询请求中,并将包括所述移动边缘计算服务器地址的第一服务查询请求发送至控制服务器,所述包括所述移动边缘计算服务器地址的第一服务查询请求用于所述控制服务器根据所述用户实体的位置信息、所述服务标识及所述移动边缘计算服务器地址,查询边缘应用服务器域名和端口号,并将所述边缘应用服务器域名和端口号发送至所述用户实体,所述边缘应用服务器域名和端口号用于所述用户实体与边缘应用服务器建立网络连接。Add the mobile edge computing server address to the first service query request, and send the first service query request including the mobile edge computing server address to the control server, and the first service query request including the mobile edge computing server address. A service query request is used for the control server to query the domain name and port number of the edge application server according to the location information of the user entity, the service identifier and the address of the mobile edge computing server, and to compare the domain name and port number of the edge application server with The port number is sent to the user entity, and the edge application server domain name and port number are used for the user entity to establish a network connection with the edge application server. 16.根据权利要求15所述的方法,其特征在于,所述将包括所述移动边缘计算服务器地址的第一服务查询请求发送至控制服务器之后,还包括:16. The method according to claim 15, wherein after the sending the first service query request including the mobile edge computing server address to the control server, the method further comprises: 接收所述用户实体发送的服务获取请求,所述服务获取请求包括用户实体标识和所述服务标识;receiving a service acquisition request sent by the user entity, where the service acquisition request includes a user entity identifier and the service identifier; 将所述服务获取请求发送至边缘应用服务器,所述服务获取请求用于所述边缘应用服务器向所述用户实体标识对应的用户实体提供所述服务标识对应的服务。Sending the service acquisition request to the edge application server, where the service acquisition request is used by the edge application server to provide the service corresponding to the service identifier to the user entity corresponding to the user entity identifier. 17.根据权利要求15所述的方法,其特征在于,所述方法还包括:17. The method of claim 15, wherein the method further comprises: 接收各个边缘应用服务器发送的状态报告,所述状态报告包括边缘应用服务器地址;receiving a status report sent by each edge application server, where the status report includes the address of the edge application server; 将所述状态报告发送至所述控制服务器,所述状态报告用于所述控制服务器维护服务状态表,所述服务状态表中存储有服务标识、应用服务器地址及可用状态之间的对应关系。The status report is sent to the control server, and the status report is used for the control server to maintain a service status table, where the service status table stores the correspondence between service identifiers, application server addresses, and available statuses. 18.一种用户实体,其特征在于,所述用户实体包括:18. A user entity, characterized in that the user entity comprises: 发送单元,用于向控制服务器发送第一服务查询请求,所述第一服务查询请求包括用户实体的位置信息和服务标识,所述第一服务查询请求用于所述控制服务器根据所述用户实体的位置信息和服务标识,查询第一应用服务器地址,并将所述第一应用服务器地址发送至所述用户实体;A sending unit, configured to send a first service query request to the control server, where the first service query request includes the location information and service identifier of the user entity, and the first service query request is used by the control server according to the user entity location information and service identifier, query the address of the first application server, and send the address of the first application server to the user entity; 接收单元,用于接收所述第一应用服务器地址;a receiving unit, configured to receive the address of the first application server; 所述发送单元,还用于向所述第一应用服务器地址对应的第一应用服务器发送服务获取请求,所述服务获取请求包括用户实体标识和服务标识,所述服务获取请求用于所述第一应用服务器向所述用户实体标识对应的用户实体提供所述服务标识对应的服务。The sending unit is further configured to send a service acquisition request to the 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. An application server provides the service corresponding to the service identifier to the user entity corresponding to the user entity identifier. 19.根据权利要求18所述的用户实体,其特征在于,所述第一应用服务器地址包括边缘应用服务器域名和端口号,所述发送单元,还用于向域名系统发送域名查询请求,所述域名查询请求包括所述边缘应用服务器域名,所述域名查询请求用于所述域名系统查询所述边缘应用服务器域名对应的边缘应用服务器的网络互连协议IP地址,并将所述边缘应用服务器的IP地址发送至所述用户实体;19. The user entity according to claim 18, wherein the first application server address comprises 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, the The domain name query request includes the domain name of the edge application server, and the domain name query request is used for the domain name system to query the IP address of the edge application server corresponding to the domain name of the edge application server, and to use the edge application server's IP address. sending an IP address to said user entity; 所述发送单元,还用于向所述边缘应用服务器的IP地址和所述端口号对应的边缘应用服务器发送所述服务获取请求。The sending unit is further configured to send the service acquisition request to the edge application server corresponding to the IP address of the edge application server and the port number. 20.根据权利要求18所述的用户实体,其特征在于,所述第一应用服务器地址包括云端应用服务器的网络互连协议IP地址,所述发送单元,还用于向所述云端应用服务器的IP地址对应的云端应用服务器发送所述服务获取请求。20 . The user entity according to claim 18 , wherein the first application server address comprises an IP address of the cloud application server, and the sending unit is further configured to send an IP address to the cloud application server. 21 . The cloud application server corresponding to the IP address sends the service acquisition request. 21.根据权利要求18至20中任一项所述的用户实体,其特征在于,所述发送单元,还用于当获取到所述服务标识对应的服务时,向所述控制服务器发送第一通知消息,所述第一通知消息包括用户实体标识、所述服务标识及所述第一应用服务器地址,所述第一通知消息用于所述控制服务器存储所述用户实体标识、所述服务标识及所述第一应用服务器地址之间的对应关系。21. The user entity according to any one of claims 18 to 20, wherein the sending unit is further configured to send a first message to the control server when the service corresponding to the service identifier is acquired a notification message, 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 by the control server to store the user entity identifier, the service identifier and the corresponding relationship between the addresses of the first application server. 22.根据权利要求21所述的用户实体,其特征在于,22. User entity according to claim 21, characterized in that, 所述接收单元,用于接收所述控制服务器发送的服务地址变更消息,所述服务地址变更消息包括第二应用服务器地址,所述服务地址变更消息为所述控制服务器检测到所述第一应用服务器提供的所述标识对应的服务不可用时发送,所述第二应用服务器地址对应的第二应用服务器用于提供所述服务标识对应的服务;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, and the service address change message indicates that the control server detects the first application Sent when the service corresponding to the identifier provided by the server is unavailable, and the second application server corresponding to the address of the second application server is used to provide the service corresponding to the service identifier; 所述用户实体还包括:连接单元,用于与所述第二应用服务器建立网络连接。The user entity further includes: a connection unit, configured to establish a network connection with the second application server. 23.根据权利要求22所述的用户实体,其特征在于,所述发送单元,还用于当检测到所述位置信息变化时,向所述控制服务器发送第二服务查询请求,所述第二服务查询请求包括所述用户实体的更新位置信息和所述服务标识,所述第二服务查询请求用于所述控制服务器查询第三应用服务器地址,触发所述第一应用服务器和所述第三应用服务器地址对应的第三应用服务器进行数据同步,并将所述第三应用服务器地址发送至所述用户实体;23. The user entity according to claim 22, wherein the sending unit is further configured to send a second service query request to the control server when a change in the location information is detected, the second The service query request includes the updated location information of the user entity and the service identifier, and the second service query request is used for the control server to query the address of a third application server, triggering the first application server and the third application server. The third application server corresponding to the application server address performs data synchronization, and sends the third application server address to the user entity; 所述接收单元,还用于接收所述第三应用服务器地址,与所述第三应用服务器地址对应的第三应用服务器建立网络连接。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.一种控制服务器,其特征在于,所述控制服务器包括:24. A control server, wherein the control server comprises: 接收单元,用于接收用户实体的第一服务查询请求,所述第一服务查询请求包括所述用户实体的位置信息和服务标识;a receiving unit, configured to receive a first service query request from a user entity, where the first service query request includes location information and a service identifier of the user entity; 查询单元,用于根据所述用户实体的位置信息和所述服务标识,查询第一应用服务器地址;a query unit, configured to query the address of the first application server according to the location 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 by the user entity to send a service acquisition request to the first application server, where the service acquisition request includes the user Entity ID and Service ID. 25.根据权利要求24所述的控制服务器,其特征在于,所述第一服务查询请求还包括位于所述用户实体上行的移动边缘计算服务器的移动边缘计算服务器地址;25. The control server according to claim 24, wherein the first service query request further comprises the mobile edge computing server address of the mobile edge computing server located in the uplink of the user entity; 所述查询单元,还用于根据所述位置信息、所述移动边缘计算服务器地址及所述服务标识,查询边缘应用服务器域名和端口号,将所述边缘应用服务器域名和端口号作为所述第一应用服务器地址。The query unit is further configured to query the domain name and port number of the edge application server according to the location information, the address of the mobile edge computing server and the service identifier, and use the domain name and port number of the edge application server as the first An application server address. 26.根据权利要求24所述的控制服务器,其特征在于,所述查询单元,还用于根据所述用户实体的位置信息和所述服务标识,查询云端应用服务器的网络互连协议IP地址,将所述云端应用服务器的IP地址作为所述第一应用服务器地址。26. The control server according to claim 24, wherein the query unit is further configured to query the IP address of the cloud application server according to the location information of the user entity and the service identifier, The IP address of the cloud application server is used as the first application server address. 27.根据权利要求24至26中任一项所述的控制服务器,其特征在于,所述控制服务器还包括:27. The control server according to any one of claims 24 to 26, wherein 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; 存储单元,还用于存储所述用户实体标识、所述服务标识及所述第一应用服务器地址之间的对应关系。The storage unit is further configured to store the correspondence between the user entity identifier, the service identifier and the address of the first application server. 28.根据权利要求27所述的控制服务器,其特征在于,所述控制服务器还包括:28. The control server according to claim 27, wherein the control server further comprises: 获取单元,用于当检测到所述第一应用服务器提供的所述服务标识对应的服务不可用时,获取能够提供可用服务的第二应用服务器地址;an acquiring unit, configured to acquire the address of a second application server that can provide an available service when it is detected that the service corresponding to the service identifier provided by the first application server is unavailable; 所述发送单元,还用于向所述用户实体发送服务地址变更消息,所述服务地址变更消息包括所述第二应用服务器地址,所述服务地址变更消息用于所述用户实体与所述第二应用服务器地址对应的第二应用服务器建立网络连接。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 the user entity to communicate with the first application server. The second application server corresponding to the two application server addresses establishes a network connection. 29.根据权利要求28所述的控制服务器,其特征在于,所述获取单元,还用于根据所述服务标识,查询服务状态表中是否存在能够提供可用服务的其他边缘服务地址,所述服务状态表中存储有服务标识、应用服务器地址及服务可用状态之间的对应关系;如果存在,则将其他边缘服务地址作为所述第二应用服务器地址;如果不存在,则将云端应用服务器的IP地址作为所述第二应用服务器地址。29. The control server according to claim 28, wherein the obtaining unit is further configured to query whether there are other edge service addresses capable of providing available services in the service status table according to the service identifier, and the service The state table stores the correspondence between the service identifier, the application server address, and the service availability status; if it exists, other edge service addresses are used as the second application server address; if it does not exist, the cloud application server IP address The address is used as the address of the second application server. 30.根据权利要求29所述的控制服务器,其特征在于,所述控制服务器还包括:30. The control server according to claim 29, wherein the control server further comprises: 所述接收单元,还用于接收移动边缘计算服务器及云端应用服务器发送的状态报告,所述状态报告包括应用服务器地址;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 the address of the application server; 维护单元,用于根据所述状态报告,维护所述服务状态表。A maintenance unit, configured to maintain the service status table according to the status report. 31.根据权利要求27所述的控制服务器,其特征在于,所述控制服务器还包括:31. The control server of claim 27, wherein the control server further comprises: 所述接收单元,用于接收所述用户实体的第二服务查询请求,所述第二服务查询请求包括所述用户实体的更新位置信息和所述服务标识,所述第二服务查询请求由所述用户实体检测到所述位置信息变化时发送;The receiving unit is configured to receive a second service query request from the user entity, where the second service query request includes the updated location information of the user entity and the service identifier, and the second service query request is issued by the user entity. 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 address of the third application server, the data synchronization request is used for the first application server to synchronize data with the third application server corresponding to the address of the third application server, and the data synchronization After completion, send a data synchronization response to the control server; 所述发送单元,还用于当接收到所述数据同步响应时,向所述用户实体发送所述第三应用服务器地址,所述第三应用服务器地址用于所述用户实体与所述第三应用服务器建立网络连接。The sending unit is further configured to send the third application server address to the user entity when the data synchronization response is received, where the third application server address is used for the user entity to communicate with the third application server. The application server establishes a network connection. 32.一种移动边缘计算服务器,其特征在于,所述移动边缘计算服务器包括:32. A mobile edge computing server, wherein the mobile edge computing server comprises: 接收单元,用于接收用户实体发送的第一服务查询请求,所述第一服务查询请求包括所述用户实体的位置信息和服务标识;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 the 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 according to the The location information of the user entity, the service identifier and the address of the mobile edge computing server, query the domain name and port number of the edge application server, and send the domain name and port number of the edge application server to the user entity. The server domain name and port number are used for establishing a network connection between the user entity and the edge application server. 33.根据权利要求32所述的移动边缘计算服务器,其特征在于,所述接收单元,还用于接收所述用户实体发送的服务获取请求,所述服务获取请求包括用户实体标识和所述服务标识;33. The mobile edge computing server according to claim 32, wherein the receiving unit is further configured to receive a service acquisition request sent by the user entity, the service acquisition request comprising a user entity identifier and the service identification; 所述发送单元,用于将所述服务获取请求发送至边缘应用服务器,所述服务获取请求用于所述边缘应用服务器向所述用户实体标识对应的用户实体提供所述服务标识对应的服务。The sending unit is configured to send the service acquisition request to the edge application server, where the service acquisition request is used by the edge application server to provide the service corresponding to the service identifier to the user entity corresponding to the user entity identifier. 34.根据权利要求33所述的移动边缘计算服务器,其特征在于,所述接收单元,还用于接收各个边缘应用服务器发送的状态报告,所述状态报告包括边缘应用服务器地址;34. The mobile edge computing server according to claim 33, wherein the receiving unit is further configured to receive a status report sent by each edge application server, wherein the status report includes the 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, where the service status table stores service identifiers, application server addresses and Correspondence between available states. 35.一种网络设备,其特征在于,所述网络设备包括存储器、处理器、收发器以及总线,其中,所述存储器、处理器、收发器通过所述总线相互连接,所述存储器用于存放计算机指令,当所述网络设备运行时,所述处理器运行所述计算机指令,使得所述网络设备执行权利要求1至17中任一项所述的网络连接的建立方法。35. A network device, characterized in that the network device comprises 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, and the memory is used to store Computer instructions, when the network device runs, the processor executes the computer instructions, so that the network device executes the method for establishing a network connection according to any one of claims 1 to 17 . 36.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质用于存储上述用户实体所用的计算机软件指令,其包括用于执行权利要求1至17中任一项所述的网络连接的建立方法所设计的程序。36. A computer-readable storage medium, wherein the computer-readable storage medium is used for storing computer software instructions used by the above-mentioned user entity, which comprises a computer-readable storage medium for performing the method described in any one of claims 1 to 17. A program designed for the establishment of a network connection. 37.一种网络连接的建立系统,其特征在于,所述网络连接的建立系统包括用户实体、控制服务器及移动边缘计算服务器;37. A system for establishing a network connection, wherein the system for establishing a network connection comprises a user entity, a control server and a mobile edge computing server; 所述用户实体如权利要求18至23中任一项所述的用户实体;The user entity is the user entity according to any one of claims 18 to 23; 所述控制服务器如权利要求24至31中任一项所述的控制服务器;The control server is the control server according to any one of claims 24 to 31; 所述移动边缘计算服务器如权利要求32至34中任一项所述的移动边缘计算服务器。The mobile edge computing server is the mobile edge computing server according to any one 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 (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112491717B (en) * 2019-09-12 2024-10-22 华为技术有限公司 Service routing method and device
BR112022004858A2 (en) * 2019-09-18 2022-09-27 Ericsson Telefon Ab L M METHODS ON A NETWORK NODE AND USER EQUIPMENT, APPLIANCES ON A NETWORK NODE AND USER EQUIPMENT, COMPUTER-READable STORAGE MEDIA, AND, COMPUTER PROGRAM PRODUCT
CN112533177B (en) * 2019-09-19 2025-02-25 大唐移动通信设备有限公司 A method, device, apparatus, and medium for providing and discovering mobile edge computing
CN114451013B (en) 2019-09-30 2025-05-30 三星电子株式会社 Method and system for seamless service continuity for edge computing
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
CN113938910B (en) * 2020-07-13 2024-10-29 华为技术有限公司 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
CN114374978B (en) * 2020-10-15 2025-04-01 中国移动通信有限公司研究院 A method, device and computer-readable storage medium for discovering MEC servers
CN114844865A (en) * 2021-01-30 2022-08-02 华为技术有限公司 A service identifier allocation method and communication device in a computing power-aware network
CN114945016B (en) * 2021-02-10 2024-06-25 维沃移动通信有限公司 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
CN113613196B (en) * 2021-06-16 2024-07-16 北京交通大学 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 delivery methods, devices, equipment and storage media
CN116074365A (en) * 2021-11-01 2023-05-05 中兴通讯股份有限公司 Method and device for establishing connection, storage medium and electronic device
CN114845248B (en) * 2022-03-17 2024-07-30 中国联合网络通信集团有限公司 User location acquisition method, front-end, device and system
CN118921399A (en) * 2022-03-24 2024-11-08 交互数字专利控股公司 Edge application instance discovery and selection based on shared application vertical sessions
EP4625912A1 (en) * 2022-12-19 2025-10-01 Huawei Technologies Co., Ltd. Communication method and related apparatus

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公司 Enhanced support for Vehicle-to-Everything (V2X) communications
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
US7843901B2 (en) * 2006-03-02 2010-11-30 Tango Networks, Inc. Call flow system and method for use in a legacy telecommunication system
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 浙江大学 A cloud-controlled automatic driving system based on 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公司 Enhanced support for Vehicle-to-Everything (V2X) communications
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
JP6768934B2 (en) Efficient and dynamic support for mobile low latency services
JP7521005B2 (en) Method for determining user plane function, method for providing information, device, and medium
Taleb et al. Follow me cloud: interworking federated clouds and distributed mobile networks
US20220322464A1 (en) Connection establishment method and device, link state notification method and device, interface establishment method and device, information transmission method and device, integrated access backhaul node, centralized unit, system and storage medium
CN114270789B (en) Method and device for acquiring information
US20190273650A1 (en) Method and System for Processing NF Component Exception, and Device
US20240171946A1 (en) Communication method and comunications apparatus
CN110278096A (en) A communication method and device based on network slicing
CN113891430A (en) A method, device and system for communication
US12349006B2 (en) Coordination of edge application server reselection using edge client subnet
CN113411815B (en) Method and device for accessing network slicing
CN111225348A (en) A method for application instance migration and multi-access edge computing host
WO2018006306A1 (en) Network connection configuration method and apparatus
WO2022082724A1 (en) Method and apparatus for multicast service support in time sensitive network
US20230275872A1 (en) Communication method and apparatus, and computer-readable storage medium
US20230188965A1 (en) Application Relocation Method and Apparatus
WO2010069188A1 (en) Service processing method, device and system
CN116420393B (en) Identification sending method and communication device
EP4145946A1 (en) Communication method and apparatus, and computer-readable storage medium
CN102984813A (en) Data straight-through processing method, equipment and system
JP2022532694A (en) Server computers, methods for providing applications, mobile communication networks, and methods for providing access to server computers.
WO2021244622A1 (en) Communication method and apparatus, and computer-readable storage medium
CN120226405A (en) Communication method and device
CN116669063A (en) Communication method and device

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 Technologies Co.,Ltd.

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

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.