Method and device for connecting to cloud site
Through the data center server, high-quality operator networks and cloud sites are selected based on the terminal device location and cloud site data, which solves the problem of unstable communication quality between terminal devices and cloud sites and achieves efficient and stable communication.
Patent Information
- Application Number
- CN202010954487.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-11
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2040-09-11
AI Technical Summary
In the prior art, when the terminal device connects to a cloud site through a default or selected operator network, the communication quality is unstable, affecting efficiency.
The data collected by the cloud site is obtained through the data center server, and based on the location information and data of the terminal device, the target operator network and target cloud site that meet the specified conditions are determined, thereby ensuring high communication quality between the terminal device and the cloud site.
Improve the communication quality between terminal equipment and cloud sites, ensure the optimization of signal quality and network quality, and reduce communication costs.
Smart Images

Figure CN114258087B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communications, and in particular to a method and device for connecting to a cloud site. Background Art
[0002] Currently, many terminal devices are equipped with embedded subscriber identity modules (eSIM), which can be machine to machine (M2M) devices or smart wearable devices. eSIM can be used to store subscriber identity module (SIM) card data, and the terminal device accesses the network through the SIM card data.
[0003] Before these terminal devices access the network, users can select an operator network for the terminal device, or the terminal device selects the default operator network based on the default network information stored in the built-in eSIM. The SIM card platform of the operator network writes the SIM card data belonging to the operator network into the eSIM of the terminal device. In addition, the manufacturer of the terminal device will also save a preset cloud site identifier in the terminal device when producing the terminal device. The terminal device accesses the operator network through the SIM card data, and accesses the cloud site through the operator network according to the site identifier.
[0004] In the process of implementing this application, the inventor found that the prior art has at least the following problems:
[0005] 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, affecting the communication efficiency. Summary of the invention
[0006] The present application provides a method and device for connecting to a cloud site to improve the communication quality between a terminal device and a cloud site. The technical solution is as follows:
[0007] In a first aspect, the present application provides a method for connecting a cloud site, in which: 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, and the connection request includes location information of a terminal device. According to the location information and the collected data, a target operator network that meets a first specified condition and a target cloud site that meets a second specified condition are determined. The target cloud site is a cloud site to which the terminal device is connected through a target operator network.
[0008] Based on the location information of the terminal device and the data collected by the cloud site, the target operator network that meets the first specified condition and the target cloud site that meets the second specified condition are determined. In this way, the target operator network with better signal quality and the target cloud site with better network quality at the location of the terminal device can be determined. After the terminal device is connected to the target cloud site through the target operator network, a higher communication quality between the terminal device and the target cloud site can be guaranteed.
[0009] In a possible implementation, the signal quality of each operator network collected by the cloud site in each area is obtained, and the network quality of the cloud site in each area is obtained, and the operator network includes the operator network used by the terminal device connected to the cloud site. Since the collected data includes the signal quality of each operator network in each area and the network quality of the cloud site in each area, the operator network and cloud site with better quality can be selected for the terminal device according to the collected data.
[0010] In another possible implementation, 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 meets the first specified condition is determined as the target operator 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, thereby ensuring a high communication quality between the terminal device and the cloud site.
[0011] In another possible implementation, the region identifier of the first region where the terminal device is located is determined based on the location information. Based on the region identifier of the first region, the network quality of each cloud site in the first region is obtained; based on the network quality of each cloud site in the first region, a cloud site that meets the second specified condition is determined as the target cloud site. In this way, a target cloud site with better network quality can be determined, and when the terminal device communicates with the target cloud site, a higher communication quality is ensured between the terminal device and the target cloud site.
[0012] In another possible implementation, the network quality of the target operator network in the first area is obtained for each cloud site based on the area identifier of the first area and the network identifier of the target operator network; based on the obtained network quality, a cloud site that meets the second specified condition is determined as the target cloud site. This ensures that the network quality of the determined target cloud site in the target operator network is also high, thereby further improving the communication quality between the terminal device and the target cloud site.
[0013] In another possible implementation, the first specified condition includes one or more of an operator network whose signal quality exceeds a first quality threshold, an operator network that can provide a package subscribed to by the terminal device, and an operator network with the lowest cost, and the second specified condition includes one or more of a cloud site whose network quality exceeds a second quality threshold and a cloud site with the lowest cost.
[0014] In another possible implementation, the connection request also includes the device identification of the terminal device. A switching command is sent to the remote client identity module configuration service RSP, the switching command including the network identification of the target operator and the device identification, 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. Since the RSP can be directly triggered to write the SIM card data to the terminal device, the process of writing the SIM card data is simplified while ensuring security.
[0015] In another possible implementation, the connection request also includes a device identifier of the terminal device. A subscriber identity module SIM card data acquisition request is sent to the RSP, and the SIM card data acquisition request is used to acquire the SIM card data of the target operator network; and the SIM card data is written to the terminal device. This provides another solution for writing SIM card data, enriching the way of writing SIM card data.
[0016] In another possible implementation, a connection response is sent to the terminal device, the connection response including 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. Since the connection response is sent directly to the terminal device, the process of switching the target cloud site of the terminal device can be simplified.
[0017] In another possible implementation manner, the area identifier of the first area includes a cell identifier of a cell where the terminal device is located and an area code of the location area where the terminal device is located.
[0018] In another possible implementation manner, the network quality of the cloud site in the first area includes at least one of bandwidth, latency, jitter, and packet loss rate of the cloud site in the first area.
[0019] In another possible implementation manner, the target operator network is used to provide a cellular network connection for the terminal device.
[0020] In a second aspect, the present application provides a method for connecting to a cloud site, in which: a connection request sent by a terminal device is received, the connection request including location information of the terminal device. The connection request is sent to a data center server, the connection request is used by the data center server to determine a target operator network that meets a first specified condition and a target cloud site that meets a second specified condition based on the location information and data collected by the acquired cloud site, wherein the target cloud site is a cloud site accessed by the terminal device through the target operator network.
[0021] Since the connection request including the location information is sent to the data center server, the data center server can select the target operator network with better signal quality and the target cloud site with better network quality at the location of the terminal device based on 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 network, a higher communication quality can be guaranteed between the terminal device and the target cloud site.
[0022] In one possible implementation, a connection response sent by a data center server is received, the connection response including a network identifier of a target operator network or SIM card data of a customer identification module 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 is received from the data center server, the interactive process of writing SIM card data between the distribution server and the terminal device can be reused, so that there is no need to modify the implementation logic of the terminal device, thereby reducing the implementation cost.
[0023] In another possible implementation, a connection response sent by a data center server is received, and the connection response includes a site identifier of a target cloud site. The terminal device is controlled to switch to the target cloud site corresponding to the site identifier. Since the connection response of the data center server is received, the interactive process of switching cloud sites between the distribution server and the terminal device can be reused, so there is no need to modify the implementation logic of the terminal device, thereby reducing the implementation cost.
[0024] In a third aspect, the present application provides a device for connecting to a cloud site, for executing the method in the first aspect or any possible implementation of the first aspect. Specifically, the device includes a unit for executing the method in the first aspect or any possible implementation of the first aspect.
[0025] In a fourth aspect, the present application provides a device for connecting to a cloud site, for executing the method in the second aspect or any possible implementation of the second aspect. Specifically, the device includes a unit for executing the method in the second aspect or any possible implementation of the second aspect.
[0026] In a fifth aspect, the present application provides a device for connecting a cloud site, the device comprising a transceiver, a processor and a memory. The transceiver, the processor and the memory may be connected via 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 device completes the method in the first aspect or any possible implementation of the first aspect.
[0027] In a sixth aspect, the present application provides a device for connecting a cloud site, the device comprising a transceiver, a processor and a memory. The transceiver, the processor and the memory may be connected via 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 device completes the method in the second aspect or any possible implementation of the second aspect.
[0028] In the seventh aspect, the present application provides a computer program product, which includes a computer program stored in a computer-readable storage medium, and the computer program is loaded by a processor to implement the above-mentioned first aspect, second aspect, any possible implementation of the first aspect, or any possible implementation of the second aspect.
[0029] In an eighth aspect, the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program is loaded by a processor to execute instructions of the method of the first aspect, the second aspect, any possible implementation of the first aspect, or any possible implementation of the second aspect.
[0030] In a ninth aspect, the present application provides a system for connecting cloud sites, the system comprising the apparatus described in the third aspect and the apparatus described in the fourth aspect, or the system comprising the apparatus described in the fifth aspect and the apparatus described in the sixth aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 It is a structural diagram of a network architecture provided by an embodiment of the present application;
[0032] Figure 2 It is a structural diagram of another network architecture provided by an embodiment of the present application;
[0033] Figure 3 is a flow chart of a method for connecting to a cloud site provided in an embodiment of the present application;
[0034] Figure 4 It is a schematic diagram of a device structure for connecting a cloud site provided in an embodiment of the present application;
[0035] Figure 5 It is a schematic diagram of another device structure for connecting to a cloud site provided in an embodiment of the present application;
[0036] Figure 6 It is a schematic diagram of another device structure for connecting to a cloud site provided in an embodiment of the present application;
[0037] Figure 7 It is a schematic diagram of another device structure for connecting to a cloud site provided in an embodiment of the present application;
[0038] Figure 8 It is a schematic diagram of a system structure for connecting cloud sites provided in an embodiment of the present application. DETAILED DESCRIPTION
[0039] The implementation methods of the present application will be further described in detail below with reference to the accompanying drawings.
[0040] See also Figure 1 , the present application provides a network architecture, the network architecture comprising:
[0041] A data center server, a remote subscriber identity module provisioning (RSP), a distribution server and at least one cloud site, the data center server respectively establishes a network connection with the RSP, the distribution server and each of the at least one cloud site.
[0042] 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 shared cloud site and / or a private cloud site.
[0043] In an embodiment of the present application, each of the at least one cloud site is mainly used to collect data and send the collected data to the data center server. The collected data includes the signal quality of each operator network in each area and the network quality of the cloud site in each area. The operator network includes each operator network connected to all terminal devices connected to the cloud site.
[0044] Distribution server, used to forward data between terminal devices and data center servers.
[0045] The data center server is used to determine the operator network and cloud site that meet the specified conditions based on the data collected by the cloud site.
[0046] RSP is used to store SIM card data of each operator's network.
[0047] The terminal device is a terminal that requests access and is used to request access to the operator network and connect to the cloud site.
[0048] 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. 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 based on the connection request and the data collected by the cloud site, writes the SIM card data belonging to the target operator network to the terminal device, and sends the site identifier of the target cloud site. The distribution server forwards the site identifier to the terminal device. In this way, the terminal device accesses the target operator network based on the SIM card data, and connects to the target cloud site in the target operator network based on the site identifier.
[0049] The following methods can be used to write SIM card data belonging to the target operator network to the terminal device:
[0050] Method 1: The data center server directly triggers the RSP to write the SIM card data belonging to the target operator network to the terminal device.
[0051] Method 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 the SIM card data belonging to the target operator network to the terminal device.
[0052] Method 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.
[0053] In this network architecture, the distribution server and the data center server can be integrated into one, such as Figure 2 As shown, when combined, 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. As for the SIM card data belonging to the target operator network, the data center server can write the SIM card data to the terminal device in the following two ways. The two ways are:
[0054] Method 1: The data center server directly triggers the RSP to write the SIM card data belonging to the target operator network to the terminal device.
[0055] Method 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.
[0056] 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 (LTE) network. For each cloud site in the at least one cloud site, the cloud site does not belong to any operator network, and the cloud site can communicate with each operator network.
[0057] The first terminal device is a device including an eSIM, and the eSIM is used to store the SIM card data written in. The first terminal device may be an M2M device or a user device, and the user device may be a wearable device or the like.
[0058] The first specified condition includes any one or more of the following conditions: 1) an operator network whose signal quality exceeds a first quality threshold; 2) an operator network that can provide the package subscribed by the first terminal device; 3) an operator network with the lowest cost, etc. The second specified condition includes any one or more of the following conditions: 1) a cloud site whose network quality exceeds a second quality threshold; 2) one or more of the cloud site with the lowest cost, etc.
[0059] In an embodiment of the present application, a data center server obtains data collected by a cloud site. The distribution server forwards a connection request sent by a terminal device to the data center server. Based on the collected data and the connection request, the data center server determines a target operator network that meets the first specified condition and a target cloud site that meets the second specified condition, thereby determining a target operator network and a target cloud site with better quality and lower cost. The data center server then writes the SIM card data belonging to the target operator network to the terminal device and informs the terminal device of the target cloud site. The terminal device accesses the target operator network based on the SIM card data, and connects to the target cloud site, which can ensure a higher communication quality between the terminal device and the target cloud site, and reduce communication costs.
[0060] See also Figure 3 , the present application embodiment provides a method for connecting to a cloud site, which can be applied to Figure 1 The network architecture shown includes:
[0061] Step 301: The data center server obtains data collected by each cloud site.
[0062] Each cloud site is a cloud site that can be managed by the data center server. Each cloud site can store a device identifier of the data center server, so that each cloud site sends data to the data center server based on the device identifier, so that the data center server manages each cloud site.
[0063] The collected data includes the first signal quality of each operator's network in each area, and the network quality of each cloud site in each area.
[0064] 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.
[0065] The first collected data includes at least one first data, and for each first data, the first data includes a network identifier of the 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.
[0066] The first data may only include the network identifier of the operator network, the area identifier of the area, and the first signal quality. Alternatively, the first data may also include other information, for example, the first data may also include the network type of the operator network.
[0067] The network type of the operator network includes one or more of a 3G network type, a 4G network type, and a 5G network type.
[0068] The second collected data includes at least one second data, and for each second data, the second data includes the site identifier of the cloud site, the region identifier of the region, and the network quality. The second data is used to describe the network quality of the cloud site in the region.
[0069] The second data may only include the site identifier of the cloud site, the region identifier of the region, and the network quality. Alternatively, the second data may also include other information, for example, the second data may also include the network identifier of the operator network, so that the second data is used to describe the network quality of the cloud site in the region and under the operator network.
[0070] The detailed process of the data center server obtaining the collected data will be described in detail in the subsequent content and will not be introduced here.
[0071] For a new terminal device that needs to access a cloud site, the new terminal device needs to connect to a cloud site through an operator network. For the convenience of the following description, the new terminal device is referred to as a first terminal device. Alternatively, for a terminal device that has been connected to a cloud site, the terminal device has been connected to an operator network. The terminal device may need to switch to an operator network with higher signal quality or a cloud site with higher network quality in its area. For the convenience of the following description, the terminal device is also referred to as a first terminal device. The first terminal device is implemented by operations such as steps 302 to 309.
[0072] 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.
[0073] 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.
[0074] The location information of the first terminal device is the 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 and the area code of the location area where the first terminal device is located.
[0075] 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. In different cases, the cell where the first terminal device is located may include the location area where the first terminal device is located, that is, the location area where the first terminal device is located is part of the cell where the first terminal device is located. Alternatively, the location area where the first terminal device is located may include the cell where the first terminal device is located, that is, the cell where the first terminal device is located is part of the location area where the first terminal device is located.
[0076] For the network connection, the process of the first terminal device establishing the network connection is as follows:
[0077] When the first terminal device is a new terminal device that needs to access the cloud site, a SIM card data 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. The access point can be an access point of a wifi network or a Bluetooth access point, etc.
[0078] When the first terminal device is a terminal device that has been connected to an operator network, the first terminal device directly establishes a network connection with the distribution server in the operator network.
[0079] For the location information, the process of the first terminal device acquiring the location information may be:
[0080] When the first terminal device accesses the operator network, since the operator network is a network accessed by mobile communications, the first terminal device is located in a cell and location area in the operator network. Therefore, the first terminal device obtains the area identifier of the first area where it is located from the operator network, or the first terminal device locates itself using an access network element in the operator network to obtain its own coordinates. The access network element may be a base station, etc. When the first terminal device is connected to an access point, the first terminal device obtains its own location information using the access point.
[0081] In the case where the first terminal device is connected to the operator network, the access request may further include the network identifier of the operator network. And / or, in the case where the first terminal device is connected to the cloud site, the access request may further include the site identifier of the cloud site.
[0082] Step 303: The distribution server receives the connection request and sends the connection request to the data center server.
[0083] In the case where the location information included in the connection request is coordinates, the distribution server obtains the area identifier of the first area where the first terminal device is located based on the coordinates, replaces the coordinates included in the connection request with the area identifier, and then sends the connection request to the data center server. Alternatively, the distribution server does not process the coordinates and sends the connection request to the data center server, and the location information included in the connection request is still the coordinates.
[0084] Step 304: The data center server receives the connection request, and determines a target operator network that meets the first specified condition according to the location information included in the connection request and the collected data.
[0085] Among them, the first specified condition includes at least one of an operator network whose signal quality exceeds a first quality threshold, an operator network that can provide a first terminal device subscription package, and an operator network with the lowest cost.
[0086] In this step, the data center server can determine the target operator network through the following operations 3041 to 3043. The operations 3041 to 3043 are:
[0087] 3041: The data center server determines the area identifier of the first area where the first terminal device is located according to the location information of the first terminal device.
[0088] In the case where the location information included in the connection request is an area identifier, the location information included in the connection request is used as the 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 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 obtained.
[0089] 3042: The data center server obtains a first signal quality of each operator network in the first area according to the area identifier of the first area.
[0090] In 3042, according to the area identifier of the first area, the network identifier of each corresponding operator network and the first signal quality of each operator network in the first area are obtained from the first collected data.
[0091] In the case where each piece of first data in the first collected data further includes a network type of an operator network, the network type of each operator network can also be acquired from the first collected data according to the area identifier of the first area.
[0092] 3043: The data center server determines, according to the first signal qualities of the operator networks in the first area, an operator network that meets the first specified condition as a target operator network.
[0093] In 3043, the data center server determines, based on the first signal quality of each operator network in the first area, from the network identifiers of each operator network obtained, a network identifier of an operator network whose first signal quality exceeds a first quality threshold, and the operator network corresponding to the determined network identifier is the target operator network.
[0094] Since the first signal quality of the target operator network exceeds the first quality threshold, after the first terminal device accesses the target operator network and uses the target operator network to transmit services, service transmission efficiency is improved.
[0095] The conditions based on which the data center server determines the target operator network may include only the first signal quality of the operator network, or may also include other conditions. For example, in one possible implementation, the other conditions include the package subscribed by the first terminal device, that is, the conditions based on which the data center server determines the target operator network include the first signal quality of the operator network and the package subscribed by the first terminal device. In this example, the process of determining the target operator network may be:
[0096] The data center server determines the package subscribed by the first terminal device based on the device identifier of the first terminal device, determines the network identifier of the operator network that can provide the package from the network identifiers of the operator networks obtained, and determines the network identifier of an operator network whose first signal quality exceeds a first quality threshold from the network identifiers of the operator networks that can provide the package. The operator network corresponding to the determined network identifier is the target operator network.
[0097] 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.
[0098] The process of determining the package subscribed by the first terminal device may include: the data center server obtains the package identifier subscribed by the first terminal device from the package subscription data according to the device identifier of the first terminal device, and the package subscription data includes at least one subscription data. For each 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 has subscribed to the package. The data center server determines the package subscribed by the first terminal device according to the package identifier. The package subscription data 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 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.
[0099] 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 network type of each operator network. In 3043, according to the network type of the operator network defined in the package, the network identifier of the operator network that can provide the package is determined from the network identifiers of the operator networks. Or,
[0100] The data center server obtains the network identifiers of the operator networks that can provide the package according to the package identifier of the package subscribed by the first terminal device, the network identifiers of the operator networks, and the package attribution data. The package attribution data includes at least one attribution data. For each attribution data, the attribution data includes the package identifier of the package and the network identifier of the operator network. The attribution data is used to describe that the operator network provides the package. The package attribution data can be stored in the data center server.
[0101] In another possible implementation, the other conditions also include the price of the package provided by each operator network, that is, the conditions based on which the data center server determines the target operator network include 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:
[0102] For the operator networks that can provide the package, the data center server also obtains the price of the package provided by each operator network, and determines the network identifier of an operator network whose first signal quality exceeds the first quality threshold and whose price is the lowest among the network identifiers of the operator networks that can provide the package. The operator network corresponding to the determined network identifier is the target operator network, thereby determining the network identifier of an operator network whose first signal quality exceeds the first quality threshold and whose cost is the lowest.
[0103] Since the target operator network provides the lowest price package for the first terminal device to subscribe to, the first terminal device uses the target operator network to transmit services, which can reduce usage costs.
[0104] 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 price data, and for each price data, the price data includes the package identifier of the package, the network identifier of the operator network, and the price, and the price data is used to describe the price of the package provided by the operator network.
[0105] Step 305: The data center server determines a target cloud site that meets the second specified condition based on the location information and the collected data.
[0106] The second specified condition includes at least one of a cloud site with a network quality exceeding a second quality threshold and a cloud site with the lowest cost.
[0107] In this step, the data center server can determine the target cloud site through the following operations 3051 to 3052. The operations 3051 to 3052 are respectively:
[0108] 3051: The data center server obtains the network quality of each cloud site in the first area according to the area identifier of the first area.
[0109] When each second data in the second collected data includes the regional identifier of the region, the site identifier of the cloud site and the network quality, the data center server obtains the corresponding site identifier of each cloud site and the network quality of each cloud site in the first region from the second collected data according to the regional identifier of the first region.
[0110] When each second data in the second collected data also includes the network identifier of the operator network, the data center server obtains the site identifier of each corresponding cloud site and the network quality of each cloud site in the first area and under the target operator network from the second collected data based on the area identifier of the first area and the network identifier of the target operator network.
[0111] 3052: The data center server determines a target cloud site that meets the second specified condition based on the acquired network quality.
[0112] In 3052, the data center server determines the site identifier of a cloud site whose network quality exceeds the second quality threshold from the acquired site identifiers of the cloud sites, and the cloud site corresponding to the determined site identifier is the target cloud site.
[0113] 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.
[0114] The conditions based on which the data center server determines the target cloud site may include only the network quality of the cloud site, or may also include other conditions. For example, in one possible implementation, the other conditions include the service price provided by the cloud site, so that in 3052, the data center server obtains the service price provided by each cloud site based on the site identifier of each cloud site obtained; 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 from the site identifiers of each cloud site obtained, and the cloud site corresponding to the determined site identifier is the target cloud site whose network quality exceeds the second quality threshold and has the lowest cost.
[0115] Since the target cloud site provides the lowest service price, after the first terminal device is connected to the target cloud site, the user's usage cost can be reduced.
[0116] The process of the data center server obtaining the service price provided by each cloud site may be: the data center server obtains the service price provided by each cloud site from the service price data according to the site identifier of each cloud site, the service price data includes at least one 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.
[0117] It should be noted that: the above step 304 may be performed first, and then step 305; or, step 305 and step 304 may be performed simultaneously; or, step 305 may be performed first, and then step 304.
[0118] 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 an acquisition condition, the above step 304 needs to be performed first, and then step 305 needs to be performed.
[0119] Among them, when executing 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 determine the target cloud site according to the area identifier and the collected data.
[0120] Step 306: The data center server sends a first connection response to the distribution server, where the first connection response includes a network identifier of the target operator network and a site identifier of the target cloud site.
[0121] In the case where the first terminal device has accessed the operator network, the data center server also determines whether the operator network that the first terminal device has accessed is the same as the target operator network. If it is determined that they are 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 accessed operator network to the target operator network. In the case where it is determined that they are the same, the connection response may not include the network identifier of the target operator network, in which case the first terminal device may not switch the operator network.
[0122] Among them, the operation of the data center server determining whether the operator network that the first terminal device has accessed and the target operator network are the same can be: when the connection request includes the network identifier of the operator network that the first terminal device has accessed, the data center server compares the network identifier of the accessed operator network with the network identifier of the target operator. If the two are found to be the same, it is determined that the operator network that the first terminal device has accessed and the target operator network are the same; if the two are found to be different, it is determined that the operator network that the first terminal device has accessed and the target operator network are different.
[0123] In the case where the first terminal device has been connected to a cloud site, the data center server further determines whether the cloud site to which the first terminal device has been connected and the target cloud site are the same. If they are determined to be different, the connection response includes the site identifier 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. In the case where they are determined to be the same, the connection response may not include the site identifier of the target cloud site, in which case the first terminal device may not switch cloud sites.
[0124] Step 307: The distribution server receives the first connection response and sends a switching command to the RSP. The switching command includes the device identifier of the first terminal device and the network identifier of the target operator network.
[0125] Step 308: The distribution server sends a second connection response to the first terminal device, where the second connection response includes an identifier of the target cloud site, and is used to instruct the first terminal device to switch the cloud site.
[0126] 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 a switching command to the RSP, but will continue to send a second connection response to the first terminal device.
[0127] In the case of not switching cloud sites, 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 network, the distribution server sends a switching command to the RSP, and can continue to send the second connection response to the first terminal device, or stop sending the second connection response to the first terminal device, but the second connection response does not include content.
[0128] 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.
[0129] Step 309: The RSP module receives the switching command, and writes the SIM card data belonging to the target operator network into the eSIM of the first terminal device according to the switching command.
[0130] In this step, the RSP module receives the switching command, extracts the network identifier of the target operator network and the device identifier of the first terminal device from the switching command, obtains the SIM card data belonging to the target operator network according to the network identifier of the target operator network, and writes the SIM card data into the eSIM of the first terminal device according to the device identifier of the first terminal device.
[0131] The process of RSP writing the SIM card data into the eSIM of the first terminal device may be as follows: RSP stores the device identification of the first terminal device and the SIM card data correspondingly, and sends a download notification to the first terminal device according to the device identification of the first terminal device. After receiving the download notification, the first terminal device sends a download request to the RSP, and the download request includes the device identification of the first terminal device. RSP obtains the SIM card data corresponding to the device identification 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 into the eSIM of the first terminal device.
[0132] The SIM card data includes at least one of an IMSI, a key identifier (Ki), and an authentication and key agreement (AKA).
[0133] Regarding modifying the operator network of the first terminal, in addition to the distribution server triggering the RSP 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 steps 306 to 308 above, other implementation processes can also be used.
[0134] In a possible implementation, the data center server directly triggers the RSP to write the SIM card data to the first terminal device.
[0135] In this implementation, the data center server sends a switching command to the RSP, and the switching command includes the device identifier of the first terminal device and the network identifier 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 switching command and writes the SIM card data belonging to the target operator network into the eSIM of the first terminal device according to the switching command.
[0136] In another possible implementation manner, the data center server obtains the SIM card data from the RSP, and then triggers the distribution server to write the SIM card data to the first terminal device.
[0137] In this implementation, the data center server sends a SIM card acquisition request to the RSP, and the SIM card acquisition request includes the network identifier of the target operator network. The RSP receives the SIM card acquisition request, obtains the 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, and the SIM card acquisition response includes the SIM card data. The data center server sends a first connection response to the distribution server, and the first connection response includes the SIM card data. The distribution server sends a second connection response to the first terminal device, and the second connection response includes the SIM card data. The first terminal device receives the second connection response and saves the SIM card data to the eSIM of the first terminal device.
[0138] 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.
[0139] 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 to connect to the target cloud site.
[0140] 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, the first terminal device can also request the target operator network and the target cloud site by sending two connection requests, which are an eSIM connection request and a site connection request. In implementation:
[0141] The first terminal device sends an eSIM connection request to the distribution server, and 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 SIM card data belonging to the target operator network into the eSIM of the first terminal device according to the device identification.
[0142] The first terminal device sends a site connection request to the distribution server, and 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, and the site connection response includes the site identification of the target cloud site. The distribution server sends the site connection response to the first terminal device.
[0143] 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.
[0144] In the case where the first terminal device has access to the operator network and the cloud site, when the signal quality of the operator network to which the first terminal device has access 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 based on the eSIM connection request and may no longer 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 based on the SIM card data and establishes a network connection with the cloud site in the target operator network to achieve connection to the cloud site in the target operator network with higher signal quality. Or,
[0145] In the case where the first terminal device has accessed the operator network and has connected to the cloud site, when the network quality of the cloud site to which the first terminal device has 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 based on the site connection request, and may not determine the target operator network. When the first terminal device obtains the site identifier of the target cloud site, it establishes a network connection with the target cloud site in the operator network that has been accessed based on the site identifier, so as to achieve connection to the target cloud site with higher network quality.
[0146] In the above process, the distribution server can be integrated with the data center server, so that when they are integrated, 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. In other words, there is no need to perform the operations of step 303 and step 307.
[0147] 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 switching command to the RSP and sends a first connection response to the first terminal device, the switching command includes the device identifier of the first terminal device and the network identifier of the target operator network, and the first connection response includes the site identifier of the target cloud site.
[0148] In the case where the distribution server and the data center server are integrated, the data center server can also use other methods to write the SIM card data to the first terminal device. For example, the data center server obtains the SIM card data from the RSP and sends the SIM card data to the first terminal device.
[0149] The data center server sends a SIM card acquisition request to the RSP, and the SIM card acquisition request includes the network identifier of the target operator network. The RSP receives the SIM card acquisition request, obtains the 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, and the SIM card acquisition response includes the SIM card data. The data center server sends a first connection response to the first terminal device, and the first connection response includes the SIM card data and the site identifier of the target cloud site.
[0150] For the first collected data in step 301, the cloud site first collects the second signal quality of each operator network in each area, and then the data service center averages the second signal quality of each operator network in each area collected by different cloud sites for each area to obtain the first signal quality of each operator network in each area, thereby obtaining the first collected data.
[0151] The data center server may obtain the first collected data by performing the following operations 3011 to 3014. The operations 3011 to 3014 are respectively:
[0152] 3011: The cloud site receives first measurement information sent by a second terminal device, where the first measurement information includes location information of the second terminal device, a network identifier of an operator network, and a signal strength of the operator network. The second terminal device is a terminal device that has been connected to the cloud site, and the operator network is an operator network connected to the second terminal device.
[0153] When accessing the cloud site, the second terminal device measures the signal strength of the operator network it accesses, and sends the first measurement information including the signal strength to the cloud site. Alternatively, after accessing the cloud site, the second terminal device can periodically or irregularly measure the signal strength of the operator network it accesses and send the first measurement information including the signal strength to the cloud site.
[0154] 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.
[0155] The signal strength of the operator network may be information such as received signal strength indication (RSSI).
[0156] The first measurement information may include only the above-mentioned information, or the first measurement information may also include other information. For example, the first measurement information may also include information such as the device identification of the second terminal device and / or the network type of the operator network.
[0157] An operator may have operator networks of different network types. For example, an operator may have one or more operator networks of 3G network type, 4G network type, 5G network type, etc.
[0158] The device identification of the second terminal device includes one or more of the integrated circuit card identity (ICCID), international mobile subscriber identity (IMSI) and international mobile equipment identity (IMEI) of the second terminal device. The network identification of the operator network includes the mobile country code (MCC) and mobile network code (MNC) of the operator network. The area identification of the second area includes one or more of the cell identification 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.
[0159] Each terminal device connected to the cloud site, like the second terminal device, obtains 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.
[0160] 3012: The cloud site obtains the first signal quality of each operator network in each area according to the received first measurement information, and obtains third collected data.
[0161] Optionally, the cloud site can obtain the first signal quality of each operator network in each area through the following operations (1-1) to (1-3). The operations (1-1) to (1-3) are respectively:
[0162] (1-1), for the above-mentioned 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.
[0163] 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.
[0164] When the location information of the second terminal device included in the received first measurement information is 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 first measurement information sent by the second terminal device in the second area.
[0165] (1-2) The cloud site classifies first measurement information of different operator networks from the first measurement information sent by each terminal device in the second area.
[0166] 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 first measurement information belonging to the same operator network, so that the first measurement information of the same operator network in the second area is classified into one category.
[0167] For example, assuming that the second area is covered by operator network A and operator network B, the first measurement information sent by each terminal device in the second area can be classified into the first measurement information of operator network A and the first measurement information of operator network B.
[0168] (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.
[0169] An average signal strength is calculated according to the signal strengths included in each piece of first measurement information belonging to the operator network, and the average signal strength is used as the second signal quality of the operator network in the second area.
[0170] The cloud site repeatedly performs the above operations (1-1) to (1-3) to obtain the third collected data, where the third collected data includes at least one third data, each of which includes the regional identifier of the region, the network identifier of the operator network, and the second signal quality, or each of which includes the regional identifier of the region, the network identifier of the operator network, the network type of the operator network, and the second signal quality, and the third data is used to indicate the second signal quality of the operator network in the region.
[0171] For example, for operator network A, the average signal strength is calculated according to the signal strength included in each first measurement information of operator network A, and the average signal strength is used as the second signal quality of operator network A in the second area. Assuming that the second signal quality is 100, a third data is obtained, and the third data is the second row of data in Table 1 below, that is, the third data includes the area identifier AreaID1 of the second area, the network identifier NetIDA of operator network A, and the second signal quality 100.
[0172] For operator network B, the average signal strength is calculated according to the signal strength included in each first measurement information of operator network B, and the average signal strength is used as the second signal quality of operator network B in the second area. Assuming that the second signal quality is 90, a third data is obtained, and the third data is the third row of data in Table 1 below, that is, the third data includes the area identifier AreaID1 of the second area, the network identifier NetIDB of operator network B, and the first signal quality 90.
[0173] Optionally, the cloud site collects the first signal quality of each operator network in different areas by repeatedly performing the above operations (1-1) to (1-3), thereby obtaining different third data, and the different third data constitute the third collected data shown in Table 1 below.
[0174] Table 1
[0175] Area identification Network Identity First signal quality AreaID1 NetIDA 100 AreaID1 NetIDB 90 AreaID2 NetIDA 110 …… …… ……
[0176] 3013: The cloud site sends the third collected data to the data center server.
[0177] For each other cloud site, the above operations 3011 to 3013 are respectively executed to send each third collected data to the data center server.
[0178] Different terminal devices in the same area may access different cloud sites, so different cloud sites may send the second signal quality of different operator networks in the same area. For example, suppose that some terminal devices in the second area are connected to cloud site 1, and the remaining terminal devices in the second area are connected to cloud site 2. In this way, cloud site 1 can collect the second signal quality of each operator network in the second area, obtain the third collected data, and send the third collected data to the data center server. In addition, cloud site 2 can also collect the first signal quality of each operator network in the second area, obtain the third collected data, and send the third collected data to the data center server.
[0179] For the third collected data sent by any two cloud sites, for example, still taking the above-mentioned cloud site 1 and cloud site 2 as an example, there may be a third data (called third data 1) in the third collected data sent by cloud site 1, and there may be a 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 area identifier of the same area and the network identifier of the same operator 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.
[0180] 3014: The data center server receives the third collected data sent by different cloud sites, obtains the second signal quality of each operator network in different areas according to each third collected data sent by different cloud sites, and obtains the first collected data.
[0181] Optionally, for any region and for each operator network, the second signal quality of the operator network in the region is obtained from the third collected data sent by each cloud site, the signal quality average value is calculated based on the obtained second signal quality, and the signal quality average value is used as the first signal quality of the operator network in the region, thereby obtaining a first data, the first data including the area identifier of the region, the network identifier of the operator network and the first signal quality, or the first data including the area identifier of the region, the network identifier of the operator network, the network type of the operator network and the first signal quality.
[0182] The first signal quality of each operator network in each area is obtained in the same manner as above, so as to obtain different first data, and the different first data constitute the first collected data.
[0183] Optionally, in addition to obtaining the first signal quality of each operator network in different areas through the above operations 3011 to 3014, the data center server can also obtain the first signal quality of each operator network in different areas through other methods. For example, each cloud site can 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, classifies the first measurement information belonging to the same area and the same operator network into a category of first measurement information, calculates the average signal strength based on the signal strength included in each first measurement information in the category of first measurement information, and uses the average signal strength as the first signal quality of the operator network in the area.
[0184] Among them, when the data center server obtains the first signal quality of each operator network in different areas through the above-mentioned processes 3111 to 3114, since each cloud site directly obtains the second signal quality of each operator network in different areas, and then sends the second signal quality of each operator network in different areas to the data center server, this 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, thereby improving the efficiency of obtaining the first signal quality of each operator network in different areas.
[0185] For the second collected data stored in the data center service in step 301, each cloud site first collects the network quality in each area, obtains the second collected data, and sends the second collected data to the data center server. The data center server receives the second collected data sent by each cloud site and stores the second collected data of each cloud site.
[0186] For the network quality of each cloud site in each area, the cloud site can collect the network quality of the cloud site in each area through the following operations 3111 to 3113. The operations 3111 to 3113 are respectively:
[0187] 3111: The cloud site obtains second measurement information of the second terminal device, where the second measurement information includes location information of the second terminal device and at least one network quality parameter of the cloud site in the second area. The second terminal device is a terminal device that has been connected to the cloud site, and the second area is the area where the second terminal device is located.
[0188] The second measurement information may include only the several types of information listed above, or the second measurement information may also include other information, for example, the second measurement information also includes the network identifier of the operator network accessed by the second terminal device.
[0189] The cloud site can obtain the second measurement information of the second terminal device in the following two ways. The two ways are:
[0190] In the first mode, the cloud site receives the second measurement information sent by the second terminal device. When implementing:
[0191] After accessing the cloud site, the second terminal device regularly 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 location information of the second terminal device and the at least one network quality parameter.
[0192] In the second method, the cloud site measures the second measurement information of the second terminal device. When implementing:
[0193] After the second terminal device accesses the cloud site, the cloud site periodically or irregularly obtains 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 second measurement information of the second terminal device.
[0194] The at least one network quality parameter includes one or more of bandwidth, delay, jitter, and packet loss rate.
[0195] The location information is the area identifier of the second area or the coordinates of the second terminal device. When the location information is the coordinates, when the cloud site obtains the second measurement information of the second terminal device, it determines the second area where the second terminal device is located according to the coordinates, and uses the second measurement information as the second measurement information of a terminal device in the second area.
[0196] 3112: The cloud site obtains the network quality of the cloud site in each area according to the received second measurement information to obtain second collected data.
[0197] 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 (2-1) to (2-2) are:
[0198] (2-1), for the above-mentioned second area, the cloud site selects the second measurement information of each terminal device in the second area from the received second measurement information.
[0199] 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.
[0200] (2-2) The cloud site obtains the network quality of the cloud site in the second area based on the network quality parameters included in the second measurement information of each terminal device in the second area, and obtains a second data, which includes the area identifier of the second area, the site identifier of the cloud site and the network quality.
[0201] 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 an average value of the network quality parameters of the parameter type based on the network quality parameters of the parameter type. The cloud site can 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 based on the weight of each parameter type and the average value of the network quality parameters.
[0202] The process of obtaining the network quality may be as follows: the cloud site obtains 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. The bandwidth average is calculated according to each bandwidth, the delay average is calculated according to each delay, the jitter average is calculated according to each jitter, and / or the packet loss rate average is calculated according to each packet loss rate. Based on the bandwidth average, the delay average, the jitter average, and / or the packet loss rate average, the network quality of the cloud site in the second area is obtained according to the following first formula.
[0203] The first formula is: Q = W1*D+W2*T+W3*J+W4*L
[0204] 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 latency, J is the average jitter, L is the average packet loss rate, W1 is the bandwidth weight, W2 is the latency weight, W3 is the jitter weight, and W4 is the packet loss rate weight.
[0205] 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 collected data of the cloud site.
[0206] For example, the cloud site obtains the network quality of the cloud site in area 1 as 50, thus obtaining a second data, which is the second row of data in Table 2 below, that is, the second data includes the site identifier "ServiceID1" of the cloud site, the area identifier "AreaID1" of area 1, and the network quality "50". The cloud site obtains the network quality of the cloud site in area 2 as 60, thus obtaining a second data, which is the third row of data in Table 2 below, that is, the second data includes the site identifier "ServiceID1" of the cloud site, the area identifier "AreaID2" of area 2, and the network quality "60".
[0207] Table 2
[0208] Site identification Area identification Network quality ServiceID1 AreaID1 50 ServiceID1 AreaID2 60
[0209] The second data may include only the several types of information listed above, or the second data may also include other information, for example, the second data may also include a network identifier of an operator network.
[0210] In a possible implementation, the process of the cloud site acquiring the second data may be: the cloud site classifies the second measurement information of different operator networks from the second measurement information of each terminal device in the second area. For each operator network, the network quality parameters of the cloud site in the second area and under the operator network are acquired according to the network quality parameters included in the second measurement information of the operator network, and the network quality of the cloud site in the second area and under the operator network is acquired according to the acquired network quality parameters, thereby obtaining a second data, the second data including the area identifier of the second area, the site identifier of the cloud site, the network identifier of the operator network, and the network quality.
[0211] For example, the cloud site obtains that the network quality of the cloud site in region 1 and under operator network A is 50, thus obtaining a second data, which is the second row of data in Table 3 below, that is, the second data includes the site identifier "ServiceID1" of the cloud site, the area identifier "AreaID1" of region 1, the network identifier "NetIDA" of operator network A, and the network quality "50". The cloud site obtains that the network quality of the cloud site in region 1 and under operator network B is 70, thus obtaining a second data, which is the third row of data in Table 3 below, that is, the second data includes the site identifier "ServiceID1" of the cloud site, the area identifier "AreaID1" of region 1, the network identifier "NetIDB" of operator network B, and the network quality "70". The cloud site obtains the network quality of the cloud site in area 2 and under the operator network A as 55, thus obtaining a second data, which is the fourth row of data in Table 2 below, that is, the second data includes the site identifier "ServiceID1" of the cloud site, the area identifier "AreaID2" of area 2, the network identifier "NetIDA" of the operator network A, and the network quality "55". The cloud site obtains the network quality of the cloud site in area 2 and under the operator network B as 65, thus obtaining a second data, which is the fifth row of data in Table 2 below, that is, the second data includes the site identifier "ServiceID1" of the cloud site, the area identifier "AreaID2" of area 2, the network identifier "NetIDB" of the operator network B, and the network quality "65".
[0212] Table 3
[0213] Site identification Area identification Network Identity Network quality ServiceID1 AreaID1 NetIDA 50 ServiceID1 AreaID1 NetIDB 70 ServiceID1 AreaID2 NetIDA 55 ServiceID1 AreaID2 NetIDB 65
[0214] In an embodiment of the present application, a data center server obtains data collected by a cloud site; upon receiving a connection request including location information of a first terminal device, a target operator network and a target cloud site with better quality and lower cost are selected based on the location information and the collected data. 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 the target cloud site with better quality and lower cost are selected based on the location information and the collected data, a target operator network with better signal quality and a target cloud site with better network quality can be selected in the first area where the first terminal device is located. After the first terminal device accesses the target cloud site through the target operator network, a higher communication quality between the first terminal device and the target cloud site can be guaranteed, and communication costs can be reduced.
[0215] See also Figure 4The embodiment of the present application provides a device 400 for connecting to a cloud site. The device 400 can be deployed in a data center server provided in any of the above embodiments, including:
[0216] The processing unit 401 is used to obtain data collected by a cloud site, where the cloud site is a site managed by the device 400;
[0217] The transceiver unit 402 is used to receive a connection request, where the connection request includes location information of the terminal device;
[0218] The processing unit 401 is also used to determine a target operator network that meets the first specified condition and a target cloud site that meets the second specified condition based on the location information and the collected data, wherein the target cloud site is a cloud site to which the terminal device is connected through the target operator network.
[0219] Optionally, the detailed implementation process of the processing unit 401 obtaining the data collected by the cloud site can be found in Figure 3 The related contents of steps 3011 to 3014 and 3111 to 3112 in the illustrated embodiment will not be described in detail again.
[0220] Optionally, the detailed implementation process of the processing unit 401 determining the target operator network and the target cloud site can be found in Figure 3 The relevant contents of steps 304 and 305 in the illustrated embodiment will not be described in detail here.
[0221] Optionally, the target operator network is used to provide a cellular network connection for the terminal device.
[0222] Optionally, the processing unit 401 is configured to:
[0223] The signal quality of each operator network collected by the cloud site in each area is obtained, and the network quality of the cloud site in each area is obtained. The operator network includes the operator network used by the terminal device connected to the cloud site.
[0224] Optionally, the processing unit 401 is configured to:
[0225] Determine, according to the location information, an area identifier of a first area where the terminal device is located;
[0226] Acquire, according to the area identifier of the first area, the signal quality of each operator network within the first area;
[0227] According to the signal qualities of the operator networks in the first area, an operator network that meets a first specified condition is determined as a target operator network.
[0228] Optionally, the processing unit 401 obtains the signal quality of each operator network in the first area and determines the detailed implementation process of the target operator network, which can be found in Figure 3 The relevant contents of steps 3041 and 3043 in the illustrated embodiment will not be described in detail here.
[0229] Optionally, the processing unit 401 is configured to:
[0230] Determine, according to the location information, an area identifier of a first area where the terminal device is located;
[0231] According to the region identifier of the first region, obtain the network quality of each cloud site in the first region;
[0232] According to the network quality of each cloud site in the first area, a cloud site that meets the second specified condition is determined as the target cloud site.
[0233] Optionally, the processing unit 401 obtains the network quality of each cloud site in the first area and determines the detailed implementation process of the target cloud site, which can be seen in Figure 3 The relevant contents of steps 3051 and 3052 in the illustrated embodiment will not be described in detail here.
[0234] Optionally, the processing unit 401 is configured to:
[0235] Obtaining, according to the region identifier of the first region and the network identifier of the target operator network, the network quality of each cloud site in the first region and in the target operator network;
[0236] According to the obtained network quality, a cloud site that meets the second specified condition is determined as the target cloud site.
[0237] Optionally, the first specified condition includes one or more of an operator network whose signal quality exceeds a 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 specified condition includes one or more of a cloud site whose network quality exceeds a second quality threshold and a cloud site with the lowest cost.
[0238] Optionally, the connection request also includes a device identifier of the terminal device. The transceiver unit 402 is further configured to:
[0239] A switching command is sent to the remote subscriber identity module configuration service RSP, the switching command including the network identifier of the target operator network and the device identifier, 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.
[0240] Optionally, the connection request also includes a device identifier of the terminal device. The transceiver unit 402 is further configured to:
[0241] Send a subscriber identity 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; and write the SIM card data to the terminal device.
[0242] Optionally, the transceiver unit 402 is further configured to:
[0243] 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.
[0244] Optionally, the detailed implementation process of the transceiver unit 502 sending the connection response can be found in Figure 3 The relevant contents of steps 306-309 in the illustrated embodiment will not be described in detail here.
[0245] In an embodiment of the present application, the processing unit obtains data collected by the cloud site; the transceiver unit receives a connection request sent by the terminal device, and the connection request includes the location information of the terminal device. The processing unit determines the target operator network that meets the first specified condition and the target cloud site that meets the second specified condition based on the location information and the collected data. Since the processing unit determines the target operator network that meets the first specified condition and the target cloud site that meets the second specified condition based on the location information and the collected data, a target operator network with better signal quality and a target cloud site with better network quality can be selected in the first area. After the terminal device accesses the target cloud site through the target operator network, a higher communication quality between the terminal device and the target cloud site can be guaranteed.
[0246] See also Figure 5 The embodiment of the present application provides a device 500 for connecting to a cloud site. The device 500 can be deployed in the distribution server provided in any of the above embodiments, including:
[0247] The receiving unit 501 is configured to receive a connection request sent by a terminal device, where the connection request includes location information of the terminal device;
[0248] The sending unit 502 is used to send the connection request to the data center server, and the connection request is used by the data center server to determine the target operator network that meets the first specified condition and the target cloud site that meets the second specified condition based on the location information and the data collected by the acquired cloud site, wherein the target cloud site is the cloud site to which the terminal device is connected through the target operator network.
[0249] Optionally, the device 500 further includes: a first processing unit 503,
[0250] The receiving unit 501 is further configured to receive a connection response sent by the data center server, where the connection response includes a network identifier of a target operator network or subscriber identity module SIM card data belonging to the target operator network;
[0251] 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 a target operator network.
[0252] Optionally, the detailed implementation process of the first processing unit 503 writing SIM card data into the eSIM of the terminal device can be found in Figure 3 The relevant contents of step 307 in the illustrated embodiment will not be described in detail here.
[0253] Optionally, the apparatus 500 further includes: a second processing unit 504,
[0254] The receiving unit 501 is further configured to receive a connection response sent by the data center server, where the connection response includes a site identifier of a target cloud site;
[0255] The second processing unit 504 is used to control the terminal device to switch to the target cloud site corresponding to the site identifier.
[0256] Optionally, the detailed implementation process of the second processing unit 504 controlling the terminal device to switch to the target cloud site can be found in Figure 3 The relevant contents of step 308 in the illustrated embodiment will not be described in detail here.
[0257] In an 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 a target operator network with better signal quality and a target cloud site with better network quality at the location of the terminal device based on the location information and the collected data. After the terminal device accesses the target cloud site through the target operator network, a higher communication quality between the terminal device and the target cloud site can be guaranteed.
[0258] See also Figure 6 , an embodiment of the present application provides a schematic diagram of a device 600 for connecting a cloud site. The device 600 may be a data center server in any of the above embodiments. The device 600 includes at least one processor 601, an internal connection 602, a memory 603, and at least one transceiver 604.
[0259] The device 600 is a hardware structure device that can be used to implement Figure 4 The functional modules in the device 400 are as follows. For example, those skilled in the art may think of Figure 4The processing unit 401 in the device 400 shown can be implemented by the at least one processor 601 calling the code in the memory 603. Figure 4 The transceiver unit 402 in the device 400 shown may be implemented by the transceiver 604 .
[0260] Optionally, the device 600 can also be used to implement the functions of the data center server in any of the above embodiments.
[0261] Optionally, the processor 601 may be a general-purpose central processing unit (CPU), a network processor (NP), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0262] The internal connection 602 may include a path to transmit information between the components. Optionally, the internal connection 602 is a single board or a bus.
[0263] The transceiver 604 is used to communicate with other devices or communication networks.
[0264] The memory 603 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a bus. The memory may also be integrated with the processor.
[0265] The memory 603 is used to store 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 code stored in the memory 603, and cooperate with at least one transceiver 604, so that the device 600 implements the functions of the method of the present patent.
[0266] In a specific implementation, as an embodiment, the processor 601 may include one or more CPUs, such as Figure 6 CPU0 and CPU1 in.
[0267] In a specific implementation, as an embodiment, the device 600 may include multiple processors, such as Figure 6 601 and processor 607 in FIG. Each of these processors may be a single-CPU processor or a multi-CPU processor. A processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0268] See also Figure 7 , an embodiment of the present application provides a schematic diagram of a device 700 for connecting to a cloud site. The device 700 may be a distribution server in any of the above embodiments. The device 700 includes at least one processor 701, an internal connection 702, a memory 703, and at least one transceiver 704.
[0269] The device 700 is a hardware structure device that can be used to implement Figure 5 The functional modules in the device 500 are as follows. For example, those skilled in the art may think of Figure 5 The first processing unit 503 and the second processing unit 504 in the device 500 shown in the figure can be implemented by the at least one processor 701 calling the code in the memory 703. Figure 5 The receiving unit 501 and the sending unit 502 in the device 500 shown can be implemented by the transceiver 704 .
[0270] Optionally, the device 700 may also be used to implement the function of the distribution server in any of the above embodiments.
[0271] Optionally, the processor 701 may be a general-purpose central processing unit (CPU), a network processor (NP), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the present application.
[0272] The internal connection 702 may include a path to transmit information between the components. Optionally, the internal connection 702 is a single board or a bus.
[0273] The transceiver 704 is used to communicate with other devices or communication networks.
[0274] The memory 703 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory may exist independently and be connected to the processor via a bus. The memory may also be integrated with the processor.
[0275] The memory 703 is used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 701. The processor 701 is used to execute the application code stored in the memory 703, and cooperate with at least one transceiver 704, so that the device 700 implements the functions of the patent method.
[0276] In a specific implementation, as an embodiment, the processor 701 may include one or more CPUs, such as Figure 7 CPU0 and CPU1 in.
[0277] In a specific implementation, as an embodiment, the device 700 may include multiple processors, such as Figure 7 701 and processor 707 in the embodiment of the present invention. Each of these processors may be a single-CPU processor or a multi-CPU processor. The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).
[0278] See also Figure 8The embodiment of the present application provides a system 800 for connecting cloud sites, the system 800 includes: Figure 4 The device 400 shown and Figure 5 The device 500 shown, or the system 800 includes Figure 6 The device 600 shown and Figure 7 The device 700 is shown.
[0279] Optional, such as Figure 4 The device 400 shown or Figure 6 The device 600 shown may be a data center server 801, such as Figure 5 The device 500 shown and Figure 7 The device 700 shown may be a distribution server 802 .
[0280] A person skilled in the art will understand that all or part of the steps to implement the above embodiments may be accomplished by hardware or by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a disk or an optical disk, etc.
[0281] The above description is only an optional embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for connecting a cloud site, characterized in that: The method comprises: The data center server obtains data collected by the cloud site, where the cloud site is a site managed by the data center server, and the collected data includes signal quality of each operator network in each area and network quality of the cloud site in each area, and the operator network includes an operator network used by a terminal device connected to the cloud site; The data center server receives a connection request, wherein 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 meets a first specified condition and a target cloud site that meets a second specified condition; The data center server writes the customer identification module SIM card data belonging to the target operator network to the terminal device, wherein the terminal device is used to access the target operator network according to the SIM card data and connect to the target cloud site through the target operator network.
2. The method according to claim 1, characterized in that The determining, according to the location information and the collected data, a target operator network that meets the first specified condition includes: Determine, according to the location information, an area identifier of a first area where the terminal device is located; Acquire, according to the area identifier of the first area, signal quality of each operator network in the first area; According to the signal quality of each operator network in the first area, an operator network that meets a first specified condition is determined as the target operator network.
3. The method according to claim 1 or 2, characterized in that The determining, according to the location information and the collected data, a target cloud site that meets a second specified condition includes: Determine, according to the location information, an area identifier of a first area where the terminal device is located; Acquire, according to the region identifier of the first region, a network quality of each cloud site in the first region; According to the network quality of each cloud site in the first area, a cloud site that meets a second specified condition is determined as the target cloud site.
4. The method according to claim 2, characterized in that The determining, according to the location information and the collected data, a target cloud site that meets a second specified condition includes: Acquire, according to the region identifier of the first region and the network identifier of the target operator network, the network quality of each cloud site in the target operator network in the first region; According to the obtained network quality, a cloud site that meets a second specified condition is determined as the target cloud site.
5. The method according to any one of claims 1, 2 and 4, characterized in that: The first specified condition includes one or more of an operator network whose signal quality exceeds a 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 specified condition includes one or more of a cloud site whose network quality exceeds a second quality threshold and a cloud site with the lowest cost.
6. The method according to any one of claims 1, 2 and 4, characterized in that: The connection request also includes the device identification of the terminal device, and the step of writing the subscriber identification module SIM card data belonging to the target operator network to the terminal device includes: A switching command is sent to a remote subscriber identity module configuration service RSP, wherein the switching command includes the network identifier of the target operator and the device identifier, and the switching command is used to instruct the RSP to write SIM card data belonging to the target operator network to the terminal device.
7. The method according to any one of claims 1, 2 and 4, characterized in that: The connection request also includes the device identification of the terminal device, and the step of writing the subscriber identification module SIM card data belonging to the target operator network to the terminal device includes: Sending a subscriber identity module SIM card data acquisition request to the RSP, wherein the SIM card data acquisition request is used to acquire the SIM card data of the target operator network; Write the SIM card data into the terminal device.
8. The method according to any one of claims 1, 2 and 4, characterized in that: The method further comprises: A connection response is sent to the terminal device, wherein the connection response includes an identifier of a target cloud site, and the connection response is used to instruct the terminal device to access the target cloud site.
9. A device for connecting to a cloud site, characterized in that: The device comprises: a processing unit, configured to obtain data collected by a cloud site, wherein the cloud site is a site managed by the device, wherein the collected data includes signal quality of each operator network in each area and network quality of the cloud site in each area, wherein the operator network includes an operator network used by a terminal device connected to the cloud site; A transceiver unit, configured to receive a connection request, wherein the connection request includes location information of a terminal device; The processing unit is further configured to select a target operator network that meets a first specified condition and a target cloud site that meets a second specified condition based on the location information and the collected data; The device is also used to write the customer identification module SIM card data belonging to the target operator network into the terminal device, wherein the terminal device is used to access the target operator network according to the SIM card data and the target cloud site connected through the target operator network.
10. The device according to claim 9, characterized in that The processing unit is used for: Determine, according to the location information, an area identifier of a first area where the terminal device is located; Acquire, according to the area identifier of the first area, signal quality of each operator network in the first area; According to the signal quality of each operator network in the first area, an operator network that meets a first specified condition is determined as the target operator network.
11. The device according to claim 9 or 10, characterized in that The processing unit is used for: Determine, according to the location information, an area identifier of a first area where the terminal device is located; Acquire, according to the region identifier of the first region, a network quality of each cloud site in the first region; According to the network quality of each cloud site in the first area, a cloud site that meets a second specified condition is determined as the target cloud site.
12. The device according to claim 10, characterized in that The processing unit is used for: Acquire, according to the region identifier of the first region and the network identifier of the target operator network, the network quality of each cloud site in the target operator network in the first region; According to the obtained network quality, a cloud site that meets a second specified condition is determined as the target cloud site.
13. The device according to any one of claims 9, 10 and 12, characterized in that The first specified condition includes one or more of an operator network whose signal quality exceeds a 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 specified condition includes one or more of a cloud site whose network quality exceeds a second quality threshold and a cloud site with the lowest cost.
14. The device according to any one of claims 9, 10 and 12, characterized in that The connection request also includes a device identifier of the terminal device, and the transceiver unit is further used to: A switching command is sent to a remote subscriber identity module configuration service RSP, wherein the switching command includes the network identifier of the target operator and the device identifier, and the switching command is used to instruct the RSP to write SIM card data belonging to the target operator network to the terminal device.
15. The device according to any one of claims 9, 10 and 12, characterized in that The connection request also includes a device identifier of the terminal device, and the transceiver unit is further used to: Send a subscriber identity module SIM card data acquisition request to the RSP, wherein the SIM card data acquisition request is used to acquire SIM card data belonging to the target operator network; and write the SIM card data to the terminal device.
16. The device according to any one of claims 9, 10 and 12, characterized in that The transceiver unit is further used for: A connection response is sent to the terminal device, wherein the connection response includes an identifier of a target cloud site, and the connection response is used to instruct the terminal device to access the target cloud site.
17. A computer-readable storage medium, characterized in that: The method comprises a computer program, and when the computer program is loaded by a processor, the method according to any one of claims 1 to 8 is executed.
18. A computer program product, characterized in that The method comprises a computer program stored in a computer-readable storage medium, wherein the computer program is loaded by a processor to execute the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Network switching method based on ESIM card, intelligent terminal and server
CN107484213A
Video communication method and device
CN108495075A