WO2022052992A1 - Cloud site connecting method and apparatus, and storage medium - Google Patents

Cloud site connecting method and apparatus, and storage medium Download PDF

Info

Publication number
WO2022052992A1
WO2022052992A1 PCT/CN2021/117477 CN2021117477W WO2022052992A1 WO 2022052992 A1 WO2022052992 A1 WO 2022052992A1 CN 2021117477 W CN2021117477 W CN 2021117477W WO 2022052992 A1 WO2022052992 A1 WO 2022052992A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
terminal device
cloud site
area
target
Prior art date
Application number
PCT/CN2021/117477
Other languages
French (fr)
Chinese (zh)
Inventor
潘会民
Original Assignee
华为云计算技术有限公司
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 华为云计算技术有限公司 filed Critical 华为云计算技术有限公司
Publication of WO2022052992A1 publication Critical patent/WO2022052992A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/61Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources taking into account QoS or priority requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/302Reselection being triggered by specific parameters by measured or perceived connection quality data due to low signal strength
    • 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
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the present application relates to the field of communications, and in particular, to a method, device and storage medium for connecting to a cloud site.
  • eSIM embedded subscriber identity module
  • M2M machine to machine
  • SIM subscriber identity module
  • the user may select an operator network for the terminal device, or the terminal device may select a default operator network according to the default network information stored in the built-in eSIM.
  • the SIM card platform of the operator's network writes SIM card data belonging to the operator's network into the eSIM of the terminal device.
  • the manufacturer of the terminal device also saves a preset site identifier of the cloud site in the terminal device when producing the terminal device.
  • the terminal device accesses the operator's network through the SIM card data, and accesses the cloud site through the operator's network according to the site identifier.
  • the signal quality of the currently selected or default operator network may be poor.
  • the communication quality is often unstable, which affects the communication efficiency.
  • the present application provides a method, apparatus and storage medium for connecting a cloud site, so as to improve the communication quality between a terminal device and a cloud site.
  • the technical solution is as follows:
  • the present application provides a method for connecting to a cloud site, in the method: a data center server obtains data collected by a cloud site, and the cloud site is a site managed by the data center server; the data center server receives a connection request, the The connection request includes the location information of the terminal device. According to the location information and the collected data, the target operator network that satisfies the first specified condition and the target cloud site that meets the second specified condition are determined.
  • the target cloud site is a cloud site connected by the terminal device through the target operator network.
  • the target operator network that satisfies the first specified condition and the target cloud site that meets the second specified condition, so that the target operation with better signal quality at the location of the terminal device can be determined.
  • the terminal device After the terminal device connects to the target cloud site through the target operator network, it can ensure high communication quality between the terminal device and the target cloud site.
  • the signal quality of each operator network in each area collected by the cloud site is acquired, and the network quality of the cloud site in each area is acquired, where the operator network includes terminals connected to the cloud site The carrier network used by the device. Since the collected data includes the signal quality of each operator's network in each region and the network quality of the cloud site in each region, the operator network and cloud site with better quality can be selected for the terminal device according to the collected data.
  • the area identifier of the first area where the terminal device is located is determined according to the location information. According to the area identifier of the first area, the signal quality of each operator network in the first area is obtained; according to the signal quality of each operator network in the first area, an operator network that satisfies the first specified condition is determined as the target operation business network. In this way, a target operator network with better signal quality can be determined, and the terminal device communicates with the cloud site through the target operator network, which ensures high communication quality between the terminal device and the cloud site.
  • the area identifier of the first area where the terminal device is located is determined according to the location information. Obtain the network quality of each cloud site in the first area according to the area identifier of the first area; determine a cloud site that satisfies the second specified condition as the target cloud site according to the network quality of each cloud site in the first area. In this way, the target cloud site with better network quality can be determined, and when the terminal device communicates with the target cloud site, it is ensured that there is a high communication quality between the terminal device and the target cloud site.
  • the network quality of each cloud site in the target operator network in the first area is acquired according to the area identifier of the first area and the network identifier of the target operator network; according to the acquired network quality, determine One cloud site that satisfies the second specified condition is used as the target cloud site. This ensures that the network quality of the determined target cloud site in the target operator's network is also high, thereby further improving the communication quality between the terminal device and the target cloud site.
  • the first specified condition includes one or more of an operator network whose signal quality exceeds a first quality threshold, an operator network capable of providing packages subscribed by the terminal device, and an operator network with the lowest cost
  • the second specified condition includes one or more of the cloud sites whose network quality exceeds the second quality threshold and the cloud sites with the lowest cost.
  • connection request further includes the device identifier of the terminal device.
  • Send a handover command to the remote customer identity module configuration service RSP the handover command includes the target operator's network identity and the device identity, and the handover command is used to instruct the RSP to write SIM card data belonging to the target operator's network to the terminal device. Since the RSP can be directly triggered to write SIM card data to the terminal device, the process of writing SIM card data is simplified while ensuring security.
  • connection request further includes the device identifier of the terminal device.
  • the SIM card data acquisition request is used to acquire SIM card data of the target operator network; write the SIM card data to the terminal device.
  • connection response is sent to the terminal device, where the connection response includes a site identifier of the target cloud site, and the connection response is used to trigger the terminal device to access the target cloud site. Since the connection response is directly sent to the terminal device, the process of switching the target cloud site for the terminal device can be simplified.
  • the area identifier of the first area includes the cell identifier of the cell where the terminal device is located and the area code of the location area where the terminal device is located.
  • the network quality of the cloud site in the first area includes at least one of bandwidth, delay, jitter, and packet loss rate of the cloud site in the first area.
  • the target operator network is used to provide the terminal device with a cellular network connection.
  • the present application provides a method for connecting to a cloud site.
  • a connection request sent by a terminal device is received, where the connection request includes location information of the terminal device.
  • Send the connection request to the data center server where the connection request is used by the data center server to determine the target operator network that satisfies the first specified condition and the target cloud site that meets the second specified condition according to the location information and the data collected by the cloud site.
  • the target cloud site is a cloud site accessed by the terminal device through the target operator network.
  • the data center server can select the target operator network with better signal quality at the location of the terminal device and the network quality according to the location information and the data collected by the cloud site. After the terminal device connects to the target cloud site through the target operator's network, the terminal device can ensure high communication quality between the terminal device and the target cloud site.
  • a connection response sent by the data center server is received, where the connection response includes the network identifier of the target operator network or the data of the customer identification module SIM card belonging to the target operator network.
  • the SIM card data is written into the eSIM of the terminal device, and the SIM card data is used for the terminal device to access the target operator network. Since the connection response of the data center server is received, the interaction process of writing SIM card data between the distribution server and the terminal device can be reused, so that the implementation logic of the terminal device does not need to be modified, and the implementation cost is reduced.
  • connection response sent by the data center server is received, where the connection response includes the site identifier of the target cloud site. Control the terminal device to switch to the target cloud site corresponding to the site ID. Since the connection response of the data center server is received, the interaction process of switching cloud sites between the distribution server and the terminal device can be reused, so that the implementation logic of the terminal device does not need to be modified, and the implementation cost is reduced.
  • the present application provides an apparatus for connecting a cloud site, which is used to execute the method in the first aspect or any possible implementation manner of the first aspect.
  • the apparatus includes a unit for performing the method in the first aspect or any possible implementation manner of the first aspect.
  • the present application provides an apparatus for connecting a cloud site, which is used to execute the method in the second aspect or any possible implementation manner of the second aspect.
  • the apparatus includes a unit for performing the method in the second aspect or any one possible implementation manner of the second aspect.
  • the present application provides an apparatus for connecting a cloud site, the apparatus including a transceiver, a processor and a memory.
  • the transceiver, the processor and the memory may be connected through an internal connection.
  • the memory is used to store programs, instructions or codes
  • the processor is used to execute the programs, instructions or codes in the memory and cooperate with the transceiver, so that the apparatus accomplishes the first aspect or any possible implementation of the first aspect method in method.
  • the present application provides an apparatus for connecting a cloud site, the apparatus including a transceiver, a processor and a memory.
  • the transceiver, the processor and the memory may be connected through an internal connection.
  • the memory is used to store programs, instructions or codes
  • the processor is used to execute the programs, instructions or codes in the memory and cooperate with the transceiver, so that the apparatus accomplishes the second aspect or any possible implementation of the second aspect method in method.
  • the present application provides a computer program product, the computer program product includes a computer program stored in a computer-readable storage medium, and the computer program is loaded by a processor to implement the first aspect, the first aspect, and the third aspect.
  • the second aspect any possible implementation manner of the first aspect, or any possible implementation manner of the second aspect.
  • the present application provides a computer-readable storage medium for storing a computer program, the computer program being loaded by a processor to execute the first aspect, the second aspect, any possible implementation manner of the first aspect or Instructions for the method of any possible implementation of the second aspect.
  • the present application provides a system for connecting a cloud site, the system includes the device described in the third aspect and the device described in the fourth aspect, or the system includes the device described in the fifth aspect and The device of the sixth aspect.
  • FIG. 1 is a schematic structural diagram of a network architecture provided by an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of another network architecture provided by an embodiment of the present application.
  • FIG. 3 is a flowchart of a method for connecting to a cloud site provided by an embodiment of the present application
  • FIG. 4 is a schematic structural diagram of a device for connecting to a cloud site provided by an embodiment of the present application
  • FIG. 5 is a schematic structural diagram of another device for connecting to a cloud site provided by an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of another device for connecting to a cloud site provided by an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of another apparatus for connecting to a cloud site provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a system for connecting a cloud site provided by an embodiment of the present application.
  • the present application provides a network architecture
  • the network architecture includes:
  • a data center server establishes a network with the RSP, the distribution server, and each cloud site in the at least one cloud site, respectively connect.
  • RSP remote subscriber identity module provisioning
  • the at least one cloud site is a cloud site to be managed by the data center server.
  • the data center server and the at least one cloud site are deployed in the cloud, and the at least one cloud site includes a public cloud site and/or a private cloud site.
  • each cloud site in the at least one cloud site is mainly used for collecting data and sending the collected data to a data center server.
  • the collected data includes the signal quality of each operator's network in each area, and the network quality of the cloud site in each area.
  • the operator network includes each operator network to which all terminal devices connected to the cloud site access.
  • the distribution server is used to forward data between the terminal device and the data center server.
  • the data center server is used to determine the carrier network and cloud site that meet the specified conditions based on the data collected by the cloud site.
  • RSP is used to save SIM card data of each operator's network.
  • a terminal device is a terminal that requests access, and is used to request access to the operator's network and to connect to cloud sites.
  • the terminal device is connected to the distribution server and sends a connection request to the distribution server.
  • the distribution server forwards the connection request to the data center server.
  • the data center server determines the target operator network that satisfies the first specified condition and the target cloud site that satisfies the second specified condition, sends the site identifier of the target cloud site, and writes to the terminal device.
  • SIM card data belonging to the target operator's network.
  • the distribution server forwards the site identification to the terminal device. In this way, the terminal device accesses the target operator network according to the SIM card data, and connects to the target cloud site in the target operator network according to the site identifier.
  • the following methods can be used to write SIM card data belonging to the target operator network to the terminal device, and the methods are as follows:
  • Mode 1 The data center server directly triggers the RSP to write SIM card data belonging to the target operator network to the terminal device.
  • Manner 2 The data center server sends the network identifier of the target operator network to the distribution server, so that the distribution server triggers the RSP to write SIM card data belonging to the target operator network to the terminal device.
  • the data center server obtains the SIM card data belonging to the target operator network from the RSP, sends the SIM card data to the distribution server, and the distribution server forwards the SIM card data to the terminal device.
  • the distribution server and the data center server can be integrated, as shown in FIG. 2 , in the case of integration, the terminal device directly sends a connection request to the data center server.
  • the data center server directly sends the site identifier of the target cloud site to the terminal device.
  • the data center server can write the SIM card data to the terminal device in the following two ways. The two methods are:
  • Mode 1 The data center server directly triggers the RSP to write SIM card data belonging to the target operator network to the terminal device.
  • the data center server obtains the SIM card data belonging to the target operator network from the RSP, and sends the SIM card data to the terminal device.
  • the so-called operator network refers to a network that provides mobile communication access for the first terminal device, such as a long term evolution (long term evolution, LTE) network.
  • LTE long term evolution
  • the first terminal device is a device including an eSIM, and the eSIM is used to save the written data of the SIM card.
  • the first terminal device may be an M2M device or a user equipment, and the user equipment may be a wearable device or the like.
  • the first specified condition includes any one or more of the following conditions: 1) an operator network whose signal quality exceeds the first quality threshold; 2) an operator network capable of providing the package subscribed by the first terminal device; 3) cost One or more of the lowest carrier network, etc.
  • the second specified condition includes any one or more of the following conditions: 1) a cloud site whose network quality exceeds the second quality threshold; 2) one or more of a cloud site with the lowest cost, and the like.
  • the data center server obtains the data collected by the cloud site.
  • the distribution server forwards the connection request sent by the terminal device to the data center server.
  • the data center server determines the target operator network that meets the first specified condition and the target cloud site that meets the second specified condition, so that the target operator with better quality and lower cost can be determined Network and target cloud sites.
  • the data center server writes the SIM card data belonging to the target operator's network to the terminal device and informs the terminal device of the target cloud site.
  • the terminal device accesses the target operator's network according to the SIM card data, and connects to the target cloud site, which can ensure higher communication quality between the terminal device and the target cloud site, and reduce communication costs.
  • an embodiment of the present application provides a method for connecting a cloud site, and the method can be applied to the network architecture shown in FIG. 1, including:
  • Step 301 The data center server acquires data collected by each cloud site.
  • Each cloud site is a cloud site that the data center server can manage.
  • the device identification of the data center server may be stored in each cloud site, so that each cloud site sends data to the data center server based on the device identification, so that the data center server manages each cloud site.
  • the collected data includes the first signal quality of each operator network in each area, and the network quality of each cloud site in each area.
  • the collected data includes first collected data and second collected data.
  • the first collected data is used to describe the first signal quality of each operator network in each area
  • the second collected data is used to describe the network quality of each cloud site in each area.
  • the first collected data includes at least one piece of first data, and for each piece of first data, the first data includes a network identifier of an operator network, an area identifier of an area, and a first signal quality.
  • the first data is used to describe the first signal quality of the operator network in the area.
  • the first data may only include the network identifier of the operator's network, the area identifier of the area, and the first signal quality.
  • the first data may further include other information, for example, the first data may further include the network type of the operator's network.
  • the network types of the operator's network include one or more of 3G network types, 4G network types, and 5G network types.
  • the second collected data includes at least one piece of second data, and for each piece of second data, the second data includes a site identifier of a cloud site, an area identifier of an area, and network quality.
  • the second data is used to describe the network quality of the cloud site in the area.
  • the second data may only include the site identifier of the cloud site, the area identifier of the area, and the network quality.
  • the second data may further include other information, for example, the second data may further include the network identifier of the operator's network, so that the second data is used to describe the cloud site in the area and under the operator's network network quality.
  • the new terminal device For a new terminal device that needs to access a cloud site, the new terminal device needs to be connected to a cloud site through an operator network.
  • the new terminal device is referred to as the first terminal device.
  • the terminal device has been connected to an operator network, and the terminal device may need to switch to an operator network with higher signal quality in its area or a cloud with higher network quality
  • the site is also referred to as the terminal device as the first terminal device.
  • the first terminal device is implemented through operations such as steps 302 to 309 .
  • Step 302 The first terminal device sends a connection request to the distribution server, where the connection request includes the device identification and location information of the first terminal device.
  • the first terminal device establishes a network connection with the distribution server, obtains its own location information, and sends a connection request to the distribution server through the network connection.
  • the location information of the first terminal device is an area identifier of the first area where the first terminal device is located or the coordinates of the first terminal device.
  • the area identifier of the first area includes one or more of the cell identifier of the cell where the first terminal device is located, the area code of the location area where the first terminal device is located, and the like.
  • the cell where the first terminal device is located may be the same as or different from the location area where the first terminal device is located.
  • the cell where the first terminal device is located may include a location area where the first terminal device is located, that is, the location area where the first terminal device is located is a part of the cell where the first terminal device is located.
  • the location area where the first terminal device is located may include a cell where the first terminal device is located, that is, the cell where the first terminal device is located is a part of the location area where the first terminal device is located.
  • the process of establishing the network connection by the first terminal device is as follows:
  • the first terminal device When the first terminal device is a new terminal device that needs to access the cloud site, data of a SIM card belonging to a certain operator network is stored in the first terminal device when the first terminal device leaves the factory.
  • the first terminal device accesses the operator network through the SIM card data, and establishes a network connection with the distribution server in the operator network.
  • the first terminal device is connected to an access point, and a network connection with the distribution server is established through the access point, and the access point may be an access point of a wifi network or a Bluetooth access point or the like.
  • the first terminal device When the first terminal device is a terminal device that has accessed the operator's network, the first terminal device directly establishes a network connection with the distribution server in the operator's network.
  • the process for the first terminal device to acquire the location information may be:
  • the first terminal device In the case where the first terminal device is connected to the operator's network, since the operator's network is a network accessed by mobile communication, the first terminal device is located in a cell and a location area in the operator's network, therefore, the first terminal The device obtains the area identifier of the first area in which it is located from the operator's network, or the first terminal device uses the access network element in the operator's network to locate itself to obtain its own coordinates, and the access network element It can be a base station, etc. When the first terminal device is connected to the access point, the first terminal device obtains its own location information by using the access point.
  • the first terminal device obtains coordinates of at least three access network elements in the operator's network, and measures the distance between the first terminal device and each of the at least three access network elements. Based on the coordinates of each access network element and the distance between the first terminal device and each access network element, the first terminal device is positioned to obtain the coordinates of the first terminal device.
  • the access request may further include the network identifier of the operator's network. And/or, when the first terminal device has been connected to the cloud site, the access request may further include the site identifier of the cloud site.
  • Step 303 The distribution server receives the connection request, and sends the connection request to the data center server.
  • the distribution server obtains the area identifier of the first area where the first terminal device is located according to the coordinate, replaces the coordinate included in the connection request with the area identifier, and sends the data to the data
  • the central server sends the connection request.
  • the distribution server does not process the coordinates, and sends the connection request to the data center server, where the connection request including the location information is still the coordinates.
  • Step 304 The data center server receives the connection request, and determines a target operator network that satisfies the first specified condition according to the location information included in the connection request and the collected data.
  • the first specified condition includes at least one of an operator network whose signal quality exceeds the first quality threshold, an operator network capable of providing a subscription package for the first terminal device, and an operator network with the lowest cost.
  • the data center server may determine the target operator network through the following operations 3041 to 3043.
  • the operations of the 3041 to 3043 are:
  • the data center server determines, according to the location information of the first terminal device, an area identifier of the first area where the first terminal device is located.
  • the location information included in the connection request is an area identifier
  • the location information included in the connection request is used as an area identifier of the first area where the first terminal device is located.
  • the location information included in the connection request is the coordinates
  • the first area where the first terminal device is located is determined according to the coordinates, and the area identifier of the first area is acquired.
  • the data center server acquires, according to the area identifier of the first area, the first signal quality of each operator network in the first area.
  • the corresponding network identifiers of each operator's network and the first signal quality of each operator's network in the first area are acquired from the first collected data.
  • each piece of first data in the first collected data further includes the network type of the operator's network, according to the area identifier of the first area, the network type of each operator's network can also be obtained from the first collected data.
  • the data center server determines, according to the first signal quality of the respective operator networks in the first area, an operator network that satisfies the first specified condition as the target operator network.
  • the data center server determines an operator whose first signal quality exceeds the first quality threshold from the acquired network identifiers of each operator's network according to the first signal quality of each operator's network in the first area
  • the network identifier of the network, the operator network corresponding to the determined network identifier is the target operator network.
  • the service transmission efficiency is improved when the first terminal device accesses the target operator network and uses the target operator network to transmit services.
  • the conditions on which the data center server determines the target operator network may only include the first signal quality of the operator network, or may also include other conditions.
  • the other conditions include a package subscribed by the first terminal device, that is, the conditions on which the data center server determines the target operator network include the first signal quality and the first signal quality of the operator network and the first A package subscribed by a terminal device.
  • the process of determining the target operator network may be:
  • the data center server determines the package subscribed by the first terminal device according to the device identifier of the first terminal device, and determines the network identifier of the operator network that can provide the package from the acquired network identifiers of each operator network, and determines the network identifier of the operator network that can provide the package.
  • the network identifier of an operator network whose first signal quality exceeds the first quality threshold is determined, and the operator network corresponding to the determined network identifier is the target operator network.
  • the determined target operator network can provide the package subscribed by the first terminal device, it is ensured that the first terminal device can use the operator network to transmit services after accessing the target operator network.
  • the process of determining the package subscribed by the first terminal device may include: the data center server obtains, according to the device identifier of the first terminal device, the package identifier subscribed by the first terminal device from package subscription data, where the package subscription data includes at least one subscription Data, for each piece of subscription data, the subscription data includes the device identifier of the terminal device and the package identifier of the package, and the subscription data is used to describe that the terminal device subscribes to the package.
  • the data center server determines the package subscribed by the first terminal device according to the package identifier.
  • the subscription data of the package may be stored in the data center server.
  • the user may subscribe to a package for the first terminal device in advance, and there is a piece of subscription data in the package subscription data, and the subscription data includes the device identifier of the first terminal device and the package identifier of the package subscribed for the first terminal device.
  • determining the network identifier of the operator network that can provide the package may include: the package subscribed by the first terminal device may define the network type of the operator network that can provide the package, and in operation 3042, the data center server also obtains the The network type of each operator's network. In 3043, according to the network type of the operator network defined by the package, the network identifier of the operator network capable of providing the package is determined from the network identifiers of the respective operator networks. or,
  • the data center server obtains the network identifiers of each operator network that can provide the package according to the package identifier of the package subscribed by the first terminal device, the network identifier of each operator network, and the package attribution data.
  • the package attribution data includes at least one piece of attribution data.
  • the attribution data includes a package identifier of the package and a network identifier of the operator network, and the attribution data is used to describe that the operator network provides the package.
  • the data attributable to the package can be stored in the data center server.
  • the other condition further includes the price of the package provided by each operator network, that is, the condition on which the data center server determines the target operator network includes the first signal quality of the operator network , the package subscribed by the first terminal device and the price of the package provided by the operator network.
  • the process of determining the target operator network may be:
  • the data center server For the operator network that can provide the package, the data center server also obtains the price of each operator network that provides the package, and determines, from the network identifiers of the operator networks that can provide the package, that the quality of the first signal exceeds the first quality threshold And the network identifier of an operator network with the lowest price of the package, and the operator network corresponding to the determined network identifier is the target operator network, so as to determine an operator network whose first signal quality exceeds the first quality threshold and has the lowest cost network identity.
  • the target operator network provides the lowest price of the package subscribed by the first terminal device, in this way, the first terminal device uses the target operator network to transmit services, which can reduce the usage cost.
  • the data center server obtains the price of the package provided by each operator network from the package price data according to the package identifier subscribed by the first terminal device and the network identifier of each operator network.
  • the package price data includes at least one piece of price data.
  • the price data includes a package identifier of the package, a network identifier and price of the operator network, and the price data is used to describe the price at which the operator network provides the package.
  • Step 305 The data center server determines a target cloud site that satisfies the second specified condition according to the location information and the collected data.
  • the second specified condition includes at least one of a cloud site whose network quality exceeds the second quality threshold, a cloud site with the lowest cost, and the like.
  • the data center server may determine the target cloud site through the following operations 3051 to 3052.
  • the operations of the 3051 to 3052 are:
  • the data center server acquires the network quality of each cloud site in the first area according to the area identifier of the first area.
  • each piece of second data in the second collection data includes the area identifier of the area, the site identifier of the cloud site, and the network quality
  • the data center server obtains the corresponding area identifier from the second collection data according to the area identifier of the first area The site identifier of each cloud site and the network quality of each cloud site in the first area.
  • each piece of second data in the second collection data also includes the network identifier of the operator's network
  • the data center server obtains from the second collection data according to the area identifier of the first area and the network identifier of the target operator's network The corresponding site identifiers of each cloud site and the network quality of each cloud site in the first area and under the target operator network.
  • the data center server determines, according to the acquired network quality, a target cloud site that satisfies the second specified condition.
  • the data center server determines, from the acquired site identifiers of each cloud site, the site identifier of a cloud site whose network quality exceeds the second quality threshold, and the cloud site corresponding to the determined site identifier is the target cloud site.
  • the service transmission efficiency is improved.
  • the conditions on which the data center server determines the target cloud site may only include the network quality of the cloud site, or may also include other conditions.
  • the other conditions include the service price provided by the cloud site, so in 3052, the data center server obtains the service price provided by each cloud site according to the acquired site identifier of each cloud site; From the acquired site identifiers of each cloud site, the data center server determines the site identifier of the cloud site whose network quality exceeds the second quality threshold and provides the lowest service price, and the cloud site corresponding to the determined site identifier is a cloud site whose network quality exceeds the second quality Threshold and lowest cost target cloud site.
  • the use cost of the user can be reduced after the first terminal device is connected to the target cloud site.
  • the process for the data center server to obtain the service price provided by each cloud site may be as follows: the data center server obtains the service price provided by each cloud site from service price data according to the site identifier of each cloud site, and the service price data includes: At least one piece of price data, the price data includes the site identifier of the cloud site and the service price, and the price data is used to describe the service price of the service provided by the site.
  • the service price data may be stored in the data center server.
  • step 304 may be performed first, and then the step 305 may be performed; or, the step 305 and the step 304 may be performed at the same time; or, the step 305 may be performed first, and then the step 304 may be performed.
  • step 304 when acquiring the site identifier of each cloud site in 3051, if the network identifier of the target operator network needs to be used as the acquisition condition, the above step 304 needs to be performed first, and then the step 305 is performed.
  • the data center server needs to first determine the area identifier of the first area where the first terminal device is located according to the location information of the first terminal device, and then according to the area identifier and the collected data, Determine the target cloud site.
  • Step 306 The data center server sends a first connection response to the distribution server, where the first connection response includes the network identifier of the target operator network and the site identifier of the target cloud site.
  • the data center server determines whether the operator network to which the first terminal device has accessed is the same as the target operator network. In the case where it is determined to be different, the connection response includes the network identifier of the target operator network, and the data center server uses the connection response to trigger the first terminal device to switch from the operator network that has been accessed to the target operator network. If it is determined to be the same, the connection response may not include the network identifier of the target operator network, and in this case, the first terminal device may not switch the operator network.
  • the operation of the data center server to determine whether the operator network to which the first terminal device has accessed and the target operator network are the same may be: in the case that the connection request includes the network identifier of the operator network to which the first terminal device has accessed , the data center server compares the network identification of the operator network that has been accessed with the network identification of the target operator, and if the comparison shows that the two are the same, it is determined that the operator network that the first terminal device has accessed is the same as the target operator network , if the comparison shows that the two are different, it is determined that the operator network to which the first terminal device has accessed is different from the target operator network.
  • the data center server also determines whether the cloud site to which the first terminal device has been connected is the same as the target cloud site. In the case that it is determined to be different, the connection response includes the site identification of the target cloud site, and the data center server uses the connection response to trigger the first terminal device to switch from the connected cloud site to the target cloud site. If it is determined to be the same, the connection response may not include the site identifier of the target cloud site, and in this case, the first terminal device may not switch the cloud site.
  • Step 307 The distribution server receives the first connection response, and sends a handover command to the RSP, where the handover command includes the device identifier of the first terminal device and the network identifier of the target operator network.
  • Step 308 The distribution server sends a second connection response to the first terminal device, where the second connection response includes the identifier of the target cloud site, and is used to instruct the first terminal device to switch the cloud site.
  • the distribution server will not send the switching command to the RSP, but will continue to send the second connection response to the first terminal device.
  • the first connection response does not include the site identifier of the target cloud site.
  • the distribution server sends a handover command to the RSP, and can continue to send the second connection response to the first terminal device, or stop sending the first terminal device.
  • the second connect response but the second connect response does not include content.
  • the distribution server may send the switching command and the second connection response at the same time, or send the switching command first and then send the second connection response, or send the second connection response first and then send the switching command.
  • Step 309 The RSP receives the handover command, and writes the SIM card data belonging to the target operator network into the eSIM of the first terminal device according to the handover command.
  • the RSP receives the handover command, extracts the network identity of the target operator network and the device identity of the first terminal device from the handover command, and obtains the SIM belonging to the target operator network according to the network identity of the target operator network Card data, according to the device identifier of the first terminal device, write the SIM card data into the eSIM of the first terminal device.
  • the process of writing the SIM card data into the eSIM of the first terminal device by the RSP may be as follows: the RSP stores the device identification of the first terminal device and the SIM card data correspondingly, and sends the data to the first terminal device according to the device identification of the first terminal device.
  • the terminal device sends a download notification.
  • the first terminal device After receiving the download notification, the first terminal device sends a download request to the RSP, where the download request includes the device identifier of the first terminal device.
  • the RSP acquires the SIM card data corresponding to the device identifier, and sends the SIM card data to the first terminal device.
  • the first terminal device receives the SIM card data, and saves the SIM card data in the eSIM of the first terminal device.
  • the SIM card data includes at least one of IMSI, key identifier (Ki) and authentication and key agreement (authentication and key agreement, AKA).
  • the data center server directly triggers the RSP to write the SIM card data to the first terminal device.
  • the data center server sends a handover command to the RSP, where the handover command includes the device identification of the first terminal device and the network identification of the target operator network.
  • the first connection response sent by the data center server to the distribution server does not include the network identifier of the target operator network.
  • the RSP receives the handover command, and writes the SIM card data belonging to the target operator network into the eSIM of the first terminal device according to the handover command.
  • the data center server acquires the SIM card data from the RSP, and then triggers the distribution server to write the SIM card data to the first terminal device.
  • the data center server sends a SIM card acquisition request to the RSP, where the SIM card acquisition request includes the network identifier of the target operator network.
  • the RSP receives the SIM card acquisition request, acquires SIM card data belonging to the target operator network according to the network identifier of the target operator network, and sends a SIM card acquisition response to the data center server, where the SIM card acquisition response includes the SIM card data.
  • the data center server sends a first connection response to the distribution server, where the first connection response includes the SIM card data.
  • the distribution server sends a second connection response to the first terminal device, where the second connection response includes the SIM card data.
  • the first terminal device receives the second connection response, and saves the SIM card data in the eSIM of the first terminal device.
  • Step 310 The first terminal device receives the second connection response, accesses the target operator network according to the SIM card data, and connects to the target cloud site through the target operator network according to the site identifier of the target cloud site included in the second connection response.
  • the first terminal device establishes a network connection with the target cloud site in the target operator network according to the site identifier of the target cloud site, so as to connect to the target cloud site.
  • the first terminal device requests the target operator network and the target cloud site by sending a connection request.
  • the first terminal device may also request the target operator network and the target cloud site by sending two connection requests, where the two requests are an eSIM connection request and a site connection request respectively.
  • the first terminal device sends an eSIM connection request to the distribution server, where the eSIM connection request includes the device identification and location information of the first terminal device.
  • the distribution server sends the eSIM connection request to the data center server, and the data center server receives the eSIM connection request, determines the target operator network according to the location information and the collected data, and writes the device identification to the eSIM of the first terminal device.
  • SIM card data belonging to the target operator's network.
  • the first terminal device sends a site connection request to the distribution server, where the site connection request includes the device identification and location information of the first terminal device.
  • the distribution server sends the site connection request to the data center server.
  • the data center server receives the site connection request, determines the target cloud site according to the location information and the collected data, and sends the site connection response to the distribution server, where the site connection response includes the site identifier of the target cloud site.
  • the distribution server sends the site connection response to the first terminal device.
  • the first terminal device accesses the target operator network according to the SIM card data, and when receiving the site connection response, connects to the target cloud site through the target operator network according to the site identifier of the target cloud site.
  • the first terminal device may only send an eSIM connection request.
  • the data center server may determine the target operator according to the eSIM connection request, and may not continue to determine the target cloud site.
  • the first terminal device obtains the SIM card data belonging to the target operator, it accesses the target operator network according to the SIM card data, and establishes a network connection with the cloud site in the target operator network, so as to realize the signal Connect to this cloud site in a higher quality target carrier network.
  • the first terminal device may only send a site connection request.
  • the data center server may determine the target cloud site according to the site connection request, and may determine the target operator network.
  • the first terminal device obtains the site identification of the target cloud site, according to the site identification, establishes a network connection with the target cloud site in the network of the operator that has been accessed, so as to connect to the target cloud with higher network quality site.
  • the distribution server can be integrated with the data center server, so that in the case of integration, the first terminal device directly sends a connection request to the data center server, and the data center server sends a connection response to the first terminal device. . That is, the operations of step 303 and step 307 need not be performed.
  • the first terminal device sends a connection request to the data center server.
  • the data center server sends a handover command to the RSP, and sends a first connection response to the first terminal device, the handover command includes the device identification of the first terminal device and the network identification of the target operator network, and the first connection response Include the site ID of the target cloud site.
  • the data center server may also use other methods to write the SIM card data to the first terminal device.
  • the data center server acquires SIM card data from the RSP, and sends the SIM card data to the first terminal device.
  • the data center server sends a SIM card acquisition request to the RSP, where the SIM card acquisition request includes the network identifier of the target operator network.
  • the RSP receives the SIM card acquisition request, acquires SIM card data belonging to the target operator network according to the network identifier of the target operator network, and sends a SIM card acquisition response to the data center server, where the SIM card acquisition response includes the SIM card data.
  • the data center server sends a first connection response to the first terminal device, where the first connection response includes the SIM card data and the site identifier of the target cloud site.
  • the cloud site For the first collected data in step 301, the cloud site first collects the second signal quality of each operator's network in each area, and then the data service center, for each area, collects each operator's network collected by different cloud sites in the The second signal quality in each area is averaged to obtain the first signal quality of each operator network in each area, thereby obtaining the first collected data.
  • the data center server may acquire the first collected data by using the following operations 3011 to 3014 .
  • the operations of 3011 to 3014 are:
  • the cloud site receives the first measurement information sent by the second terminal device.
  • the first measurement information includes the location information of the second terminal device, the network identifier of an operator's network, and the signal strength of the operator's network.
  • the second terminal device is The terminal device that has accessed the cloud site, and the operator network is the operator network accessed by the second terminal device.
  • the second terminal device measures the signal strength of the operator's network to which it is connected when accessing the cloud site, and sends first measurement information including the signal strength to the cloud site.
  • the second terminal device may periodically or irregularly measure the signal strength of the operator network to which it accesses and send the first measurement information including the signal strength to the cloud site.
  • the location information of the second terminal device is the coordinates of the second terminal device or the area identifier of the second area, and the second area is the area where the second terminal device is located.
  • the signal strength of the operator's network may be information such as a received signal strength indication (received signal strength indication, RSSI).
  • RSSI received signal strength indication
  • the first measurement information may only include several kinds of information listed above, or the first measurement information may also include other information.
  • the first measurement information may further include information such as the device identification of the second terminal device and/or the network type of the operator's network.
  • An operator may have operator networks of different network types, for example, an operator has one or more of a 3G network type operator network, a 4G network type operator network, a 5G network type operator network, etc. business network.
  • the device identifier of the second terminal device includes an integrated circuit card identity (iccid), an international mobile subscriber identity (imsi), and an international mobile equipment identity (international mobile equipment) of the second terminal device. one or more of identity, IMEI).
  • the network identifier of the operator's network includes the mobile country code (MCC) and the mobile network code (MNC) of the operator's network.
  • the area identifier of the second area includes one or more of the cell identifier of the cell where the second terminal device is located and the area code of the location area where the second terminal device is located.
  • each terminal device that has been connected to the cloud site acquires the first measurement information, and sends the first measurement information to the cloud site. Therefore, the cloud site can receive the first measurement information sent by different terminal devices in different areas.
  • the cloud site acquires the second signal quality of each operator network in each area according to the received first measurement information, and obtains third collection data.
  • the third collection data is used to describe the second signal quality of each operator network on the cloud site in each area, the third collection data includes at least one piece of third data, and each piece of third data includes the area identifier of the area, the operation The network identifier and the second signal quality of the operator network, and the third piece of data is used to represent the second signal quality of the operator network in the area.
  • the cloud site may obtain the first signal quality of each operator network in each area through the following operations (1-1) to (1-3).
  • the operations of (1-1) to (1-3) are:
  • the cloud site selects the first measurement information sent by each terminal device in the second area from the received first measurement information.
  • the cloud site selects the first measurement information including the area identifier of the second area from the received first measurement information, and obtains the first measurement information sent by each terminal device in the second area.
  • the cloud site determines the second area where the second terminal device is located according to the coordinates, and uses the first measurement information as the second area in the second area.
  • the first measurement information sent by the terminal device is the coordinates
  • the cloud site classifies the first measurement information of different operator networks in the first measurement information sent by each terminal device in the second area.
  • the first measurement information including the same network identifier is classified as the first measurement information belonging to the same operator network, thus classifying the same operator network in the second area
  • the first measurement information within is classified into one category.
  • the second area is covered by operator network A and operator network B
  • the first measurement information of operator network A in the first measurement information sent by each terminal device in the second area, the first measurement information of operator network A and the operation The first measurement information of the business network B.
  • the cloud site calculates the second signal quality of the operator network in the second area according to the signal strength included in each first measurement information of the same operator network.
  • the cloud site repeatedly performs the operations from (1-1) to (1-3) above to obtain third collection data.
  • the third collection data includes at least one piece of third data, and each piece of third data includes the area identifier of the area, the The network identifier and the second signal quality, or each piece of third data includes the area identifier of the area, the network identifier of the operator's network, the network type of the operator's network, and the second signal quality, and the third piece of data is used to indicate the The second signal quality of the operator's network in the area.
  • operator network A calculate the average signal strength according to the signal strength included in each first measurement information of operator network A, and use the average signal strength as the second signal quality of operator network A in the second area. Assuming that the quality of the second signal is 100, a piece of third data is obtained in this way.
  • the piece of third data is the second row of data in Table 1 below, that is, the piece of third data includes the area identifier AreaID1 of the second area, the operator network A
  • the network identifies NetIDA and the second signal quality 100.
  • For operator network B calculate the average signal strength according to the signal strength included in each first measurement information of operator network B, and use the average signal strength as the second signal quality of operator network B in the second area. Assuming that the quality of the second signal is 90, a piece of third data is obtained in this way, which is the third row of data in Table 1 below, that is, the third piece of data includes the area identifier AreaID1 of the second area, the operator network B The network identifies NetIDB and the second signal quality 90.
  • the cloud site repeatedly performs the above operations (1-1) to (1-3) to collect the second signal quality of each operator's network in different areas, so as to obtain different third data, the different third data.
  • the data constitutes the third collection data shown in Table 1 below.
  • Area ID network identity second signal quality AreaID1 NetIDA 100
  • AreaID1 NetIDB 90
  • the cloud site sends the third collection data to the data center server.
  • For each other cloud site respectively perform the operations of 3011 to 3013 to send the third collection data to the data center server.
  • Different terminal devices located in the same area may access different cloud sites, so different cloud sites may send second signal qualities of different operator networks in the same area. For example, suppose that some terminal devices in the second area connect to cloud site 1, and the remaining terminal devices in the second area connect to cloud site 2, so that cloud site 1 can collect information about the network of each operator in the second area. The second signal quality in the data center is obtained, the third collected data is obtained, and the third collected data is sent to the data center server.
  • the cloud site 2 may also collect the first signal quality of each operator's network in the second area, obtain the third collection data, and send the third collection data to the data center server.
  • the third piece of third data sent by cloud site 1 there may be a third piece of third data (called the third piece of data sent by cloud site 1) in the third collection data sent by cloud site 1.
  • Data 1) there may be a third piece of third data (called third data 2) in the third collected data sent by cloud site 2.
  • the third data 1 and the third data 2 include the same region ID and the same operator.
  • the network identifier of the network, but the second signal quality included in the third data 1 and the second signal quality included in the third data 2 may be the same or may be different.
  • the data center server receives the third collection data sent by different cloud sites, obtains the first signal quality of each operator network in different areas according to the third collection data sent by the different cloud sites, and obtains the first collection data.
  • the second signal quality of the operator network in the area is obtained from the third collection data sent by each cloud site, and according to the obtained second signal quality Calculate the average signal quality by quality, and use the average signal quality as the first signal quality of the operator network in the area, so as to obtain a piece of first data, where the first data includes the area identifier of the area, the operator network The network identifier and the first signal quality, or the first data includes the area identifier of the area, the network identifier of the operator's network, the network type of the operator's network, and the first signal quality.
  • the first signal quality of each operator network in each area is acquired in the same manner as described above, thereby obtaining different first data, and the different first data constitutes the first collected data.
  • the data center server may also obtain the first signal quality of each operator's network in different areas through other methods.
  • each cloud site may send the received first measurement information of different terminal devices to the data center server.
  • the data center service receives the first measurement information of different terminal devices, and from the received first measurement information, divides the first measurement information belonging to the same area and the same operator network into a type of first measurement information, according to the type of first measurement information.
  • the average signal strength is calculated from the signal strength included in each first measurement information in the measurement information, and the average signal strength is taken as the first signal quality of the operator network in the area.
  • the data center server obtains the first signal quality of each operator's network in different areas through the process of 3111 to 3114, since each cloud site directly obtains the second signal quality of each operator's network in different areas, Then, the second signal quality of each operator's network in different areas is sent to the data center server, which can reduce the amount of data sent, reduce the occupation of network resources, and also reduce the amount of data processed by the data center server. The efficiency of obtaining the first signal quality of each operator's network in different areas is improved.
  • each cloud site For the second collection data stored in the data center service in step 301, each cloud site first collects its network quality in each area, obtains the second collection data, and sends the second collection data to the data center server.
  • the data center server receives the second collection data sent by each cloud site, and stores the second collection data of each cloud site.
  • the cloud site may collect the network quality of the cloud site in each region through the following operations 3111 to 3113 .
  • the operations of 3111 to 311 are:
  • the cloud site acquires second measurement information of the second terminal device, the second measurement information includes the location information of the second terminal device, and at least one network quality parameter of the cloud site in the second area, and the second terminal device is connected.
  • the terminal device that enters the cloud site, and the second area is the area where the second terminal device is located.
  • the second measurement information may only include the several kinds of information listed above, or the second measurement information may further include other information, for example, the second measurement information further includes the network identifier of the operator network accessed by the second terminal device.
  • the cloud site may acquire the second measurement information of the second terminal device in the following two ways.
  • the two methods are:
  • the cloud site receives the second measurement information sent by the second terminal device.
  • the cloud site receives the second measurement information sent by the second terminal device.
  • the second terminal device After accessing the cloud site, the second terminal device periodically or irregularly measures at least one network quality parameter between the second terminal device and the cloud site, and sends second measurement information to the cloud site, where the second measurement information includes the first The location information of the two terminal equipment and the at least one network quality parameter.
  • the cloud site measures the second measurement information of the second terminal device.
  • the cloud site After the second terminal device accesses the cloud site, the cloud site periodically or irregularly acquires the location information of the second terminal device, and measures at least one network quality parameter between the cloud site and the second terminal device to obtain the second terminal device. Second measurement information of the terminal device.
  • the at least one network quality parameter includes one or more of bandwidth, delay, jitter, and packet loss rate.
  • the location information is the area identifier of the second area or the coordinates of the second terminal device.
  • the location information is the coordinates
  • the cloud site determines the second area where the second terminal device is located according to the coordinates, and uses the second measurement information as the second area in the second area. the second measurement information of a terminal device.
  • the cloud site acquires the network quality of the cloud site in each area according to the received second measurement information, and obtains second collection data.
  • the cloud site obtains the network quality in each area of the cloud site through the following operations (2-1) to (2-2).
  • the operations of (2-1) to (2-2) are:
  • the cloud site selects the second measurement information of each terminal device in the second area from the received second measurement information.
  • the cloud site selects the second measurement information including the area identifier of the second area from the received second measurement information, and obtains the second measurement information of each terminal device in the second area.
  • the cloud site obtains the network quality of the cloud site in the second region according to the network quality parameters included in the second measurement information of each terminal device in the second region, and obtains a piece of second data, the second The data includes the area identifier of the second area, the site identifier of the cloud site, and the network quality.
  • the cloud site obtains network quality parameters of the same parameter type from the network quality parameters included in the second measurement information of each terminal device in the second area, and calculates the average value of the network quality parameters of the parameter type according to the network quality parameters of the parameter type. .
  • the cloud site may calculate the average value of the network quality parameters of each parameter type, and obtain the network quality of the cloud site in the second area according to the weight of each parameter type and the average value of the network quality parameters.
  • the process of acquiring the network quality may be: the cloud site acquires each bandwidth, each delay, each jitter and/or each packet loss rate from the network quality parameters included in the second measurement information of each terminal device in the second area . Calculate the average bandwidth according to each bandwidth, calculate the average delay according to each delay, calculate the average jitter according to each jitter, and/or calculate the average packet loss rate according to each packet loss rate. According to the average bandwidth, average delay, average jitter, and/or average value of packet loss rate, obtain the network quality of the cloud site in the second area according to the following first formula.
  • Q is the network quality of the cloud site in the second area
  • D is the average bandwidth
  • T is the average delay
  • J is the average jitter
  • L is the average packet loss rate
  • W1 is the bandwidth weight
  • W2 is the delay weight
  • W3 is the jitter weight
  • W4 is the packet loss rate weight.
  • the cloud site repeats the above process to obtain the network quality of the cloud site in different areas, thereby obtaining different second data, that is, obtaining the second collection data of the cloud site.
  • the cloud site obtains that the network quality of the cloud site in area 1 is 50, and thus obtains a piece of second data, which is the second row of data in Table 2 below, that is, the second piece of data includes the cloud The site identification "ServiceID1" of the site, the area identification "AreaID1" of the area 1, and the network quality "50".
  • the cloud site obtains that the network quality of the cloud site in area 2 is 60, and thus obtains a piece of second data, which is the third row of data in Table 2 below, that is, the piece of second data includes the The site identification "ServiceID1", the area identification "AreaID2" of the area 2, and the network quality "60".
  • the above-mentioned second data may only include several kinds of information listed above, or, the second data may further include other information, for example, the second data may also include the network identifier of the operator's network.
  • the process for the cloud site to acquire the second data may be: the cloud site classifies the second measurement information of different operator networks in the second measurement information of each terminal device in the second area. For each operator network, obtain network quality parameters of the cloud site in the second area and under the operator network according to the network quality parameters included in the second measurement information of the operator network, and obtain network quality parameters according to the obtained network quality parameters. Acquire the network quality of the cloud site in the second area and under the operator's network, thereby obtaining a piece of second data, where the second data includes the area identifier of the second area, the site identifier of the cloud site, and the operator's network. the network identity and the quality of that network.
  • the cloud site obtains that the network quality of the cloud site in area 1 and under operator network A is 50, and thus obtains a piece of second data, which is the second row of data in the following Table 3, that is, the The second piece of data includes the site identifier "ServiceID1" of the cloud site, the area identifier "AreaID1" of the area 1, the network identifier "NetIDA” of the operator network A, and the network quality "50".
  • the cloud site obtains that the network quality of the cloud site in area 1 and under operator network B is 70, and thus obtains a piece of second data, which is the third row of data in Table 3 below, that is, the piece of second data
  • the second data includes the site identifier "ServiceID1" of the cloud site, the area identifier "AreaID1" of the area 1, the network identifier "NetIDB” of the operator network B, and the network quality "70".
  • the cloud site obtains that the network quality of the cloud site in area 2 and under operator network A is 55, and thus obtains a second piece of data, which is the fourth row of data in the following table 2, that is, the piece of The second data includes the site identifier "ServiceID1" of the cloud site, the area identifier "AreaID2" of the area 2, the network identifier "NetIDA” of the operator network A, and the network quality "55".
  • the cloud site obtains that the network quality of the cloud site in area 2 and under operator network B is 65, and thus obtains a second piece of data, which is the fifth row of data in Table 2 below, that is, the second piece of data
  • the data includes the site identifier "ServiceID1" of the cloud site, the area identifier "AreaID2" of the area 2, the network identifier "NetIDB” of the operator network B, and the network quality "65".
  • the data center server obtains the data collected by the cloud site; when receiving the connection request including the location information of the first terminal device, according to the location information and the collected data, select the better quality and lower cost target carrier network and target cloud site.
  • the first terminal device accesses the target operator network, and accesses the target cloud site through the target operator network. Since the target operator network and target cloud site with better quality and lower cost are selected according to the location information and the collected data, the target operator with better signal quality in the first area where the first terminal device is located can be selected.
  • the target cloud site with better network and network quality after the first terminal device accesses the target cloud site through the target operator network, it can ensure higher communication quality between the first terminal device and the target cloud site, and reduce communication cost.
  • an embodiment of the present application provides an apparatus 400 for connecting a cloud site, and the apparatus 400 may be deployed in the data center server provided in any of the foregoing embodiments, including:
  • a processing unit 401 configured to acquire data collected by a cloud site, where the cloud site is a site managed by the device 400;
  • a transceiver unit 402 configured to receive a connection request, where the connection request includes location information of the terminal device;
  • the processing unit 401 is further configured to determine, according to the location information and the collected data, a target operator network that satisfies the first specified condition and a target cloud site that satisfies the second specified condition, wherein the target cloud site is a terminal device that passes through the target operator Network connected cloud site.
  • steps 3011 to 3014 and the related contents of 3111 to 3112 in the embodiment shown in FIG. 3 which will not be described in detail here.
  • the target operator network is used to provide the terminal device with a cellular network connection.
  • processing unit 401 is used for:
  • processing unit 401 is used for:
  • one operator network that satisfies the first specified condition is determined as the target operator network.
  • the processing unit 401 obtains the signal quality of each operator's network in the first area and determines the detailed implementation process of the target operator's network, and reference may be made to the relevant content of steps 3041 and 3043 in the embodiment shown in FIG. 3 , It will not be described in detail here.
  • processing unit 401 is used for:
  • a cloud site that satisfies the second specified condition is determined as the target cloud site.
  • the processing unit 401 acquires the network quality of each cloud site in the first area and determines the detailed implementation process of the target cloud site. Reference may be made to the related content of steps 3051 and 3052 in the embodiment shown in FIG. 3 , here No further details.
  • processing unit 401 is used for:
  • the area identifier of the first area and the network identifier of the target operator network obtain the network quality of each cloud site in the first area and under the target operator network;
  • a cloud site that satisfies the second specified condition is determined as the target cloud site.
  • the first designation condition includes one or more of an operator network whose signal quality exceeds the first quality threshold, an operator network that can provide the package subscribed by the terminal device, and an operator network with the lowest cost
  • the second designation The conditions include one or more of a cloud site with a network quality exceeding a second quality threshold and a cloud site with the lowest cost.
  • connection request also includes the device identifier of the terminal device
  • transceiver unit 402 is further configured to:
  • the switching command includes the network identity of the target operator network and the device identity, and the switching command is used to instruct the RSP to write the SIM card data belonging to the target operator network to the terminal device .
  • connection request also includes the device identifier of the terminal device
  • transceiver unit 402 is further configured to:
  • the transceiver unit 402 is further configured to:
  • connection response is sent to the terminal device, where the connection response includes the site identifier of the target cloud site, and the connection response is used to trigger the terminal device to access the target cloud site.
  • the processing unit acquires data collected by the cloud site; the transceiver unit receives a connection request sent by a terminal device, where the connection request includes location information of the terminal device.
  • the processing unit determines, according to the location information and the collected data, a target operator network that satisfies the first specified condition and a target cloud site of the second specified condition. Since the processing unit determines the target operator network that satisfies the first specified condition and the target cloud site that meets the second specified condition according to the location information and the collected data, the target operator network with better signal quality in the first area can be selected. and the target cloud site with better network quality, after the terminal device accesses the target cloud site through the target operator network, it can ensure a higher communication quality between the terminal device and the target cloud site.
  • an embodiment of the present application provides an apparatus 500 for connecting to a cloud site.
  • the apparatus 500 may be deployed in the distribution server provided in any of the foregoing embodiments, including:
  • a receiving unit 501 configured to receive a connection request sent by a terminal device, where the connection request includes location information of the terminal device;
  • the sending unit 502 is configured to send the connection request to the data center server, where the connection request is used for the data center server to determine the target operator network and the second network that satisfy the first specified condition according to the location information and the data collected by the acquired cloud site.
  • the target cloud site of the specified condition where the target cloud site is the cloud site to which the terminal device is connected through the target operator's network.
  • the apparatus 500 further includes: a first processing unit 503,
  • the receiving unit 501 is further configured to receive a connection response sent by the data center server, where the connection response includes the network identifier of the target operator network or the customer identification module SIM card data belonging to the target operator network;
  • the first processing unit 503 is configured to write SIM card data into the eSIM of the terminal device according to the connection response, where the SIM card data is used for the terminal device to access the target operator network.
  • step 307 for the detailed implementation process of writing SIM card data into the eSIM of the terminal device by the first processing unit 503, reference may be made to the relevant content of step 307 in the embodiment shown in FIG. 3, which will not be described in detail here.
  • the apparatus 500 further includes: a second processing unit 504,
  • the receiving unit 501 is further configured to receive a connection response sent by the data center server, where the connection response includes the site identifier of the target cloud site;
  • the second processing unit 504 is configured to control the terminal device to switch to the target cloud site corresponding to the site identifier.
  • step 308 for the detailed implementation process for the second processing unit 504 to control the terminal device to switch to the target cloud site, reference may be made to the relevant content of step 308 in the embodiment shown in FIG. 3 , which will not be described in detail here.
  • the data center server can select the one with better signal quality at the location of the terminal device according to the location information and the collected data. For the target operator network and the target cloud site with better network quality, after the terminal device accesses the target cloud site through the target operator network, it can ensure high communication quality between the terminal device and the target cloud site.
  • an embodiment of the present application provides a schematic diagram of an apparatus 600 for connecting to a cloud site.
  • the apparatus 600 may be the data center server in any of the foregoing embodiments.
  • the apparatus 600 includes at least one processor 601 , internal connections 602 , memory 603 and at least one transceiver 604 .
  • the apparatus 600 is an apparatus with a hardware structure, and can be used to implement the functional modules in the apparatus 400 described in FIG. 4 .
  • the processing unit 401 in the apparatus 400 shown in FIG. 4 may be implemented by calling the code in the memory 603 by the at least one processor 601, and the transceiver unit 402 in the apparatus 400 shown in FIG. 4 may This is achieved by the transceiver 604 .
  • the apparatus 600 may also be used to implement the functions of the data center server in any of the foregoing embodiments.
  • processor 601 may be a general-purpose central processing unit (central processing unit, CPU), network processor (network processor, NP), microprocessor, application-specific integrated circuit (application-specific integrated circuit, ASIC) , or one or more integrated circuits used to control the execution of the program of this application.
  • CPU central processing unit
  • NP network processor
  • ASIC application-specific integrated circuit
  • the internal connection 602 described above may include a path to transfer information between the above described components.
  • the internal connection 602 is a single board or a bus or the like.
  • the above transceiver 604 is used to communicate with other devices or communication networks.
  • the above-mentioned memory 603 can be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, a random access memory (random access memory, RAM) or other types of storage devices that can store information and instructions.
  • ROM read-only memory
  • RAM random access memory
  • Types of dynamic storage devices which can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), or other optical storage, CD-ROM storage (including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by Any other medium accessed by the computer, but not limited to this.
  • the memory can exist independently and be connected to the processor through a bus.
  • the memory can also be integrated with the processor.
  • the memory 603 is used for storing the application code for executing the solution of the present application, and the execution is controlled by the processor 601 .
  • the processor 601 is used to execute the application program code stored in the memory 603 and cooperate with at least one transceiver 604, so that the device 600 can realize the functions in the method of the present patent.
  • the processor 601 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 6 .
  • the apparatus 600 may include multiple processors, such as the processor 601 and the processor 607 in FIG. 6 .
  • processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • an embodiment of the present application provides a schematic diagram of an apparatus 700 for connecting to a cloud site.
  • the apparatus 700 may be the distribution server in any of the above embodiments.
  • the apparatus 700 includes at least one processor 701 , internal connections 702 , memory 703 and at least one transceiver 704 .
  • the apparatus 700 is an apparatus with a hardware structure, which can be used to implement the functional modules in the apparatus 500 described in FIG. 5 .
  • the first processing unit 503 and the second processing unit 504 in the apparatus 500 shown in FIG. 5 can be implemented by calling the code in the memory 703 by the at least one processor 701, as shown in FIG. 5 .
  • the receiving unit 501 and the sending unit 502 in the apparatus 500 can be implemented by the transceiver 704 .
  • the apparatus 700 may also be used to implement the function of the distribution server in any of the foregoing embodiments.
  • processor 701 may be a general-purpose central processing unit (central processing unit, CPU), network processor (network processor, NP), microprocessor, application-specific integrated circuit (application-specific integrated circuit, ASIC) , or one or more integrated circuits used to control the execution of the program of this application.
  • CPU central processing unit
  • NP network processor
  • ASIC application-specific integrated circuit
  • the internal connection 702 described above may include a path to transfer information between the aforementioned components.
  • the internal connection 702 is a single board or a bus or the like.
  • the above transceiver 704 is used to communicate with other devices or communication networks.
  • the above-mentioned memory 703 may be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, a random access memory (random access memory, RAM) or other types of storage devices that can store information and instructions.
  • ROM read-only memory
  • RAM random access memory
  • Types of dynamic storage devices which can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), or other optical storage, CD-ROM storage (including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by Any other medium accessed by the computer, but not limited to this.
  • the memory can exist independently and be connected to the processor through a bus.
  • the memory can also be integrated with the processor.
  • the memory 703 is used for storing the application program code for executing the solution of the present application, and the execution is controlled by the processor 701 .
  • the processor 701 is configured to execute the application program code stored in the memory 703, and cooperate with at least one transceiver 704, so that the apparatus 700 realizes the functions in the method of the present patent.
  • the processor 701 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 7 .
  • the apparatus 700 may include multiple processors, such as the processor 701 and the processor 707 in FIG. 7 .
  • processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor.
  • a processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
  • an embodiment of the present application provides a system 800 for connecting a cloud site.
  • the system 800 includes the apparatus 400 shown in FIG. 4 and the apparatus 500 shown in FIG. 5 , or the system 800 includes the following The apparatus 600 shown in FIG. 6 and the apparatus 700 shown in FIG. 7 .
  • the apparatus 400 shown in FIG. 4 or the apparatus 600 shown in FIG. 6 may be the data center server 801
  • the apparatus 500 shown in FIG. 5 and the apparatus 700 shown in FIG. 7 may be the distribution server 802 .

Landscapes

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

Abstract

The present application relates to the field of communications, and provides a cloud site connecting method and apparatus, and a storage medium. The method comprises: a data center server obtains data acquired by cloud sites, the cloud sites being sites managed by the data center server; the data center server receives a connection request, the connection request comprising position information of a terminal device; and the data center server determines, according to the position information and the acquired data, a target operator network satisfying a first specified condition and a target cloud site satisfying a second specified condition, wherein the target cloud site is a cloud site to which the terminal device is connected by means of the target operator network. The present application can improve the quality of communication between the terminal device and the cloud site.

Description

连接云站点的方法、装置及存储介质Method, device and storage medium for connecting to a cloud site
本申请要求于2020年9月11日提交的申请号为202010954487.2、发明名称为“连接云站点的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application No. 202010954487.2 filed on September 11, 2020 and titled "Method and Device for Connecting to a Cloud Site", the entire contents of which are incorporated herein by reference.
技术领域technical field
本申请涉及通信领域,特别涉及一种连接云站点的方法、装置及存储介质。The present application relates to the field of communications, and in particular, to a method, device and storage medium for connecting to a cloud site.
背景技术Background technique
目前很多终端设备都配有嵌入式客户识别模块(embeded subscriber identity module,eSIM),该终端设备可以为机器与机器(machine to machine,M2M)设备或智能穿戴设备等。eSIM可用于保存客户识别模块(subscriber identity module,SIM)卡数据,终端设备通过该SIM卡数据接入到网络。At present, many terminal devices are equipped with an embedded subscriber identity module (eSIM), which can be a machine to machine (M2M) device or a smart wearable device. The eSIM can be used to store subscriber identity module (SIM) card data, and the terminal device can access the network through the SIM card data.
在这些终端设备接入网络之前,用户可以为该终端设备选择一个运营商网络,或者,终端设备根据内置的eSIM中保存的默认网络信息选择默认的运营商网络。该运营商网络的SIM卡平台向该终端设备的eSIM中写入属于该运营商网络的SIM卡数据。此外,该终端设备的生产厂商在生产出该终端设备时在该终端设备中也会保存一个预设的云站点的站点标识。终端设备通过该SIM卡数据接入到该运营商网络,以及根据该站点标识通过该运营商网络接入云站点。Before these terminal devices access the network, the user may select an operator network for the terminal device, or the terminal device may select a default operator network according to the default network information stored in the built-in eSIM. The SIM card platform of the operator's network writes SIM card data belonging to the operator's network into the eSIM of the terminal device. In addition, the manufacturer of the terminal device also saves a preset site identifier of the cloud site in the terminal device when producing the terminal device. The terminal device accesses the operator's network through the SIM card data, and accesses the cloud site through the operator's network according to the site identifier.
在实现本申请的过程中,发明人发现现有技术至少存在以下问题:In the process of realizing this application, the inventor found that the prior art has at least the following problems:
目前选择的或者默认的运营商网络的信号质量可能较差,在终端设备通过该运营商网络接入到预设的云站点时,通信质量经常不稳定,影响通信效率。The signal quality of the currently selected or default operator network may be poor. When the terminal device accesses the preset cloud site through the operator network, the communication quality is often unstable, which affects the communication efficiency.
发明内容SUMMARY OF THE INVENTION
本申请提供了一种连接云站点的方法、装置及存储介质,以提高终端设备与云站点之间的通信质量。所述技术方案如下:The present application provides a method, apparatus and storage medium for connecting a cloud site, so as to improve the communication quality between a terminal device and a cloud site. The technical solution is as follows:
第一方面,本申请提供了一种连接云站点的方法,在所述方法中:数据中心服务器获取云站点采集的数据,云站点是数据中心服务器管理的站点;数据中心服务器接收连接请求,该连接请求包括终端设备的位置信息。根据该位置信息和采集的数据,确定满足第一指定条件的目标运营商网络和第二指定条件的目标云站点。其中,目标云站点为终端设备通过目标运营商网络连接的云站点。In a first aspect, the present application provides a method for connecting to a cloud site, in the method: a data center server obtains data collected by a cloud site, and the cloud site is a site managed by the data center server; the data center server receives a connection request, the The connection request includes the location information of the terminal device. According to the location information and the collected data, the target operator network that satisfies the first specified condition and the target cloud site that meets the second specified condition are determined. The target cloud site is a cloud site connected by the terminal device through the target operator network.
根据终端设备的位置信息和云站点采集的数据,确定满足第一指定条件的目标运营商网络和第二指定条件的目标云站点,这样可以确定出终端设备所在位置的信号质量较好的目标运营商网络和网络质量较好的目标云站点,终端设备在通过目标运营商网络连接目标云站点后,可以保证终端设备与目标云站点之间存在的较高通信质量。According to the location information of the terminal device and the data collected by the cloud site, determine the target operator network that satisfies the first specified condition and the target cloud site that meets the second specified condition, so that the target operation with better signal quality at the location of the terminal device can be determined. After the terminal device connects to the target cloud site through the target operator network, it can ensure high communication quality between the terminal device and the target cloud site.
在一种可能的实现方式中,获取云站点采集的各个运营商网络在各个区域的信号质量, 以及获取该云站点在各个区域的网络质量,该运营商网络包括已连接到该云站点的终端设备所使用的运营商网络。由于采集的数据包括各个运营商网络在各个区域的信号质量,以及该云站点在各个区域的网络质量,所以根据采集的数据可以为终端设备选择质量较好的运营商网络和云站点。In a possible implementation manner, the signal quality of each operator network in each area collected by the cloud site is acquired, and the network quality of the cloud site in each area is acquired, where the operator network includes terminals connected to the cloud site The carrier network used by the device. Since the collected data includes the signal quality of each operator's network in each region and the network quality of the cloud site in each region, the operator network and cloud site with better quality can be selected for the terminal device according to the collected data.
在另一种可能的实现方式中,根据该位置信息确定终端设备所在的第一区域的区域标识。根据第一区域的区域标识,获取各运营商网络在第一区域内的信号质量;根据各运营商网络在第一区域内的信号质量,确定满足第一指定条件的一个运营商网络作为目标运营商网络。如此可以确定出信号质量较好的目标运营商网络,终端设备通过目标运营商网络与云站点通信,保证了终端设备与云站点之间存在的较高通信质量。In another possible implementation manner, the area identifier of the first area where the terminal device is located is determined according to the location information. According to the area identifier of the first area, the signal quality of each operator network in the first area is obtained; according to the signal quality of each operator network in the first area, an operator network that satisfies the first specified condition is determined as the target operation business network. In this way, a target operator network with better signal quality can be determined, and the terminal device communicates with the cloud site through the target operator network, which ensures high communication quality between the terminal device and the cloud site.
在另一种可能的实现方式中,根据该位置信息确定终端设备所在的第一区域的区域标识。根据第一区域的区域标识,获取各云站点在第一区域内的网络质量;根据各云站点在第一区域内的网络质量,确定满足第二指定条件的一个云站点作为目标云站点。如此可以确定出网络质量较好的目标云站点,在终端设备与目标云站点通信时,保证了终端设备与目标云站点之间存在较高通信质量。In another possible implementation manner, the area identifier of the first area where the terminal device is located is determined according to the location information. Obtain the network quality of each cloud site in the first area according to the area identifier of the first area; determine a cloud site that satisfies the second specified condition as the target cloud site according to the network quality of each cloud site in the first area. In this way, the target cloud site with better network quality can be determined, and when the terminal device communicates with the target cloud site, it is ensured that there is a high communication quality between the terminal device and the target cloud site.
在另一种可能的实现方式中,根据第一区域的区域标识和目标运营商网络的网络标识,获取各云站点在第一区域内目标运营商网络的网络质量;根据获取的网络质量,确定满足第二指定条件的一个云站点作为目标云站点。这样保证确定的目标云站点在目标运营商网络中的网络质量也较高,从而进一步提高了终端设备与目标云站点之间的通信质量。In another possible implementation manner, the network quality of each cloud site in the target operator network in the first area is acquired according to the area identifier of the first area and the network identifier of the target operator network; according to the acquired network quality, determine One cloud site that satisfies the second specified condition is used as the target cloud site. This ensures that the network quality of the determined target cloud site in the target operator's network is also high, thereby further improving the communication quality between the terminal device and the target cloud site.
在另一种可能的实现方式中,第一指定条件包括信号质量超过第一质量阈值的运营商网络、能够提供终端设备订阅的套餐的运营商网络和成本最低的运营商网络中的一个或多个,第二指定条件包括网络质量超过第二质量阈值的云站点和成本最低的云站点中的一个或多个。In another possible implementation manner, the first specified condition includes one or more of an operator network whose signal quality exceeds a first quality threshold, an operator network capable of providing packages subscribed by the terminal device, and an operator network with the lowest cost The second specified condition includes one or more of the cloud sites whose network quality exceeds the second quality threshold and the cloud sites with the lowest cost.
在另一种可能的实现方式中,该连接请求中还包括终端设备的设备标识。向远程客户识别模块配置服务RSP发送切换命令,该切换命令包括目标运营商的网络标识和该设备标识,该切换命令用于指示RSP向终端设备写入属于目标运营商网络的SIM卡数据。由于可以直接触发RSP向终端设备写入SIM卡数据,在确保了安全性的同时简化写SIM卡数据的流程。In another possible implementation manner, the connection request further includes the device identifier of the terminal device. Send a handover command to the remote customer identity module configuration service RSP, the handover command includes the target operator's network identity and the device identity, and the handover command is used to instruct the RSP to write SIM card data belonging to the target operator's network to the terminal device. Since the RSP can be directly triggered to write SIM card data to the terminal device, the process of writing SIM card data is simplified while ensuring security.
在另一种可能的实现方式中,该连接请求中还包括终端设备的设备标识。向RSP发送客户识别模块SIM卡数据获取请求,该SIM卡数据获取请求用于获取目标运营商网络的SIM卡数据;向终端设备写入该SIM卡数据。如此提供了另一种写入SIM卡数据的方案,丰富了写SIM卡数据的方式。In another possible implementation manner, the connection request further includes the device identifier of the terminal device. Send a customer identification module SIM card data acquisition request to the RSP, where the SIM card data acquisition request is used to acquire SIM card data of the target operator network; write the SIM card data to the terminal device. In this way, another solution for writing SIM card data is provided, which enriches the way of writing SIM card data.
在另一种可能的实现方式中,向终端设备发送连接响应,该连接响应包括目标云站点的站点标识,该连接响应用于触发终端设备接入到目标云站点。由于直接向终端设备发送连接 响应,从而可以简化终端设备切换目标云站点的流程。In another possible implementation manner, a connection response is sent to the terminal device, where the connection response includes a site identifier of the target cloud site, and the connection response is used to trigger the terminal device to access the target cloud site. Since the connection response is directly sent to the terminal device, the process of switching the target cloud site for the terminal device can be simplified.
在另一种可能的实现方式中,第一区域的区域标识包括该终端设备所在的小区的小区标识和所在位置区的区域码。In another possible implementation manner, the area identifier of the first area includes the cell identifier of the cell where the terminal device is located and the area code of the location area where the terminal device is located.
在另一种可能的实现方式中,云站点在第一区域内的网络质量包括该云站点在第一区域内的带宽、时延、抖动和丢包率中的至少一个。In another possible implementation manner, the network quality of the cloud site in the first area includes at least one of bandwidth, delay, jitter, and packet loss rate of the cloud site in the first area.
在另一种可能的实现方式中,目标运营商网络用于为该终端设备提供蜂窝网络连接。In another possible implementation, the target operator network is used to provide the terminal device with a cellular network connection.
第二方面,本申请提供了一种连接云站点的方法,在所述方法中:接收终端设备发送的连接请求,该连接请求包括终端设备的位置信息。向数据中心服务器发送该连接请求,该连接请求用于数据中心服务器根据该位置信息和获取的云站点采集的数据,确定满足第一指定条件的目标运营商网络和第二指定条件的目标云站点,其中,该目标云站点为该终端设备通过目标运营商网络接入的云站点。In a second aspect, the present application provides a method for connecting to a cloud site. In the method, a connection request sent by a terminal device is received, where the connection request includes location information of the terminal device. Send the connection request to the data center server, where the connection request is used by the data center server to determine the target operator network that satisfies the first specified condition and the target cloud site that meets the second specified condition according to the location information and the data collected by the cloud site. , where the target cloud site is a cloud site accessed by the terminal device through the target operator network.
由于向数据中心服务器发送包括位置信息的连接请求,这样数据中心服务器可以根据该位置信息和云站点采集的数据,可以选择在终端设备所在位置信号质量较好的目标运营商网络和网络质量较好的目标云站点,终端设备在通过目标运营商网络连接目标云站点后,可以保证终端设备与目标云站点之间存在的较高通信质量。Since a connection request including location information is sent to the data center server, the data center server can select the target operator network with better signal quality at the location of the terminal device and the network quality according to the location information and the data collected by the cloud site. After the terminal device connects to the target cloud site through the target operator's network, the terminal device can ensure high communication quality between the terminal device and the target cloud site.
在一种可能的实现方式中,接收数据中心服务器发送的连接响应,该连接响应包括目标运营商网络的网络标识或者属于目标运营商网的客户识别模块SIM卡数据。根据连接响应,向终端设备的eSIM中写入该SIM卡数据,该SIM卡数据用于该终端设备接入目标运营商网络。由于接收数据中心服务器的连接响应,这样可以复用分发服务器与终端设备之间的写入SIM卡数据的交互流程,从而不需要修改终端设备的实现逻辑,降低实现成本。In a possible implementation manner, a connection response sent by the data center server is received, where the connection response includes the network identifier of the target operator network or the data of the customer identification module SIM card belonging to the target operator network. According to the connection response, the SIM card data is written into the eSIM of the terminal device, and the SIM card data is used for the terminal device to access the target operator network. Since the connection response of the data center server is received, the interaction process of writing SIM card data between the distribution server and the terminal device can be reused, so that the implementation logic of the terminal device does not need to be modified, and the implementation cost is reduced.
在另一种可能的实现方式中,接收数据中心服务器发送的连接响应,连接响应包括目标云站点的站点标识。控制终端设备切换到站点标识对应的目标云站点上。由于接收数据中心服务器的连接响应,这样可以复用分发服务器与终端设备之间的切换云站点的交互流程,从而不需要修改终端设备的实现逻辑,降低实现成本。In another possible implementation manner, a connection response sent by the data center server is received, where the connection response includes the site identifier of the target cloud site. Control the terminal device to switch to the target cloud site corresponding to the site ID. Since the connection response of the data center server is received, the interaction process of switching cloud sites between the distribution server and the terminal device can be reused, so that the implementation logic of the terminal device does not need to be modified, and the implementation cost is reduced.
第三方面,本申请提供了一种连接云站点的装置,用于执行第一方面或第一方面的任意一种可能的实现方式中的方法。具体地,所述装置包括用于执行第一方面或第一方面的任意一种可能的实现方式中的方法的单元。In a third aspect, the present application provides an apparatus for connecting a cloud site, which is used to execute the method in the first aspect or any possible implementation manner of the first aspect. Specifically, the apparatus includes a unit for performing the method in the first aspect or any possible implementation manner of the first aspect.
第四方面,本申请提供了一种连接云站点的装置,用于执行第二方面或第二方面的任意一种可能的实现方式中的方法。具体地,所述装置包括用于执行第二方面或第二方面的任意一种可能的实现方式中的方法的单元。In a fourth aspect, the present application provides an apparatus for connecting a cloud site, which is used to execute the method in the second aspect or any possible implementation manner of the second aspect. Specifically, the apparatus includes a unit for performing the method in the second aspect or any one possible implementation manner of the second aspect.
第五方面,本申请提供了一种连接云站点的装置,所述装置包括收发器、处理器和存储器。其中,所述收发器、所述处理器以及所述存储器之间可以通过内部连接相连。所述存储器用于存储程序、指令或代码,所述处理器用于执行所述存储器中的程序、指令或代码以及配合收发器,使得所述装置完成第一方面或第一方面的任意可能的实现方式中的方法。In a fifth aspect, the present application provides an apparatus for connecting a cloud site, the apparatus including a transceiver, a processor and a memory. Wherein, the transceiver, the processor and the memory may be connected through an internal connection. The memory is used to store programs, instructions or codes, and the processor is used to execute the programs, instructions or codes in the memory and cooperate with the transceiver, so that the apparatus accomplishes the first aspect or any possible implementation of the first aspect method in method.
第六方面,本申请提供了一种连接云站点的装置,所述装置包括收发器、处理器和存储器。其中,所述收发器、所述处理器以及所述存储器之间可以通过内部连接相连。所述存储器用于存储程序、指令或代码,所述处理器用于执行所述存储器中的程序、指令或代码以及配合收发器,使得所述装置完成第二方面或第二方面的任意可能的实现方式中的方法。In a sixth aspect, the present application provides an apparatus for connecting a cloud site, the apparatus including a transceiver, a processor and a memory. Wherein, the transceiver, the processor and the memory may be connected through an internal connection. The memory is used to store programs, instructions or codes, and the processor is used to execute the programs, instructions or codes in the memory and cooperate with the transceiver, so that the apparatus accomplishes the second aspect or any possible implementation of the second aspect method in method.
第七方面,本申请提供了一种计算机程序产品,所述计算机程序产品包括在计算机可读存储介质中存储的计算机程序,并且所述计算程序通过处理器进行加载来实现上述第一方面、第二方面、第一方面任意可能的实现方式或第二方面任意可能的实现方式的方法。In a seventh aspect, the present application provides a computer program product, the computer program product includes a computer program stored in a computer-readable storage medium, and the computer program is loaded by a processor to implement the first aspect, the first aspect, and the third aspect. The second aspect, any possible implementation manner of the first aspect, or any possible implementation manner of the second aspect.
第八方面,本申请提供了一种计算机可读存储介质,用于存储计算机程序,所述计算机程序通过处理器进行加载来执行第一方面、第二方面、第一方面任意可能的实现方式或第二方面任意可能的实现方式的方法的指令。In an eighth aspect, the present application provides a computer-readable storage medium for storing a computer program, the computer program being loaded by a processor to execute the first aspect, the second aspect, any possible implementation manner of the first aspect or Instructions for the method of any possible implementation of the second aspect.
第九方面,本申请提供了一种连接云站点的系统,所述系统包括第三方面所述的装置和第四方面所述的装置,或者,所述系统包括第五方面所述的装置和第六方面所述的装置。In a ninth aspect, the present application provides a system for connecting a cloud site, the system includes the device described in the third aspect and the device described in the fourth aspect, or the system includes the device described in the fifth aspect and The device of the sixth aspect.
附图说明Description of drawings
图1是本申请实施例提供的一种网络架构的结构示意图;1 is a schematic structural diagram of a network architecture provided by an embodiment of the present application;
图2是本申请实施例提供的另一种网络架构的结构示意图;2 is a schematic structural diagram of another network architecture provided by an embodiment of the present application;
图3是本申请实施例提供的一种连接云站点的方法流程图;3 is a flowchart of a method for connecting to a cloud site provided by an embodiment of the present application;
图4是本申请实施例提供的一种连接云站点的装置结构示意图;4 is a schematic structural diagram of a device for connecting to a cloud site provided by an embodiment of the present application;
图5是本申请实施例提供的另一种连接云站点的装置结构示意图;5 is a schematic structural diagram of another device for connecting to a cloud site provided by an embodiment of the present application;
图6是本申请实施例提供的另一种连接云站点的装置结构示意图;6 is a schematic structural diagram of another device for connecting to a cloud site provided by an embodiment of the present application;
图7是本申请实施例提供的另一种连接云站点的装置结构示意图;7 is a schematic structural diagram of another apparatus for connecting to a cloud site provided by an embodiment of the present application;
图8是本申请实施例提供的一种连接云站点的系统结构示意图。FIG. 8 is a schematic structural diagram of a system for connecting a cloud site provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合附图对本申请实施方式作进一步地详细描述。The embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
参见图1,本申请提供了一种网络架构,该网络架构包括:Referring to FIG. 1, the present application provides a network architecture, the network architecture includes:
数据中心服务器、远程客户识别配置服务(remote subscriber identity module provisioning,RSP)、分发服务器和至少一个云站点,数据中心服务器分别与RSP、分发服务器和该至少一个云站点中的每个云站点建立网络连接。A data center server, a remote subscriber identity module provisioning (RSP), a distribution server, and at least one cloud site, the data center server establishes a network with the RSP, the distribution server, and each cloud site in the at least one cloud site, respectively connect.
其中,该至少一个云站点是数据中心服务器所要管理的云站点。数据中心服务器和该至 少一个云站点部署在云端,该至少一个云站点包括共有云站点和/或私有云站点。The at least one cloud site is a cloud site to be managed by the data center server. The data center server and the at least one cloud site are deployed in the cloud, and the at least one cloud site includes a public cloud site and/or a private cloud site.
在本申请实施例中,该至少一个云站点中的每个云站点主要用于采集数据,以及向数据中心服务器发送采集的数据。其中,该采集的数据包括各个运营商网络在各个区域内的信号质量,以及该云站点在各个区域内的网络质量。运营商网络包括已连接到该云站点的所有终端设备所接入的各个运营商网络。In this embodiment of the present application, each cloud site in the at least one cloud site is mainly used for collecting data and sending the collected data to a data center server. The collected data includes the signal quality of each operator's network in each area, and the network quality of the cloud site in each area. The operator network includes each operator network to which all terminal devices connected to the cloud site access.
分发服务器,用于转发终端设备与数据中心服务器之间的数据。The distribution server is used to forward data between the terminal device and the data center server.
数据中心服务器,用于基于云站点采集的数据,确定满足指定条件的运营商网络和云站点。The data center server is used to determine the carrier network and cloud site that meet the specified conditions based on the data collected by the cloud site.
RSP,用于保存各运营商网络的SIM卡数据。RSP is used to save SIM card data of each operator's network.
终端设备是请求接入的终端,用于请求接入运营商网络和连接云站点。A terminal device is a terminal that requests access, and is used to request access to the operator's network and to connect to cloud sites.
在该网络架构下,终端设备与分发服务器相连,向分发服务器发送连接请求。分发服务器,向数据中心服务器转发该连接请求。数据中心服务器根据该连接请求和云站点采集的数据,确定满足第一指定条件的目标运营商网络和满足第二指定条件的目标云站点,发送目标云站点的站点标识,以及向终端设备写入属于目标运营商网络的SIM卡数据。分发服务器向终端设备转发该站点标识。这样终端设备根据该SIM卡数据接入目标运营商网络,根据该站点标识,在目标运营商网络中连接到目标云站点。Under this network architecture, the terminal device is connected to the distribution server and sends a connection request to the distribution server. The distribution server forwards the connection request to the data center server. According to the connection request and the data collected by the cloud site, the data center server determines the target operator network that satisfies the first specified condition and the target cloud site that satisfies the second specified condition, sends the site identifier of the target cloud site, and writes to the terminal device. SIM card data belonging to the target operator's network. The distribution server forwards the site identification to the terminal device. In this way, the terminal device accesses the target operator network according to the SIM card data, and connects to the target cloud site in the target operator network according to the site identifier.
其中,可以采用如下几种方式向终端设备写入属于目标运营商网络的SIM卡数据,该几种方式分别为:Among them, the following methods can be used to write SIM card data belonging to the target operator network to the terminal device, and the methods are as follows:
方式一、数据中心服务器直接触发RSP向终端设备写入属于目标运营商网络的SIM卡数据。Mode 1: The data center server directly triggers the RSP to write SIM card data belonging to the target operator network to the terminal device.
方式二、数据中心服务器向分发服务器发送目标运营商网络的网络标识,以使分发服务器触发RSP向终端设备写入属于目标运营商网络的SIM卡数据。Manner 2: The data center server sends the network identifier of the target operator network to the distribution server, so that the distribution server triggers the RSP to write SIM card data belonging to the target operator network to the terminal device.
方式三、数据中心服务器从RSP中获取属于目标运营商网络的SIM卡数据,向分发服务器发送该SIM卡数据,由分发服务器向终端设备转发该SIM卡数据。Manner 3: The data center server obtains the SIM card data belonging to the target operator network from the RSP, sends the SIM card data to the distribution server, and the distribution server forwards the SIM card data to the terminal device.
在该网络架构中,分发服务器与数据中心服务器可以合为一体,如图2所示,在合为一起的情况下,终端设备直接向数据中心服务器发送连接请求。数据中心服务器直接向终端设备发送目标云站点的站点标识。而对于属于目标运营商网络的SIM卡数据,数据中心服务器可以采用如下两种方式向终端设备写入该SIM卡数据。该两种方式分别为:In this network architecture, the distribution server and the data center server can be integrated, as shown in FIG. 2 , in the case of integration, the terminal device directly sends a connection request to the data center server. The data center server directly sends the site identifier of the target cloud site to the terminal device. For the SIM card data belonging to the target operator's network, the data center server can write the SIM card data to the terminal device in the following two ways. The two methods are:
方式一、数据中心服务器直接触发RSP向终端设备写入属于目标运营商网络的SIM卡数据。Mode 1: The data center server directly triggers the RSP to write SIM card data belonging to the target operator network to the terminal device.
方式二、数据中心服务器从RSP中获取属于目标运营商网络的SIM卡数据,向终端设备发送该SIM卡数据。Manner 2: The data center server obtains the SIM card data belonging to the target operator network from the RSP, and sends the SIM card data to the terminal device.
所谓运营商网络是指为第一终端设备提供移动通信接入的网络,例如长期演进(long term evolution,LTE)网络。对于该至少一个云站点中的每个云站点,该云站点不属于任一个运营商网络,该云站点可以与每个运营商网络通信。The so-called operator network refers to a network that provides mobile communication access for the first terminal device, such as a long term evolution (long term evolution, LTE) network. For each cloud site in the at least one cloud site, the cloud site does not belong to any one operator network, the cloud site can communicate with each operator network.
第一终端设备为包括eSIM的设备,eSIM用于保存被写入的该SIM卡数据。第一终端设备可以为M2M设备或用户设备,该用户设备可以为穿戴设备等。The first terminal device is a device including an eSIM, and the eSIM is used to save the written data of the SIM card. The first terminal device may be an M2M device or a user equipment, and the user equipment may be a wearable device or the like.
其中,第一指定条件包括以下条件中的任意一个或多个:1)信号质量超过第一质量阈值的运营商网络;2)能够提供第一终端设备订阅的套餐的运营商网络;3)成本最低的运营商 网络等中的一个或多个。第二指定条件包括以下条件中的任意一个或多个:1)网络质量超过第二质量阈值的云站点;2)成本最低的云站点等中的一个或多个。Wherein, the first specified condition includes any one or more of the following conditions: 1) an operator network whose signal quality exceeds the first quality threshold; 2) an operator network capable of providing the package subscribed by the first terminal device; 3) cost One or more of the lowest carrier network, etc. The second specified condition includes any one or more of the following conditions: 1) a cloud site whose network quality exceeds the second quality threshold; 2) one or more of a cloud site with the lowest cost, and the like.
在本申请实施例中,数据中心服务器获取云站点采集的数据。分发服务器向数据中心服务器转发终端设备发送的连接请求。数据中心服务器根据该采集的数据和该连接请求,确定满足第一指定条件的目标运营商网络和满足第二指定条件的目标云站点,从而可以确定出质量较好、成本较低的目标运营商网络和目标云站点。然后数据中心服务器向终端设备写入属于目标运营商网络的SIM卡数据和向终端设备告知目标云站点。终端设备根据该SIM卡数据接入目标运营商网络,以及连接到目标云站点,可以保证终端设备与目标云站点之间存在的较高通信质量,以及降低通信成本。In the embodiment of the present application, the data center server obtains the data collected by the cloud site. The distribution server forwards the connection request sent by the terminal device to the data center server. According to the collected data and the connection request, the data center server determines the target operator network that meets the first specified condition and the target cloud site that meets the second specified condition, so that the target operator with better quality and lower cost can be determined Network and target cloud sites. Then, the data center server writes the SIM card data belonging to the target operator's network to the terminal device and informs the terminal device of the target cloud site. The terminal device accesses the target operator's network according to the SIM card data, and connects to the target cloud site, which can ensure higher communication quality between the terminal device and the target cloud site, and reduce communication costs.
参见图3,本申请实施例提供了一种连接云站点的方法,该方法可以应用于图1所示的网络架构中,包括:Referring to FIG. 3, an embodiment of the present application provides a method for connecting a cloud site, and the method can be applied to the network architecture shown in FIG. 1, including:
步骤301:数据中心服务器获取每个云站点采集的数据。Step 301: The data center server acquires data collected by each cloud site.
该每个云站点是数据中心服务器所能管理的云站点。该每个云站点中可保存有数据中心服务器的设备标识,这样每个云站点基于该设备标识向数据中心服务器发送数据,如此实现数据中心服务器管理每个云站点。Each cloud site is a cloud site that the data center server can manage. The device identification of the data center server may be stored in each cloud site, so that each cloud site sends data to the data center server based on the device identification, so that the data center server manages each cloud site.
该采集的数据包括各个运营商网络在各个区域的第一信号质量,以及各个云站点分别在该各个区域的网络质量。The collected data includes the first signal quality of each operator network in each area, and the network quality of each cloud site in each area.
该采集的数据包括第一采集数据和第二采集数据。第一采集数据用于描述各个运营商网络在各个区域的第一信号质量,第二采集数据用于描述各个云站点分别在该各个区域的网络质量。The collected data includes first collected data and second collected data. The first collected data is used to describe the first signal quality of each operator network in each area, and the second collected data is used to describe the network quality of each cloud site in each area.
第一采集数据包括至少一条第一数据,对于每条第一数据,该第一数据包括运营商网络的网络标识、区域的区域标识和第一信号质量。该第一数据用于描述该运营商网络在该区域内的第一信号质量。The first collected data includes at least one piece of first data, and for each piece of first data, the first data includes a network identifier of an operator network, an area identifier of an area, and a first signal quality. The first data is used to describe the first signal quality of the operator network in the area.
该第一数据可以只包括运营商网络的网络标识、区域的区域标识和第一信号质量。或者,该第一数据还可以包括其他信息,例如,该第一数据还能够包括该运营商网络的网络类型。The first data may only include the network identifier of the operator's network, the area identifier of the area, and the first signal quality. Alternatively, the first data may further include other information, for example, the first data may further include the network type of the operator's network.
运营商网络的网络类型包括3G网络类型、4G网络类型和5G网络类型等中的一个或多个。The network types of the operator's network include one or more of 3G network types, 4G network types, and 5G network types.
第二采集数据包括至少一条第二数据,对于每条第二数据,该第二数据包括云站点的站点标识、区域的区域标识和网络质量。该第二数据用于描述该云站点在该区域内的网络质量。The second collected data includes at least one piece of second data, and for each piece of second data, the second data includes a site identifier of a cloud site, an area identifier of an area, and network quality. The second data is used to describe the network quality of the cloud site in the area.
该第二数据可以只包括云站点的站点标识、区域的区域标识和网络质量。或者,该第二数据还可以包括其他信息,例如,该第二数据还可包括运营商网络的网络标识,这样该第二数据用于描述该云站点在该区域内以及在该运营商网络下的网络质量。The second data may only include the site identifier of the cloud site, the area identifier of the area, and the network quality. Alternatively, the second data may further include other information, for example, the second data may further include the network identifier of the operator's network, so that the second data is used to describe the cloud site in the area and under the operator's network network quality.
其中,数据中心服务器获取该采集的数据的详细过程,将在后续内容进行详细说明,在此先不介绍。The detailed process of acquiring the collected data by the data center server will be described in detail in the subsequent content, and will not be described here.
对于需要接入云站点的新终端设备,该新终端设备需要通过一个运营商网络连接一个云站点,为了便于后文描述,称该新终端设备为第一终端设备。或者,对于已连接到云站点的终端设备,该终端设备已接入到一个运营商网络,该终端设备可能需要切换到其所在区域内信号质量较高的运营商网络或网络质量较高的云站点,为了便于后文描述,也称该终端设备 为第一终端设备。第一终端设备通过如步骤302至309的操作来实现。For a new terminal device that needs to access a cloud site, the new terminal device needs to be connected to a cloud site through an operator network. For the convenience of the following description, the new terminal device is referred to as the first terminal device. Or, for a terminal device connected to a cloud site, the terminal device has been connected to an operator network, and the terminal device may need to switch to an operator network with higher signal quality in its area or a cloud with higher network quality For the convenience of the following description, the site is also referred to as the terminal device as the first terminal device. The first terminal device is implemented through operations such as steps 302 to 309 .
步骤302:第一终端设备向分发服务器发送连接请求,该连接请求包括第一终端设备的设备标识和位置信息。Step 302: The first terminal device sends a connection request to the distribution server, where the connection request includes the device identification and location information of the first terminal device.
在本步骤中,第一终端设备建立与分发服务器之间的网络连接,获取自身的位置信息,通过该网络连接向分发服务器发送连接请求。In this step, the first terminal device establishes a network connection with the distribution server, obtains its own location information, and sends a connection request to the distribution server through the network connection.
第一终端设备的位置信息为第一终端设备所在第一区域的区域标识或第一终端设备的坐标。第一区域的区域标识包括第一终端设备所在小区的小区标识和第一终端设备所在位置区的区域码等中的一个或多个。The location information of the first terminal device is an area identifier of the first area where the first terminal device is located or the coordinates of the first terminal device. The area identifier of the first area includes one or more of the cell identifier of the cell where the first terminal device is located, the area code of the location area where the first terminal device is located, and the like.
第一终端设备所在的小区与第一终端设备所在的位置区可能相同,也可能不同。在两者不同情况下,第一终端设备所在的小区可能包括第一终端设备所在的位置区,即第一终端设备所在的位置区是第一终端设备所在小区的一部分。或者,第一终端设备所在的位置区可能包括第一终端设备所在的小区,即第一终端设备所在的小区是第一终端设备所在的位置区的一部分。The cell where the first terminal device is located may be the same as or different from the location area where the first terminal device is located. When the two are different, the cell where the first terminal device is located may include a location area where the first terminal device is located, that is, the location area where the first terminal device is located is a part of the cell where the first terminal device is located. Alternatively, the location area where the first terminal device is located may include a cell where the first terminal device is located, that is, the cell where the first terminal device is located is a part of the location area where the first terminal device is located.
对于该网络连接,第一终端设备建立该网络连接的过程,如下所示:For the network connection, the process of establishing the network connection by the first terminal device is as follows:
在第一终端设备是需要接入云站点的新终端设备时,在第一终端设备出厂时第一终端设备中保存有属于某个运营商网络的一个SIM卡数据。第一终端设备通过该SIM卡数据接入该运营商网络,在该运营商网络中建立与分发服务器之间的网络连接。或者,第一终端设备连接到接入点,通过该接入点建立与分发服务器之间的网络连接,该接入点可以为wifi网络的接入点或蓝牙接入点等。When the first terminal device is a new terminal device that needs to access the cloud site, data of a SIM card belonging to a certain operator network is stored in the first terminal device when the first terminal device leaves the factory. The first terminal device accesses the operator network through the SIM card data, and establishes a network connection with the distribution server in the operator network. Alternatively, the first terminal device is connected to an access point, and a network connection with the distribution server is established through the access point, and the access point may be an access point of a wifi network or a Bluetooth access point or the like.
在第一终端设备为已接入运营商网络的终端设备时,第一终端设备直接在该运营商网络中建立与分发服务器之间的网络连接。When the first terminal device is a terminal device that has accessed the operator's network, the first terminal device directly establishes a network connection with the distribution server in the operator's network.
对于该位置信息,第一终端设备获取该位置信息的过程可以为:For the location information, the process for the first terminal device to acquire the location information may be:
在第一终端设备接入到运营商网络的情况下,由于运营商网络是移动通信接入的网络,第一终端设备位于该运营商网络中的一个小区和位置区中,因此,第一终端设备从该运营商网络中得到其所在的第一区域的区域标识,或者,第一终端设备利用该运营商网络中的接入网元对自身进行定位,得到自身的坐标,该接入网元可以为基站等。在第一终端设备连接到接入点的情况下,第一终端设备利用接入点获取自身的位置信息。In the case where the first terminal device is connected to the operator's network, since the operator's network is a network accessed by mobile communication, the first terminal device is located in a cell and a location area in the operator's network, therefore, the first terminal The device obtains the area identifier of the first area in which it is located from the operator's network, or the first terminal device uses the access network element in the operator's network to locate itself to obtain its own coordinates, and the access network element It can be a base station, etc. When the first terminal device is connected to the access point, the first terminal device obtains its own location information by using the access point.
在一些实施例中,第一终端设备获取该运营商网络中的至少三个接入网元的坐标,测量第一终端设备到该至少三个接入网元中的每个接入网元之间的距离,基于每个接入网元的坐标,以及第一终端设备到每个接入网元的距离,对第一终端设备进行定位,得到第一终端设备的坐标。In some embodiments, the first terminal device obtains coordinates of at least three access network elements in the operator's network, and measures the distance between the first terminal device and each of the at least three access network elements. Based on the coordinates of each access network element and the distance between the first terminal device and each access network element, the first terminal device is positioned to obtain the coordinates of the first terminal device.
在第一终端设备接入到运营商网络的情况下,该接入请求还可以包括运营商网络的网络标识。和/或,在第一终端设备已连接到云站点,该接入请求还可以包括该云站点的站点标识。When the first terminal device accesses the operator's network, the access request may further include the network identifier of the operator's network. And/or, when the first terminal device has been connected to the cloud site, the access request may further include the site identifier of the cloud site.
步骤303:分发服务器接收该连接请求,向数据中心服务器发送该连接请求。Step 303: The distribution server receives the connection request, and sends the connection request to the data center server.
在该连接请求包括的位置信息为坐标的情况下,分发服务器根据该坐标,获取第一终端设备所在的第一区域的区域标识,将该连接请求包括的坐标替换为该区域标识,再向数据中心服务器发送该连接请求。或者,分发服务器不对该坐标做处理,向数据中心服务器发送该连接请求,该连接请求包括位置信息仍为坐标。In the case where the location information included in the connection request is a coordinate, the distribution server obtains the area identifier of the first area where the first terminal device is located according to the coordinate, replaces the coordinate included in the connection request with the area identifier, and sends the data to the data The central server sends the connection request. Or, the distribution server does not process the coordinates, and sends the connection request to the data center server, where the connection request including the location information is still the coordinates.
步骤304:数据中心服务器接收该连接请求,根据该连接请求包括的位置信息和该采集 的数据,确定满足第一指定条件的目标运营商网络。Step 304: The data center server receives the connection request, and determines a target operator network that satisfies the first specified condition according to the location information included in the connection request and the collected data.
其中,第一指定条件包括信号质量超过第一质量阈值的运营商网络、能够提供第一终端设备订阅套餐的运营商网络和成本最低的运营商网络等中的至少一个。The first specified condition includes at least one of an operator network whose signal quality exceeds the first quality threshold, an operator network capable of providing a subscription package for the first terminal device, and an operator network with the lowest cost.
在本步骤中,数据中心服务器可以通过如下3041至3043的操作,确定目标运营商网络。该3041至3043的操作分别为:In this step, the data center server may determine the target operator network through the following operations 3041 to 3043. The operations of the 3041 to 3043 are:
3041:数据中心服务器根据第一终端设备的位置信息确定第一终端设备所在的第一区域的区域标识。3041: The data center server determines, according to the location information of the first terminal device, an area identifier of the first area where the first terminal device is located.
在该连接请求包括的位置信息为区域标识的情况下,则将该连接请求包括的位置信息作为第一终端设备所在的第一区域的区域标识。在该连接请求包括的位置信息为坐标的情况下,则根据该坐标确定第一终端设备所在的第一区域,获取第一区域的区域标识。When the location information included in the connection request is an area identifier, the location information included in the connection request is used as an area identifier of the first area where the first terminal device is located. In the case where the location information included in the connection request is the coordinates, the first area where the first terminal device is located is determined according to the coordinates, and the area identifier of the first area is acquired.
3042:数据中心服务器根据第一区域的区域标识,获取各运营商网络在第一区域内的第一信号质量。3042: The data center server acquires, according to the area identifier of the first area, the first signal quality of each operator network in the first area.
在3042中,根据第一区域的区域标识,从第一采集数据中获取对应的各运营商网络的网络标识和该各运营商网络在第一区域内的第一信号质量。In 3042, according to the area identifier of the first area, the corresponding network identifiers of each operator's network and the first signal quality of each operator's network in the first area are acquired from the first collected data.
在第一采集数据中的每条第一数据还包括运营商网络的网络类型的情况下,根据第一区域的区域标识,从第一采集数据中还可以获取该各运营商网络的网络类型。When each piece of first data in the first collected data further includes the network type of the operator's network, according to the area identifier of the first area, the network type of each operator's network can also be obtained from the first collected data.
3043:数据中心服务器根据该各运营商网络在第一区域内的第一信号质量,确定满足第一指定条件的一个运营商网络作为目标运营商网络。3043: The data center server determines, according to the first signal quality of the respective operator networks in the first area, an operator network that satisfies the first specified condition as the target operator network.
在3043中,数据中心服务器根据该各运营商网络在第一区域内的第一信号质量,从获取的各运营商网络的网络标识中,确定第一信号质量超过第一质量阈值的一个运营商网络的网络标识,确定的网络标识对应的运营商网络为目标运营商网络。In 3043, the data center server determines an operator whose first signal quality exceeds the first quality threshold from the acquired network identifiers of each operator's network according to the first signal quality of each operator's network in the first area The network identifier of the network, the operator network corresponding to the determined network identifier is the target operator network.
由于目标运营商网络的第一信号质量超过第一质量阈值,因此在第一终端设备接入目标运营商网络后并使用目标运营商网络来传输业务时,提高业务传输效率。Since the first signal quality of the target operator network exceeds the first quality threshold, the service transmission efficiency is improved when the first terminal device accesses the target operator network and uses the target operator network to transmit services.
数据中心服务器确定目标运营商网络所依据的条件可以只包括运营商网络的第一信号质量外,或者,还可以包括其他条件。例如,在一种可能的实现方式中,该其他条件包括第一终端设备订阅的套餐,也就是说,数据中心服务器确定目标运营商网络所依据的条件包括运营商网络的第一信号质量和第一终端设备订阅的套餐。在该例子中,确定目标运营商网络的过程可以为:The conditions on which the data center server determines the target operator network may only include the first signal quality of the operator network, or may also include other conditions. For example, in a possible implementation manner, the other conditions include a package subscribed by the first terminal device, that is, the conditions on which the data center server determines the target operator network include the first signal quality and the first signal quality of the operator network and the first A package subscribed by a terminal device. In this example, the process of determining the target operator network may be:
数据中心服务器根据第一终端设备的设备标识,确定第一终端设备订阅的套餐,在获取的各运营商网络的网络标识中确定能够提供该套餐的运营商网络的网络标识,从能够提供该套餐的运营商网络的网络标识中,确定第一信号质量超过第一质量阈值的一个运营商网络的网络标识,确定的网络标识对应的运营商网络为目标运营商网络。The data center server determines the package subscribed by the first terminal device according to the device identifier of the first terminal device, and determines the network identifier of the operator network that can provide the package from the acquired network identifiers of each operator network, and determines the network identifier of the operator network that can provide the package. Among the network identifiers of the operator networks, the network identifier of an operator network whose first signal quality exceeds the first quality threshold is determined, and the operator network corresponding to the determined network identifier is the target operator network.
由于确定的目标运营商网络能够提供第一终端设备订阅的套餐,从而保证第一终端设备接入目标运营商网络后能够使用运营商网络来传输业务。Since the determined target operator network can provide the package subscribed by the first terminal device, it is ensured that the first terminal device can use the operator network to transmit services after accessing the target operator network.
其中,确定第一终端设备订阅的套餐的过程可以包括:数据中心服务器根据第一终端设备的设备标识,从套餐订阅数据中获取第一终端设备订阅的套餐标识,该套餐订阅数据包括至少一条订阅数据,对于每条订阅数据,该订阅数据包括终端设备的设备标识和套餐的套餐标识,该订阅数据用于描述该终端设备订阅了该套餐。数据中心服务器根据该套餐标识确定第一终端设备订阅的套餐。其中,该套餐订阅数据可以保存在数据中心服务器。用户可以事 先为第一终端设备订阅套餐,并在套餐订阅数据中存在一条订阅数据,该订阅数据包括第一终端设备的设备标识和为第一终端设备订阅的套餐的套餐标识。The process of determining the package subscribed by the first terminal device may include: the data center server obtains, according to the device identifier of the first terminal device, the package identifier subscribed by the first terminal device from package subscription data, where the package subscription data includes at least one subscription Data, for each piece of subscription data, the subscription data includes the device identifier of the terminal device and the package identifier of the package, and the subscription data is used to describe that the terminal device subscribes to the package. The data center server determines the package subscribed by the first terminal device according to the package identifier. Wherein, the subscription data of the package may be stored in the data center server. The user may subscribe to a package for the first terminal device in advance, and there is a piece of subscription data in the package subscription data, and the subscription data includes the device identifier of the first terminal device and the package identifier of the package subscribed for the first terminal device.
其中,确定能够提供该套餐的运营商网络的网络标识可以包括:第一终端设备订阅的套餐中可能定义了能够提供该套餐的运营商网络的网络类型,在操作3042中数据中心服务器还获取到该各运营商网络的网络类型。在3043中,根据该套餐定义的运营商网络的网络类型,从该各运营商网络的网络标识中确定能够提供该套餐的运营商网络的网络标识。或者,Wherein, determining the network identifier of the operator network that can provide the package may include: the package subscribed by the first terminal device may define the network type of the operator network that can provide the package, and in operation 3042, the data center server also obtains the The network type of each operator's network. In 3043, according to the network type of the operator network defined by the package, the network identifier of the operator network capable of providing the package is determined from the network identifiers of the respective operator networks. or,
数据中心服务器根据第一终端设备订阅的套餐的套餐标识,该各运营商网络的网络标识,以及套餐归属数据,获取能够提供该套餐的各运营商网络的网络标识。该套餐归属数据包括至少一条归属数据,对于每条归属数据,该归属数据包括套餐的套餐标识和运营商网络的网络标识,该归属数据用于描述该运营商网络提供该套餐。该套餐归属数据可以保存在数据中心服务器中。The data center server obtains the network identifiers of each operator network that can provide the package according to the package identifier of the package subscribed by the first terminal device, the network identifier of each operator network, and the package attribution data. The package attribution data includes at least one piece of attribution data. For each piece of attribution data, the attribution data includes a package identifier of the package and a network identifier of the operator network, and the attribution data is used to describe that the operator network provides the package. The data attributable to the package can be stored in the data center server.
在另一种可能的实现方式中,该其他条件还包括各运营商网络提供该套餐的价格,也就是说,数据中心服务器确定目标运营商网络所基于的条件包括运营商网络的第一信号质量、第一终端设备订阅的套餐和运营商网络提供该套餐的价格。在该例子中,确定目标运营商网络的过程可以为:In another possible implementation manner, the other condition further includes the price of the package provided by each operator network, that is, the condition on which the data center server determines the target operator network includes the first signal quality of the operator network , the package subscribed by the first terminal device and the price of the package provided by the operator network. In this example, the process of determining the target operator network may be:
对于能够提供该套餐的运营商网络,数据中心服务器还获取该各运营商网络提供该套餐的价格,从能够提供该套餐的运营商网络的网络标识中,确定第一信号质量超过第一质量阈值且该套餐的价格最低的一个运营商网络的网络标识,确定的网络标识对应的运营商网络为目标运营商网络,如此实现确定第一信号质量超过第一质量阈值且成本最低的一个运营商网络的网络标识。For the operator network that can provide the package, the data center server also obtains the price of each operator network that provides the package, and determines, from the network identifiers of the operator networks that can provide the package, that the quality of the first signal exceeds the first quality threshold And the network identifier of an operator network with the lowest price of the package, and the operator network corresponding to the determined network identifier is the target operator network, so as to determine an operator network whose first signal quality exceeds the first quality threshold and has the lowest cost network identity.
由于目标运营商网络提供第一终端设备订阅的套餐价格最低,这样第一终端设备使用目标运营商网络来传输业务,可以降低使用成本。Since the target operator network provides the lowest price of the package subscribed by the first terminal device, in this way, the first terminal device uses the target operator network to transmit services, which can reduce the usage cost.
可选的,数据中心服务器根据第一终端设备订阅的套餐标识和该各运营商网络的网络标识、从套餐价格数据中获取该各运营商网络提供该套餐的价格。该套餐价格数据包括至少一条价格数据,对于每条价格数据,该价格数据包括套餐的套餐标识、运营商网络的网络标识与价格,该价格数据用于描述该运营商网络提供该套餐的价格。Optionally, the data center server obtains the price of the package provided by each operator network from the package price data according to the package identifier subscribed by the first terminal device and the network identifier of each operator network. The package price data includes at least one piece of price data. For each piece of price data, the price data includes a package identifier of the package, a network identifier and price of the operator network, and the price data is used to describe the price at which the operator network provides the package.
步骤305:数据中心服务器根据该位置信息和该采集的数据,确定满足第二指定条件的目标云站点。Step 305: The data center server determines a target cloud site that satisfies the second specified condition according to the location information and the collected data.
第二指定条件包括网络质量超过第二质量阈值的云站点和成本最低的云站点等中的至少一个。The second specified condition includes at least one of a cloud site whose network quality exceeds the second quality threshold, a cloud site with the lowest cost, and the like.
在本步骤中,数据中心服务器可以通过如下3051至3052的操作确定目标云站点。该3051至3052的操作分别为:In this step, the data center server may determine the target cloud site through the following operations 3051 to 3052. The operations of the 3051 to 3052 are:
3051:数据中心服务器根据第一区域的区域标识,获取各云站点在第一区域内的网络质量。3051: The data center server acquires the network quality of each cloud site in the first area according to the area identifier of the first area.
在第二采集数据中的每条第二数据包括区域的区域标识、云站点的站点标识和网络质量的情况下,数据中心服务器根据第一区域的区域标识,从第二采集数据中获取对应的各云站点的站点标识和该各云站点在第一区域内的网络质量。In the case where each piece of second data in the second collection data includes the area identifier of the area, the site identifier of the cloud site, and the network quality, the data center server obtains the corresponding area identifier from the second collection data according to the area identifier of the first area The site identifier of each cloud site and the network quality of each cloud site in the first area.
在第二采集数据中的每条第二数据还包括运营商网络的网络标识的情况下,数据中心服务器根据第一区域的区域标识和目标运营商网络的网络标识,从第二采集数据中获取对应的 各云站点的站点标识和该各云站点在第一区域内以及在目标运营商网络下的网络质量。In the case where each piece of second data in the second collection data also includes the network identifier of the operator's network, the data center server obtains from the second collection data according to the area identifier of the first area and the network identifier of the target operator's network The corresponding site identifiers of each cloud site and the network quality of each cloud site in the first area and under the target operator network.
3052:数据中心服务器根据获取的网络质量,确定满足第二指定条件的一个目标云站点。3052: The data center server determines, according to the acquired network quality, a target cloud site that satisfies the second specified condition.
在3052中,数据中心服务器从获取的各云站点的站点标识中,确定网络质量超过第二质量阈值的一个云站点的站点标识,确定的站点标识对应的云站点为目标云站点。In 3052, the data center server determines, from the acquired site identifiers of each cloud site, the site identifier of a cloud site whose network quality exceeds the second quality threshold, and the cloud site corresponding to the determined site identifier is the target cloud site.
由于目标云站点的网络质量超过第二质量阈值,因此在第一终端设备连接到目标云站点后并与目标云站点传输业务时,提高业务传输效率。Since the network quality of the target cloud site exceeds the second quality threshold, after the first terminal device is connected to the target cloud site and transmits services with the target cloud site, the service transmission efficiency is improved.
数据中心服务器确定目标云站点所依据的条件可以只包括云站点的网络质量,或者,还可以包括其他条件。例如,在一种可能的实现方式中,该其他条件包括云站点提供的业务价格,这样在3052中,数据中心服务器根据获取的各云站点的站点标识,获取该各云站点提供的业务价格;数据中心服务器从获取的各云站点的站点标识中,确定网络质量超过第二质量阈值且提供的业务价格最低的云站点的站点标识,确定的站点标识对应的云站点是网络质量超过第二质量阈值且成本最低的目标云站点。The conditions on which the data center server determines the target cloud site may only include the network quality of the cloud site, or may also include other conditions. For example, in a possible implementation manner, the other conditions include the service price provided by the cloud site, so in 3052, the data center server obtains the service price provided by each cloud site according to the acquired site identifier of each cloud site; From the acquired site identifiers of each cloud site, the data center server determines the site identifier of the cloud site whose network quality exceeds the second quality threshold and provides the lowest service price, and the cloud site corresponding to the determined site identifier is a cloud site whose network quality exceeds the second quality Threshold and lowest cost target cloud site.
由于目标云站点提供的业务价格最低,第一终端设备连接到目标云站点后,可以降低用户的使用成本。Since the service price provided by the target cloud site is the lowest, the use cost of the user can be reduced after the first terminal device is connected to the target cloud site.
其中,数据中心服务器获取该各云站点提供的业务价格的过程可以为:数据中心服务器根据该各云站点的站点标识,从业务价格数据中获取各云站点提供的业务价格,该业务价格数据包括至少一条价格数据,该价格数据包括云站点的站点标识和业务价格,该价格数据用于描述该站点提供业务的业务价格。其中,该业务价格数据可以保存在数据中心服务器中。The process for the data center server to obtain the service price provided by each cloud site may be as follows: the data center server obtains the service price provided by each cloud site from service price data according to the site identifier of each cloud site, and the service price data includes: At least one piece of price data, the price data includes the site identifier of the cloud site and the service price, and the price data is used to describe the service price of the service provided by the site. The service price data may be stored in the data center server.
其中,需要说明是:可以先执行上述步骤304,再执行步骤305;或者,可以同时执行步骤305和步骤304;或者,可以先执行步骤305,再执行步骤304。It should be noted that: the above step 304 may be performed first, and then the step 305 may be performed; or, the step 305 and the step 304 may be performed at the same time; or, the step 305 may be performed first, and then the step 304 may be performed.
其中,在3051中获取各云站点的站点标识时,需要将目标运营商网络的网络标识作为获取条件的情况下,需要先执行上述步骤304,再执行步骤305。Wherein, when acquiring the site identifier of each cloud site in 3051, if the network identifier of the target operator network needs to be used as the acquisition condition, the above step 304 needs to be performed first, and then the step 305 is performed.
其中,在先执行步骤305的情况下,数据中心服务器需要先根据第一终端设备的位置信息,确定第一终端设备所在第一区域的区域标识,然后再根据该区域标识和该采集的数据,确定目标云站点。Wherein, in the case of performing step 305 first, the data center server needs to first determine the area identifier of the first area where the first terminal device is located according to the location information of the first terminal device, and then according to the area identifier and the collected data, Determine the target cloud site.
步骤306:数据中心服务器向分发服务器发送第一连接响应,该第一连接响应包括目标运营商网络的网络标识和目标云站点的站点标识。Step 306: The data center server sends a first connection response to the distribution server, where the first connection response includes the network identifier of the target operator network and the site identifier of the target cloud site.
在第一终端设备已接入运营商网络的情况下,数据中心服务器还确定第一终端设备已接入的运营商网络和目标运营商网络是否相同。在确定出不同的情况下,该连接响应包括目标运营商网络的网络标识,数据中心服务器使用该连接响应触发第一终端设备从已接入运营商网络切换到目标运营商网络。在确定出相同的情况下,该连接响应可以不包括目标运营商网络的网络标识,此情况下,第一终端设备可以不切换运营商网络。In the case that the first terminal device has accessed the operator network, the data center server also determines whether the operator network to which the first terminal device has accessed is the same as the target operator network. In the case where it is determined to be different, the connection response includes the network identifier of the target operator network, and the data center server uses the connection response to trigger the first terminal device to switch from the operator network that has been accessed to the target operator network. If it is determined to be the same, the connection response may not include the network identifier of the target operator network, and in this case, the first terminal device may not switch the operator network.
其中,数据中心服务器确定第一终端设备已接入的运营商网络和目标运营商网络是否相同操作可以为:在该连接请求包括第一终端设备已接入的运营商网络的网络标识的情况下,数据中心服务器比较该已接入的运营商网络的网络标识和目标运营商的网络标识,如果比较出两者相同,则确定第一终端设备已接入的运营商网络和目标运营商网络相同,如果比较出两者不同,则确定第一终端设备已接入的运营商网络和目标运营商网络不同。The operation of the data center server to determine whether the operator network to which the first terminal device has accessed and the target operator network are the same may be: in the case that the connection request includes the network identifier of the operator network to which the first terminal device has accessed , the data center server compares the network identification of the operator network that has been accessed with the network identification of the target operator, and if the comparison shows that the two are the same, it is determined that the operator network that the first terminal device has accessed is the same as the target operator network , if the comparison shows that the two are different, it is determined that the operator network to which the first terminal device has accessed is different from the target operator network.
在第一终端设备已连接云站点的情况下,数据中心服务器还确定第一终端设备已连接的云站点和目标云站点是否相同。在确定出不同的情况下,该连接响应包括目标云站点的站点 标识,数据中心服务器使用该连接响应触发第一终端设备从已连接的云站点切换到目标云站点。在确定出相同的情况下,该连接响应可以不包括目标云站点的站点标识,此情况下,第一终端设备可以不切换云站点。In the case that the first terminal device has been connected to the cloud site, the data center server also determines whether the cloud site to which the first terminal device has been connected is the same as the target cloud site. In the case that it is determined to be different, the connection response includes the site identification of the target cloud site, and the data center server uses the connection response to trigger the first terminal device to switch from the connected cloud site to the target cloud site. If it is determined to be the same, the connection response may not include the site identifier of the target cloud site, and in this case, the first terminal device may not switch the cloud site.
步骤307:分发服务器接收第一连接响应,向RSP发送切换命令,该切换命令包括第一终端设备的设备标识和目标运营商网络的网络标识。Step 307: The distribution server receives the first connection response, and sends a handover command to the RSP, where the handover command includes the device identifier of the first terminal device and the network identifier of the target operator network.
步骤308:分发服务器向第一终端设备发送第二连接响应,第二连接响应包括目标云站点的标识,用于指示第一终端设备切换云站点。Step 308: The distribution server sends a second connection response to the first terminal device, where the second connection response includes the identifier of the target cloud site, and is used to instruct the first terminal device to switch the cloud site.
在不切换运营商网络的情况下,即第一连接响应不包括目标运营商网络的网络标识。在此情况下,如果第一连接响应包括目标云站点的站点标识,则分发服务器不会向RSP发送切换命令,但会继续向第一终端设备发送第二连接响应。In the case of not switching the operator network, that is, the first connection response does not include the network identifier of the target operator network. In this case, if the first connection response includes the site identifier of the target cloud site, the distribution server will not send the switching command to the RSP, but will continue to send the second connection response to the first terminal device.
在不切换云站点的情况下,即第一连接响应不包括目标云站点的站点标识。在此情况下,如果第一连接响应包括目标运营商网络的网络标识,则分发服务器向RSP发送切换命令,可以继续向第一终端设备发送第二连接响应,或者,停止向第一终端设备发送第二连接响应,但第二连接响应不包括内容。In the case of not switching the cloud site, that is, the first connection response does not include the site identifier of the target cloud site. In this case, if the first connection response includes the network identifier of the target operator's network, the distribution server sends a handover command to the RSP, and can continue to send the second connection response to the first terminal device, or stop sending the first terminal device. The second connect response, but the second connect response does not include content.
其中,需要说明是:分发服务器可以同时发送切换命令和第二连接响应,或者,先发送切换命令再发送第二连接响应,或者,先发送第二连接响应再发送切换命令。It should be noted that: the distribution server may send the switching command and the second connection response at the same time, or send the switching command first and then send the second connection response, or send the second connection response first and then send the switching command.
步骤309:RSP接收该切换命令,根据该切换命令向第一终端设备的eSIM中写入属于目标运营端网络的SIM卡数据。Step 309: The RSP receives the handover command, and writes the SIM card data belonging to the target operator network into the eSIM of the first terminal device according to the handover command.
在本步骤中,RSP接收该切换命令,从该切换命令中提取目标运营商网络的网络标识和第一终端设备的设备标识,根据目标运营商网络的网络标识,获取属于目标运营商网络的SIM卡数据,根据第一终端设备的设备标识,向第一终端设备的eSIM中写入该SIM卡数据。In this step, the RSP receives the handover command, extracts the network identity of the target operator network and the device identity of the first terminal device from the handover command, and obtains the SIM belonging to the target operator network according to the network identity of the target operator network Card data, according to the device identifier of the first terminal device, write the SIM card data into the eSIM of the first terminal device.
其中,RSP向第一终端设备的eSIM中写入该SIM卡数据的过程可以为:RSP对应保存第一终端设备的设备标识与该SIM卡数据,根据第一终端设备的设备标识,向第一终端设备发送下载通知。第一终端设备接收该下载通知后,向RSP发送下载请求,该下载请求包括第一终端设备的设备标识。RSP获取与该设备标识相对应的该SIM卡数据,向第一终端设备发送该SIM卡数据。第一终端设备接收该SIM卡数据,并将该SIM卡数据保存到第一终端设备的eSIM中。Wherein, the process of writing the SIM card data into the eSIM of the first terminal device by the RSP may be as follows: the RSP stores the device identification of the first terminal device and the SIM card data correspondingly, and sends the data to the first terminal device according to the device identification of the first terminal device. The terminal device sends a download notification. After receiving the download notification, the first terminal device sends a download request to the RSP, where the download request includes the device identifier of the first terminal device. The RSP acquires the SIM card data corresponding to the device identifier, and sends the SIM card data to the first terminal device. The first terminal device receives the SIM card data, and saves the SIM card data in the eSIM of the first terminal device.
该SIM卡数据包括IMSI、密钥标识(key identifier,Ki)和认证与密钥协商协议(authentication and key agreement,AKA)等至少一个。The SIM card data includes at least one of IMSI, key identifier (Ki) and authentication and key agreement (authentication and key agreement, AKA).
关于修改第一终端的运营商网络,除了按上述步骤306至308的过程由分发服务器触发RSP向第一终端设备的eSIM中写入属于目标运营端网络的SIM卡数据外,还可以采用其他的实现过程。Regarding modifying the operator network of the first terminal, in addition to triggering the RSP by the distribution server to write the SIM card data belonging to the target operator network into the eSIM of the first terminal device according to the process of the above steps 306 to 308, other Implementation process.
在一种可能的实现方式中,数据中心服务器直接触发RSP向第一终端设备写入该SIM卡数据。In a possible implementation manner, the data center server directly triggers the RSP to write the SIM card data to the first terminal device.
在此实现方式中,数据中心服务器向RSP发送切换命令,该切换命令包括第一终端设备的设备标识和目标运营商网络的网络标识。而数据中心服务器向分发服务器发送的第一连接响应不包括目标运营商网络的网络标识。RSP接收该切换命令,根据该切换命令向第一终端设备的eSIM中写入属于目标运营端网络的SIM卡数据。In this implementation manner, the data center server sends a handover command to the RSP, where the handover command includes the device identification of the first terminal device and the network identification of the target operator network. However, the first connection response sent by the data center server to the distribution server does not include the network identifier of the target operator network. The RSP receives the handover command, and writes the SIM card data belonging to the target operator network into the eSIM of the first terminal device according to the handover command.
在另一种可能的实现方式中,数据中心服务器从RSP中获取该SIM卡数据,再触发分发 服务器向第一终端设备写入该SIM卡数据。In another possible implementation manner, the data center server acquires the SIM card data from the RSP, and then triggers the distribution server to write the SIM card data to the first terminal device.
在此实现方式中,数据中心服务器向RSP发送SIM卡获取请求,该SIM卡获取请求包括目标运营商网络的网络标识。RSP接收该SIM卡获取请求,根据目标运营商网络的网络标识,获取属于目标运营商网络的SIM卡数据,向数据中心服务器发送SIM卡获取响应,该SIM卡获取响应包括该SIM卡数据。数据中心服务器向分发服务器发送第一连接响应,第一连接响应包括该SIM卡数据。分发服务器向第一终端设备发送第二连接响应,第二连接响应包括该SIM卡数据。第一终端设备接收第二连接响应,将该SIM卡数据保存到第一终端设备的eSIM中。In this implementation manner, the data center server sends a SIM card acquisition request to the RSP, where the SIM card acquisition request includes the network identifier of the target operator network. The RSP receives the SIM card acquisition request, acquires SIM card data belonging to the target operator network according to the network identifier of the target operator network, and sends a SIM card acquisition response to the data center server, where the SIM card acquisition response includes the SIM card data. The data center server sends a first connection response to the distribution server, where the first connection response includes the SIM card data. The distribution server sends a second connection response to the first terminal device, where the second connection response includes the SIM card data. The first terminal device receives the second connection response, and saves the SIM card data in the eSIM of the first terminal device.
步骤310:第一终端设备接收第二连接响应,根据该SIM卡数据接入目标运营商网络,根据第二连接响应包括的目标云站点的站点标识,通过目标运营商网络连接目标云站点。Step 310: The first terminal device receives the second connection response, accesses the target operator network according to the SIM card data, and connects to the target cloud site through the target operator network according to the site identifier of the target cloud site included in the second connection response.
可选的,第一终端设备根据目标云站点的站点标识,在目标运营商网络中建立与目标云站点之间的网络连接,以连接目标云站点。Optionally, the first terminal device establishes a network connection with the target cloud site in the target operator network according to the site identifier of the target cloud site, so as to connect to the target cloud site.
在上述流程中,第一终端设备通过发送一个连接请求请求目标运营商网络和目标云站点。除了此实现方式外,第一终端设备也可以通过发送两个连接请求分别请求目标运营商网络和目标云站点,该两个请求分别为eSIM连接请求和站点连接请求。在实现时:In the above process, the first terminal device requests the target operator network and the target cloud site by sending a connection request. In addition to this implementation manner, the first terminal device may also request the target operator network and the target cloud site by sending two connection requests, where the two requests are an eSIM connection request and a site connection request respectively. When implemented:
第一终端设备向分发服务器发送eSIM连接请求,该eSIM连接请求包括第一终端设备的设备标识和位置信息。分发服务器向数据中心服务器发送该eSIM连接请求,数据中心服务器接收该eSIM连接请求,根据该位置信息和该采集的数据确定目标运营商网络,根据该设备标识向第一终端设备的eSIM中写入属于目标运营商网络的SIM卡数据。The first terminal device sends an eSIM connection request to the distribution server, where the eSIM connection request includes the device identification and location information of the first terminal device. The distribution server sends the eSIM connection request to the data center server, and the data center server receives the eSIM connection request, determines the target operator network according to the location information and the collected data, and writes the device identification to the eSIM of the first terminal device. SIM card data belonging to the target operator's network.
第一终端设备向分发服务器发送站点连接请求,该站点连接请求包括第一终端设备的设备标识和位置信息。分发服务器向数据中心服务器发送该站点连接请求。数据中心服务器接收该站点连接请求,根据该位置信息和该采集的数据确定目标云站点,向分发服务器发送该站点连接响应,该站点连接响应包括目标云站点的站点标识。分发服务器向第一终端设备发送该站点连接响应。The first terminal device sends a site connection request to the distribution server, where the site connection request includes the device identification and location information of the first terminal device. The distribution server sends the site connection request to the data center server. The data center server receives the site connection request, determines the target cloud site according to the location information and the collected data, and sends the site connection response to the distribution server, where the site connection response includes the site identifier of the target cloud site. The distribution server sends the site connection response to the first terminal device.
第一终端设备根据该SIM卡数据接入目标运营商网络,以及在接收该站点连接响应时,根据目标云站点的站点标识通过目标运营商网络连接目标云站点。The first terminal device accesses the target operator network according to the SIM card data, and when receiving the site connection response, connects to the target cloud site through the target operator network according to the site identifier of the target cloud site.
在第一终端设备已接入运营商网络和已连接云站点的情况下,当第一终端设备已接入的运营商网络的信号质量较差时,第一终端设备可以只发送eSIM连接请求。在此情况下,数据中心服务器可以根据eSIM连接请求确定目标运营商,并可以不再继续确定目标云站点。第一终端设备在得到属于目标运营商的SIM卡数据时,根据该SIM卡数据接入到目标运营商网络,在目标运营商网络中建立与该云站点之间的网络连接,以实现在信号质量较高的目标运营商网络中连接到该云站点。或者,In the case that the first terminal device has accessed the operator network and is connected to the cloud site, when the signal quality of the operator network to which the first terminal device has accessed is poor, the first terminal device may only send an eSIM connection request. In this case, the data center server may determine the target operator according to the eSIM connection request, and may not continue to determine the target cloud site. When the first terminal device obtains the SIM card data belonging to the target operator, it accesses the target operator network according to the SIM card data, and establishes a network connection with the cloud site in the target operator network, so as to realize the signal Connect to this cloud site in a higher quality target carrier network. or,
在第一终端设备已接入运营商网络和已连接云站点的情况下,当第一终端设备已连接的云站点的网络质量较差时,第一终端设备可以只发送站点连接请求。在此情况下,数据中心服务器可以根据站点连接请求确定目标云站点,并可以不确定目标运营商网络。第一终端设备在得到目标云站点的站点标识时,根据该站点标识,在已接入的运营商网络中建立与目标云站点之间的网络连接,以实现连接到网络质量较高的目标云站点。In the case that the first terminal device has accessed the operator's network and is connected to the cloud site, when the network quality of the cloud site to which the first terminal device has been connected is poor, the first terminal device may only send a site connection request. In this case, the data center server may determine the target cloud site according to the site connection request, and may determine the target operator network. When the first terminal device obtains the site identification of the target cloud site, according to the site identification, establishes a network connection with the target cloud site in the network of the operator that has been accessed, so as to connect to the target cloud with higher network quality site.
在上述流程中,分发服务器可以与数据中心服务器合为一体,这样在合为一起的情况下,第一终端设备直接向数据中心服务器发送连接请求,以及数据中心服务器向第一终端设备发 送连接响应。也就是说,不需要执行步骤303和步骤307的操作。In the above process, the distribution server can be integrated with the data center server, so that in the case of integration, the first terminal device directly sends a connection request to the data center server, and the data center server sends a connection response to the first terminal device. . That is, the operations of step 303 and step 307 need not be performed.
在步骤302中,第一终端设备向数据中心服务器发送连接请求。在步骤306中,数据中心服务器向RSP发送切换命令,以及向第一终端设备发送第一连接响应,该切换命令包括第一终端设备的设备标识和目标运营商网络的网络标识,第一连接响应包括目标云站点的站点标识。In step 302, the first terminal device sends a connection request to the data center server. In step 306, the data center server sends a handover command to the RSP, and sends a first connection response to the first terminal device, the handover command includes the device identification of the first terminal device and the network identification of the target operator network, and the first connection response Include the site ID of the target cloud site.
在分发服务器与数据中心服务器合为一体的情况下,数据中心服务器还可以采用其他方式向第一终端设备写入该SIM卡数据。例如,数据中心服务器从RSP中获取SIM卡数据,向第一终端设备发送该SIM卡数据。在实现时,In the case where the distribution server and the data center server are integrated, the data center server may also use other methods to write the SIM card data to the first terminal device. For example, the data center server acquires SIM card data from the RSP, and sends the SIM card data to the first terminal device. When implemented,
数据中心服务器向RSP发送SIM卡获取请求,该SIM卡获取请求包括目标运营商网络的网络标识。RSP接收该SIM卡获取请求,根据目标运营商网络的网络标识,获取属于目标运营商网络的SIM卡数据,向数据中心服务器发送SIM卡获取响应,该SIM卡获取响应包括该SIM卡数据。数据中心服务器向第一终端设备发送第一连接响应,第一连接响应包括该SIM卡数据和目标云站点的站点标识。The data center server sends a SIM card acquisition request to the RSP, where the SIM card acquisition request includes the network identifier of the target operator network. The RSP receives the SIM card acquisition request, acquires SIM card data belonging to the target operator network according to the network identifier of the target operator network, and sends a SIM card acquisition response to the data center server, where the SIM card acquisition response includes the SIM card data. The data center server sends a first connection response to the first terminal device, where the first connection response includes the SIM card data and the site identifier of the target cloud site.
对于步骤301中的第一采集数据,云站点先采集了各个运营商网络在各个区域内的第二信号质量,然后数据服务中心再针对每个区域,把不同云站点采集的各运营商网络在每个区域内的第二信号质量分别取平均,得到各运营商网络在每个区域内的第一信号质量,从而得到第一采集数据。For the first collected data in step 301, the cloud site first collects the second signal quality of each operator's network in each area, and then the data service center, for each area, collects each operator's network collected by different cloud sites in the The second signal quality in each area is averaged to obtain the first signal quality of each operator network in each area, thereby obtaining the first collected data.
数据中心服务器可以采用如下3011至3014的操作获取第一采集数据。该3011至3014的操作分别为:The data center server may acquire the first collected data by using the following operations 3011 to 3014 . The operations of 3011 to 3014 are:
3011:云站点接收第二终端设备发送的第一测量信息,第一测量信息包括第二终端设备的位置信息、一个运营商网络的网络标识和该运营商网络的信号强度,第二终端设备是已接入该云站点的终端设备,该运营商网络是第二终端设备接入的运营商网络。3011: The cloud site receives the first measurement information sent by the second terminal device. The first measurement information includes the location information of the second terminal device, the network identifier of an operator's network, and the signal strength of the operator's network. The second terminal device is The terminal device that has accessed the cloud site, and the operator network is the operator network accessed by the second terminal device.
第二终端设备在接入云站点时测量其接入的运营商网络的信号强度,向云站点发送包括该信号强度的第一测量信息。或者,第二终端设备在接入云站点后,可以定期或不定期地测量其接入的运营商网络的信号强度并向云站点发送包括该信号强度的第一测量信息。The second terminal device measures the signal strength of the operator's network to which it is connected when accessing the cloud site, and sends first measurement information including the signal strength to the cloud site. Alternatively, after accessing the cloud site, the second terminal device may periodically or irregularly measure the signal strength of the operator network to which it accesses and send the first measurement information including the signal strength to the cloud site.
第二终端设备的位置信息为第二终端设备的坐标或第二区域的区域标识,第二区域为第二终端设备所在的区域。The location information of the second terminal device is the coordinates of the second terminal device or the area identifier of the second area, and the second area is the area where the second terminal device is located.
该运营商网络的信号强度可以为接收的信号强度指示(received signal strength indication,RSSI)等信息。The signal strength of the operator's network may be information such as a received signal strength indication (received signal strength indication, RSSI).
第一测量信息可以只包括上述列举的几种信息,或者,第一测量信息还可以包括其他信息。例如,第一测量信息还可以包括第二终端设备的设备标识和/或该运营商网络的网络类型等信息。The first measurement information may only include several kinds of information listed above, or the first measurement information may also include other information. For example, the first measurement information may further include information such as the device identification of the second terminal device and/or the network type of the operator's network.
一个运营商可能具有不同网络类型的运营商网络,例如,一个运营商具有3G网络类型的运营商网络、4G网络类型的运营商网络、5G网络类型的运营商网络等中的一个或多个运营商网络。An operator may have operator networks of different network types, for example, an operator has one or more of a 3G network type operator network, a 4G network type operator network, a 5G network type operator network, etc. business network.
第二终端设备的设备标识包括第二终端设备的集成电路卡识别码(integrate circuit card identity,iccid)、国际移动用户识别码(international mobile subscriber identity,imsi)和国际移动设备识别码(international mobile equipment identity,IMEI)中的一个或多个。运营商网 络的网络标识包括该运营商网络的移动国家码(mobile country code,MCC)和移动网络号码(mobile network code,MNC)。第二区域的区域标识包括第二终端设备所在小区的小区标识和第二终端设备所在位置区的区域码等中的一个或多个。The device identifier of the second terminal device includes an integrated circuit card identity (iccid), an international mobile subscriber identity (imsi), and an international mobile equipment identity (international mobile equipment) of the second terminal device. one or more of identity, IMEI). The network identifier of the operator's network includes the mobile country code (MCC) and the mobile network code (MNC) of the operator's network. The area identifier of the second area includes one or more of the cell identifier of the cell where the second terminal device is located and the area code of the location area where the second terminal device is located.
已接入到该云站点中的每个终端设备同第二终端设备一样,获取第一测量信息,向该云站点发送第一测量信息。所以云站点可以接收到不同区域内的不同终端设备发送的第一测量信息。Like the second terminal device, each terminal device that has been connected to the cloud site acquires the first measurement information, and sends the first measurement information to the cloud site. Therefore, the cloud site can receive the first measurement information sent by different terminal devices in different areas.
3012:云站点根据接收的第一测量信息,获取各个运营商网络在各个区域内的第二信号质量,得到第三采集数据。3012: The cloud site acquires the second signal quality of each operator network in each area according to the received first measurement information, and obtains third collection data.
第三采集数据用于描述在该云站点上的各个运营商网络在各个区域内的第二信号质量,第三采集数据包括至少一条第三数据,每条第三数据包括区域的区域标识、运营商网络的网络标识和第二信号质量,该条第三数据用于表示该运营商网络在该区域内的第二信号质量。The third collection data is used to describe the second signal quality of each operator network on the cloud site in each area, the third collection data includes at least one piece of third data, and each piece of third data includes the area identifier of the area, the operation The network identifier and the second signal quality of the operator network, and the third piece of data is used to represent the second signal quality of the operator network in the area.
可选的,云站点可以通过如下(1-1)至(1-3)的操作,获取各个运营商网络在各个区域内的第一信号质量。该(1-1)至(1-3)的操作分别为:Optionally, the cloud site may obtain the first signal quality of each operator network in each area through the following operations (1-1) to (1-3). The operations of (1-1) to (1-3) are:
(1-1),对于上述第二区域,云站点从接收的第一测量信息中选择第二区域内的各终端设备发送的第一测量信息。(1-1) For the second area, the cloud site selects the first measurement information sent by each terminal device in the second area from the received first measurement information.
云站点从接收的第一测量信息中,选择包括第二区域的区域标识的第一测量信息,得到第二区域内的各终端设备发送的第一测量信息。The cloud site selects the first measurement information including the area identifier of the second area from the received first measurement information, and obtains the first measurement information sent by each terminal device in the second area.
在接收的第一测量信息包括的第二终端设备的位置信息为坐标时,云站点根据该坐标确定第二终端设备所在的第二区域,将该第一测量信息作为第二区域内的第二终端设备发送的第一测量信息。When the location information of the second terminal device included in the received first measurement information is the coordinates, the cloud site determines the second area where the second terminal device is located according to the coordinates, and uses the first measurement information as the second area in the second area. The first measurement information sent by the terminal device.
(1-2),云站点在第二区域内的各终端设备发送的第一测量信息中,分类出不同运营商网络的第一测量信息。(1-2), the cloud site classifies the first measurement information of different operator networks in the first measurement information sent by each terminal device in the second area.
在第二区域内的各终端设备发送的第一测量信息中,将包括同一网络标识的第一测量信息分类为属于同一运营商网络的第一测量信息,这样将同一运营商网络在第二区域内的第一测量信息分为一类。In the first measurement information sent by each terminal device in the second area, the first measurement information including the same network identifier is classified as the first measurement information belonging to the same operator network, thus classifying the same operator network in the second area The first measurement information within is classified into one category.
例如,假设第二区域被运营商网络A和运营商网络B所覆盖,在第二区域内的各终端设备发送的第一测量信息中,可以分类出运营商网络A的第一测量信息和运营商网络B的第一测量信息。For example, assuming that the second area is covered by operator network A and operator network B, in the first measurement information sent by each terminal device in the second area, the first measurement information of operator network A and the operation The first measurement information of the business network B.
(1-3),云站点根据同一运营商网络的各第一测量信息包括的信号强度,计算该运营商网络在第二区域内的第二信号质量。(1-3), the cloud site calculates the second signal quality of the operator network in the second area according to the signal strength included in each first measurement information of the same operator network.
根据属于该运营商网络的各第一测量信息包括的信号强度,计算平均信号强度,将该平均信号强度作为该运营商网络在第二区域内的第二信号质量。Calculate the average signal strength according to the signal strength included in each first measurement information belonging to the operator's network, and use the average signal strength as the second signal quality of the operator's network in the second area.
云站点重复执行上述(1-1)至(1-3)的操作得到第三采集数据,第三采集数据包括至少一条第三数据,每条第三数据包括区域的区域标识、运营商网络的网络标识和第二信号质量,或者,每条第三数据包括区域的区域标识、运营商网络的网络标识,该运营商网络的网络类型和第二信号质量,该条第三数据用于表示该运营商网络在该区域内的第二信号质量。The cloud site repeatedly performs the operations from (1-1) to (1-3) above to obtain third collection data. The third collection data includes at least one piece of third data, and each piece of third data includes the area identifier of the area, the The network identifier and the second signal quality, or each piece of third data includes the area identifier of the area, the network identifier of the operator's network, the network type of the operator's network, and the second signal quality, and the third piece of data is used to indicate the The second signal quality of the operator's network in the area.
例如,对于运营商网络A,根据运营商网络A的各第一测量信息包括的信号强度,计算平均信号强度,将该平均信号强度作为运营商网络A在第二区域内的第二信号质量。假设第二信号质量为100,如此得到一条第三数据,该条第三数据为如下表1中的第二行数据,即 该条第三数据包括第二区域的区域标识AreaID1,运营商网络A的网络标识NetIDA和第二信号质量100。For example, for operator network A, calculate the average signal strength according to the signal strength included in each first measurement information of operator network A, and use the average signal strength as the second signal quality of operator network A in the second area. Assuming that the quality of the second signal is 100, a piece of third data is obtained in this way. The piece of third data is the second row of data in Table 1 below, that is, the piece of third data includes the area identifier AreaID1 of the second area, the operator network A The network identifies NetIDA and the second signal quality 100.
对于运营商网络B,根据运营商网络B的各第一测量信息包括的信号强度,计算平均信号强度,将该平均信号强度作为运营商网络B在第二区域内的第二信号质量。假设第二信号质量为90,如此得到一条第三数据,该条第三数据为如下表1中的第三行数据,即该条第三数据包括第二区域的区域标识AreaID1,运营商网络B的网络标识NetIDB和第二信号质量90。For operator network B, calculate the average signal strength according to the signal strength included in each first measurement information of operator network B, and use the average signal strength as the second signal quality of operator network B in the second area. Assuming that the quality of the second signal is 90, a piece of third data is obtained in this way, which is the third row of data in Table 1 below, that is, the third piece of data includes the area identifier AreaID1 of the second area, the operator network B The network identifies NetIDB and the second signal quality 90.
可选的,云站点通过重复执行上述操作(1-1)至(1-3),采集各运营商网络在不同区域的第二信号质量,从而得到不同的第三数据,该不同的第三数据组成如下表1所示的第三采集数据。Optionally, the cloud site repeatedly performs the above operations (1-1) to (1-3) to collect the second signal quality of each operator's network in different areas, so as to obtain different third data, the different third data. The data constitutes the third collection data shown in Table 1 below.
表1Table 1
区域标识Area ID 网络标识network identity 第二信号质量second signal quality
AreaID1AreaID1 NetIDANetIDA 100100
AreaID1AreaID1 NetIDBNetIDB 9090
AreaID2AreaID2 NetIDANetIDA 110110
……... ……... ……...
3013:云站点向数据中心服务器发送第三采集数据。3013: The cloud site sends the third collection data to the data center server.
对于其他每个云站点,分别执行上述3011至3013的操作向数据中心服务器发送各第三采集数据。For each other cloud site, respectively perform the operations of 3011 to 3013 to send the third collection data to the data center server.
位于同一个区域内的不同终端设备可能接入不同的云站点,所以不同云站点可能发送不同运营商网络在同一区域内的第二信号质量。例如,假设,第二区域内有一部分终端设备接入到云站点1,第二区域内剩下的终端设备接入到云站点2,这样云站点1可以采集到各运营商网络在第二区域内的第二信号质量,得到第三采集数据,向数据中心服务器发送第三采集数据。以及,云站点2也可以采集到各运营商网络在第二区域内的第一信号质量,得到第三采集数据,向数据中心服务器发送第三采集数据。Different terminal devices located in the same area may access different cloud sites, so different cloud sites may send second signal qualities of different operator networks in the same area. For example, suppose that some terminal devices in the second area connect to cloud site 1, and the remaining terminal devices in the second area connect to cloud site 2, so that cloud site 1 can collect information about the network of each operator in the second area. The second signal quality in the data center is obtained, the third collected data is obtained, and the third collected data is sent to the data center server. In addition, the cloud site 2 may also collect the first signal quality of each operator's network in the second area, obtain the third collection data, and send the third collection data to the data center server.
对于任意两个云站点发送的第三采集数据,例如仍以上述云站点1和云站点2为例来说明,云站点1发送的第三采集数据中可能存在一条第三数据(称为第三数据1),云站点2发送的第三采集数据中可能存在一条第三数据(称为第三数据2),第三数据1和第三数据2包括相同的区域的区域标识和相同的运营商网络的网络标识,但第三数据1包括的第二信号质量和第三数据2包括的第二信号质量可能相同或可能不同。For the third collection data sent by any two cloud sites, for example, still taking the above cloud site 1 and cloud site 2 as examples to illustrate, there may be a third piece of third data (called the third piece of data sent by cloud site 1) in the third collection data sent by cloud site 1. Data 1), there may be a third piece of third data (called third data 2) in the third collected data sent by cloud site 2. The third data 1 and the third data 2 include the same region ID and the same operator. The network identifier of the network, but the second signal quality included in the third data 1 and the second signal quality included in the third data 2 may be the same or may be different.
3014:数据中心服务器接收不同云站点发送的第三采集数据,根据不同云站点发送的各个第三采集数据,获取各个运营商网络在不同区域内的第一信号质量,得到第一采集数据。3014: The data center server receives the third collection data sent by different cloud sites, obtains the first signal quality of each operator network in different areas according to the third collection data sent by the different cloud sites, and obtains the first collection data.
可选的,对于任一个区域,以及对于每个运营商网络,从每个云站点发送的第三采集数据中获取该运营商网络在该区域内的第二信号质量,根据获取的第二信号质量计算信号质量平均值,将该信号质量平均值作为该运营商网络在该区域内的第一信号质量,从而得到一条第一数据,该第一数据包括该区域的区域标识、该运营商网络的网络标识和该第一信号质量,或者,该第一数据包括该区域的区域标识、该运营商网络的网络标识、该运营商网络的网络类型和该第一信号质量。Optionally, for any area and for each operator network, the second signal quality of the operator network in the area is obtained from the third collection data sent by each cloud site, and according to the obtained second signal quality Calculate the average signal quality by quality, and use the average signal quality as the first signal quality of the operator network in the area, so as to obtain a piece of first data, where the first data includes the area identifier of the area, the operator network The network identifier and the first signal quality, or the first data includes the area identifier of the area, the network identifier of the operator's network, the network type of the operator's network, and the first signal quality.
按上述相同方式获取各运营商网络分别在各区域内的第一信号质量,从而得到不同的第一数据,该不同的第一数据组成第一采集数据。The first signal quality of each operator network in each area is acquired in the same manner as described above, thereby obtaining different first data, and the different first data constitutes the first collected data.
可选的,数据中心服务器除了通过上述3011至3014的操作获取各个运营商网络在不同区域内的第一信号质量外,还可以通过其他方式获取各个运营商网络在不同区域内的第一信号质量。例如,每个云站点可以向数据中心服务器发送接收的不同终端设备的第一测量信息。数据中心服务接收不同终端设备的第一测量信息,从接收的第一测量信息中,将属于同一区域和同一运营商网络的第一测量信息分为一类第一测量信息,根据该类第一测量信息中的每个第一测量信息包括的信号强度计算平均信号强度,将该平均信号强度作为该运营商网络在该区域内的第一信号质量。Optionally, in addition to obtaining the first signal quality of each operator's network in different areas through the operations of 3011 to 3014, the data center server may also obtain the first signal quality of each operator's network in different areas through other methods. . For example, each cloud site may send the received first measurement information of different terminal devices to the data center server. The data center service receives the first measurement information of different terminal devices, and from the received first measurement information, divides the first measurement information belonging to the same area and the same operator network into a type of first measurement information, according to the type of first measurement information. The average signal strength is calculated from the signal strength included in each first measurement information in the measurement information, and the average signal strength is taken as the first signal quality of the operator network in the area.
其中,在数据中心服务器通过上述3111至3114的过程得到各个运营商网络在不同区域内的第一信号质量时,由于每个云站点直接获取各个运营商网络在不同区域内的第二信号质量,然后向数据中心服务器发送各个运营商网络在不同区域内的第二信号质量,这样可以减小发送数据的数据量,减小对网络资源的占用,也减小了数据中心服务器处理的数据量,提高了得到各个运营商网络在不同区域内的第一信号质量的效率。Wherein, when the data center server obtains the first signal quality of each operator's network in different areas through the process of 3111 to 3114, since each cloud site directly obtains the second signal quality of each operator's network in different areas, Then, the second signal quality of each operator's network in different areas is sent to the data center server, which can reduce the amount of data sent, reduce the occupation of network resources, and also reduce the amount of data processed by the data center server. The efficiency of obtaining the first signal quality of each operator's network in different areas is improved.
对于步骤301中的数据中心服务中保存的第二采集数据,每个云站点先采集其在各个区域内的网络质量,得到第二采集数据,向数据中心服务器发送第二采集数据。数据中心服务器接收每个云站点发送的第二采集数据,保存每个云站点的第二采集数据。For the second collection data stored in the data center service in step 301, each cloud site first collects its network quality in each area, obtains the second collection data, and sends the second collection data to the data center server. The data center server receives the second collection data sent by each cloud site, and stores the second collection data of each cloud site.
对于每个云站点在各个区域内的网络质量,该云站点可以通过如下3111至3113的操作采集该云站点在各个区域内的网络质量。该3111至311的操作分别为:For the network quality of each cloud site in each region, the cloud site may collect the network quality of the cloud site in each region through the following operations 3111 to 3113 . The operations of 3111 to 311 are:
3111:云站点获取第二终端设备的第二测量信息,第二测量信息包括第二终端设备的位置信息、该云站点在第二区域内的至少一个网络质量参数,第二终端设备是已接入到云站点的终端设备,第二区域是第二终端设备所在的区域。3111: The cloud site acquires second measurement information of the second terminal device, the second measurement information includes the location information of the second terminal device, and at least one network quality parameter of the cloud site in the second area, and the second terminal device is connected. The terminal device that enters the cloud site, and the second area is the area where the second terminal device is located.
第二测量信息可以只包括上述列举的几种信息,或者,第二测量信息还可以包括其他信息,例如第二测量信息还包括第二终端设备接入的运营商网络的网络标识。The second measurement information may only include the several kinds of information listed above, or the second measurement information may further include other information, for example, the second measurement information further includes the network identifier of the operator network accessed by the second terminal device.
云站点可以采用如下两种方式获取第二终端设备的第二测量信息。该两种方式分别为:The cloud site may acquire the second measurement information of the second terminal device in the following two ways. The two methods are:
第一种方式,云站点接收第二终端设备发送的第二测量信息。在实现时:In the first manner, the cloud site receives the second measurement information sent by the second terminal device. When implemented:
第二终端设备在接入云站点后,定期或不定期地测量第二终端设备与该云站点之间的至少一个网络质量参数,向云站点发送第二测量信息,该第二测量信息包括第二终端设备的位置信息和该至少一个网络质量参数。After accessing the cloud site, the second terminal device periodically or irregularly measures at least one network quality parameter between the second terminal device and the cloud site, and sends second measurement information to the cloud site, where the second measurement information includes the first The location information of the two terminal equipment and the at least one network quality parameter.
第二种方式,云站点测量第二终端设备的第二测量信息。在实现时:In the second manner, the cloud site measures the second measurement information of the second terminal device. When implemented:
在第二终端设备接入云站点后,该云站点定期或不定期地获取第二终端设备的位置信息,以及测量该云站点与第二终端设备之间的至少一个网络质量参数,得到第二终端设备的第二测量信息。After the second terminal device accesses the cloud site, the cloud site periodically or irregularly acquires the location information of the second terminal device, and measures at least one network quality parameter between the cloud site and the second terminal device to obtain the second terminal device. Second measurement information of the terminal device.
该至少一个网络质量参数包括带宽,时延、抖动和丢包率等中的一个或多个。The at least one network quality parameter includes one or more of bandwidth, delay, jitter, and packet loss rate.
该位置信息为第二区域的区域标识或第二终端设备的坐标。在该位置信息为坐标的情况下,云站点在得到第二终端设备的第二测量信息时,根据该坐标确定第二终端设备所在的第二区域,将该第二测量信息作为第二区域内的一个终端设备的第二测量信息。The location information is the area identifier of the second area or the coordinates of the second terminal device. In the case where the location information is the coordinates, when the cloud site obtains the second measurement information of the second terminal device, the cloud site determines the second area where the second terminal device is located according to the coordinates, and uses the second measurement information as the second area in the second area. the second measurement information of a terminal device.
3112:云站点根据接收的第二测量信息,获取该云站点在各个区域内的网络质量,得到 第二采集数据。3112: The cloud site acquires the network quality of the cloud site in each area according to the received second measurement information, and obtains second collection data.
云站点通过如下(2-1)至(2-2)的操作,获取在该云站点各个区域内的网络质量。该(2-1)至(2-2)的操作分别为:The cloud site obtains the network quality in each area of the cloud site through the following operations (2-1) to (2-2). The operations of (2-1) to (2-2) are:
(2-1),对于上述第二区域,云站点从接收的第二测量信息中选择第二区域内的各终端设备的第二测量信息。(2-1) For the second area, the cloud site selects the second measurement information of each terminal device in the second area from the received second measurement information.
云站点从接收的第二测量信息中,选择包括第二区域的区域标识的第二测量信息,得到第二区域内的各终端设备的第二测量信息。The cloud site selects the second measurement information including the area identifier of the second area from the received second measurement information, and obtains the second measurement information of each terminal device in the second area.
(2-2),云站点根据第二区域内的各终端设备的第二测量信息包括的网络质量参数,获取该云站点在第二区域内的网络质量,得到一条第二数据,该第二数据包括第二区域的区域标识、该云站点的站点标识和该网络质量。(2-2), the cloud site obtains the network quality of the cloud site in the second region according to the network quality parameters included in the second measurement information of each terminal device in the second region, and obtains a piece of second data, the second The data includes the area identifier of the second area, the site identifier of the cloud site, and the network quality.
云站点从第二区域内的各终端设备的第二测量信息包括的网络质量参数中获取同一参数类型的网络质量参数,根据该参数类型的网络质量参数,计算该参数类型的网络质量参数平均值。云站点可以计算每个参数类型的网络质量参数平均值,根据每个参数类型的权重和网络质量参数平均值,获取该云站点在第二区域内的网络质量。The cloud site obtains network quality parameters of the same parameter type from the network quality parameters included in the second measurement information of each terminal device in the second area, and calculates the average value of the network quality parameters of the parameter type according to the network quality parameters of the parameter type. . The cloud site may calculate the average value of the network quality parameters of each parameter type, and obtain the network quality of the cloud site in the second area according to the weight of each parameter type and the average value of the network quality parameters.
其中,获取该网络质量的过程可以为:云站点从第二区域内的各终端设备的第二测量信息包括的网络质量参数中获取各个带宽、各个时延、各个抖动和/或各个丢包率。根据各个带宽计算带宽平均值,根据各个时延计算时延平均值,根据各个抖动计算抖动平均值,和/或,根据各个丢包率计算丢包率平均值。根据带宽平均值、时延平均值、抖动平均值、和/或、丢包率平均值,按如下第一公式获取该云站点在第二区域内的网络质量。The process of acquiring the network quality may be: the cloud site acquires each bandwidth, each delay, each jitter and/or each packet loss rate from the network quality parameters included in the second measurement information of each terminal device in the second area . Calculate the average bandwidth according to each bandwidth, calculate the average delay according to each delay, calculate the average jitter according to each jitter, and/or calculate the average packet loss rate according to each packet loss rate. According to the average bandwidth, average delay, average jitter, and/or average value of packet loss rate, obtain the network quality of the cloud site in the second area according to the following first formula.
第一公式为:Q=W1*D+W2*T+W3*J+W4*LThe first formula is: Q=W1*D+W2*T+W3*J+W4*L
在第一公式中,Q为该云站点在第二区域内的网络质量,D为带宽平均值,T为时延平均值,J为抖动平均值,L为丢包率平均值,W1为带宽权重,W2为时延权重,W3为抖动权重,W4为丢包率权重。In the first formula, Q is the network quality of the cloud site in the second area, D is the average bandwidth, T is the average delay, J is the average jitter, L is the average packet loss rate, and W1 is the bandwidth weight , W2 is the delay weight, W3 is the jitter weight, and W4 is the packet loss rate weight.
云站点重复上述过程,得到该云站点在不同区域内的网络质量,从而得到不同的第二数据,即得到该云站点的第二采集数据。The cloud site repeats the above process to obtain the network quality of the cloud site in different areas, thereby obtaining different second data, that is, obtaining the second collection data of the cloud site.
例如,云站点获取该云站点在区域1内的网络质量为50,如此得到一条第二数据,该条第二数据为如下表2中的第二行数据,即该条第二数据包括该云站点的站点标识“ServiceID1”、区域1的区域标识“AreaID1”和网络质量“50”。云站点获取该云站点在区域2内的网络质量为60,如此得到一条第二数据,该条第二数据为如下表2中的第三行数据,即该条第二数据包括该云站点的站点标识“ServiceID1”、区域2的区域标识“AreaID2”和网络质量“60”。For example, the cloud site obtains that the network quality of the cloud site in area 1 is 50, and thus obtains a piece of second data, which is the second row of data in Table 2 below, that is, the second piece of data includes the cloud The site identification "ServiceID1" of the site, the area identification "AreaID1" of the area 1, and the network quality "50". The cloud site obtains that the network quality of the cloud site in area 2 is 60, and thus obtains a piece of second data, which is the third row of data in Table 2 below, that is, the piece of second data includes the The site identification "ServiceID1", the area identification "AreaID2" of the area 2, and the network quality "60".
表2Table 2
站点标识Site ID 区域标识Area ID 网络质量network quality
ServiceID1ServiceID1 AreaID1AreaID1 5050
ServiceID1ServiceID1 AreaID2AreaID2 6060
上述第二数据可以只包括上述列举的几种信息,或者,第二数据还可以包括其他信息,例如第二数据还可以包括运营商网络的网络标识。The above-mentioned second data may only include several kinds of information listed above, or, the second data may further include other information, for example, the second data may also include the network identifier of the operator's network.
在一种可能的实现方式中,云站点获取第二数据的过程可以为:云站点在第二区域内的 各终端设备的第二测量信息中,分类出不同运营商网络的第二测量信息。对于每个运营商网络,根据该运营商网络的第二测量信息包括的网络质量参数,获取该云站点在第二区域内以及在该运营商网络下的网络质量参数,根据获取的网络质量参数获取该云站点在第二区域内以及在该运营商网络下的网络质量,从而得到一条第二数据,该第二数据包括第二区域的区域标识、该云站点的站点标识、该运营商网络的网络标识和该网络质量。In a possible implementation manner, the process for the cloud site to acquire the second data may be: the cloud site classifies the second measurement information of different operator networks in the second measurement information of each terminal device in the second area. For each operator network, obtain network quality parameters of the cloud site in the second area and under the operator network according to the network quality parameters included in the second measurement information of the operator network, and obtain network quality parameters according to the obtained network quality parameters. Acquire the network quality of the cloud site in the second area and under the operator's network, thereby obtaining a piece of second data, where the second data includes the area identifier of the second area, the site identifier of the cloud site, and the operator's network. the network identity and the quality of that network.
例如,云站点获取该云站点在区域1内以及在运营商网络A下的网络质量为50,如此得到一条第二数据,该条第二数据为如下表3中的第二行数据,即该条第二数据包括该云站点的站点标识“ServiceID1”、区域1的区域标识“AreaID1”、运营商网络A的网络标识“NetIDA”和网络质量“50”。云站点获取该云站点在区域1内以及在运营商网络B下的网络质量为70,如此得到一条第二数据,该条第二数据为如下表3中的第三行数据,即该条第二数据包括该云站点的站点标识“ServiceID1”、区域1的区域标识“AreaID1”、运营商网络B的网络标识“NetIDB”和网络质量“70”。云站点获取该云站点在区域2内以及在运营商网络A下的网络质量为55,如此得到一条第二数据,该条第二数据为如下表2中的第四行数据,即该条第二数据包括该云站点的站点标识“ServiceID1”、区域2的区域标识“AreaID2”、运营商网络A的网络标识“NetIDA”和网络质量“55”。云站点获取该云站点在区域2内以及在运营商网络B下的网络质量为65,如此得到一条第二数据,该条第二数据为如下表2中的第五行数据,即该条第二数据包括该云站点的站点标识“ServiceID1”、区域2的区域标识“AreaID2”、运营商网络B的网络标识“NetIDB”和网络质量“65”。For example, the cloud site obtains that the network quality of the cloud site in area 1 and under operator network A is 50, and thus obtains a piece of second data, which is the second row of data in the following Table 3, that is, the The second piece of data includes the site identifier "ServiceID1" of the cloud site, the area identifier "AreaID1" of the area 1, the network identifier "NetIDA" of the operator network A, and the network quality "50". The cloud site obtains that the network quality of the cloud site in area 1 and under operator network B is 70, and thus obtains a piece of second data, which is the third row of data in Table 3 below, that is, the piece of second data The second data includes the site identifier "ServiceID1" of the cloud site, the area identifier "AreaID1" of the area 1, the network identifier "NetIDB" of the operator network B, and the network quality "70". The cloud site obtains that the network quality of the cloud site in area 2 and under operator network A is 55, and thus obtains a second piece of data, which is the fourth row of data in the following table 2, that is, the piece of The second data includes the site identifier "ServiceID1" of the cloud site, the area identifier "AreaID2" of the area 2, the network identifier "NetIDA" of the operator network A, and the network quality "55". The cloud site obtains that the network quality of the cloud site in area 2 and under operator network B is 65, and thus obtains a second piece of data, which is the fifth row of data in Table 2 below, that is, the second piece of data The data includes the site identifier "ServiceID1" of the cloud site, the area identifier "AreaID2" of the area 2, the network identifier "NetIDB" of the operator network B, and the network quality "65".
表3table 3
站点标识Site ID 区域标识Area ID 网络标识network identity 网络质量network quality
ServiceID1ServiceID1 AreaID1AreaID1 NetIDANetIDA 5050
ServiceID1ServiceID1 AreaID1AreaID1 NetIDBNetIDB 7070
ServiceID1ServiceID1 AreaID2AreaID2 NetIDANetIDA 5555
ServiceID1ServiceID1 AreaID2AreaID2 NetIDBNetIDB 6565
在本申请实施例中,数据中心服务器获取云站点采集的数据;在接收到包括第一终端设备的位置信息的连接请求时,根据该位置信息和采集的数据,选择质量较好、成本较低的目标运营商网络和目标云站点。第一终端设备接入目标运营商网络,通过目标运营商网络接入目标云站点。由于根据该位置信息和采集的数据,选择质量较好、成本较低的目标运营商网络和目标云站点,这样可以选择在第一终端设备所在的第一区域内信号质量较好的目标运营商网络和网络质量较好的目标云站点,第一终端设备在通过目标运营商网络接入目标云站点后,可以保证第一终端设备与目标云站点之间存在的较高通信质量,以及降低通信成本。In the embodiment of the present application, the data center server obtains the data collected by the cloud site; when receiving the connection request including the location information of the first terminal device, according to the location information and the collected data, select the better quality and lower cost target carrier network and target cloud site. The first terminal device accesses the target operator network, and accesses the target cloud site through the target operator network. Since the target operator network and target cloud site with better quality and lower cost are selected according to the location information and the collected data, the target operator with better signal quality in the first area where the first terminal device is located can be selected. For the target cloud site with better network and network quality, after the first terminal device accesses the target cloud site through the target operator network, it can ensure higher communication quality between the first terminal device and the target cloud site, and reduce communication cost.
参见图4,本申请实施例提供了一种连接云站点的装置400,所述装置400可以部署在上述任意实施例提供的数据中心服务器中,包括:Referring to FIG. 4 , an embodiment of the present application provides an apparatus 400 for connecting a cloud site, and the apparatus 400 may be deployed in the data center server provided in any of the foregoing embodiments, including:
处理单元401,用于获取云站点采集的数据,云站点是所述装置400管理的站点;a processing unit 401, configured to acquire data collected by a cloud site, where the cloud site is a site managed by the device 400;
收发单元402,用于接收连接请求,该连接请求包括终端设备的位置信息;a transceiver unit 402, configured to receive a connection request, where the connection request includes location information of the terminal device;
处理单元401,还用于根据该位置信息和该采集的数据,确定满足第一指定条件的目标运营商网络和第二指定条件的目标云站点,其中,目标云站点为终端设备通过目标运营商网 络连接的云站点。The processing unit 401 is further configured to determine, according to the location information and the collected data, a target operator network that satisfies the first specified condition and a target cloud site that satisfies the second specified condition, wherein the target cloud site is a terminal device that passes through the target operator Network connected cloud site.
可选的,处理单元401获取云站点采集的数据的详细实现过程,可以参见图3所示的实施例中的步骤3011至3014,以及3111至3112的相关内容,在此不再详细说明。Optionally, for the detailed implementation process for the processing unit 401 to acquire the data collected by the cloud site, reference may be made to steps 3011 to 3014 and the related contents of 3111 to 3112 in the embodiment shown in FIG. 3 , which will not be described in detail here.
可选的,处理单元401确定目标运营商网络和目标云站点的详细实现过程,可以参见图3所示的实施例中的步骤304和305的相关内容,在此不再详细说明。Optionally, for the detailed implementation process of determining the target operator network and the target cloud site by the processing unit 401, reference may be made to the relevant content of steps 304 and 305 in the embodiment shown in FIG. 3, which will not be described in detail here.
可选的,目标运营商网络用于为该终端设备提供蜂窝网络连接。Optionally, the target operator network is used to provide the terminal device with a cellular network connection.
可选的,处理单元401,用于:Optionally, the processing unit 401 is used for:
获取云站点采集的各个运营商网络在各个区域的信号质量,以及获取云站点在各个区域的网络质量,该运营商网络包括已连接到该云站点的终端设备所使用的运营商网络。Acquire the signal quality of each operator network in each area collected by the cloud site, and acquire the network quality of the cloud site in each area, where the operator network includes the operator network used by terminal devices connected to the cloud site.
可选的,处理单元401,用于:Optionally, the processing unit 401 is used for:
根据该位置信息确定终端设备所在的第一区域的区域标识;Determine the area identifier of the first area where the terminal device is located according to the location information;
根据第一区域的区域标识,获取各运营商网络在第一区域内的信号质量;Obtain the signal quality of each operator's network in the first area according to the area identifier of the first area;
根据该各运营商网络在第一区域内的信号质量,确定满足第一指定条件的一个运营商网络作为目标运营商网络。According to the signal quality of the respective operator networks in the first area, one operator network that satisfies the first specified condition is determined as the target operator network.
可选的,处理单元401获取各运营商网络在第一区域内的信号质量以及确定目标运营商网络的详细实现过程,可以参见图3所示的实施例中的步骤3041和3043的相关内容,在此不再详细说明。Optionally, the processing unit 401 obtains the signal quality of each operator's network in the first area and determines the detailed implementation process of the target operator's network, and reference may be made to the relevant content of steps 3041 and 3043 in the embodiment shown in FIG. 3 , It will not be described in detail here.
可选的,处理单元401,用于:Optionally, the processing unit 401 is used for:
根据该位置信息确定终端设备所在的第一区域的区域标识;Determine the area identifier of the first area where the terminal device is located according to the location information;
根据第一区域的区域标识,获取各云站点在第一区域内的网络质量;Obtain the network quality of each cloud site in the first area according to the area identifier of the first area;
根据各云站点在第一区域内的网络质量,确定满足第二指定条件的一个云站点作为目标云站点。According to the network quality of each cloud site in the first area, a cloud site that satisfies the second specified condition is determined as the target cloud site.
可选的,处理单元401获取各云站点在第一区域内的网络质量以及确定目标云站点的详细实现过程,可以参见图3所示的实施例中的步骤3051和3052的相关内容,在此不再详细说明。Optionally, the processing unit 401 acquires the network quality of each cloud site in the first area and determines the detailed implementation process of the target cloud site. Reference may be made to the related content of steps 3051 and 3052 in the embodiment shown in FIG. 3 , here No further details.
可选的,处理单元401,用于:Optionally, the processing unit 401 is used for:
根据第一区域的区域标识和目标运营商网络的网络标识,获取各云站点在第一区域内以及在目标运营商网络下的网络质量;According to the area identifier of the first area and the network identifier of the target operator network, obtain the network quality of each cloud site in the first area and under the target operator network;
根据获取的网络质量,确定满足第二指定条件的一个云站点作为目标云站点。According to the acquired network quality, a cloud site that satisfies the second specified condition is determined as the target cloud site.
可选的,第一指定条件包括信号质量超过第一质量阈值的运营商网络、能够提供该终端设备订阅的套餐的运营商网络和成本最低的运营商网络中的一个或多个,第二指定条件包括网络质量超过第二质量阈值的云站点和成本最低的云站点中的一个或多个。Optionally, the first designation condition includes one or more of an operator network whose signal quality exceeds the first quality threshold, an operator network that can provide the package subscribed by the terminal device, and an operator network with the lowest cost, and the second designation The conditions include one or more of a cloud site with a network quality exceeding a second quality threshold and a cloud site with the lowest cost.
可选的,该连接请求中还包括终端设备的设备标识,收发单元402,还用于:Optionally, the connection request also includes the device identifier of the terminal device, and the transceiver unit 402 is further configured to:
向远程客户识别模块配置服务RSP发送切换命令,该切换命令包括目标运营商网络的网络标识和该设备标识,该切换命令用于指示RSP向该终端设备写入属于目标运营端网络的SIM卡数据。Send a switching command to the remote customer identification module configuration service RSP, the switching command includes the network identity of the target operator network and the device identity, and the switching command is used to instruct the RSP to write the SIM card data belonging to the target operator network to the terminal device .
可选的,该连接请求中还包括终端设备的设备标识,收发单元402,还用于:Optionally, the connection request also includes the device identifier of the terminal device, and the transceiver unit 402 is further configured to:
向RSP发送客户识别模块SIM卡数据获取请求,该SIM卡数据获取请求用于获取属于目标运营商网络的SIM卡数据;向终端设备写入该SIM卡数据。Send a customer identification module SIM card data acquisition request to the RSP, where the SIM card data acquisition request is used to acquire SIM card data belonging to the target operator network; write the SIM card data to the terminal device.
可选的,收发单元402,还用于:Optionally, the transceiver unit 402 is further configured to:
向该终端设备发送连接响应,该连接响应包括目标云站点的站点标识,该连接响应用于触发该终端设备接入到目标云站点。A connection response is sent to the terminal device, where the connection response includes the site identifier of the target cloud site, and the connection response is used to trigger the terminal device to access the target cloud site.
可选的,收发单元502发送连接响应的详细实现过程,可以参见图3所示的实施例中的步骤306-309的相关内容,在此不再详细说明。Optionally, for the detailed implementation process of sending the connection response by the transceiver unit 502, reference may be made to the relevant content of steps 306-309 in the embodiment shown in FIG. 3, which will not be described in detail here.
在本申请实施例中,处理单元获取云站点采集的数据;收发单元接收终端设备发送的连接请求,该连接请求包括该终端设备的位置信息。处理单元根据该位置信息和采集的数据,确定满足第一指定条件的目标运营商网络和第二指定条件目标云站点。由于处理单元根据该位置信息和采集的数据,确定满足第一指定条件的目标运营商网络和第二指定条件的目标云站点,这样可以选择在第一区域内信号质量较好的目标运营商网络和网络质量较好的目标云站点,终端设备在通过目标运营商网络接入目标云站点后,可以保证终端设备与目标云站点之间存在的较高通信质量。In this embodiment of the present application, the processing unit acquires data collected by the cloud site; the transceiver unit receives a connection request sent by a terminal device, where the connection request includes location information of the terminal device. The processing unit determines, according to the location information and the collected data, a target operator network that satisfies the first specified condition and a target cloud site of the second specified condition. Since the processing unit determines the target operator network that satisfies the first specified condition and the target cloud site that meets the second specified condition according to the location information and the collected data, the target operator network with better signal quality in the first area can be selected. and the target cloud site with better network quality, after the terminal device accesses the target cloud site through the target operator network, it can ensure a higher communication quality between the terminal device and the target cloud site.
参见图5,本申请实施例提供了一种连接云站点的装置500,所述装置500可以部署在上述任意实施例提供的分发服务器中,包括:Referring to FIG. 5 , an embodiment of the present application provides an apparatus 500 for connecting to a cloud site. The apparatus 500 may be deployed in the distribution server provided in any of the foregoing embodiments, including:
接收单元501,用于接收终端设备发送的连接请求,该连接请求包括该终端设备的位置信息;a receiving unit 501, configured to receive a connection request sent by a terminal device, where the connection request includes location information of the terminal device;
发送单元502,用于向数据中心服务器发送该连接请求,该连接请求用于数据中心服务器根据该位置信息和获取的云站点采集的数据,确定满足第一指定条件的目标运营商网络和第二指定条件的目标云站点,其中目标云站点是该终端设备通过目标运营商网络连接的云站点。The sending unit 502 is configured to send the connection request to the data center server, where the connection request is used for the data center server to determine the target operator network and the second network that satisfy the first specified condition according to the location information and the data collected by the acquired cloud site. The target cloud site of the specified condition, where the target cloud site is the cloud site to which the terminal device is connected through the target operator's network.
可选的,所述装置500还包括:第一处理单元503,Optionally, the apparatus 500 further includes: a first processing unit 503,
接收单元501,还用于接收数据中心服务器发送的连接响应,该连接响应包括目标运营商网络的网络标识或者属于目标运营商网的客户识别模块SIM卡数据;The receiving unit 501 is further configured to receive a connection response sent by the data center server, where the connection response includes the network identifier of the target operator network or the customer identification module SIM card data belonging to the target operator network;
第一处理单元503,用于根据该连接响应,向该终端设备的eSIM中写入SIM卡数据,该SIM卡数据用于该终端设备接入目标运营商网络。The first processing unit 503 is configured to write SIM card data into the eSIM of the terminal device according to the connection response, where the SIM card data is used for the terminal device to access the target operator network.
可选的,第一处理单元503向该终端设备的eSIM中写入SIM卡数据的详细实现过程,可以参见图3所示的实施例中的步骤307的相关内容,在此不再详细说明。Optionally, for the detailed implementation process of writing SIM card data into the eSIM of the terminal device by the first processing unit 503, reference may be made to the relevant content of step 307 in the embodiment shown in FIG. 3, which will not be described in detail here.
可选的,所述装置500还包括:第二处理单元504,Optionally, the apparatus 500 further includes: a second processing unit 504,
接收单元501,还用于接收数据中心服务器发送的连接响应,该连接响应包括目标云站点的站点标识;The receiving unit 501 is further configured to receive a connection response sent by the data center server, where the connection response includes the site identifier of the target cloud site;
第二处理单元504,用于控制该终端设备切换到该站点标识对应的目标云站点上。The second processing unit 504 is configured to control the terminal device to switch to the target cloud site corresponding to the site identifier.
可选的,第二处理单元504控制该终端设备切换到目标云站点上的详细实现过程,可以参见图3所示的实施例中的步骤308的相关内容,在此不再详细说明。Optionally, for the detailed implementation process for the second processing unit 504 to control the terminal device to switch to the target cloud site, reference may be made to the relevant content of step 308 in the embodiment shown in FIG. 3 , which will not be described in detail here.
在本申请实施例中,由于发送单元向数据中心服务器发送包括终端设备的位置信息的连接请求,这样数据中心服务器可以根据该位置信息和采集的数据,选择在终端设备所在位置信号质量较好的目标运营商网络和网络质量较好的目标云站点,终端设备在通过目标运营商网络接入目标云站点后,可以保证终端设备与目标云站点之间存在的较高通信质量。In the embodiment of the present application, since the sending unit sends a connection request including the location information of the terminal device to the data center server, the data center server can select the one with better signal quality at the location of the terminal device according to the location information and the collected data. For the target operator network and the target cloud site with better network quality, after the terminal device accesses the target cloud site through the target operator network, it can ensure high communication quality between the terminal device and the target cloud site.
参见图6,本申请实施例提供了一种连接云站点的装置600示意图。该装置600可以是上述任一实施例中的数据中心服务器。该装置600包括至少一个处理器601,内部连接602,存储器603以及至少一个收发器604。Referring to FIG. 6 , an embodiment of the present application provides a schematic diagram of an apparatus 600 for connecting to a cloud site. The apparatus 600 may be the data center server in any of the foregoing embodiments. The apparatus 600 includes at least one processor 601 , internal connections 602 , memory 603 and at least one transceiver 604 .
该装置600是一种硬件结构的装置,可以用于实现图4所述的装置400中的功能模块。例如,本领域技术人员可以想到图4所示的装置400中的处理单元401可以通过该至少一个处理器601调用存储器603中的代码来实现,图4所示的装置400中的收发单元402可以通过该收发器604来实现。The apparatus 600 is an apparatus with a hardware structure, and can be used to implement the functional modules in the apparatus 400 described in FIG. 4 . For example, those skilled in the art can think that the processing unit 401 in the apparatus 400 shown in FIG. 4 may be implemented by calling the code in the memory 603 by the at least one processor 601, and the transceiver unit 402 in the apparatus 400 shown in FIG. 4 may This is achieved by the transceiver 604 .
可选的,该装置600还可用于实现上述任一实施例中数据中心服务器的功能。Optionally, the apparatus 600 may also be used to implement the functions of the data center server in any of the foregoing embodiments.
可选的,上述处理器601可以是一个通用中央处理器(central processing unit,CPU),网络处理器(network processor,NP),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。Optionally, the above-mentioned processor 601 may be a general-purpose central processing unit (central processing unit, CPU), network processor (network processor, NP), microprocessor, application-specific integrated circuit (application-specific integrated circuit, ASIC) , or one or more integrated circuits used to control the execution of the program of this application.
上述内部连接602可包括一通路,在上述组件之间传送信息。可选的,内部连接602为单板或总线等。The internal connection 602 described above may include a path to transfer information between the above described components. Optionally, the internal connection 602 is a single board or a bus or the like.
上述收发器604,用于与其他设备或通信网络通信。The above transceiver 604 is used to communicate with other devices or communication networks.
上述存储器603可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。The above-mentioned memory 603 can be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, a random access memory (random access memory, RAM) or other types of storage devices that can store information and instructions. Types of dynamic storage devices, which can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), or other optical storage, CD-ROM storage (including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by Any other medium accessed by the computer, but not limited to this. The memory can exist independently and be connected to the processor through a bus. The memory can also be integrated with the processor.
其中,存储器603用于存储执行本申请方案的应用程序代码,并由处理器601来控制执行。处理器601用于执行存储器603中存储的应用程序代码,以及配合至少一个收发器604,从而使得该装置600实现本专利方法中的功能。Wherein, the memory 603 is used for storing the application code for executing the solution of the present application, and the execution is controlled by the processor 601 . The processor 601 is used to execute the application program code stored in the memory 603 and cooperate with at least one transceiver 604, so that the device 600 can realize the functions in the method of the present patent.
在具体实现中,作为一种实施例,处理器601可以包括一个或多个CPU,例如图6中的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 601 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 6 .
在具体实现中,作为一种实施例,该装置600可以包括多个处理器,例如图6中的处理器601和处理器607。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the apparatus 600 may include multiple processors, such as the processor 601 and the processor 607 in FIG. 6 . Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
参见图7,本申请实施例提供了一种连接云站点的装置700示意图。该装置700可以是上述任一实施例中的分发服务器。该装置700包括至少一个处理器701,内部连接702,存储器703以及至少一个收发器704。Referring to FIG. 7 , an embodiment of the present application provides a schematic diagram of an apparatus 700 for connecting to a cloud site. The apparatus 700 may be the distribution server in any of the above embodiments. The apparatus 700 includes at least one processor 701 , internal connections 702 , memory 703 and at least one transceiver 704 .
该装置700是一种硬件结构的装置,可以用于实现图5所述的装置500中的功能模块。例如,本领域技术人员可以想到图5所示的装置500中的第一处理单元503和第二处理单元504可以通过该至少一个处理器701调用存储器703中的代码来实现,图5所示的装置500中的接收单元501和发送单元502可以通过该收发器704来实现。The apparatus 700 is an apparatus with a hardware structure, which can be used to implement the functional modules in the apparatus 500 described in FIG. 5 . For example, those skilled in the art can think that the first processing unit 503 and the second processing unit 504 in the apparatus 500 shown in FIG. 5 can be implemented by calling the code in the memory 703 by the at least one processor 701, as shown in FIG. 5 . The receiving unit 501 and the sending unit 502 in the apparatus 500 can be implemented by the transceiver 704 .
可选的,该装置700还可用于实现上述任一实施例中分发服务器的功能。Optionally, the apparatus 700 may also be used to implement the function of the distribution server in any of the foregoing embodiments.
可选的,上述处理器701可以是一个通用中央处理器(central processing unit,CPU),网络处理器(network processor,NP),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。Optionally, the above-mentioned processor 701 may be a general-purpose central processing unit (central processing unit, CPU), network processor (network processor, NP), microprocessor, application-specific integrated circuit (application-specific integrated circuit, ASIC) , or one or more integrated circuits used to control the execution of the program of this application.
上述内部连接702可包括一通路,在上述组件之间传送信息。可选的,内部连接702为单板或总线等。The internal connection 702 described above may include a path to transfer information between the aforementioned components. Optionally, the internal connection 702 is a single board or a bus or the like.
上述收发器704,用于与其他设备或通信网络通信。The above transceiver 704 is used to communicate with other devices or communication networks.
上述存储器703可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过总线与处理器相连接。存储器也可以和处理器集成在一起。The above-mentioned memory 703 may be a read-only memory (read-only memory, ROM) or other types of static storage devices that can store static information and instructions, a random access memory (random access memory, RAM) or other types of storage devices that can store information and instructions. Types of dynamic storage devices, which can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM), or other optical storage, CD-ROM storage (including compact discs, laser discs, compact discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by Any other medium accessed by the computer, but not limited to this. The memory can exist independently and be connected to the processor through a bus. The memory can also be integrated with the processor.
其中,存储器703用于存储执行本申请方案的应用程序代码,并由处理器701来控制执行。处理器701用于执行存储器703中存储的应用程序代码,以及配合至少一个收发器704,从而使得该装置700实现本专利方法中的功能。Wherein, the memory 703 is used for storing the application program code for executing the solution of the present application, and the execution is controlled by the processor 701 . The processor 701 is configured to execute the application program code stored in the memory 703, and cooperate with at least one transceiver 704, so that the apparatus 700 realizes the functions in the method of the present patent.
在具体实现中,作为一种实施例,处理器701可以包括一个或多个CPU,例如图7中的CPU0和CPU1。In a specific implementation, as an embodiment, the processor 701 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 7 .
在具体实现中,作为一种实施例,该装置700可以包括多个处理器,例如图7中的处理器701和处理器707。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a specific implementation, as an embodiment, the apparatus 700 may include multiple processors, such as the processor 701 and the processor 707 in FIG. 7 . Each of these processors can be a single-core (single-CPU) processor or a multi-core (multi-CPU) processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data (eg, computer program instructions).
参见图8,本申请实施例提供了一种连接云站点的系统800,所述系统800包括如图4所示的装置400和如图5所示的装置500,或者,所述系统800包括如图6所示的装置600和如图7所示的装置700。Referring to FIG. 8 , an embodiment of the present application provides a system 800 for connecting a cloud site. The system 800 includes the apparatus 400 shown in FIG. 4 and the apparatus 500 shown in FIG. 5 , or the system 800 includes the following The apparatus 600 shown in FIG. 6 and the apparatus 700 shown in FIG. 7 .
可选的,如图4所示的装置400或如图6所示的装置600可以为数据中心服务器801,如图5所示的装置500和如图7所示的装置700可以为分发服务器802。Optionally, the apparatus 400 shown in FIG. 4 or the apparatus 600 shown in FIG. 6 may be the data center server 801 , and the apparatus 500 shown in FIG. 5 and the apparatus 700 shown in FIG. 7 may be the distribution server 802 .
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。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 application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application. Inside.

Claims (20)

  1. 一种连接云站点的方法,其特征在于,所述方法,包括:A method for connecting a cloud site, characterized in that the method includes:
    数据中心服务器获取云站点采集的数据,所述云站点是所述数据中心服务器管理的站点;The data center server obtains data collected by a cloud site, and the cloud site is a site managed by the data center server;
    所述数据中心服务器接收连接请求,所述连接请求包括终端设备的位置信息;The data center server receives a connection request, where the connection request includes location information of the terminal device;
    所述数据中心服务器根据所述位置信息和所述采集的数据,确定满足第一指定条件的目标运营商网络和第二指定条件的目标云站点,其中,所述目标云站点为所述终端设备通过所述目标运营商网络连接的云站点。The data center server determines, according to the location information and the collected data, a target operator network that satisfies the first specified condition and a target cloud site that meets the second specified condition, wherein the target cloud site is the terminal device A cloud site connected through the target operator's network.
  2. 如权利要求1所述的方法,其特征在于,所述获取云站点采集的数据,包括:The method of claim 1, wherein the acquiring data collected by the cloud site comprises:
    获取云站点采集的各个运营商网络在各个区域的信号质量,以及获取所述云站点在所述各个区域的网络质量,所述运营商网络包括已连接到所述云站点的终端设备所使用的运营商网络。Acquire the signal quality of each operator network in each area collected by the cloud site, and acquire the network quality of the cloud site in each area, where the operator network includes the signal quality used by the terminal equipment connected to the cloud site. Operator network.
  3. 如权利要求1或2所述的方法,其特征在于,所述根据所述位置信息和所述采集的数据,确定满足第一指定条件的目标运营商网络,包括:The method according to claim 1 or 2, wherein the determining, according to the location information and the collected data, the target operator network that satisfies the first specified condition, comprising:
    根据所述位置信息确定所述终端设备所在的第一区域的区域标识;Determine the area identifier of the first area where the terminal device is located according to the location information;
    根据所述第一区域的区域标识,获取各运营商网络在所述第一区域内的信号质量;Acquire the signal quality of each operator's network in the first area according to the area identifier of the first area;
    根据所述各运营商网络在所述第一区域内的信号质量,确定满足第一指定条件的一个运营商网络作为所述目标运营商网络。According to the signal quality of each operator network in the first area, one operator network that satisfies the first specified condition is determined as the target operator network.
  4. 如权利要求1至3任一项所述的方法,其特征在于,所述根据所述位置信息和所述采集的数据,确定满足第二指定条件的目标云站点,包括:The method according to any one of claims 1 to 3, wherein the determining, according to the location information and the collected data, the target cloud site that satisfies the second specified condition, comprising:
    根据所述位置信息确定所述终端设备所在的第一区域的区域标识;Determine the area identifier of the first area where the terminal device is located according to the location information;
    根据所述第一区域的区域标识,获取各云站点在所述第一区域内的网络质量;Acquire the network quality of each cloud site in the first area according to the area identifier of the first area;
    根据所述各云站点在所述第一区域内的网络质量,确定满足第二指定条件的一个云站点作为所述目标云站点。According to the network quality of each cloud site in the first area, a cloud site that satisfies the second specified condition is determined as the target cloud site.
  5. 如权利要求3所述的方法,其特征在于,所述根据所述位置信息和所述采集的数据,确定满足第二指定条件的目标云站点,包括:The method according to claim 3, wherein determining the target cloud site that satisfies the second specified condition according to the location information and the collected data comprises:
    根据所述第一区域的区域标识和所述目标运营商网络的网络标识,获取各云站点在所述第一区域内所述目标运营商网络的网络质量;According to the area identifier of the first area and the network identifier of the target operator network, obtain the network quality of the target operator network of each cloud site in the first area;
    根据所述获取的网络质量,确定满足第二指定条件的一个云站点作为所述目标云站点。According to the acquired network quality, a cloud site that satisfies the second specified condition is determined as the target cloud site.
  6. 如权利要求1至5任一项所述的方法,其特征在于,所述第一指定条件包括信号质量超过第一质量阈值的运营商网络、能够提供所述终端设备订阅的套餐的运营商网络和成本最低的运营商网络中的一个或多个,所述第二指定条件包括网络质量超过第二质量阈值的云站点和成本最低的云站点中的一个或多个。The method according to any one of claims 1 to 5, wherein the first specified condition comprises an operator network whose signal quality exceeds a first quality threshold, an operator network capable of providing a package subscribed by the terminal device and one or more of the lowest-cost operator networks, the second specified condition includes one or more of the cloud sites whose network quality exceeds the second quality threshold and the lowest-cost cloud sites.
  7. 如权利要求1-6任一项所述的方法,其特征在于,所述连接请求中还包括所述终端设备的设备标识,所述方法还包括:The method according to any one of claims 1-6, wherein the connection request further includes a device identifier of the terminal device, and the method further includes:
    向远程客户识别模块配置服务RSP发送切换命令,所述切换命令包括所述目标运营商的网络标识和所述设备标识,所述切换命令用于指示所述RSP向所述终端设备写入属于所述目标运营商网络的SIM卡数据。Send a handover command to the remote customer identification module configuration service RSP, where the handover command includes the target operator's network identifier and the device identifier, and the handover command is used to instruct the RSP to write to the terminal equipment belonging to the Describe the SIM card data of the target operator's network.
  8. 如权利要求1-6任一项所述的方法,其特征在于,所述连接请求中还包括所述终端设备的设备标识,所述方法还包括:The method according to any one of claims 1-6, wherein the connection request further includes a device identifier of the terminal device, and the method further includes:
    向RSP发送客户识别模块SIM卡数据获取请求,所述SIM卡数据获取请求用于获取所述目标运营商网络的SIM卡数据;Send a customer identification module SIM card data acquisition request to the RSP, and the SIM card data acquisition request is used to acquire the SIM card data of the target operator network;
    向终端设备写入所述SIM卡数据。Write the SIM card data to the terminal device.
  9. 如权利要求1-8任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-8, wherein the method further comprises:
    向所述终端设备发送连接响应,所述连接响应包括目标云站点的标识,所述连接响应用于指示所述终端设备接入到所述目标云站点。A connection response is sent to the terminal device, where the connection response includes an identifier of the target cloud site, and the connection response is used to instruct the terminal device to access the target cloud site.
  10. 一种连接云站点的装置,其特征在于,所述装置包括:A device for connecting a cloud site, characterized in that the device comprises:
    处理单元,用于获取云站点采集的数据,所述云站点是所述装置管理的站点;a processing unit, configured to acquire data collected by a cloud site, where the cloud site is a site managed by the device;
    收发单元,用于接收连接请求,所述连接请求包括终端设备的位置信息;a transceiver unit, configured to receive a connection request, where the connection request includes location information of the terminal device;
    所述处理单元,还用于根据所述位置信息和所述采集的数据,选择满足第一指定条件的目标运营商网络和第二指定条件的目标云站点,其中,所述目标云站点为所述终端设备通过所述目标运营商网络连接的云站点。The processing unit is further configured to select, according to the location information and the collected data, a target operator network that satisfies the first specified condition and a target cloud site that satisfies the second specified condition, wherein the target cloud site is the target cloud site. A cloud site to which the terminal device is connected through the target operator network.
  11. 如权利要求10所述的装置,其特征在于,所述处理单元,用于:The apparatus of claim 10, wherein the processing unit is configured to:
    获取云站点采集的各个运营商网络在各个区域的信号质量,以及获取所述云站点在所述各个区域的网络质量,所述运营商网络包括已连接到所述云站点的终端设备所使用的运营商网络。Acquire the signal quality of each operator network in each area collected by the cloud site, and acquire the network quality of the cloud site in each area, where the operator network includes the signal quality used by the terminal equipment connected to the cloud site. Operator network.
  12. 如权利要求10或11所述的装置,其特征在于,所述处理单元,用于:The apparatus according to claim 10 or 11, wherein the processing unit is configured to:
    根据所述位置信息确定所述终端设备所在的第一区域的区域标识;Determine the area identifier of the first area where the terminal device is located according to the location information;
    根据所述第一区域的区域标识,获取各运营商网络在所述第一区域内的信号质量;Acquire the signal quality of each operator's network in the first area according to the area identifier of the first area;
    根据所述各运营商网络在所述第一区域内的信号质量,确定满足第一指定条件的一个运营商网络作为所述目标运营商网络。According to the signal quality of each operator network in the first area, one operator network that satisfies the first specified condition is determined as the target operator network.
  13. 如权利要求10至12任一项所述的装置,其特征在于,所述处理单元,用于:The apparatus according to any one of claims 10 to 12, wherein the processing unit is configured to:
    根据所述位置信息确定所述终端设备所在的第一区域的区域标识;Determine the area identifier of the first area where the terminal device is located according to the location information;
    根据所述第一区域的区域标识,获取各云站点在所述第一区域内的网络质量;Acquire the network quality of each cloud site in the first area according to the area identifier of the first area;
    根据所述各云站点在所述第一区域内的网络质量,确定满足第二指定条件的一个云站点作为所述目标云站点。According to the network quality of each cloud site in the first area, a cloud site that satisfies the second specified condition is determined as the target cloud site.
  14. 如权利要求12所述的装置,其特征在于,所述处理单元,用于:The apparatus of claim 12, wherein the processing unit is configured to:
    根据所述第一区域的区域标识和所述目标运营商网络的网络标识,获取各云站点在所述第一区域内所述目标运营商网络的网络质量;According to the area identifier of the first area and the network identifier of the target operator network, obtain the network quality of the target operator network of each cloud site in the first area;
    根据所述获取的网络质量,确定满足第二指定条件的一个云站点作为所述目标云站点。According to the acquired network quality, a cloud site that satisfies the second specified condition is determined as the target cloud site.
  15. 如权利要求10至14任一项所述的装置,其特征在于,所述第一指定条件包括信号质量超过第一质量阈值的运营商网络、能够提供所述终端设备订阅的套餐的运营商网络和成本最低的运营商网络中的一个或多个,所述第二指定条件包括网络质量超过第二质量阈值的云站点和成本最低的云站点中的一个或多个。The apparatus according to any one of claims 10 to 14, wherein the first specified condition comprises an operator network whose signal quality exceeds a first quality threshold, an operator network capable of providing a package subscribed by the terminal device and one or more of the lowest-cost operator networks, the second specified condition includes one or more of the cloud sites whose network quality exceeds the second quality threshold and the lowest-cost cloud sites.
  16. 如权利要求10至15任一项所述的装置,其特征在于,所述连接请求中还包括所述终端设备的设备标识,所述收发单元,还用于:The apparatus according to any one of claims 10 to 15, wherein the connection request further includes a device identifier of the terminal device, and the transceiver unit is further configured to:
    向远程客户识别模块配置服务RSP发送切换命令,所述切换命令包括所述目标运营商的网络标识和所述设备标识,所述切换命令用于指示所述RSP向所述终端设备写入属于所述目标运营商网络的SIM卡数据。Send a handover command to the remote customer identification module configuration service RSP, where the handover command includes the target operator's network identifier and the device identifier, and the handover command is used to instruct the RSP to write to the terminal equipment belonging to the Describe the SIM card data of the target operator's network.
  17. 如权利要求10至15任一项所述的装置,其特征在于,所述连接请求中还包括所述终端设备的设备标识,所述收发单元,还用于:The apparatus according to any one of claims 10 to 15, wherein the connection request further includes a device identifier of the terminal device, and the transceiver unit is further configured to:
    向RSP发送客户识别模块SIM卡数据获取请求,所述SIM卡数据获取请求用于获取属于所述目标运营商网络的SIM卡数据;向终端设备写入所述SIM卡数据。Send a customer identification module SIM card data acquisition request to the RSP, where the SIM card data acquisition request is used to acquire SIM card data belonging to the target operator network; write the SIM card data to the terminal device.
  18. 如权利要求10至17任一项所述的装置,其特征在于,所述收发单元,还用于:The device according to any one of claims 10 to 17, wherein the transceiver unit is further configured to:
    向所述终端设备发送连接响应,所述连接响应包括目标云站点的标识,所述连接响应用于指示所述终端设备接入到所述目标云站点。A connection response is sent to the terminal device, where the connection response includes an identifier of the target cloud site, and the connection response is used to instruct the terminal device to access the target cloud site.
  19. 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被计算机执行时,实现如权利要求1-9任一项所述的方法。A computer-readable storage medium on which a computer program is stored, characterized in that, when the computer program is executed by a computer, the method according to any one of claims 1-9 is implemented.
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括在计算机可读存储介质中存储的计算机程序,并且所述计算程序通过处理器进行加载来实现如权利要求1-9任一项所述的方法。A computer program product, characterized in that, the computer program product includes a computer program stored in a computer-readable storage medium, and the computing program is loaded by a processor to implement any one of claims 1-9. method described.
PCT/CN2021/117477 2020-09-11 2021-09-09 Cloud site connecting method and apparatus, and storage medium WO2022052992A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010954487.2 2020-09-11
CN202010954487.2A CN114258087A (en) 2020-09-11 2020-09-11 Method and device for connecting cloud sites

Publications (1)

Publication Number Publication Date
WO2022052992A1 true WO2022052992A1 (en) 2022-03-17

Family

ID=80630271

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/117477 WO2022052992A1 (en) 2020-09-11 2021-09-09 Cloud site connecting method and apparatus, and storage medium

Country Status (2)

Country Link
CN (1) CN114258087A (en)
WO (1) WO2022052992A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117499930A (en) * 2022-07-22 2024-02-02 中兴通讯股份有限公司 Network resource allocation method, network equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080085707A1 (en) * 2006-10-10 2008-04-10 Apple Inc. Dynamic Carrier Selection
CN107484213A (en) * 2017-08-25 2017-12-15 歌尔科技有限公司 Method for switching network, intelligent terminal and server based on ESIM cards
CN108495075A (en) * 2018-03-30 2018-09-04 北京三体云联科技有限公司 Video communication method and device
CN111246389A (en) * 2020-01-09 2020-06-05 爱讯智联科技(北京)有限公司 Intelligent network selection method, device and system based on user behaviors

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3075179B1 (en) * 2013-11-29 2018-04-18 Telefonaktiebolaget LM Ericsson (publ) Method, apparatus, computer program product to fallback to an alternative subscription during an euicc subscription change
CN106102111A (en) * 2016-05-31 2016-11-09 宇龙计算机通信科技(深圳)有限公司 A kind of information interacting method, mobile terminal and car-mounted terminal
EP3466131B1 (en) * 2016-06-01 2020-08-05 Telefonaktiebolaget LM Ericsson (PUBL) Remote provision of a subscriber entity
CN109768879B (en) * 2018-12-14 2022-09-02 北京爱奇艺科技有限公司 Method and device for determining target service server and server

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080085707A1 (en) * 2006-10-10 2008-04-10 Apple Inc. Dynamic Carrier Selection
CN107484213A (en) * 2017-08-25 2017-12-15 歌尔科技有限公司 Method for switching network, intelligent terminal and server based on ESIM cards
CN108495075A (en) * 2018-03-30 2018-09-04 北京三体云联科技有限公司 Video communication method and device
CN111246389A (en) * 2020-01-09 2020-06-05 爱讯智联科技(北京)有限公司 Intelligent network selection method, device and system based on user behaviors

Also Published As

Publication number Publication date
CN114258087A (en) 2022-03-29

Similar Documents

Publication Publication Date Title
CN109314917B (en) Network slice selection strategy updating method and device
US11032858B2 (en) Network access method, terminal, access network, and core network
US11172405B2 (en) Method for checking change in wireless connection type of terminal in third-party application server
CN109429295B (en) Method for selecting AMF, system and storage medium
US11064422B2 (en) System and method for enabling subscriber-based policy decisions
WO2019157942A1 (en) Communication method and communication apparatus
CN112312418A (en) Method and device for acquiring user plane data and storage medium
CN110149651B (en) Method and device for determining SSC mode
CN111601353A (en) Routing method of application program and related device
CN110366204B (en) Communication method and communication device
US20210153157A1 (en) Method and apparatus for improving network slice control accuracy in wireless communication system
CN111641989B (en) Protocol data unit session establishing method and related device
KR20230012590A (en) Network access methods, devices, and systems
CN111328019B (en) Method and device for identifying terminal
CN109076444B (en) Access method, device, equipment and system
US20230156513A1 (en) Proximity service communication method, management network element, terminal device, and communication system
WO2022052992A1 (en) Cloud site connecting method and apparatus, and storage medium
CN110650467B (en) Method and device for managing user data
CN109716804B (en) Communication system and communication method
CN113453306B (en) Wireless network access method and related equipment
WO2024207523A1 (en) Method for selecting terminal used for ranging or sidelink (sl) location, and apparatus, device and storage medium
EP4064763A1 (en) Roaming method and apparatus, and system
CN115244991A (en) Communication method, device and system
CN111866992A (en) Communication method and device
JP6790128B2 (en) Wireless communication device, wireless communication method and wireless communication program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21866044

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21866044

Country of ref document: EP

Kind code of ref document: A1