CN114500548B - Method and system for accessing equipment terminal to cloud platform and related components - Google Patents

Method and system for accessing equipment terminal to cloud platform and related components Download PDF

Info

Publication number
CN114500548B
CN114500548B CN202210381335.7A CN202210381335A CN114500548B CN 114500548 B CN114500548 B CN 114500548B CN 202210381335 A CN202210381335 A CN 202210381335A CN 114500548 B CN114500548 B CN 114500548B
Authority
CN
China
Prior art keywords
server
addressing
access
cloud platform
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202210381335.7A
Other languages
Chinese (zh)
Other versions
CN114500548A (en
Inventor
田路
金伟
应红力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Mirui Technology Co ltd
Original Assignee
Hangzhou Mirui Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Mirui Technology Co ltd filed Critical Hangzhou Mirui Technology Co ltd
Priority to CN202210381335.7A priority Critical patent/CN114500548B/en
Publication of CN114500548A publication Critical patent/CN114500548A/en
Application granted granted Critical
Publication of CN114500548B publication Critical patent/CN114500548B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses a method, a system and a device for accessing a device terminal to a cloud platform and a computer readable storage medium, wherein the method comprises the following steps: sending a first query request to a central addressing server according to a first preset period until a first address of an area addressing server returned by the central addressing server according to the area where the equipment terminal is located is received; sending a second query request to the first address according to a second preset period until a second address of the optimal access server returned by the regional addressing server is received; the optimal access server is any one access server with the load lower than a preset value or the access server with the load as the minimum value in all the access servers under the regional addressing server; and sending a registration connection request to the second address to access the cloud platform. When a large number of instant access requests are faced, the access speed and the success rate of the equipment terminal can be ensured.

Description

Method and system for accessing equipment terminal to cloud platform and related components
Technical Field
The present application relates to the field of cloud platforms, and in particular, to a method, a system, and related components for accessing a device terminal to a cloud platform.
Background
Under the background of the current internet of everything interconnection, the terminal of the internet of things, particularly the terminal of the security equipment, develops rapidly, and the terminal access of the security equipment also enters the cloud era. The current various security equipment terminals comprise various cameras, intelligent doorbells and the like, the network module is connected with the cloud platform, the security equipment terminals are registered on the cloud platform, and after the registration connection is successful, data receiving, data sending and other operations can be executed.
The method comprises the steps that a domain name is reserved in firmware when a security device terminal leaves a factory, in the process that the security device terminal is connected into a cloud platform, the address of a target access server in the cloud platform is analyzed according to the domain name, and a registration connection request is sent to the address, but in the connection process, if the target access server has the problems of abnormal service, heavy load, simultaneously received a large number of registration connection requests and the like, registration connection failure can be caused, and therefore the security device terminal cannot be successfully connected into the cloud platform.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The application aims to provide a method, a system and a device for accessing a device terminal to a cloud platform and a computer readable storage medium, which can ensure the access speed and the success rate of the device terminal when a large number of instantaneous access requests are faced.
In order to solve the technical problem, the present application provides a method for accessing a device terminal to a cloud platform, where the cloud platform includes a central addressing server and a plurality of area addressing servers, and a plurality of access servers are connected below each area addressing server, and the method includes:
sending a first query request to the central addressing server according to a first preset period until a first address of the regional addressing server returned by the central addressing server according to the region where the equipment terminal is located is received;
sending a second query request to the first address according to a second preset period until a second address of the optimal access server returned by the regional addressing server is received; the optimal access server is any one of the access servers with the load lower than a preset value or the access server with the load as the minimum value in all the access servers under the regional addressing server;
and sending a registration connection request to the second address to access the cloud platform.
Optionally, the method further includes:
resolving domain name information prestored in the equipment terminal to obtain an address of a redirection server;
and sending a central addressing server query request to the address of the redirection server to acquire the address of the central addressing server.
Optionally, the sending a first query request to the central addressing server according to a first preset period until receiving a first address of the area addressing server returned by the central addressing server according to the area where the device terminal is located includes:
and sending a first query request to the central addressing server according to a first preset period until a first address of the central addressing server returned according to the area of the equipment terminal and the load of each area addressing server is received.
Optionally, the first query request and the second query request are both UDP requests.
Optionally, the registration connection request is a TCP request.
Optionally, the first query requests received by the central addressing server are all stored in a message queue of the central addressing server;
and the second query requests received by the regional addressing server are all stored in a message queue of the regional addressing server.
Optionally, the method further includes:
and when the load capacity of each access server is detected to be larger than the corresponding upper limit value, adding a new regional addressing server and a new access server to the cloud platform.
In order to solve the above technical problem, the present application further provides a system for accessing a device terminal to a cloud platform, where the cloud platform includes a central addressing server and a plurality of regional addressing servers, each of the regional addressing servers is connected with a plurality of access servers, and the system includes:
the first addressing module is used for sending a first query request to the central addressing server according to a first preset period until a first address of the regional addressing server returned by the central addressing server according to the region where the equipment terminal is located is received;
the second addressing module is used for sending a second query request to the first address according to a second preset period until a second address of the optimal access server returned by the regional addressing server is received; the optimal access server is any one of the access servers with the load lower than a preset value or the access server with the load as the minimum value in all the access servers under the regional addressing server;
and the access module is used for sending a registration connection request to the second address so as to access the cloud platform.
In order to solve the above technical problem, the present application further provides an apparatus for accessing a device terminal to a cloud platform, including:
a memory for storing a computer program;
a processor configured to implement the steps of the method for accessing a cloud platform by a device terminal according to any one of the above items when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the method for accessing a cloud platform by a device terminal according to any one of the above embodiments is implemented.
The application provides a method for accessing a cloud platform to a device terminal, when a large number of instantaneous access requests are faced, the device terminal can effectively play a role in peak clipping by adopting a secondary addressing mode, mass query requests are uniformly distributed in a period of time, the query requests exceeding the processing capacity are abandoned, and the query requests can be retransmitted according to a preset period, so that the abandoned query requests can be automatically connected in the subsequent time, packet loss caused by network problems is avoided, meanwhile, a server with large capacity is filtered through the secondary addressing, a final access address obtained by the device terminal is an address of an optimal access server with small capacity, and the access speed and the success rate of the device terminal are jointly guaranteed. In addition, compared with the prior art that addressing and access are deployed on the same server, the addressing and access are respectively deployed on different servers of the cloud platform, when a server with a certain function is deployed abnormally, the server with the function is directly replaced, the server with another function is not deployed, and therefore the horizontal expansion capability is improved. The application also provides a system and a device for accessing the cloud platform by the standby terminal and a computer readable storage medium, and the system and the device have the same beneficial effects as the method for accessing the cloud platform by the standby terminal.
Drawings
In order to more clearly illustrate the embodiments of the present application, the drawings needed for the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings can be obtained by those skilled in the art without inventive effort.
Fig. 1 is a schematic structural diagram of a cloud platform architecture provided in the present application;
fig. 2 is a flowchart illustrating steps of a method for accessing a device terminal to a cloud platform according to the present disclosure;
fig. 3 is a schematic structural diagram of a system for accessing a device terminal to a cloud platform according to the present application.
Detailed Description
The core of the application is to provide a method, a system, a device and a computer readable storage medium for accessing a device terminal to a cloud platform, which can ensure the access speed and the success rate of the device terminal when facing a large number of instant access requests.
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
To facilitate understanding of the method for accessing the device terminal to the cloud platform provided by the present application, a cloud platform to which the method is applied is described below, and as shown in fig. 1, fig. 1 is a schematic structural diagram of the cloud platform provided by the present application, where the cloud platform includes a central addressing server 01, one or more area addressing servers 02 are connected to the lower part of the central addressing server 01, one or more access servers 03 are connected to the lower part of each area addressing server 02, the device terminal may establish a connection with one of the access servers 03, and the device terminal may be a security device terminal.
It can be understood that the central addressing server 01, the regional addressing server 02 and the access server 03 are all deployed on a public cloud server, the access server 03 reports node information of the current access terminal number, bandwidth, resource occupation and the like of the node to the regional addressing server 02 connected with the access server, and the regional addressing server 02 realizes a load balancing function according to the received node information.
Referring to fig. 2, fig. 2 is a flowchart illustrating steps of a method for accessing a cloud platform by a device terminal according to the present application, where the method for accessing the cloud platform by the device terminal includes:
s101: sending a first query request to a central addressing server according to a first preset period until a first address of an area addressing server returned by the central addressing server according to the area where the equipment terminal is located is received;
it can be understood that, when the device terminal leaves a factory, a domain name is preset in the firmware of the device terminal, and according to the domain name, an address of a central addressing server of the cloud platform can be obtained, where the central addressing server is a primary addressing server, the device terminal sends a first query request to the address of the central addressing server to obtain an address of a regional addressing server, and the regional addressing server is a secondary addressing server.
Further, the device terminal can select different cloud platforms according to requirements, and therefore, in the scheme of the implementation, besides the addressing server and the access server, a redirection server is further arranged, and the redirection server is internally provided with an address of a central addressing server of the corresponding cloud platform. After the equipment terminal is powered on, the pre-stored domain name can be analyzed to obtain the address of the redirection server, and the equipment terminal sends a query request to the address to obtain the address of the central addressing server of the cloud platform. When the cloud platform needs to be replaced by the cloud platform of the equipment terminal service, the address of the central addressing server built in the redirection server only needs to be modified into the address of the central addressing server of the required cloud platform, and therefore flexibility and usability are improved.
Specifically, the device terminal sends a first query request to an address of the central addressing server according to a first preset period until receiving a first address of the regional addressing server returned by the central addressing server according to a region where the device terminal is located, where the first query request is a User Datagram Protocol (UDP) request, and correspondingly, the first query request may specifically include UDP query data. For example, assuming that the first preset period is set to 1 second, the device terminal sends UDP query data to the central addressing server, queries an address of the local addressing server, and sends UDP query data to the central addressing server every second before receiving response data sent by the central addressing server, where the response data is a first address of the local addressing server returned by the central addressing server. It can be understood that the data is transmitted and received more quickly by using UDP, and the query request is transmitted every 1 second, so that the problem of transmission failure caused by network reasons can be avoided to the maximum extent.
After receiving the first query request sent by the device terminal, the central addressing server analyzes the area of the device terminal according to an IP Address (Internet Protocol Address) of the device terminal, allocates an area addressing server to the device terminal according to the area of the device terminal, and returns the Address of the corresponding area addressing server, that is, the first Address in this step, to the device terminal. After the device terminal receives the first address returned by the central addressing server, addressing is completed until the first address is completed, the query of the regional addressing server is mainly completed by the one-time addressing, the central addressing server can distribute the optimal regional addressing server according to the region where the device terminal is located and the load capacity of each regional addressing server corresponding to the region, and it can be understood that the optimal regional addressing server is the regional addressing server with relatively small load capacity.
S102: sending a second query request to the first address according to a second preset period until a second address of the optimal access server returned by the regional addressing server is received; the optimal access server is any one access server with the load lower than a preset value or the access server with the load as the minimum value in all the access servers under the regional addressing server;
specifically, after receiving the first address returned by the central addressing server, the device terminal sends a second query request to the first address according to a second preset period, where the second query request is also a UDP request, and correspondingly, the second query request may specifically include UDP query data. For example, assuming that the second preset period is 1 second, the device terminal sends UDP query data to the local addressing server according to the second address every 1 second, so as to query the address of the access server. At this time, if the load of the local addressing server is too heavy, the UDP query data sent by the device terminal will fail to be sent, and the device terminal will automatically resend the UDP query data after 1 second until receiving a query result, where the query result is the address of the access server returned by the local addressing server.
After receiving a second query request sent by the device terminal, the regional addressing server analyzes the region where the device terminal is located according to the IP address of the device terminal, and then allocates the access server from the region where the device terminal is located. The access server with lower load capacity is preferentially allocated to the device terminal, for example, if the load capacities of a plurality of access servers in the access servers connected under the regional server are all smaller than a preset value, one access server can be selected as the optimal access server. Of course, the load capacity of each access server under the regional server may also be larger, and then one access server with the smallest load capacity is selected as the optimal access server, so as to reduce the risk of access failure. When the equipment terminal receives the address of the optimal access server distributed by the regional server, namely the second address, the secondary addressing is completed.
The first preset period and the second preset period are set according to actual engineering requirements, and the application is not specifically limited herein.
S103: and sending a registration connection request to the second address to access the cloud platform.
Specifically, after receiving the second address, the device terminal sends a registration connection request to the optimal access server according to the second address, and completes an access operation to access the cloud platform, where the registration connection request is a TCP (Transmission Control Protocol) request. It can be understood that, in a scenario of a large concurrent access device terminal, the central addressing server will receive a large amount of UDP request data sent by the device terminal in a short time, wherein a part of the UDP request data will be lost, the device terminal will automatically re-initiate the UDP request data, a processing scenario of the regional addressing server is identical to a processing scenario of the central addressing server, when a registration connection request finally reaches the access server, a basic load balancing operation is completed, and the secondary addressing mechanism can effectively play a role in peak clipping, thereby ensuring an access speed and a success rate.
It can be seen that, in the method for accessing the device terminal to the cloud platform provided by this embodiment, when a large number of instantaneous access requests are faced, the device terminal may effectively perform a peak clipping function by using a secondary addressing manner, so that a large number of query requests are uniformly distributed over a period of time, query requests exceeding processing capability are discarded, and the query requests are resent according to a preset period, so that the discarded query requests are automatically connected in the subsequent time, thereby avoiding packet loss caused by network problems, and meanwhile, a server with a large load is filtered through the secondary addressing, so that a final access address obtained by the device terminal is an address of an optimal access server with a small load, and an access speed and a success rate of the device terminal are jointly ensured. In addition, compared with the prior art that addressing and access are deployed on the same server, addressing and access are respectively deployed on different servers of the cloud platform, when a server with a certain function is deployed abnormally, the server with the function is directly replaced, the server with another function is not deployed, and therefore horizontal expansion capacity is improved.
On the basis of the above-described embodiment:
as an alternative embodiment, the first query requests received by the central addressing server are all stored in a message queue of the central addressing server;
the second query requests received by the regional addressing server are all stored in a message queue of the regional addressing server.
Specifically, all the first query requests received by the central addressing server are stored in the internal message queue thereof, and correspondingly, the second query requests received by the regional addressing server are stored in the internal message queue thereof, and by combining the message queue, a large number of query requests can be cached, so as to achieve the peak clipping effect, thereby realizing the smooth processing of the access service.
As an alternative embodiment, the method further comprises:
and when the load capacity of each access server is detected to be larger than the corresponding upper limit value, adding a new regional addressing server and a new access server to the cloud platform.
Specifically, in the above addressing and accessing processes, if it is detected that the resource load of the addressing server or the access server is too heavy, that is, the load capacity of each access server is greater than the respective corresponding upper limit value, a new server node may be added to the cluster, and the received request may be introduced to the newly added node according to load balancing in the primary and secondary addressing. Thereby achieving the purpose of horizontal expansion.
Specifically, the device terminal sends a registration connection request and heartbeat data to the access server, the access server reports the heartbeat data, the number of access terminals, the node resource load, and the availability of the access server in the area to the area addressing server, and sends the heartbeat data, the node resource load data, and the like to the central addressing server, and the central addressing server detects the availability of each area addressing server. The central addressing server can specifically judge whether the regional addressing server is abnormal or available according to whether heartbeat data is received in a preset period, and the regional addressing server can also judge whether the access server is abnormal or available according to whether heartbeat data is received in the preset period, and if the regional addressing server is judged to be unavailable or the access server is unavailable, the unavailable regional addressing server or the unavailable access server is not distributed when the equipment terminal addresses.
Specifically, as the addressing and the registration access are respectively deployed on different servers, the architecture is more convenient for horizontal expansion of the servers in the cloud platform. When an access server or an area addressing server is newly added, because both the access server and the area addressing server need to send own node data to an upper level, the central addressing server can acquire information of each newly added server, and the newly added server is considered to allocate addresses for the equipment terminals in one addressing process.
In summary, the system uses a secondary addressing mechanism, and the device terminal first requests the central addressing server to obtain the address of the local addressing server, then requests the local addressing server to obtain the address of the access server, and finally initiates a registration connection request to the access server to complete the registration access process. In the process, UDP connection is used, the query request can be initiated for multiple times in a period, only one result needs to be returned, and meanwhile, the UDP connection efficiency of the addressing request is higher. The cloud platform can adopt a load balancing strategy when distributing the servers according to the actual load of each server; and the cloud platform detects that the abnormal server node is removed in time, and the node is not distributed any more when the equipment terminal addresses. In addition, the peak clipping of the access flow can be realized by matching the multi-level addressing with a message queue mechanism, and the access success rate of the equipment terminal under a large concurrent scene is ensured.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a system for accessing a device terminal to a cloud platform provided by the present application, where the cloud platform includes a central addressing server and a plurality of area addressing servers, and a plurality of access servers are connected below each area addressing server, and the system for accessing a device terminal to a cloud platform includes:
the first addressing module 11 is configured to send a first query request to the central addressing server according to a first preset period until receiving a first address of the area addressing server returned by the central addressing server according to the area where the device terminal is located;
the second addressing module 12 is configured to send a second query request to the first address according to a second preset period until a second address of the optimal access server returned by the regional addressing server is received; the optimal access server is any one access server with the load lower than a preset value or the access server with the load as the minimum value in all the access servers under the regional addressing server;
and the access module 13 is configured to send a registration connection request to the second address to access the cloud platform.
It can be seen that, in the system for accessing the device terminal to the cloud platform provided in this embodiment, when a large number of instantaneous access requests are faced, the device terminal may effectively perform a peak clipping function by using a secondary addressing manner, so that a large number of query requests are uniformly distributed over a period of time, query requests exceeding processing capability are discarded, and the query requests are resent according to a preset period, so that the discarded query requests are automatically connected in the subsequent time, thereby avoiding packet loss caused by network problems, and meanwhile, a server with a large load is filtered through the secondary addressing, so that a final access address obtained by the device terminal is an address of an optimal access server with a small load, and an access speed and a success rate of the device terminal are jointly ensured. In addition, compared with the prior art that addressing and access are deployed on the same server, the addressing and access are respectively deployed on different servers of the cloud platform, when a server with a certain function is deployed abnormally, the server with the function is directly replaced, the server with another function is not deployed, and therefore the horizontal expansion capability is improved.
As an alternative embodiment, the system further comprises:
the resolving module is used for resolving domain name information prestored in the equipment terminal to obtain the address of the redirection server;
and the third addressing module is used for sending a central addressing server query request to the address of the redirection server so as to acquire the address of the central addressing server.
As an optional embodiment, the step of sending the first query request to the central addressing server according to the first preset period until receiving the first address of the area addressing server returned by the central addressing server according to the area where the device terminal is located includes:
and sending a first query request to the central addressing server according to a first preset period until a first address of the regional addressing server returned by the central addressing server according to the region where the equipment terminal is located and the load quantity of each regional addressing server is received.
As an alternative embodiment, the first query request and the second query request are both UDP requests.
As an alternative embodiment, the registration connection request is a TCP request.
As an alternative embodiment, the first query requests received by the central addressing server are all stored in a message queue of the central addressing server; the second query requests received by the regional addressing server are all stored in the message queue of the regional addressing server.
As an alternative embodiment, the system further comprises:
and the extension module is used for adding a new area addressing server and a new access server to the cloud platform when detecting that the load capacity of each access server is greater than the upper limit value corresponding to each access server.
On the other hand, the present application further provides an apparatus for accessing a device terminal to a cloud platform, including:
a memory for storing a computer program;
a processor configured to implement the steps of the method for accessing the cloud platform by the device terminal as described in any one of the above embodiments when executing the computer program.
For introducing the apparatus for accessing the device terminal to the cloud platform provided by the present application, please refer to the above embodiments, which are not described herein again.
The device for accessing the equipment terminal to the cloud platform has the same beneficial effects as the method for accessing the equipment terminal to the cloud platform.
In another aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for accessing the cloud platform by the device terminal as described in any one of the above embodiments.
For the introduction of a computer-readable storage medium provided in the present application, please refer to the above embodiments, which are not described herein again.
The computer-readable storage medium has the same beneficial effects as the method for accessing the device terminal to the cloud platform.
It is further noted that, in the present specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A method for accessing a device terminal to a cloud platform is characterized in that the cloud platform comprises a central addressing server and a plurality of regional addressing servers, a plurality of access servers are connected below each regional addressing server, and the method comprises the following steps:
sending a first query request to the central addressing server according to a first preset period until a first address of the regional addressing server returned by the central addressing server according to the region where the equipment terminal is located is received;
sending a second query request to the first address according to a second preset period until a second address of the optimal access server returned by the regional addressing server is received; the optimal access server is any one of the access servers with the load lower than a preset value or the access server with the load as the minimum value in all the access servers under the regional addressing server;
and sending a registration connection request to the second address to access the cloud platform.
2. The method for accessing the cloud platform by the device terminal according to claim 1, wherein the method further comprises:
resolving domain name information prestored in the equipment terminal to obtain an address of a redirection server;
and sending a central addressing server query request to the address of the redirection server to acquire the address of the central addressing server.
3. The method for accessing the cloud platform by the device terminal according to claim 1, wherein the step of sending the first query request to the central addressing server according to the first preset period until receiving the first address of the area addressing server returned by the central addressing server according to the area where the device terminal is located includes:
and sending a first query request to the central addressing server according to a first preset period until receiving a first address of the central addressing server returned according to the area of the equipment terminal and the load capacity of each area addressing server corresponding to the area.
4. The method for accessing the cloud platform by the device terminal according to claim 1, wherein the first query request and the second query request are both UDP requests.
5. The method for accessing the cloud platform by the device terminal according to claim 1, wherein the registration connection request is a TCP request.
6. The method for accessing the cloud platform by the device terminal according to claim 1, wherein the first query requests received by the central addressing server are all stored in a message queue of the central addressing server;
and the second query requests received by the regional addressing server are all stored in a message queue of the regional addressing server.
7. The method for accessing the cloud platform by the device terminal according to any one of claims 1 to 6, wherein the method further comprises:
and when the load capacity of each access server is detected to be larger than the upper limit value corresponding to the load capacity, adding a new area addressing server and a new access server to the cloud platform.
8. The system for accessing the equipment terminal to the cloud platform is characterized in that the cloud platform comprises a central addressing server and a plurality of area addressing servers, a plurality of access servers are connected below each area addressing server, and the system comprises:
the first addressing module is used for sending a first query request to the central addressing server according to a first preset period until receiving a first address of the regional addressing server returned by the central addressing server according to the region where the equipment terminal is located;
the second addressing module is used for sending a second query request to the first address according to a second preset period until a second address of the optimal access server returned by the regional addressing server is received; the optimal access server is any one access server with the load lower than a preset value in all the access servers under the regional addressing server or the access server with the load as the minimum value;
and the access module is used for sending a registration connection request to the second address so as to access the cloud platform.
9. The device for accessing the equipment terminal to the cloud platform is characterized by comprising the following steps:
a memory for storing a computer program;
a processor for implementing the steps of the method for accessing the cloud platform by the device terminal according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored thereon a computer program which, when being executed by a processor, carries out the steps of the method for accessing a cloud platform by a device terminal according to any one of claims 1 to 7.
CN202210381335.7A 2022-04-13 2022-04-13 Method and system for accessing equipment terminal to cloud platform and related components Active CN114500548B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210381335.7A CN114500548B (en) 2022-04-13 2022-04-13 Method and system for accessing equipment terminal to cloud platform and related components

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210381335.7A CN114500548B (en) 2022-04-13 2022-04-13 Method and system for accessing equipment terminal to cloud platform and related components

Publications (2)

Publication Number Publication Date
CN114500548A CN114500548A (en) 2022-05-13
CN114500548B true CN114500548B (en) 2022-09-09

Family

ID=81487370

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210381335.7A Active CN114500548B (en) 2022-04-13 2022-04-13 Method and system for accessing equipment terminal to cloud platform and related components

Country Status (1)

Country Link
CN (1) CN114500548B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6578066B1 (en) * 1999-09-17 2003-06-10 Alteon Websystems Distributed load-balancing internet servers
CN101232421A (en) * 2008-02-26 2008-07-30 上海可鲁系统软件有限公司 Industry internet networking method and address analysis method
CN102281190A (en) * 2011-07-01 2011-12-14 杭州斯凯网络科技有限公司 Networking method for load balancing apparatus, server and client access method
CN103731812A (en) * 2012-10-15 2014-04-16 中国移动通信集团公司 Session affinity method, device, gateways, service side access device and server
CN104065761A (en) * 2011-09-29 2014-09-24 北京奇虎科技有限公司 Application server selecting method and network connection method
CN104683497A (en) * 2015-02-15 2015-06-03 青岛海尔智能家电科技有限公司 Address seeking method and device for network address of community
CN111600969A (en) * 2020-03-31 2020-08-28 视联动力信息技术股份有限公司 Domain name addressing method, system, domain name server, electronic device and storage medium
WO2020197288A1 (en) * 2019-03-28 2020-10-01 삼성전자 주식회사 Method and device for providing connectivity to terminal in order to use edge computing service
CN114026838A (en) * 2019-04-25 2022-02-08 利维帕尔森有限公司 Intelligent capacity for workload routing

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108322559A (en) * 2018-01-16 2018-07-24 吉浦斯信息咨询(深圳)有限公司 Mobile device dynamic address cut-in method, system and medium
CN110430572B (en) * 2019-09-12 2023-05-02 恒宝股份有限公司 eUICC card, communication method of eUICC card and management platform and communication system thereof

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6578066B1 (en) * 1999-09-17 2003-06-10 Alteon Websystems Distributed load-balancing internet servers
CN101232421A (en) * 2008-02-26 2008-07-30 上海可鲁系统软件有限公司 Industry internet networking method and address analysis method
CN102281190A (en) * 2011-07-01 2011-12-14 杭州斯凯网络科技有限公司 Networking method for load balancing apparatus, server and client access method
CN104065761A (en) * 2011-09-29 2014-09-24 北京奇虎科技有限公司 Application server selecting method and network connection method
CN103731812A (en) * 2012-10-15 2014-04-16 中国移动通信集团公司 Session affinity method, device, gateways, service side access device and server
CN104683497A (en) * 2015-02-15 2015-06-03 青岛海尔智能家电科技有限公司 Address seeking method and device for network address of community
WO2020197288A1 (en) * 2019-03-28 2020-10-01 삼성전자 주식회사 Method and device for providing connectivity to terminal in order to use edge computing service
CN114026838A (en) * 2019-04-25 2022-02-08 利维帕尔森有限公司 Intelligent capacity for workload routing
CN111600969A (en) * 2020-03-31 2020-08-28 视联动力信息技术股份有限公司 Domain name addressing method, system, domain name server, electronic device and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Mikhail Vilgelm ; H. Murat Gürsu ; Wolfgang Kellerer ; Martin Reisslei.LATMAPA: Load-Adaptive Throughput- MAximizing Preamble Allocation for Prioritization in 5G Random Access.《IEEE Access(Volume:5)》.2017, *
物联网资源寻址和访问方法研究;黄忠;《万方学位论文》;20131030;全文 *

Also Published As

Publication number Publication date
CN114500548A (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN111212134A (en) Request message processing method and device, edge computing system and electronic equipment
CN106790340B (en) Link scheduling method and device
EP3800853A1 (en) Address management method and device
EP3709664A1 (en) Stream pushing method, system and server
CN102316447A (en) Internet protocol (IP) address allocation and sending method, wireless access device, server and system
EP3331247A1 (en) Multi-screen control method and device
CN113612861B (en) Remote access method, system and computer readable storage medium
CN110795244A (en) Task allocation method, device, equipment and medium
CN110830565A (en) Resource downloading method, device, system, electronic equipment and storage medium
CN106790734B (en) Network address allocation method and device
CN114364031B (en) Service providing method, device and storage medium
CN111031129B (en) Access request processing method, processing device, electronic equipment and storage medium
CN110392119B (en) Data transmission method and base station
US20160286434A1 (en) Method and Device for Controlling Processing Load of a Network Node
CN111541799A (en) Domain name resolution method, system, terminal and storage medium
CN111147468A (en) User access method, device, electronic equipment and storage medium
CN109413117B (en) Distributed data calculation method, device, server and computer storage medium
CN107438098B (en) Dynamic content distribution method and system
CN114500548B (en) Method and system for accessing equipment terminal to cloud platform and related components
CN107370647B (en) Method for interconnecting local area internal controller systems and local area network system
CN110661836B (en) Message routing method, device and system, and storage medium
WO2022247497A1 (en) User data system management method, communication device, and storage medium
JP2000138920A (en) Method for connecting video server and device for automatically selecting video server
CN114490071A (en) Resource scheduling method, device, equipment and medium based on cloud game
CN111131470B (en) Terminal device, data processing method thereof and data processing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant