Cloud server connection method and system

The pre-stored database of the configuration server provides candidate device IP addresses and network connection parameters, and the zero terminal selects and connects to the target cloud server on its own. This solves the problem of low configuration efficiency of device IP addresses and cloud server addresses in the existing technology, and achieves automation and high efficiency. configuration process.

CN111756868BActive Publication Date: 2024-10-22XIAN WANXIANG ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010375966.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-05-06
Publication Date
2024-10-22
Estimated Expiration
2040-05-06

AI Technical Summary

Technical Problem

In centralized office scenarios, the configuration efficiency of zero-terminal device IP addresses and cloud server addresses is low and requires administrators to manually modify them, which is cumbersome and time-consuming and affects configuration efficiency.

Method used

By saving candidate device IP addresses and network connection parameters in the configuration server's pre-stored database, Zero Terminal can select and obtain the target device IP address and cloud server address on its own without administrator involvement.

Benefits of technology

It improves the configuration efficiency of device IP addresses and cloud server addresses, reduces the administrator's operating steps and human errors, and improves the automation and efficiency of the configuration process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111756868B_ABST
    Figure CN111756868B_ABST
Patent Text Reader

Abstract

The present disclosure provides a cloud server connection method and system, which relates to the field of communication technology and can solve the problem of low efficiency of device parameter configuration when connecting to a cloud server. The specific technical solution is: receiving a device IP address acquisition request sent by a zero terminal for requesting to obtain the device IP address of the zero terminal connecting to the cloud server. Obtain the candidate device IP address from a pre-stored database and carry it in a first response instruction to send it to the zero terminal. The present invention is used when the zero terminal changes its IP address. It only needs to send a device IP address acquisition request to the configuration server, and the configuration server can send the candidate device IP address to the zero terminal, so that the zero terminal can select a target device IP address from it, and obtain the target network connection parameters through the target device IP address. This process does not require the participation of an administrator. Compared with the administrator finding an available IP and distributing it to the zero terminal, the efficiency of configuring the target device IP address and the target cloud server address is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a cloud server connection method and system. Background Art

[0002] As enterprises' personalized requirements become higher and higher, the application of virtual desktops is becoming more and more widespread. Multiple virtual machines (VMs) can be virtualized on cloud servers. Users can operate VMs on cloud servers through zero terminals. VMs return the pages after operations to zero terminals, which are displayed to users through monitors. This realizes the visual lossless transmission of "computer images" such as text, graphics, and charts on standard networks, as well as the reverse control function of users on VMs, providing remote users with the same ultimate experience as using computers locally.

[0003] At present, in order to achieve convenient management of smart terminals, in centralized office scenarios, administrators usually turn off the Dynamic Host Configuration Protocol (DHCP) function of the zero terminal, and the administrator configures the device IP address for each zero terminal according to the planned Internet Protocol (IP) address, as well as the cloud server address of the network segment where the device IP address is located, so that the zero terminal can log in to the cloud server using the device IP address.

[0004] When the zero terminal is migrated from one network segment to another, the administrator also needs to modify the device IP address and cloud server address of the zero terminal, otherwise the zero terminal will not be able to connect to the cloud server normally. However, this operation is cumbersome, time-consuming and labor-intensive, resulting in low configuration efficiency. Summary of the invention

[0005] The embodiment of the present disclosure provides a cloud server connection method and system, which can solve the problem of low efficiency of device parameter configuration when connecting to a cloud server. The technical solution is as follows:

[0006] According to a first aspect of an embodiment of the present disclosure, a cloud server connection method is provided, the method being applied to a configuration server, the method comprising:

[0007] Receive a device IP address acquisition request sent by the zero terminal; the device IP address acquisition instruction is used to request to obtain the device IP address of the zero terminal connected to the cloud server;

[0008] Obtain the candidate device IP address from the pre-stored database;

[0009] A first response instruction is sent to the zero terminal; the first response includes the candidate device IP address.

[0010] The cloud server connection method provided by the embodiment of the present disclosure includes: receiving a device IP address acquisition request sent by a zero terminal; the device IP address acquisition instruction is used to request to obtain the device IP address of the zero terminal connected to the cloud server. Obtain the candidate device IP address from the pre-stored database. Send a first response instruction to the zero terminal; the first response includes the candidate device IP address. Among them, when the zero terminal needs to change the IP address, it only needs to send a device IP address acquisition request to the configuration server, and the configuration server can send the candidate device IP address to the zero terminal, so that the zero terminal can select a usable target device IP address from it, and obtain the target network connection parameters including the target cloud server address through the target device IP address, so as to connect to the target cloud server corresponding to the target cloud server address through the IP address and the target network connection parameters. This process does not require the participation of the administrator. Compared with the administrator finding the available IP and distributing it to the zero terminal by himself, the efficiency of configuring the target device IP address and the target cloud server address is improved.

[0011] In one embodiment, the method further comprises:

[0012] Obtaining network connection parameters corresponding to each candidate device IP address from a pre-stored database; the network connection parameters include: a cloud server address;

[0013] The first response instruction also includes network connection parameters corresponding to each of the candidate device IP addresses.

[0014] In one embodiment, the method further comprises:

[0015] Receiving a first cloud server address acquisition request sent by the zero terminal, wherein the first cloud server address acquisition request includes: a target device IP address selected by the zero terminal from the candidate device IP addresses;

[0016] According to the target device IP address, the target network connection parameters corresponding to the target device IP address are obtained from the pre-stored database, wherein the target network parameters include: a target cloud server address;

[0017] A second response instruction is sent to the null terminal; the second response instruction includes the target network connection parameters.

[0018] In one embodiment, the method further comprises:

[0019] Receiving a second cloud server address acquisition request sent by the zero terminal;

[0020] According to the second cloud server address acquisition request, a mapping relationship table between a preset identifier and a network connection parameter is acquired from the pre-stored database; the preset identifier includes: a device IP address or a device identification code; the network connection parameter includes: a cloud server address;

[0021] A third response instruction is sent to the null terminal, wherein the third response instruction includes the mapping relationship table.

[0022] According to a second aspect of an embodiment of the present disclosure, a cloud server connection method is provided, the method being applied to a zero terminal, the method comprising:

[0023] Sending a device IP address acquisition request instruction to the configuration server, wherein the device IP address acquisition instruction is used to request to acquire the device IP address for connecting to the cloud server;

[0024] Receive a first response instruction sent by the configuration server, where the first response instruction includes a candidate device IP address;

[0025] Selecting a target device IP address that can be connected from the candidate device IP addresses;

[0026] Obtaining target network connection parameters corresponding to the target device IP address; the target network connection parameters include: a target cloud server address;

[0027] The target cloud server corresponding to the target cloud server address is connected through the target device IP address and the target network connection parameters.

[0028] In one embodiment, the first response instruction also includes network connection parameters corresponding to each of the candidate device IP addresses; the network connection parameters include: cloud server address;

[0029] The acquiring of the target network connection parameters corresponding to the target device IP address includes:

[0030] The target network connection parameters are obtained from the first response instruction according to the target device IP address.

[0031] The cloud server connection method provided by the embodiment of the present disclosure includes: when the zero terminal needs to change the IP address, it only needs to send a device IP address acquisition request to the configuration server, and the configuration server can send the candidate device IP address to the zero terminal, so that the zero terminal can select an available target device IP address from it, and obtain the target network connection parameters including the target cloud server address through the target device IP address, so as to connect to the target cloud server corresponding to the target cloud server address through the IP address and the target network connection parameters. This process does not require the participation of an administrator. Compared with the administrator finding the available IP and distributing it to the zero terminal by himself, the efficiency of configuring the target device IP address and the target cloud server address is improved.

[0032] In one embodiment, the acquiring the target network connection parameter corresponding to the target device IP address includes:

[0033] Sending a first cloud server address acquisition request to the configuration server, wherein the first cloud server address acquisition request includes: the target device IP address;

[0034] receiving a second response instruction sent by the configuration server; the second response instruction includes: the target network connection parameter;

[0035] The target network connection parameters are obtained from the second response instruction.

[0036] In one embodiment, the acquiring the target network connection parameter corresponding to the target device IP address includes:

[0037] Sending a second cloud server address acquisition request to the configuration server;

[0038] Receive a third response instruction sent by the configuration server, wherein the third response instruction includes: a mapping relationship table of preset identifiers and network connection parameters; the preset identifier includes: a device IP address or a device identification code;

[0039] The target network connection parameters are obtained from the mapping relationship table according to the preset identifier corresponding to the null terminal.

[0040] In one embodiment, selecting a connectable target device IP address from the candidate device IP addresses includes:

[0041] Perform a PING operation on each of the candidate device IP addresses in turn;

[0042] When the PING operation result indicates that the network is connected, the candidate device IP address corresponding to the PING operation is determined to be the target device IP address, and the PING operation on other candidate device IP addresses is stopped.

[0043] According to a third aspect of an embodiment of the present disclosure, a cloud server connection device is provided, the device is applied to a configuration server, and the device includes:

[0044] The first receiving module is used to receive a device IP address acquisition request sent by a zero terminal; the device IP address acquisition instruction is used to request to obtain the device IP address of the zero terminal connected to the cloud server;

[0045] An acquisition module is used to obtain the candidate device IP address from a pre-stored database;

[0046] The first sending module is used to send a first response instruction to the zero terminal; the first response includes the candidate device IP address.

[0047] In one embodiment, the acquisition module is further used to:

[0048] Obtaining network connection parameters corresponding to each candidate device IP address from a pre-stored database; the network connection parameters include: a cloud server address;

[0049] The first response instruction also includes network connection parameters corresponding to each of the candidate device IP addresses.

[0050] In one embodiment, the device further includes: a second receiving module, a second acquiring module, and a second sending module;

[0051] The second receiving module is used to receive a first cloud server address acquisition request sent by the zero terminal, wherein the first cloud server address acquisition request includes: a target device IP address selected by the zero terminal from the candidate device IP addresses;

[0052] The second acquisition module is used to acquire the target network connection parameters corresponding to the target device IP address from the pre-stored database according to the target device IP address, wherein the target network parameters include: a target cloud server address;

[0053] The second sending module is used to send a second response instruction to the null terminal; the second response instruction includes the target network connection parameters.

[0054] In one embodiment, the device further includes: a third receiving module, a third acquiring module and a third sending module;

[0055] The third receiving module is used to receive a second cloud server address acquisition request sent by the zero terminal;

[0056] The third acquisition module is used to obtain a mapping relationship table between a preset identifier and a network connection parameter from the pre-stored database according to the second cloud server address acquisition request; the preset identifier includes: a device IP address or a device identification code; the network connection parameter includes: a cloud server address;

[0057] The third sending module is used to send a third response instruction to the null terminal, and the third response instruction includes the mapping relationship table.

[0058] According to a fourth aspect of an embodiment of the present disclosure, a cloud server connection device is provided, the device being applied to a zero terminal, the device comprising:

[0059] A fourth sending module, used to send a device IP address acquisition request instruction to the configuration server, wherein the device IP address acquisition instruction is used to request to acquire the device IP address for connecting to the cloud server;

[0060] A fourth receiving module, configured to receive a first response instruction sent by the configuration server, wherein the first response instruction includes an IP address of a candidate device;

[0061] A selection module, used to select a target device IP address that can be connected from the candidate device IP addresses;

[0062] A fourth acquisition module is used to acquire a target network connection parameter corresponding to the target device IP address; the target network connection parameter includes: a target cloud server address;

[0063] A connection module is used to connect to a target cloud server corresponding to the target cloud server address through the target device IP address and the target network connection parameters.

[0064] In one embodiment, the first response instruction also includes network connection parameters corresponding to each of the candidate device IP addresses; the network connection parameters include: cloud server address;

[0065] The fourth acquisition module is further used for:

[0066] The target network connection parameters are obtained from the first response instruction according to the target device IP address.

[0067] In one embodiment, the fourth acquisition module includes: a first sending submodule, a first receiving submodule and a first acquisition submodule;

[0068] The first sending submodule is used to send a first cloud server address acquisition request to the configuration server, wherein the first cloud server address acquisition request includes: the target device IP address;

[0069] The first receiving submodule is used to receive a second response instruction sent by the configuration server; the second response instruction includes: the target network connection parameter;

[0070] The first acquisition submodule is used to acquire the target network connection parameters from the second response instruction.

[0071] In one embodiment, the fourth acquisition module includes: a second sending submodule, a second receiving submodule and a second acquisition submodule;

[0072] The second sending submodule is used to send a second cloud server address acquisition request to the configuration server;

[0073] The second receiving submodule is used to receive a third response instruction sent by the configuration server, wherein the third response instruction includes: a mapping relationship table between a preset identifier and a network connection parameter; the preset identifier includes: a device IP address or a device identification code;

[0074] The second acquisition submodule is used to acquire the target network connection parameter from the mapping relationship table according to the preset identifier corresponding to the null terminal.

[0075] In one embodiment, the selection module includes: an operation submodule and a determination submodule;

[0076] The operation submodule is used to perform a PING operation on each of the candidate device IP addresses in turn;

[0077] The determination submodule is used to determine that the candidate device IP address corresponding to the PING operation is the target device IP address when the PING operation result indicates that the network is connected, and stop continuing the PING operation on other candidate device IP addresses.

[0078] According to a fifth aspect of an embodiment of the present disclosure, there is provided a cloud server connection system, including: a zero terminal and a configuration server;

[0079] The zero terminal is connected to the configuration server;

[0080] The zero terminal is used to send a device IP address acquisition request instruction to the configuration server, and the device IP address acquisition instruction is used to request to obtain the device IP address for connecting to the cloud server;

[0081] The configuration server is used to receive a device IP address acquisition request sent by a zero terminal; the device IP address acquisition instruction is used to request to obtain the device IP address of the zero terminal connected to the cloud server;

[0082] The configuration server is used to obtain the candidate device IP address from the pre-stored database;

[0083] The configuration server is used to send a first response instruction to the zero terminal; the first response includes the candidate device IP address.

[0084] The zero terminal is used to receive a first response instruction sent by the configuration server, wherein the first response instruction includes a candidate device IP address;

[0085] The zero terminal is used to select a target device IP address that can be connected from the candidate device IP addresses;

[0086] The zero terminal is used to obtain the target network connection parameters corresponding to the IP address of the target device; the target network connection parameters include: the target cloud server address;

[0087] The zero terminal is used to connect to the target cloud server corresponding to the target cloud server address through the target device IP address and the target network connection parameters.

[0088] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0089] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0090] Figure 1 is a flow chart of a cloud server connection method provided by an embodiment of the present disclosure;

[0091] Figure 2 is a flow chart of a cloud server connection method provided by an embodiment of the present disclosure;

[0092] Figure 3 is a flow chart of a cloud server connection method provided by an embodiment of the present disclosure;

[0093] Figure 4 is a flow chart of a cloud server connection method provided by an embodiment of the present disclosure;

[0094] Figure 5 is a flow chart of a cloud server connection method provided by an embodiment of the present disclosure;

[0095] Figure 6 is a flow chart of a cloud server connection method provided by an embodiment of the present disclosure;

[0096] Figure 7is an interaction diagram of a cloud server connection method provided by an embodiment of the present disclosure;

[0097] Figure 8 is an interaction diagram of a cloud server connection method provided by an embodiment of the present disclosure;

[0098] Fig. 9 is an interaction diagram of a cloud server connection method provided by an embodiment of the present disclosure;

[0099] Fig.10 is a structural diagram of a cloud server connection system provided by an embodiment of the present disclosure;

[0100] Fig.11 is a structural diagram of a cloud server connection device provided by an embodiment of the present disclosure;

[0101] Fig.12 is a structural diagram of a cloud server connection device provided by an embodiment of the present disclosure;

[0102] Fig.13 is a structural diagram of a cloud server connection device provided by an embodiment of the present disclosure;

[0103] Fig.14 is a structural diagram of a cloud server connection device provided by an embodiment of the present disclosure;

[0104] Fig.15 is a structural diagram of a fourth acquisition module in a cloud server connection device provided by an embodiment of the present disclosure;

[0105] Fig.16 is a structural diagram of a fourth acquisition module in a cloud server connection device provided by an embodiment of the present disclosure;

[0106] Fig.17 It is a structural diagram of a selection module in a cloud server connection device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0107] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0108] The present disclosure provides a cloud server connection method, which is applied to a configuration server, such as Figure 1 As shown, the cloud server connection method includes the following steps:

[0109] 101. Receive a device IP address acquisition request sent by a zero terminal; the device IP address acquisition instruction is used to request to acquire the device IP address of the zero terminal connected to the cloud server.

[0110] 102. Obtain the candidate device IP address from the pre-stored database.

[0111] 103. Send a first response instruction to the zero terminal; the first response includes the candidate device IP address.

[0112] In the related art, when allocating device IP addresses and target cloud server addresses to zero terminals, administrators are required to find available device IP addresses and the cloud server addresses of the network segments where the device IP addresses are located, as well as other network connection parameters, and manually allocate them to each zero terminal, so that the zero terminal can be connected to the cloud server through the device IP address and the cloud service address. This operation method is time-consuming, labor-intensive and cumbersome.

[0113] In order to avoid such time-consuming, labor-intensive and cumbersome operations and to improve the configuration efficiency of the zero terminal, a database is pre-stored in the configuration server in the present disclosure, in which candidate device IP addresses are stored. Therefore, when the zero terminal needs to change its IP address, it only needs to send a device IP address acquisition request to the configuration server. When the configuration server receives the device IP address acquisition request sent by the zero terminal for requesting to obtain the device IP address of the zero terminal to connect to the cloud server, it will find the candidate device IP address from the pre-stored database and carry it in the first response instruction to send it to the zero terminal, so that the zero terminal selects the target device IP address from the candidate device IP addresses, and obtains the target network connection parameters including the target cloud server address through the target device IP address, so as to connect to the target cloud server corresponding to the target cloud server address through the IP address and the target network connection parameters. This process does not require the participation of the administrator. Compared with the administrator finding the available IP and distributing it to the zero terminal by himself, the efficiency of configuring the target device IP address and the target cloud server address is improved.

[0114] The cloud server connection method provided by the embodiment of the present disclosure includes: receiving a device IP address acquisition request sent by a zero terminal; the device IP address acquisition instruction is used to request to obtain the device IP address of the zero terminal connected to the cloud server. Obtain the candidate device IP address from the pre-stored database. Send a first response instruction to the zero terminal; the first response includes the candidate device IP address. Among them, when the zero terminal needs to change the IP address, it only needs to send a device IP address acquisition request to the configuration server, and the configuration server can send the candidate device IP address to the zero terminal, so that the zero terminal can select a usable target device IP address from it, and obtain the target network connection parameters including the target cloud server address through the target device IP address, so as to connect to the target cloud server corresponding to the target cloud server address through the IP address and the target network connection parameters. This process does not require the participation of the administrator. Compared with the administrator finding the available IP and distributing it to the zero terminal by himself, the efficiency of configuring the target device IP address and the target cloud server address is improved.

[0115] Among them, the network connection parameters include parameters corresponding to connecting to the cloud server, which may include not only the cloud server address, but also other types of parameters such as the subnet mask, etc., which are not limited in the present disclosure.

[0116] In order to clearly illustrate the solutions in the present disclosure, the following embodiments are described by taking the network connection parameter as a cloud server address as an example.

[0117] In one embodiment, the above-mentioned pre-stored database also stores the network connection parameters including the cloud server address corresponding to each candidate device IP address, as shown in Table 1. At this time, the configuration server obtains the network connection parameters corresponding to each candidate device IP address from the pre-stored database, and carries the candidate device IP address and the network connection parameters corresponding to each candidate device IP address in the first response instruction and sends it to the zero terminal.

[0118] Table 1

[0119] Candidate device IP address Network connection parameters 192.168.10.0 Address of cloud server A 192.168.10.1 The address of cloud server B … …

[0120] Since the network connection parameters corresponding to each candidate device IP address are obtained at the same time as the candidate device IP address, and are carried in the first response instruction and sent to the zero terminal at the same time, after the zero terminal determines the target device IP address in the candidate device IP address, it can directly obtain the target network connection parameters corresponding to the target device IP address from the first response instruction. Since the target network connection parameters include the target cloud server address, the zero terminal can connect to the target cloud server through the target device IP address and the target cloud server address. This method can reduce the number of information interactions between the zero terminal and the configuration server.

[0121] In one embodiment, Figure 2 As shown, the above method also includes the following steps:

[0122] 201. Receive a first cloud server address acquisition request sent by a zero terminal, where the first cloud server address acquisition request includes: a target device IP address selected by the zero terminal from candidate device IP addresses.

[0123] 202. Obtain target network connection parameters corresponding to the target device IP address from a pre-stored database according to the target device IP address, where the target network parameters include: a target cloud server address.

[0124] 203. A second response instruction is sent to the null terminal; the second response instruction includes target network connection parameters.

[0125] The configuration server can first send the candidate device IP address to the zero terminal through a first response instruction. When the zero terminal obtains the target device IP address from the candidate device IP addresses, the zero terminal carries the determined target device IP address in the first cloud server address acquisition request and sends it to the configuration server. When the configuration server receives the first cloud server address acquisition request, it extracts the target device IP address from the first cloud server address acquisition request, and then obtains the target network connection parameters including the target cloud server address corresponding to the target device IP address from the pre-stored database based on the target device IP address, and carries the target network connection parameters in the second response instruction and sends it to the zero terminal. When the zero terminal receives the second response instruction, it can extract the target network connection parameters from the second response instruction to connect to the target cloud server through the target device IP address and the target cloud server address in the target network connection parameters. This method can reduce the amount of single communication data between the configuration server and the zero terminal, thereby avoiding the problem of data loss caused by sending too much data.

[0126] In one embodiment, Figure 3 As shown, the above method also includes the following steps:

[0127] 301. Receive a request for obtaining the address of a second cloud server sent by a zero terminal.

[0128] 302. Obtain a mapping relationship table of preset identifiers and network connection parameters from a pre-stored database according to a second cloud server address acquisition request; the preset identifier includes: a device IP address or a device identification code; and the network connection parameters include: a cloud server address.

[0129] When the preset identifier is the device IP address, the mapping relationship table can be as shown in Table 1. Of course, the network segment where a device IP address is located may include multiple cloud servers. At this time, the network segment where the device IP address is located can also be divided into multiple small network segments, and then each small network segment corresponds to different network connection parameters, that is, each network segment corresponds to a different cloud server address. For example: There are three cloud servers set in the 192.168.10.0 to 192.168.10.255 network segment. The corresponding mapping relationship table can refer to Table 2:

[0130] Table 2

[0131] Serial number The network segment where the device IP address is located Network connection parameters 1 192.168.10.0-192.168.10.50 Address of cloud server A 2 192.168.10.51-192.168.10.100 The address of cloud server B 3 192.168.10.101-192.168.10.255 Address of cloud server C

[0132] In Table 2, the network segment 192.168.10.0 to 192.168.10.255 can be divided into three small network segments, namely: 192.168.10.0-192.168.10.50; 192.168.10.51-192.168.10.100; 192.168.10.101-192.168.10.255. Each small network segment corresponds to a different cloud server address. 192.168.10.0-192.168.10.50 corresponds to the address of cloud server A; 192.168.10.51-192.168.10.100 corresponds to the address of cloud server B; 192.168.10.101-192.168.10.255 corresponds to the address of cloud server C.

[0133] When the preset identifier is a device identification code, taking three cloud servers in a certain network segment as an example, the corresponding mapping relationship table is shown in Table 3:

[0134] Table 3

[0135] Serial number Zero terminal device identification code Network connection parameters 1 000011111 Address of cloud server A 2 000002222 The address of cloud server B 3 other Address of cloud server C

[0136] In Table 3, the device identification codes of the zero terminal include: 000011111, 000002222 and others, and the corresponding cloud server addresses are: 000011111 corresponds to the address of cloud server A; 000002222 corresponds to the address of cloud server B; others correspond to the address of cloud server C.

[0137] It is worth noting that the device identification code in Table 3 is only an example, and other types may also be used in actual applications.

[0138] 303. A third response instruction is sent to the null terminal, where the third response instruction includes a mapping relationship table.

[0139] The configuration server can first send the candidate device IP address to the zero terminal through the first response instruction. When the zero terminal obtains the target device IP address from the candidate device IP addresses, the zero terminal also needs to obtain the target cloud server address to connect to the target cloud server through the target device IP address and the target cloud server address. At this time, the zero terminal will directly send a second cloud server address acquisition request to the configuration server. The second cloud server address acquisition request does not carry any parameter information. When the configuration server receives the second cloud server address acquisition request, it will obtain a mapping relationship table between a preset identifier and a network connection parameter from a pre-stored database, and carry the mapping relationship table in a third response instruction to the zero terminal. When the zero terminal receives the third response instruction, it can obtain the target network connection parameters from the mapping relationship table based on its own preset identifier to connect to the target cloud server through the target device IP address and the target cloud server address in the network connection parameters. This method can reduce the calculation amount of the configuration server. The configuration server does not need to search for the target cloud server address from the pre-stored database, but sends the mapping relationship table to the zero terminal, allowing the zero terminal to search for the target cloud server address by itself.

[0140] Based on the above scenario, the present disclosure provides a cloud server connection method, which is applied to a zero terminal, such as Figure 4 As shown, the cloud server connection method includes the following steps:

[0141] 401. Send a device IP address acquisition request instruction to the configuration server, where the device IP address acquisition instruction is used to request to acquire the device IP address used to connect to the cloud server.

[0142] 402. Receive a first response instruction sent by the configuration server, where the first response instruction includes the candidate device IP address.

[0143] 403. Select a target device IP address that can be connected from the candidate device IP addresses.

[0144] Step 403 includes the following sub-steps:

[0145] A1: Perform a PING operation on each candidate device IP address in turn.

[0146] A2: When the PING operation result indicates that the network is connected, the candidate device IP address corresponding to the PING operation is determined to be the target device IP address, and the PING operation on other candidate device IP addresses is stopped.

[0147] The zero terminal uses each candidate device IP address to perform a PING operation in turn; the candidate device IP address that passes the PING operation is used as the currently used device IP address, that is, the target device IP address.

[0148] In this step, after receiving multiple candidate device IP addresses sent by the configuration server, the zero terminal performs PING operations on the candidate device IP addresses one by one. If the PING is successful, it means that the zero terminal and the candidate device IP address are in the same network segment, and the candidate device IP address can be used as the currently used device IP address, that is, the target device IP address. If the PING is not successful, it means that the zero terminal and the device IP address are in different network segments, and the device IP address cannot be used as the currently used device IP address.

[0149] During the PING process, once the PING succeeds, the PING operation is terminated and no further PING operations are performed on other candidate IP addresses after the candidate IP address.

[0150] 404. Obtain target network connection parameters corresponding to the target device IP address; the target network connection parameters include: target cloud server address.

[0151] 405. Connect to the target cloud server corresponding to the target cloud server address through the target device IP address and the target network connection parameters.

[0152] When the zero terminal obtains the target network connection parameters corresponding to the target device IP address from the configuration server, it will configure the zero terminal according to the target network connection parameters and connect to the target cloud server according to the target cloud server address in the target network connection parameters.

[0153] That is, after the zero terminal obtains the target network connection parameters, it can connect to the target cloud server corresponding to the target cloud server address according to the target cloud server address and other network connection parameters in the target network connection parameters. Then the user can enter the user name and password in the zero terminal to log in to the VM on the cloud server.

[0154] Compared with the existing technology, the solution in this disclosure can configure the server to automatically configure the network connection parameters applicable to the zero terminal and determine the address of the connected cloud server according to the current network environment of the zero terminal. There is no need for manual configuration by the administrator, which saves time and effort.

[0155] Specifically, when the zero terminal wants to change the network segment, instead of asking the administrator to operate manually, it will actively send a device IP address acquisition request instruction to the configuration server to request the device IP address for connecting to the cloud server. When the configuration server receives the device IP address acquisition request instruction, it will find the candidate device IP address from its own pre-stored database, and carry it in the first response instruction to send it to the zero terminal. When the zero terminal receives the first response instruction, it will select the target device IP address from the candidate device IP addresses contained in the first response instruction, and obtain the target network connection parameters including the target cloud server address through the target device IP address, so as to connect to the target cloud server through the IP address and the target cloud server address in the target network connection parameters. This process does not require the participation of the administrator. Compared with the administrator finding available IPs and distributing them to the zero terminal by himself, the efficiency of configuring the target device IP address and the target cloud server address is improved.

[0156] In one embodiment, the above-mentioned first response instruction may also include network connection parameters corresponding to each candidate device IP address; the network connection parameters include: cloud server address.

[0157] At this time, the above step 404 may include the following sub-steps:

[0158] The target network connection parameters are obtained from the first response instruction according to the target device IP address.

[0159] Since the first response instruction includes the network connection parameters corresponding to each candidate device IP address, when the zero terminal determines the target device IP address, it can obtain the network connection parameters based on the target device IP address from the first response instruction.

[0160] This method can reduce the number of information interactions between the zero terminal and the configuration server.

[0161] In one embodiment, Figure 5 As shown, the above step 404 includes the following sub-steps:

[0162] 4041. Send a first cloud server address acquisition request to the configuration server, where the first cloud server address acquisition request includes: a target device IP address;

[0163] 4042. Receive a second response instruction sent by the configuration server; the second response instruction includes: target network connection parameters.

[0164] 4043. Obtain target network connection parameters from the second response instruction.

[0165] When the first response instruction only includes the candidate device IP address, after the zero terminal determines the target IP address among these candidate device IP addresses, it will carry the determined target device IP address in the first cloud server address acquisition request and send it to the configuration server, so that the configuration server can obtain the target network connection parameters corresponding to the target device IP address from the pre-stored database according to the target device IP address carried in the first cloud server address acquisition request, and carry the target network connection parameters in the second response instruction and send it to the zero terminal. When the zero terminal receives the second response instruction, it can extract the target network connection parameters from the second response instruction to connect to the target cloud server through the target device IP address and the target cloud server address in the network connection parameters. This method can reduce the amount of single communication data between the configuration server and the zero terminal, thereby avoiding the problem of data loss caused by too much data being sent.

[0166] In one embodiment, Figure 6 As shown, the above step 404 includes the following sub-steps:

[0167] 4044. Send a request to the configuration server to obtain the address of the second cloud server.

[0168] 4045. Receive a third response instruction sent by the configuration server, where the third response instruction includes: a mapping relationship table between a preset identifier and a network connection parameter; the preset identifier includes: a device IP address or a device identification code.

[0169] 4046. Obtain target network connection parameters from the mapping relationship table according to the preset identifier corresponding to the zero terminal.

[0170] When the first response instruction only includes the candidate device IP address, after the zero terminal determines the target IP address from these candidate device IP addresses, the zero terminal can directly send a second cloud server address acquisition request to the configuration server, and the second cloud server address acquisition request does not carry any parameter information, so that the configuration server obtains a mapping relationship table between a preset identifier and a network connection parameter from a pre-stored database, and carries the mapping relationship table in a third response instruction and sends it to the zero terminal. When the zero terminal receives the third response instruction, it can obtain the target network connection parameters from the mapping relationship table based on its own preset identifier, so as to connect to the target cloud server through the target device IP address and the target cloud server address included in the target network connection parameters. This method can reduce the calculation amount of the configuration server. The configuration server does not need to search for the target cloud server address from the pre-stored database, but sends the mapping relationship table to the zero terminal, allowing the zero terminal to search for the target cloud server address by itself.

[0171] Taking the mapping relationship table received by the zero terminal as Table 2 as an example, the zero terminal can find the small network segment where the target device IP address is located from Table 2 according to the target device IP address, and then use the cloud server address corresponding to the small network segment as the target cloud server address. Assuming that the target device IP is 192.168.10.101, then the table shows that the small network segment where the target device IP address is located is 192.168.10.101-192.168.10.255, and the address of the cloud server C corresponding to the small network segment is the target cloud server address.

[0172] In this implementation, no matter which network segment the zero terminal is in, it can automatically determine the target cloud server address corresponding to the current network segment, without the need for the administrator to manually configure the device IP address and the target cloud server address, saving time and effort; in addition, when multiple cloud servers are in the same network segment, it can also automatically determine one of the cloud server addresses as the current cloud server address to be connected (target cloud server address) according to user requirements, which is easy to use and can meet the user's personalized needs.

[0173] Taking the mapping relationship table received by the zero terminal as Table 3 as an example, the zero terminal can determine the cloud server address corresponding to the device identification code according to its own device identification code, and then use the cloud server address corresponding to the device identification code as the target cloud server address. For example: the device identification code of the zero terminal is 000011112, then, by looking up Table 3, it can be obtained that the target cloud server address corresponding to the device identification code of the zero terminal is the address of cloud server C.

[0174] Based on the above Figure 1-6 Corresponding to the cloud server connection method provided in the embodiment, another embodiment of the present disclosure provides a cloud server connection method, which can be applied to the configuration server and the zero terminal. Figure 7 As shown, the cloud server connection method provided in this embodiment includes the following steps:

[0175] 501. The zero terminal sends a device IP address acquisition request instruction to the configuration server. The device IP address acquisition instruction is used to request to acquire the device IP address for connecting to the cloud server.

[0176] 502. The configuration server receives a device IP address acquisition request sent by the zero terminal; the device IP address acquisition instruction is used to request to acquire the device IP address of the zero terminal connected to the cloud server.

[0177] 503. The configuration server obtains the candidate device IP address and the network connection parameters corresponding to each candidate device IP address from a pre-stored database; the network connection parameters include: the cloud server address.

[0178] 504. The configuration server sends a first response instruction to the null terminal; the first response includes the candidate device IP address and the network connection parameters corresponding to each candidate device IP address.

[0179] 505. The zero terminal receives a first response instruction sent by the configuration server. The first response instruction includes the candidate device IP address and the network connection parameters corresponding to each candidate device IP address. The network connection parameters include: a cloud server address.

[0180] 506. The zero terminal selects a target device IP address that can be connected from the candidate device IP addresses.

[0181] Specifically, the zero terminal performs a PING operation on each candidate device IP address in turn; when the PING operation result indicates that the network is connected, the candidate device IP address corresponding to the PING operation is determined to be the target device IP address, and the PING operation on other candidate device IP addresses is stopped.

[0182] 507. The zero terminal obtains the target network connection parameters corresponding to the target device IP address from the first response instruction according to the target device IP address; the target network connection parameters include: the target cloud server address.

[0183] 508. The zero terminal connects to the target cloud server corresponding to the target cloud server address through the target device IP address and the target network connection parameters.

[0184] The cloud server connection method provided by the embodiment of the present disclosure includes: when the zero terminal needs to change the IP address, it only needs to send a device IP address acquisition request to the configuration server. When the configuration server receives the device IP address acquisition request sent by the zero terminal for requesting to obtain the device IP address of the zero terminal connecting to the cloud server, it will find the candidate device IP address and the network connection parameters corresponding to each candidate device IP address from the pre-stored database, and carry them in the first response instruction to send to the zero terminal. After the zero terminal determines the target device IP address in the candidate device IP address, it can directly obtain the target network connection parameters corresponding to the target device IP address from the first response quality instruction. Since the target network connection parameters include the target cloud server address, the zero terminal can connect to the target cloud server through the target device IP address and the target cloud server address. This method can reduce the number of information interactions between the zero terminal and the configuration server.

[0185] Based on the above Figure 1-6 Corresponding to the cloud server connection method provided in the embodiment, another embodiment of the present disclosure provides a cloud server connection method, which can be applied to the configuration server and the zero terminal. Figure 8 As shown, the cloud server connection method provided in this embodiment includes the following steps:

[0186] 601. The zero terminal sends a device IP address acquisition request instruction to the configuration server. The device IP address acquisition instruction is used to request to acquire the device IP address for connecting to the cloud server.

[0187] 602. The configuration server receives a device IP address acquisition request sent by the zero terminal; the device IP address acquisition instruction is used to request to acquire the device IP address of the zero terminal connected to the cloud server.

[0188] 603. The configuration server obtains the candidate device IP address from the pre-stored database.

[0189] 604. The configuration server sends a first response instruction to the null terminal; the first response includes the candidate device IP address.

[0190] 605. The zero terminal receives a first response instruction sent by the configuration server, where the first response instruction includes the candidate device IP address.

[0191] 606. The zero terminal selects a target device IP address that can be connected from the candidate device IP addresses.

[0192] Specifically, the zero terminal performs a PING operation on each candidate device IP address in turn; when the PING operation result indicates that the network is connected, the candidate device IP address corresponding to the PING operation is determined to be the target device IP address, and the PING operation on other candidate device IP addresses is stopped.

[0193] 607. The zero terminal sends a first cloud server address acquisition request to the configuration server, where the first cloud server address acquisition request includes: a target device IP address.

[0194] 608. The configuration server receives a first cloud server address acquisition request sent by the zero terminal, where the first cloud server address acquisition request includes: a target device IP address selected by the zero terminal from the candidate device IP addresses.

[0195] 609. The configuration server obtains target network connection parameters corresponding to the target device IP address from a pre-stored database according to the target device IP address, where the target network parameters include: a target cloud server address.

[0196] 6010. The configuration server sends a second response instruction to the null terminal; the second response instruction includes target network connection parameters.

[0197] 6011. The zero terminal receives a second response instruction sent by the configuration server; the second response instruction includes: target network connection parameters.

[0198] 6012. The null terminal obtains the target network connection parameters from the second response instruction.

[0199] 6013. The zero terminal connects to the target cloud server corresponding to the target cloud server address through the target device IP address and the target network connection parameters.

[0200] The cloud server connection method provided by the embodiment of the present disclosure includes: when the zero terminal needs to change the IP address, it only needs to send a device IP address acquisition request to the configuration server. When the configuration server receives the device IP address acquisition request sent by the zero terminal for requesting to obtain the device IP address of the zero terminal connecting to the cloud server, it will find the candidate device IP address from the pre-stored database, and carry it in the first response instruction to send it to the zero terminal, so that the zero terminal selects the target device IP address from the candidate device IP addresses. The zero terminal carries the determined target device IP address in the first cloud server address acquisition request and sends it to the configuration server. When the configuration server receives the first cloud server address acquisition request, The target device IP address will be extracted from the first cloud server address acquisition request, and then the target network connection parameters including the target cloud server address corresponding to the target device IP address will be obtained from the pre-stored database based on the target device IP address, and the target network connection parameters will be carried in the second response instruction and sent to the zero terminal. When the zero terminal receives the second response instruction, it can extract the target network connection parameters from the second response instruction to connect to the target cloud server through the target device IP address and the target cloud server address in the target network connection parameters. This method can reduce the amount of single communication data between the configuration server and the zero terminal, thereby avoiding the problem of data loss caused by too much data being sent.

[0201] Based on the above Figure 1-6 Corresponding to the cloud server connection method provided in the embodiment, another embodiment of the present disclosure provides a cloud server connection method, which can be applied to the configuration server and the zero terminal. Fig. 9 As shown, the cloud server connection method provided in this embodiment includes the following steps:

[0202] 701. The zero terminal sends a device IP address acquisition request instruction to the configuration server. The device IP address acquisition instruction is used to request to acquire the device IP address for connecting to the cloud server.

[0203] 702. The configuration server receives a device IP address acquisition request sent by the zero terminal; the device IP address acquisition instruction is used to request to acquire the device IP address of the zero terminal connected to the cloud server.

[0204] 703. The configuration server obtains the candidate device IP address from the pre-stored database.

[0205] 704. The configuration server sends a first response instruction to the null terminal; the first response includes the candidate device IP address.

[0206] 705. The configuration server receives a first response instruction sent by the configuration server, where the first response instruction includes the candidate device IP address.

[0207] 706. The zero terminal selects a target device IP address that can be connected from the candidate device IP addresses.

[0208] Specifically, the zero terminal performs a PING operation on each candidate device IP address in turn; when the PING operation result indicates that the network is connected, the candidate device IP address corresponding to the PING operation is determined to be the target device IP address, and the PING operation on other candidate device IP addresses is stopped.

[0209] 707. The zero terminal sends a request for obtaining the address of the second cloud server to the configuration server.

[0210] 708. The configuration server receives a request for obtaining the address of the second cloud server sent by the zero terminal.

[0211] 709. The configuration server obtains a mapping relationship table of preset identifiers and network connection parameters from a pre-stored database according to the second cloud server address acquisition request; the preset identifier includes: a device IP address or a device identification code; and the network connection parameters include: a cloud server address.

[0212] 7010. The configuration server sends a third response instruction to the zero terminal, where the third response instruction includes a mapping relationship table.

[0213] 7011. The zero terminal receives a third response instruction sent by the configuration server. The third response instruction includes: a mapping relationship table between a preset identifier and a network connection parameter; the preset identifier includes: a device IP address or a device identification code.

[0214] 7012. The zero terminal obtains the target network connection parameters from the mapping relationship table according to the preset identifier corresponding to the zero terminal.

[0215] 7013. The zero terminal connects to the target cloud server corresponding to the target cloud server address through the target device IP address and the target network connection parameters.

[0216] The cloud server connection method provided by the embodiment of the present disclosure includes: when the zero terminal needs to change the IP address, it only needs to send a device IP address acquisition request to the configuration server. When the configuration server receives the device IP address acquisition request sent by the zero terminal for requesting to obtain the device IP address of the zero terminal connecting to the cloud server, it will find the candidate device IP address from the pre-stored database and carry it in the first response instruction to send it to the zero terminal. After the zero terminal determines the target device IP address in the candidate device IP address, the zero terminal will directly send a second cloud server address acquisition request to the configuration server. The second cloud server address acquisition request does not carry any parameter information. When the configuration server receives the device IP address acquisition request, it will find the candidate device IP address from the pre-stored database and carry it in the first response instruction to send it to the zero terminal. After the zero terminal determines the target device IP address in the candidate device IP address, the zero terminal will directly send a second cloud server address acquisition request to the configuration server. The second cloud server address acquisition request does not carry any parameter information. After receiving the second cloud server address acquisition request, a mapping relationship table between a preset identifier and a network connection parameter is obtained from a pre-stored database, and the mapping relationship table is carried in a third response instruction and sent to the zero terminal. When the zero terminal receives the third response instruction, it can obtain the target network connection parameters from the mapping relationship table based on its own preset identifier, so as to connect to the target cloud server through the target device IP address and the target cloud server address in the network connection parameters. This method can reduce the calculation amount of the configuration server. The configuration server does not need to search for the target cloud server address from the pre-stored database, but sends the mapping relationship table to the zero terminal, allowing the zero terminal to search for the target cloud server address by itself.

[0217] Based on the above Figure 1-6 The cloud server connection method provided by the corresponding embodiment is as follows: an embodiment of the system disclosed herein.

[0218] The present disclosure provides a cloud server connection system. Fig.10 As shown, the cloud server connection system 100 includes: a zero terminal 1001, a cloud server 1002 and a configuration server 1003, wherein the zero terminal 1001 includes: a zero terminal A, a zero terminal B and a zero terminal C; the cloud server 1002 includes: a cloud server A, a cloud server B and a cloud server C; the zero terminal 1001 is connected to the cloud server 1002 so that the user can operate the VM on the cloud server 1002 through the zero terminal 1001, and the VM returns the page after the operation to the zero terminal 1001, which is displayed to the user through the display by the zero terminal 1001.

[0219] Among them, the configuration server 1003 can configure the device IP address and the cloud server address corresponding to the network segment where each device IP address is located for each zero terminal 1001.

[0220] The zero terminal 1001 is used to send a device IP address acquisition request instruction to the configuration server, where the device IP address acquisition instruction is used to request to acquire the device IP address for connecting to the cloud server;

[0221] Configuration server 1003, used to receive a device IP address acquisition request sent by the zero terminal; the device IP address acquisition instruction is used to request to obtain the device IP address of the zero terminal connected to the cloud server;

[0222] Configuration server 1003, used to obtain candidate device IP addresses from a pre-stored database;

[0223] The configuration server 1003 is used to send a first response instruction to the null terminal; the first response includes the candidate device IP address.

[0224] The zero terminal 1001 is used to receive a first response instruction sent by the configuration server, where the first response instruction includes the candidate device IP address;

[0225] The zero terminal 1001 is used to select a target device IP address that can be connected from the candidate device IP addresses;

[0226] The zero terminal 1001 is used to obtain the target network connection parameters corresponding to the target device IP address; the target network connection parameters include: the target cloud server address;

[0227] The zero terminal 1001 is used to connect to the target cloud server 1002 corresponding to the target cloud server address through the target device IP address and the target network connection parameters.

[0228] The cloud server connection system provided by the embodiment of the present disclosure includes: when the zero terminal needs to change the IP address, it only needs to send a device IP address acquisition request to the configuration server. When the configuration server receives the device IP address acquisition request sent by the zero terminal for requesting to obtain the device IP address of the zero terminal connecting to the cloud server, it will find the candidate device IP address and the network connection parameters corresponding to each candidate device IP address from the pre-stored database, and carry them in the first response instruction to send to the zero terminal. After the zero terminal determines the target device IP address in the candidate device IP address, it can directly obtain the target network connection parameters corresponding to the target device IP address from the first response quality instruction. Since the target network connection parameters include the target cloud server address, the zero terminal can connect to the target cloud server through the target device IP address and the target cloud server address. This method can reduce the number of information interactions between the zero terminal and the configuration server.

[0229] In one embodiment, the configuration server 1003 is further used to obtain network connection parameters corresponding to each candidate device IP address from a pre-stored database; the network connection parameters include: cloud server address;

[0230] The first response instruction also includes network connection parameters corresponding to each candidate device IP address.

[0231] The zero terminal 1001 is also used to obtain the target network connection parameters from the first response instruction according to the target device IP address.

[0232] In one embodiment, the zero terminal 1001 is further used to send a first cloud server address acquisition request to the configuration server, where the first cloud server address acquisition request includes: the target device IP address;

[0233] The configuration server 1003 is further configured to receive a first cloud server address acquisition request sent by the zero terminal, wherein the first cloud server address acquisition request includes: a target device IP address selected by the zero terminal from the candidate device IP addresses;

[0234] The configuration server 1003 is further used to obtain target network connection parameters corresponding to the target device IP address from a pre-stored database according to the target device IP address, wherein the target network parameters include: a target cloud server address;

[0235] The configuration server 1003 is also used to send a second response instruction to the null terminal; the second response instruction includes target network connection parameters.

[0236] The zero terminal 1001 is further used to receive a second response instruction sent by the configuration server; the second response instruction includes: target network connection parameters;

[0237] The zero terminal 1001 is also used to obtain the target network connection parameters from the second response instruction.

[0238] The cloud server connection system provided by the embodiment of the present disclosure includes: when the zero terminal needs to change the IP address, it only needs to send a device IP address acquisition request to the configuration server. When the configuration server receives the device IP address acquisition request sent by the zero terminal for requesting to obtain the device IP address of the zero terminal connecting to the cloud server, it will find the candidate device IP address from the pre-stored database, and carry it in the first response instruction to send to the zero terminal, so that the zero terminal selects the target device IP address from the candidate device IP addresses. The zero terminal carries the determined target device IP address in the first cloud server address acquisition request and sends it to the configuration server. When the configuration server receives the first cloud server address acquisition request, The target device IP address will be extracted from the first cloud server address acquisition request, and then the target network connection parameters including the target cloud server address corresponding to the target device IP address will be obtained from the pre-stored database based on the target device IP address, and the target network connection parameters will be carried in the second response instruction and sent to the zero terminal. When the zero terminal receives the second response instruction, it can extract the target network connection parameters from the second response instruction to connect to the target cloud server through the target device IP address and the target cloud server address in the target network connection parameters. This method can reduce the amount of single communication data between the configuration server and the zero terminal, thereby avoiding the problem of data loss caused by too much data being sent.

[0239] In one embodiment, the zero terminal 1001 is further used to send a second cloud server address acquisition request to the configuration server;

[0240] The configuration server 1003 is also used to receive a request for obtaining the address of the second cloud server sent by the zero terminal;

[0241] The configuration server 1003 is further used to obtain a mapping relationship table of preset identifiers and network connection parameters from a pre-stored database according to a second cloud server address acquisition request; the preset identifier includes: a device IP address or a device identification code; the network connection parameters include: a cloud server address;

[0242] The configuration server 1003 is further configured to send a third response instruction to the null terminal, wherein the third response instruction includes a mapping relationship table.

[0243] The zero terminal 1001 is further used to receive a third response instruction sent by the configuration server, wherein the third response instruction includes: a mapping relationship table between a preset identifier and a network connection parameter; the preset identifier includes: a device IP address or a device identification code;

[0244] The null terminal 1001 is further used to obtain the target network connection parameters from the mapping relationship table according to the preset identifier corresponding to the null terminal.

[0245] The cloud server connection system provided by the embodiment of the present disclosure includes: when the zero terminal needs to change the IP address, it only needs to send a device IP address acquisition request to the configuration server. When the configuration server receives the device IP address acquisition request sent by the zero terminal for requesting to obtain the device IP address of the zero terminal connecting to the cloud server, it will find the candidate device IP address from the pre-stored database and carry it in the first response instruction to send to the zero terminal. After the zero terminal determines the target device IP address in the candidate device IP address, the zero terminal will directly send a second cloud server address acquisition request to the configuration server. The second cloud server address acquisition request does not carry any parameter information ... After receiving the second cloud server address acquisition request, a mapping relationship table between a preset identifier and a network connection parameter is obtained from a pre-stored database, and the mapping relationship table is carried in a third response instruction and sent to the zero terminal. When the zero terminal receives the third response instruction, it can obtain the target network connection parameters from the mapping relationship table based on its own preset identifier, so as to connect to the target cloud server through the target device IP address and the target cloud server address in the network connection parameters. This method can reduce the calculation amount of the configuration server. The configuration server does not need to search for the target cloud server address from the pre-stored database, but sends the mapping relationship table to the zero terminal, allowing the zero terminal to search for the target cloud server address by itself.

[0246] In one embodiment, the zero terminal 1001 is further used for:

[0247] Perform a PING operation on each candidate device IP address in turn;

[0248] When the PING operation result indicates that the network is connected, the candidate device IP address corresponding to the PING operation is determined to be the target device IP address, and the PING operation on other candidate device IP addresses is stopped.

[0249] In summary, in the present disclosure, the zero terminal can determine the device IP address that is in the same network segment as the zero terminal from multiple candidate device IP addresses sent by the configuration server, and determine the device IP address as the target device IP address; then determine the cloud server address corresponding to the network segment where the target device IP address is located as the cloud server address currently to be connected, that is, the target cloud server address, so that the zero terminal connects to the target cloud server according to the target cloud server address, wherein the device IP address and the cloud server address corresponding to the network segment where each device IP address is located are pre-stored.

[0250] In this way, no matter which network segment the zero terminal is in, it can automatically determine the cloud server address corresponding to the current network segment, so that the zero terminal can connect to the cloud server. There is no need for the administrator to manually configure the device IP address and the cloud server address to be connected, saving time and effort.

[0251] Based on the above Figure 1-Figure 4 The cloud server connection method described in the corresponding embodiment is as follows: an embodiment of the device of the present disclosure, which can be used to execute the embodiment of the method of the present disclosure.

[0252] The present disclosure provides a cloud server connection device, which is used to configure a server, such as Fig.11 As shown, the device comprises:

[0253] The first receiving module 11 is used to receive a device IP address acquisition request sent by a zero terminal; the device IP address acquisition instruction is used to request to obtain the device IP address of the zero terminal connected to the cloud server;

[0254] An acquisition module 12 is used to acquire the candidate device IP address from a pre-stored database;

[0255] The first sending module 13 is used to send a first response instruction to the zero terminal; the first response includes the candidate device IP address.

[0256] In one embodiment, the acquisition module is further used to:

[0257] Obtaining network connection parameters corresponding to each candidate device IP address from a pre-stored database; the network connection parameters include: a cloud server address;

[0258] The first response instruction also includes network connection parameters corresponding to each of the candidate device IP addresses.

[0259] In one embodiment, Fig.12 As shown, the device further includes: a second receiving module 14, a second acquiring module 15 and a second sending module 16;

[0260] The second receiving module 14 is used to receive a first cloud server address acquisition request sent by the zero terminal, wherein the first cloud server address acquisition request includes: a target device IP address selected by the zero terminal from the candidate device IP addresses;

[0261] The second acquisition module 15 is used to acquire the target network connection parameters corresponding to the target device IP address from the pre-stored database according to the target device IP address, wherein the target network parameters include: the target cloud server address;

[0262] The second sending module 16 is used to send a second response instruction to the null terminal; the second response instruction includes the target network connection parameters.

[0263] In one embodiment, Fig.13As shown, the device further includes: a third receiving module 17, a third acquiring module 18 and a third sending module 19;

[0264] The third receiving module 17 is used to receive a second cloud server address acquisition request sent by the zero terminal;

[0265] The third acquisition module 18 is used to obtain a mapping relationship table between a preset identifier and a network connection parameter from the pre-stored database according to the second cloud server address acquisition request; the preset identifier includes: a device IP address or a device identification code; the network connection parameter includes: a cloud server address;

[0266] The third sending module 19 is used to send a third response instruction to the null terminal, and the third response instruction includes the mapping relationship table.

[0267] Based on the above Figure 5-Figure 9 The cloud server connection method described in the corresponding embodiment is as follows: an embodiment of the device of the present disclosure, which can be used to execute the embodiment of the method of the present disclosure.

[0268] The present disclosure provides a cloud server connection device, which is applied to a zero terminal, such as Fig.14 As shown, the device comprises:

[0269] A fourth sending module 21 is used to send a device IP address acquisition request instruction to the configuration server, where the device IP address acquisition instruction is used to request to acquire the device IP address for connecting to the cloud server;

[0270] A fourth receiving module 22 is configured to receive a first response instruction sent by the configuration server, wherein the first response instruction includes an IP address of a candidate device;

[0271] A selection module 23, configured to select a target device IP address that can be connected from the candidate device IP addresses;

[0272] The fourth acquisition module 24 is used to acquire a target network connection parameter corresponding to the target device IP address; the target network connection parameter includes: a target cloud server address;

[0273] The connection module 25 is used to connect to the target cloud server corresponding to the target cloud server address through the target device IP address and the target network connection parameters.

[0274] In one embodiment, the first response instruction also includes network connection parameters corresponding to each of the candidate device IP addresses; the network connection parameters include: cloud server address;

[0275] The fourth acquisition module 24 is further used for:

[0276] The target network connection parameters are obtained from the first response instruction according to the target device IP address.

[0277] In one embodiment, Fig.15 As shown, the fourth acquisition module 24 includes: a first sending submodule 241, a first receiving submodule 242 and a first acquisition submodule 243;

[0278] The first sending submodule 241 is used to send a first cloud server address acquisition request to the configuration server, wherein the first cloud server address acquisition request includes: the target device IP address;

[0279] The first receiving submodule 242 is configured to receive a second response instruction sent by the configuration server; the second response instruction includes: the target network connection parameter;

[0280] The first acquisition submodule 243 is used to acquire the target network connection parameter from the second response instruction.

[0281] In one embodiment, Fig.16 As shown, the fourth acquisition module 24 includes: a second sending submodule 244, a second receiving submodule 245 and a second acquisition submodule 246;

[0282] The second sending submodule 244 is used to send a second cloud server address acquisition request to the configuration server;

[0283] The second receiving submodule 245 is used to receive a third response instruction sent by the configuration server, wherein the third response instruction includes: a mapping relationship table between a preset identifier and a network connection parameter; the preset identifier includes: a device IP address or a device identification code;

[0284] The second acquisition submodule 246 is used to acquire the target network connection parameter from the mapping relationship table according to the preset identifier corresponding to the null terminal.

[0285] In one embodiment, Fig.17 As shown, the selection module 23 includes: an operation submodule 231 and a determination submodule 232;

[0286] The operation submodule 231 is used to perform a PING operation on each of the candidate device IP addresses in turn;

[0287] The determination submodule 232 is used to determine that the candidate device IP address corresponding to the PING operation is the target device IP address when the PING operation result indicates that the network is connected, and stop performing the PING operation on other candidate device IP addresses.

[0288] Based on the above Figure 1-4 In accordance with the cloud server connection method described in the embodiment, the embodiment of the present disclosure also provides a computer-readable storage medium, for example, a non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device. The storage medium stores computer instructions for executing the above Figure 1-4 The data transmission method described in the corresponding embodiment will not be repeated here.

[0289] Based on the above Figure 5-9 In accordance with the cloud server connection method described in the embodiment, the embodiment of the present disclosure further provides a computer-readable storage medium, for example, a non-temporary computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device. The storage medium stores computer instructions for executing the above Figure 5-9 The data transmission method described in the corresponding embodiment will not be repeated here.

[0290] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0291] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A cloud server connection method, characterized in that: The method is applied to a configuration server, and the method comprises: Receive a device IP address acquisition request sent by the zero terminal; the device IP address acquisition instruction is used to request to obtain the device IP address of the zero terminal connected to the cloud server; Obtain the candidate device IP address from the pre-stored database; Sending a first response instruction to the zero terminal; the first response includes the candidate device IP address; Receive a first cloud server address acquisition request sent by the zero terminal, wherein the first cloud server address acquisition request includes: a target device IP address selected by the zero terminal from the candidate device IP addresses; obtain a target network connection parameter corresponding to the target device IP address from the pre-stored database according to the target device IP address, wherein the target network parameter includes: a target cloud server address; a second response instruction sent to the zero terminal; the second response instruction includes the target network connection parameter; the target device IP address is determined as follows: the zero terminal performs a PING operation on each of the candidate device IP addresses in turn; when the PING operation result indicates that the network is connected, the candidate device IP address corresponding to the PING operation is determined to be the target device IP address, and the PING operation on other candidate device IP addresses is stopped; Alternatively, a second cloud server address acquisition request sent by the zero terminal is received; a mapping relationship table of preset identifiers and network connection parameters is obtained from the pre-stored database according to the second cloud server address acquisition request; the preset identifier includes: device IP address or device identification code; the network connection parameters include: cloud server address; a third response instruction is sent to the zero terminal, and the third response instruction includes the mapping relationship table, so that the zero terminal obtains the target network connection parameters that can be connected from the mapping relationship table according to the corresponding preset identifier, and connects to the target cloud server corresponding to the target cloud server address through the target device IP address and the target network connection parameters.

2. The method according to claim 1, characterized in that The method further comprises: Obtaining network connection parameters corresponding to each candidate device IP address from a pre-stored database; the network connection parameters include: a cloud server address; The first response instruction also includes network connection parameters corresponding to each of the candidate device IP addresses.

3. A cloud server connection method, characterized in that: The method is applied to a zero terminal, and the method comprises: Sending a device IP address acquisition request instruction to the configuration server, wherein the device IP address acquisition instruction is used to request to acquire the device IP address for connecting to the cloud server; Receive a first response instruction sent by the configuration server, where the first response instruction includes a candidate device IP address; Selecting a target device IP address that can be connected from the candidate device IP addresses; Obtaining target network connection parameters corresponding to the target device IP address; the target network connection parameters include: a target cloud server address; Connecting to a target cloud server corresponding to the target cloud server address through the target device IP address and the target network connection parameters; Wherein, the acquiring of the target network connection parameters corresponding to the target device IP address includes: Sending a first cloud server address acquisition request to the configuration server, wherein the first cloud server address acquisition request includes: the target device IP address; receiving a second response instruction sent by the configuration server; the second response instruction includes: the target network connection parameter; acquiring the target network connection parameter from the second response instruction; Alternatively, a request for obtaining the address of a second cloud server is sent to the configuration server; a third response instruction sent by the configuration server is received, wherein the third response instruction includes: a mapping relationship table between a preset identifier and a network connection parameter; the preset identifier includes: a device IP address or a device identification code; and the target network connection parameter is obtained from the mapping relationship table according to the preset identifier corresponding to the zero terminal; Among them, selecting a target device IP address that can be connected from the candidate device IP addresses includes: performing a PING operation on each of the candidate device IP addresses in turn; when the PING operation result indicates that the network is connected, determining that the candidate device IP address corresponding to the PING operation is the target device IP address, and stopping the PING operation on other candidate device IP addresses.

4. The method according to claim 3, characterized in that The first response instruction also includes network connection parameters corresponding to each of the candidate device IP addresses; The network connection parameters include: cloud server address; The acquiring of the target network connection parameters corresponding to the target device IP address includes: The target network connection parameters are obtained from the first response instruction according to the target device IP address.

5. A cloud server connection system, characterized in that: include: Zero terminal and configuration server; The zero terminal is connected to the configuration server; The zero terminal is used to send a device IP address acquisition request instruction to the configuration server, and the device IP address acquisition instruction is used to request to obtain the device IP address for connecting to the cloud server; The configuration server is used to receive a device IP address acquisition request sent by the zero terminal; The device IP address acquisition instruction is used to request to obtain the device IP address of the zero terminal connected to the cloud server; The configuration server is used to obtain the candidate device IP address from the pre-stored database; The configuration server is used to send a first response instruction to the zero terminal; the first response includes the candidate device IP address; The zero terminal is used to receive a first response instruction sent by the configuration server, wherein the first response instruction includes a candidate device IP address; The zero terminal is used to select a target device IP address that can be connected from the candidate device IP addresses; The zero terminal is used to obtain the target network connection parameters corresponding to the IP address of the target device; The target network connection parameters include: target cloud server address; The zero terminal is used to connect to the target cloud server corresponding to the target cloud server address through the target device IP address and the target network connection parameter; The configuration server is specifically configured to receive a first cloud server address acquisition request sent by the zero terminal; The zero terminal is specifically used to select a target device IP address from the candidate device IP addresses; obtain a target network connection parameter corresponding to the target device IP address from the pre-stored database according to the target device IP address, wherein the target network parameter includes: a target cloud server address; a second response instruction sent to the zero terminal; the second response instruction includes the target network connection parameter; The zero terminal is further used to perform a PING operation on each of the candidate device IP addresses in turn; when the PING operation result indicates that the network is connected, the candidate device IP address corresponding to the PING operation is determined to be the target device IP address, and the PING operation on other candidate device IP addresses is stopped; Alternatively, the configuration server is specifically configured to receive a second cloud server address acquisition request sent by the zero terminal; obtain a mapping relationship table between a preset identifier and a network connection parameter from the pre-stored database according to the second cloud server address acquisition request; the preset identifier includes: a device IP address or a device identification code; the network connection parameters include: a cloud server address; a third response instruction is sent to the zero terminal, and the third response instruction includes the mapping relationship table; The zero terminal is specifically used to obtain the target network connection parameters that can be connected from the mapping relationship table according to the corresponding preset identifier, and to connect to the target cloud server corresponding to the target cloud server address through the target device IP address and the target network connection parameters.