CN115277377A - Service acquisition method, device, terminal and storage medium based on distributed cloud - Google Patents

Service acquisition method, device, terminal and storage medium based on distributed cloud Download PDF

Info

Publication number
CN115277377A
CN115277377A CN202210545221.1A CN202210545221A CN115277377A CN 115277377 A CN115277377 A CN 115277377A CN 202210545221 A CN202210545221 A CN 202210545221A CN 115277377 A CN115277377 A CN 115277377A
Authority
CN
China
Prior art keywords
service
node
standby
distributed cloud
nodes
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.)
Pending
Application number
CN202210545221.1A
Other languages
Chinese (zh)
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.)
Billion Point Cloud Computing Zhuhai Co ltd
Original Assignee
Billion Point Cloud Computing Zhuhai 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 Billion Point Cloud Computing Zhuhai Co ltd filed Critical Billion Point Cloud Computing Zhuhai Co ltd
Priority to CN202210545221.1A priority Critical patent/CN115277377A/en
Publication of CN115277377A publication Critical patent/CN115277377A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • 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/1021Server selection for load balancing based on client or server locations

Landscapes

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

Abstract

The application provides a service acquisition method, a device, a terminal and a storage medium based on distributed cloud, wherein the method comprises the following steps: establishing connection with at least two edge service nodes included in the distributed cloud system, wherein the at least two edge service nodes include a target service node and a standby service node; acquiring service through the target service node; and acquiring service through the standby service node under the condition that the target service node meets the preset condition. The method is based on the distributed cloud, when the target service node has a problem, the nodes can be switched quickly, and the service is acquired through the standby service node, so that the requirement of a terminal for acquiring the service quickly is met.

Description

Service acquisition method, device, terminal and storage medium based on distributed cloud
Technical Field
The invention relates to the technical field of cloud computing, in particular to a service acquisition method, a service acquisition device, a service acquisition terminal and a storage medium based on distributed cloud.
Background
With the continuous improvement of the informatization degree, global data is increasingly expanded. In the face of the mass data of the current PB level, tens of thousands of accesses are possible per second, and in the face of the large-scale data volume, a single computer cannot be competent for such data processing work, and at this time, distributed cloud computing formed by adding more terminals is required to deal with the big data era and the upcoming internet of things era. The distributed cloud system is a system formed by connecting and transmitting messages and communicating through a network and coordinating the behaviors of the computers, and components interact with one another to achieve a common target. However, the capacity, reliability and stability of the service terminals in the distributed cloud environment are all worse than those of the central cloud, and sometimes a cloud service node failure or offline occurs, which may cause a problem that the terminal cannot acquire a service when connecting to a single cloud service node.
Disclosure of Invention
The invention mainly aims to provide a service acquisition method, a service acquisition device, a terminal and a readable storage medium based on a distributed cloud, and aims to solve the technical problem that the terminal cannot acquire corresponding services when a cloud service node fails.
In order to achieve the above object, the present invention provides a service acquisition method based on a distributed cloud, the service acquisition method based on the distributed cloud being applied to a terminal, the service acquisition method based on the distributed cloud comprising:
establishing connection with at least two edge service nodes included in the distributed cloud system, wherein the at least two edge service nodes include a target service node and a standby service node;
acquiring service through the target service node;
and acquiring service through the standby service node under the condition that the target service node meets the preset condition.
Optionally, the distributed cloud system further comprises a control center,
before the step of establishing a connection with at least two edge service nodes included in the distributed cloud system, the method further includes:
sending service request information to the control center;
receiving available node information sent by the control center, wherein the available node information represents available edge service nodes in the distributed cloud system, and the number of the available edge service nodes is at least two;
the step of establishing connection with at least two edge service nodes included in the distributed cloud system includes:
and establishing connection with at least two available edge service nodes according to the available node information.
Optionally, the service request information includes terminal location information and/or requirement information of the terminal, and the available node information is determined by the control center according to the terminal location information and/or the requirement information.
Optionally, the step of establishing a connection with at least two edge service nodes included in the distributed cloud system includes:
establishing connection with the target service node, and receiving group node information sent by the target service node;
and determining the standby service node according to the group node information, and establishing connection with the standby service node.
Optionally, the step of obtaining a service through the standby service node when the target service node meets a preset condition includes:
and acquiring service through the standby service node under the condition that the target service node fails or is offline.
Optionally, the number of the standby service nodes is more than two,
the method comprises the following steps that when the target service node meets the preset condition, the step of obtaining the service through the standby service node is preceded:
respectively obtaining the quality information of the standby nodes of the standby service nodes, carrying out priority sequencing on the standby service nodes according to the quality information of the standby nodes, and determining the standby service node with the highest priority as a reference standby node;
the step of obtaining service through the standby service node when the target service node meets the preset condition includes:
and acquiring service through the reference standby node under the condition that the target service node meets the preset condition.
Optionally, after the step of respectively obtaining quality information of the standby nodes of the standby service nodes to perform priority ranking on the standby service nodes according to the quality information of the standby nodes, the method further includes:
and under the condition of passing a preset time interval, respectively acquiring the quality information of the standby nodes of the standby service nodes again, so as to update the priority sequence according to the acquired quality information of the standby nodes again.
In addition, to achieve the above object, the present invention further provides a service acquisition apparatus based on a distributed cloud, including:
the system comprises a connection establishing module, a data processing module and a data processing module, wherein the connection establishing module is used for establishing connection with at least two edge service nodes included by a distributed cloud system, and the at least two edge service nodes comprise a target service node and a standby service node;
a first obtaining module, configured to obtain a service through the target service node;
and the second acquisition module is used for acquiring service through the standby service node under the condition that the target service node meets the preset condition.
Optionally, the distributed cloud system further includes a control center, and the distributed cloud-based service acquisition apparatus further includes:
the request sending module is used for sending service request information to the control center;
an information receiving module, configured to receive available node information sent by the control center, where the available node information represents available edge service nodes in the distributed cloud system, and the number of the available edge service nodes is at least two;
and the connection establishing module is further used for establishing connection with at least two available edge service nodes according to the available node information.
Optionally, the service request information includes terminal location information and/or requirement information of the terminal, and the available node information is determined by the control center according to the terminal location information and/or the requirement information.
Optionally, the connection establishing module is further configured to establish a connection with the target service node, and receive group node information sent by the target service node; and determining the standby service node according to the group node information, and establishing connection with the standby service node.
Optionally, the second obtaining module is further configured to obtain a service through the standby service node when the target service node fails or is offline.
Optionally, the number of the standby service nodes is more than two, and the distributed cloud-based service acquisition apparatus further includes:
the node determination module is used for respectively acquiring the quality information of the standby nodes of the standby service nodes, carrying out priority sequencing on the standby service nodes according to the quality information of the standby nodes and determining the standby service node with the highest priority as a reference standby node;
the second obtaining module is further configured to obtain a service through the reference standby node when the target service node meets a preset condition.
Optionally, the distributed cloud-based service acquiring apparatus further includes:
and the sequencing updating module is used for respectively acquiring the quality information of the standby nodes of the standby service nodes again under the condition of a preset time interval so as to update the priority sequencing according to the acquired quality information of the standby nodes.
In addition, in order to achieve the above object, the present invention further provides a distributed cloud-based service acquisition terminal, where the distributed cloud-based service acquisition terminal includes a processor and a memory, the memory stores a distributed cloud-based service acquisition program, and the distributed cloud-based service acquisition program is executed by the processor to implement the steps of the distributed cloud-based service acquisition method.
In addition, to achieve the above object, the present invention also provides a computer readable storage medium, on which a distributed cloud based service acquisition program is stored, and when the distributed cloud based service acquisition program is executed by the processor, the steps of the distributed cloud based service acquisition method are implemented.
The terminal establishes connection with at least two edge service nodes included in a distributed cloud system, wherein the at least two edge service nodes comprise a target service node and a standby service node; acquiring service through the target service node; and acquiring service through the standby service node under the condition that the target service node meets the preset condition. Through the method, the terminal can be simultaneously connected with a plurality of edge service nodes in a distributed cloud scene; when the target service node has a problem, the node can be switched quickly, the standby service node acquires the service, the requirement of the terminal for acquiring the service quickly is met, the service efficiency and the service quality are improved, and the realization of no perception of upper-layer services is facilitated.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a distributed cloud-based service acquisition terminal according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an embodiment of a distributed cloud-based service acquisition method according to the present invention;
fig. 3 is a schematic functional module diagram of an embodiment of a distributed cloud-based service acquisition apparatus according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The service acquisition method based on the distributed cloud is mainly applied to the service acquisition terminal based on the distributed cloud, and the service acquisition terminal based on the distributed cloud can be equipment with display and processing functions, such as a PC (personal computer), a portable computer, a mobile terminal, a tablet personal computer and the like.
Referring to fig. 1, fig. 1 is a schematic diagram of a hardware structure of a distributed cloud-based service acquisition terminal according to an embodiment of the present invention.
In this embodiment of the present invention, the distributed cloud-based service acquisition terminal may include a processor 1001 (e.g., a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface); the memory 1005 may be a high-speed RAM memory, or may be a non-volatile memory (e.g., a magnetic disk memory), and optionally, the memory 1005 may be a storage device independent of the processor 1001.
Those skilled in the art will appreciate that the hardware configuration shown in fig. 1 does not constitute a limitation on the terminal, and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
With continued reference to fig. 1, the memory 1005 of fig. 1, which is one type of computer-readable storage medium, may include an operating system, a network communication module, and a distributed cloud-based service acquisition program.
In fig. 1, the network communication module is mainly used for connecting to a server and performing data communication with the server; and the processor 1001 may call the distributed cloud-based service acquisition program stored in the memory 1005, and execute the distributed cloud-based service acquisition method provided by the embodiment of the present invention.
The embodiment of the invention provides a service acquisition method based on a distributed cloud.
Referring to fig. 2, fig. 2 is a schematic flowchart of an embodiment of a distributed cloud-based service acquisition method according to the present invention.
In this embodiment, the service acquisition method based on the distributed cloud is applied to a terminal, and the service acquisition method based on the distributed cloud includes the following steps:
step S10, establishing connection with at least two edge service nodes included in a distributed cloud system, wherein the at least two edge service nodes include a target service node and a standby service node;
in this embodiment, a description is given by taking an example in which a terminal obtains a service from a distributed cloud system. The terminal can be a mobile phone, a notebook computer, a tablet computer and other devices. The distributed cloud system comprises a series of edge service nodes and a control center; the control center uniformly manages and allocates various resources of each micro cloud system/each edge service node in the distributed cloud system, and is also responsible for managing computing resources of terminal equipment accessed to the distributed cloud system; the edge service node is used for providing service for the terminal equipment.
Different from the situation that a terminal in the central cloud era is only connected with one service node, when the terminal in the embodiment needs to acquire service, the terminal is connected with at least two edge service nodes in a distributed system, wherein one edge service node is a node for the terminal to acquire the service currently, and the node is marked as a target service node; while the other edge service nodes of the connection may be registered as backup service nodes.
Step S20, obtaining service through the target service node;
in the embodiment, the terminal can obtain the service through the target service cloud node; during which the terminal will remain connected to the standby service node.
And step S30, acquiring service through the standby service node under the condition that the target service node meets the preset condition.
In this embodiment, when the target service node meets the preset condition, the terminal performs switching of the service node, and obtains a service through the standby service node. The preset condition (that is, the condition for switching the nodes) may be set according to an actual situation, for example, when it is detected that the target service node fails or is offline, the service is obtained through the standby service node; for another example, when it is detected that the data feedback duration of the target service node is greater than a certain duration threshold, or the node network delay is greater than a certain delay threshold, the service is acquired through the standby service node. Therefore, when the service cannot be acquired through the target service node or the service acquisition speed is too low, the terminal can quickly acquire the service from the standby service node, and the perception of upper-layer services is favorably realized.
The terminal of the embodiment establishes connection with at least two edge service nodes included in the distributed cloud system, wherein the at least two edge service nodes include a target service node and a standby service node; acquiring service through the target service node; and acquiring service through the standby service node under the condition that the target service node meets the preset condition. Through the method, the terminal can be simultaneously connected with a plurality of edge service nodes in a distributed cloud scene; when the target service node has a problem, the node can be switched quickly, the standby service node acquires the service, the requirement of the terminal for acquiring the service quickly is met, the service efficiency and the service quality are improved, and the realization of no perception of upper-layer services is facilitated.
Based on the first embodiment of the distributed cloud-based service acquisition method, a second embodiment of the distributed cloud-based service acquisition method is provided.
In this embodiment, the distributed cloud system further includes a control center, and before step S10, the method further includes:
sending service request information to the control center;
in this embodiment, when the terminal needs to acquire a service, the terminal may first send service request information to the control center of the distributed cloud system. The service request information may include terminal location information, requirement information, identity information (e.g., terminal ID, user account ID), and the like of the terminal.
Receiving available node information sent by the control center, wherein the available node information represents available edge service nodes in the distributed cloud system;
in this embodiment, after receiving the service request information sent by the terminal, the control center confirms a target service corresponding to the service request information; meanwhile, the control center acquires the state information of the edge service nodes, and is used for identifying and screening a plurality of edge service nodes to determine a proper service node for the terminal to access, so that the operation efficiency of the terminal is improved. Wherein, the determined service node can be marked as an available edge service node. After determining the available edge service node, the control center generates corresponding available node information, and sends the available node information to the terminal, where the available node information is used to characterize the available edge service node, and for example, the available node information may include information such as an IP address of the edge service node, a node type, a service type, a location area of an edge service node entity device (server), and the like. And the terminal can receive the available node information sent by the control center.
Further, the process of determining available edge service nodes and generating corresponding available node information by the control center may be implemented based on the content such as the terminal location information and the demand information. Specifically, in some embodiments, the closer the physical distance between the terminal and the available edge service node is, the more beneficial the data interaction speed between the terminal and the available edge service node is (reducing network delay), so that the control center can screen out the edge service node near the terminal position (for example, in a range with the terminal as a center of circle and a radius of 2 km) as the available edge service node according to the terminal position information and the information of the area where each edge service node entity device is located, and generate corresponding available node information. In other embodiments, different edge service nodes provide different service types, so that an available edge service node may be determined according to a requirement type of a terminal, a node type and a service type of each edge service node, and corresponding available node information may be generated. In addition, the control center may also determine a corresponding available edge service node according to the identity information, for example, the identity information includes a user account ID, and when the terminal is determined to be the target user according to the user account ID, the edge service node with more sufficient computing resources may be used as the available edge service node, and generate corresponding available node information, so as to ensure the service quality of the target user as much as possible. Of course, the above-mentioned exemplary implementations may be used in combination, and are not limited in this embodiment.
The step S10 includes:
and establishing connection with at least two available edge service nodes according to the available node information.
When the terminal receives the available node information sent by the control center, the connection can be established with at least two available edge service nodes according to the available node information. It should be noted that the number of available edge service nodes to which the terminal is actually connected may be less than the number of available edge service nodes represented by the available node information. For example, the available node information sent by the control center is used to characterize 5 available edge service nodes, and when the terminal is connected, the terminal is connected with 4 available edge service nodes; of course, in other embodiments, all 5 available edge service nodes may be connected. After establishing connection with at least two available edge service nodes, the terminal can select one of the available edge service nodes as a target service node, and then obtains service through the target service node. Wherein the manner of selection may be random selection; the network delay with each available edge service node can be detected, and then the available edge service node with the lowest network delay is selected as a target service node; in addition, other selection manners are also possible, and the embodiment is not limited.
Through the method, when the terminal needs service, the terminal can acquire the available node information by sending the service request information to the control center and then is connected with at least two available edge service nodes based on the available node information so as to realize node switching in the following process.
Based on the first embodiment of the distributed cloud-based service acquisition method, a third embodiment of the distributed cloud-based service acquisition method is provided.
In this embodiment, the step S10 includes:
establishing connection with the target service node, and receiving group node information sent by the target service node;
in this embodiment, the distributed cloud system includes a control center, and the control center may group each edge service node in advance according to information such as an IP address, a node type, a service type, a location area of an edge service node entity device (server), and the like of each edge service node. For example, 3 edge service nodes providing F1 service are defined as an A1 group, and 4 edge service nodes providing F2 service are defined as an A2 group. For another example, 3 edge service nodes in the D1 area are taken as an A3 group, and 4 edge service nodes in the D2 area are taken as an A4 group; of course, the grouping may be performed based on only one item of node information as described above, or may be performed in combination with a plurality of items of node information, for example, in combination with a service type and area information (an area where the node device is located). When the grouping is completed, the control device may send corresponding group node information to each edge service node, which is used to characterize nodes of the same grouping, for example, for the A1 group including the edge service nodes a11, a12, and a13, the control center may send the group node information of the A1 group to the edge service nodes a11, a12, and a 13.
When the terminal needs to be served, the terminal can be connected with a certain edge service node, the edge service node is marked as a target service node, and then the terminal obtains the service through the target service node. After the connection with the target service node is established, the target service node sends the corresponding group node information to the terminal; and the terminal may receive the set of node information.
And determining the standby service node according to the group node information, and establishing connection with the standby service node.
The terminal can determine other edge service nodes in the same group with the target service node according to the group node information sent by the target service node; and the other edge service nodes in the same group with the target service node can be used as standby service nodes and establish connection with the standby service nodes. For example, the terminal establishes a connection before the target service node a11, and determines the edge service nodes a12 and a13 in the same group according to the group node information sent by a11, and then the terminal may use and connect the edge service nodes a12 and a13 in the same group as the standby service nodes. Of course, in other embodiments, the terminal may also use only one edge service node or a part of edge service nodes in the same group as the standby service node and perform connection, which is not limited in this embodiment.
Through the method, when the terminal needs service, the terminal can be connected with a target service node firstly, and then the terminal is connected with the standby service node according to the group node information fed back by the target service node, so that node switching can be realized subsequently.
Based on any one of the first to third embodiments of the distributed cloud-based service acquisition method, a fourth embodiment of the distributed cloud-based service acquisition method is provided.
In this embodiment, the number of the standby service nodes is more than two.
Before the step S30, the method includes:
respectively obtaining the quality information of the standby nodes of the standby service nodes, carrying out priority sequencing on the standby service nodes according to the quality information of the standby nodes, and determining the standby service node with the highest priority as a reference standby node;
in this embodiment, the number of the standby service nodes connected to the terminal is two or more; that is, the terminal is connected with more than three edge service nodes simultaneously, wherein the edge service nodes comprise a target service node and more than two edge service nodes. For these standby service nodes, the terminal may obtain the standby node quality information of these standby service nodes, for example, the contents include network delay, node response speed, data packet loss rate, and the like of the standby service nodes. Then, priority ranking can be performed on each standby service node according to the quality information of the standby service node, that is, a priority queue of one standby service node is maintained, wherein the better the node quality of the standby service node is (for example, the lower the network delay is, the faster the node response speed is, and the lower the data packet loss rate is), the higher the priority is, the earlier the corresponding queue sequence is; and for the standby service node with the highest priority (queue ordering is the top), the reference standby node can be determined.
Further, in some embodiments, the prioritization for the standby service nodes may be dynamically variable. Specifically, when a preset time interval elapses, for example, every 5 minutes, the terminal may obtain the quality information of the standby nodes of the standby service nodes again, so as to update the priority ranking according to the obtained quality information of the standby nodes. Through the method, the node quality of the standby service node can be periodically detected, and the priority sequence of the service node can be dynamically adjusted according to the change of the node quality.
The step S30 includes:
and acquiring service through the reference standby node under the condition that the target service node meets the preset condition.
In this embodiment, when the target service node meets the preset condition, the reference standby node obtains the service, and at this time, the reference standby node may be marked as a new target service node. For example, when a target service node is detected to be out of order or offline, service is acquired by referring to the standby node; for another example, when it is detected that the data feedback duration of the target service node is greater than a certain duration threshold, or the node network delay is greater than a certain delay threshold, the service is acquired by referring to the standby node. Further, when the service is acquired by the reference standby node, for other standby service nodes in the priority queue, priority ranking can be performed again according to the quality information of the standby nodes, and a new reference standby node is determined again.
Through the mode, when the number of the standby service nodes is more than two, the priority of node switching can be determined based on the node quality of the standby service nodes, and when the target service node meets the preset condition, the standby service nodes with better node quality are preferentially switched to obtain services, so that the service quality is favorably improved.
Referring to fig. 3, fig. 3 is a functional module schematic diagram of an embodiment of the device for acquiring a service based on a distributed cloud according to the present invention.
In this embodiment, the device for acquiring a service based on a distributed cloud includes:
a connection establishing module 10, configured to establish a connection with at least two edge service nodes included in a distributed cloud system, where the at least two edge service nodes include a target service node and a standby service node;
a first obtaining module 20, configured to obtain a service through the target service node;
a second obtaining module 30, configured to obtain a service through the standby service node when the target service node meets a preset condition.
Further, the distributed cloud system further includes a control center, and the distributed cloud-based service acquisition apparatus further includes:
the request sending module is used for sending service request information to the control center;
an information receiving module, configured to receive available node information sent by the control center, where the available node information represents available edge service nodes in the distributed cloud system, and the number of the available edge service nodes is at least two;
the connection establishing module 10 is further configured to establish a connection with at least two available edge service nodes according to the available node information.
Further, the service request information includes terminal location information and/or requirement information of the terminal, and the available node information is determined by the control center according to the terminal location information and/or the requirement information.
Further, the connection establishing module 10 is further configured to establish a connection with the target service node, and receive group node information sent by the target service node; and determining the standby service node according to the group node information, and establishing connection with the standby service node.
Further, the second obtaining module 30 is further configured to obtain a service through the standby service node when the target service node fails or is offline.
Further, the number of the standby service nodes is two or more, and the distributed cloud-based service acquisition apparatus further includes:
the node determination module is used for respectively acquiring the quality information of the standby nodes of the standby service nodes, carrying out priority sequencing on the standby service nodes according to the quality information of the standby nodes and determining the standby service node with the highest priority as a reference standby node;
the second obtaining module 30 is further configured to obtain a service through the reference standby node when the target service node meets a preset condition.
Further, the distributed cloud-based service acquisition apparatus further includes:
and the sequencing updating module is used for respectively acquiring the quality information of the standby nodes of the standby service nodes again under the condition of passing through a preset time interval so as to update the priority sequencing according to the acquired quality information of the standby nodes again.
Each module in the service acquisition device based on the distributed cloud corresponds to each step in the embodiment of the service acquisition method based on the distributed cloud, and the functions and the implementation process of the service acquisition device based on the distributed cloud are not described in detail herein.
In addition, the embodiment of the invention also provides a computer readable storage medium.
The computer readable storage medium of the present invention stores a distributed cloud-based service acquisition program, wherein when the distributed cloud-based service acquisition program is executed by a processor, the steps of the distributed cloud-based service acquisition method as described above are implemented.
The method for implementing the service acquisition program based on the distributed cloud when executed may refer to each embodiment of the service acquisition method based on the distributed cloud of the present invention, and details thereof are not repeated herein.
It is noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system 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 system. Without further limitation, an element defined by the phrase "comprising a … …" does not exclude the presence of another identical element in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The application is operational with numerous general purpose or special purpose computing system environments or configurations. For example: personal computers, server computers, hand-held or portable devices, tablet-type devices, multiprocessor systems, microprocessor-based systems, set top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments that include any of the above systems or devices, and the like. The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A service acquisition method based on distributed cloud is characterized in that the service acquisition method based on distributed cloud is applied to a terminal, and the service acquisition method based on distributed cloud comprises the following steps:
establishing connection with at least two edge service nodes included in the distributed cloud system, wherein the at least two edge service nodes include a target service node and a standby service node;
acquiring service through the target service node;
and acquiring service through the standby service node under the condition that the target service node meets the preset condition.
2. The distributed cloud based service acquisition method of claim 1, wherein the distributed cloud system further comprises a control center,
before the step of establishing a connection with at least two edge service nodes included in the distributed cloud system, the method further includes:
sending service request information to the control center;
receiving available node information sent by the control center, wherein the available node information represents available edge service nodes in the distributed cloud system, and the number of the available edge service nodes is at least two;
the step of establishing connection with at least two edge service nodes included in the distributed cloud system includes:
and establishing connection with at least two available edge service nodes according to the available node information.
3. The distributed cloud-based service acquisition method according to claim 2, wherein the service request information includes terminal location information and/or demand information of the terminal, and the available node information is determined by the control center according to the terminal location information and/or demand information.
4. The distributed cloud-based service acquisition method according to claim 1, wherein the step of establishing connection with at least two edge service nodes included in the distributed cloud system includes:
establishing connection with the target service node, and receiving group node information sent by the target service node;
and determining the standby service node according to the group node information, and establishing connection with the standby service node.
5. The distributed cloud-based service acquisition method according to claim 1, wherein the step of acquiring a service through the standby service node when the target service node meets a preset condition includes:
and acquiring service through the standby service node under the condition that the target service node fails or is offline.
6. The distributed cloud based service acquisition method according to any one of claims 1 to 5, wherein the number of the standby service nodes is two or more,
the method comprises the following steps that when the target service node meets the preset condition, the step of obtaining the service through the standby service node is preceded:
respectively acquiring the quality information of the standby nodes of the standby service nodes, carrying out priority sequencing on the standby service nodes according to the quality information of the standby nodes, and determining the standby service node with the highest priority as a reference standby node;
the step of obtaining service through the standby service node when the target service node meets the preset condition includes:
and acquiring service through the reference standby node under the condition that the target service node meets the preset condition.
7. The distributed cloud-based service acquisition method according to claim 6, wherein after the step of respectively acquiring quality information of the standby nodes of the standby service nodes to prioritize the standby service nodes according to the quality information of the standby nodes, the method further comprises:
and under the condition of passing a preset time interval, respectively acquiring the quality information of the standby nodes of the standby service nodes again, so as to update the priority sequence according to the acquired quality information of the standby nodes again.
8. A distributed cloud based service acquisition apparatus, comprising:
the system comprises a connection establishing module, a data processing module and a data processing module, wherein the connection establishing module is used for establishing connection with at least two edge service nodes included in a distributed cloud system, and the at least two edge service nodes comprise a target service node and a standby service node;
a first obtaining module, configured to obtain a service through the target service node;
and the second acquisition module is used for acquiring service through the standby service node under the condition that the target service node meets the preset condition.
9. A distributed cloud-based service acquisition terminal, comprising a processor and a memory, wherein the memory stores a distributed cloud-based service acquisition program, and when the processor executes the distributed cloud-based service acquisition program, the distributed cloud-based service acquisition terminal implements the steps of the distributed cloud-based service acquisition method according to any one of claims 1 to 7.
10. A computer-readable storage medium, having a distributed cloud based service acquisition program stored thereon, wherein the distributed cloud based service acquisition program, when executed by a processor, implements the steps of the distributed cloud based service acquisition method according to any one of claims 1 to 7.
CN202210545221.1A 2022-05-19 2022-05-19 Service acquisition method, device, terminal and storage medium based on distributed cloud Pending CN115277377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210545221.1A CN115277377A (en) 2022-05-19 2022-05-19 Service acquisition method, device, terminal and storage medium based on distributed cloud

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210545221.1A CN115277377A (en) 2022-05-19 2022-05-19 Service acquisition method, device, terminal and storage medium based on distributed cloud

Publications (1)

Publication Number Publication Date
CN115277377A true CN115277377A (en) 2022-11-01

Family

ID=83759600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210545221.1A Pending CN115277377A (en) 2022-05-19 2022-05-19 Service acquisition method, device, terminal and storage medium based on distributed cloud

Country Status (1)

Country Link
CN (1) CN115277377A (en)

Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080101218A1 (en) * 2005-06-23 2008-05-01 Lei Wenyang Method and device for implementing active/standby gateway device in a network
US20140047116A1 (en) * 2012-08-09 2014-02-13 International Business Machines Corporation Service management modes of operation in distributed node service management
CN104735088A (en) * 2015-04-16 2015-06-24 北京金山安全软件有限公司 Server node adjusting method and device in CDN (content delivery network)
CN105516292A (en) * 2015-12-03 2016-04-20 国家电网公司 Hot standby method of cloud platform of intelligent substation
US20160314050A1 (en) * 2014-01-16 2016-10-27 Hitachi, Ltd. Management system of server system including a plurality of servers
CN108040108A (en) * 2017-12-11 2018-05-15 杭州电魂网络科技股份有限公司 Communication handover method, device, coordination service device and readable storage medium storing program for executing
US20190229978A1 (en) * 2018-01-24 2019-07-25 Hewlett Packard Enterprise Development Lp Designation of a standby node
CN110286852A (en) * 2019-05-20 2019-09-27 平安科技(深圳)有限公司 Dual control framework distributed memory system, method for reading data, device and storage medium
CN110868327A (en) * 2019-11-28 2020-03-06 武汉极意网络科技有限公司 Behavior verification control method, behavior verification control device, behavior verification control equipment and storage medium
CN110890980A (en) * 2019-11-15 2020-03-17 深圳明心科技有限公司 Method, device, server and system for switching main terminal and standby terminal
CN111866094A (en) * 2020-07-01 2020-10-30 天津联想超融合科技有限公司 Timed task processing method, node and computer readable storage medium
CN111866054A (en) * 2019-12-16 2020-10-30 北京小桔科技有限公司 Cloud host building method and device, electronic equipment and readable storage medium
WO2020222683A1 (en) * 2019-04-30 2020-11-05 Telefonaktiebolaget Lm Ericsson (Publ) Load balancing systems and methods
CN112190924A (en) * 2020-12-04 2021-01-08 腾讯科技(深圳)有限公司 Data disaster tolerance method, device and computer readable medium
CN112738448A (en) * 2020-12-29 2021-04-30 帜扬信通科技股份有限公司 MCU switching system based on E1 private line and communication method thereof
CN112787855A (en) * 2020-12-29 2021-05-11 中国电力科学研究院有限公司 Main/standby management system and management method for wide area distributed service
CN113127168A (en) * 2021-04-07 2021-07-16 深圳希施玛数据科技有限公司 Service distribution method, system, device, server and medium
CN113612854A (en) * 2021-08-16 2021-11-05 中国联合网络通信集团有限公司 Communication method, server and terminal based on block chain
CN215120825U (en) * 2021-07-16 2021-12-10 广州高谱技术有限公司 Redundant data acquisition system
WO2022037171A1 (en) * 2020-08-20 2022-02-24 苏州浪潮智能科技有限公司 Data request method, device and medium

Patent Citations (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080101218A1 (en) * 2005-06-23 2008-05-01 Lei Wenyang Method and device for implementing active/standby gateway device in a network
US20140047116A1 (en) * 2012-08-09 2014-02-13 International Business Machines Corporation Service management modes of operation in distributed node service management
US20160314050A1 (en) * 2014-01-16 2016-10-27 Hitachi, Ltd. Management system of server system including a plurality of servers
CN104735088A (en) * 2015-04-16 2015-06-24 北京金山安全软件有限公司 Server node adjusting method and device in CDN (content delivery network)
CN105516292A (en) * 2015-12-03 2016-04-20 国家电网公司 Hot standby method of cloud platform of intelligent substation
CN108040108A (en) * 2017-12-11 2018-05-15 杭州电魂网络科技股份有限公司 Communication handover method, device, coordination service device and readable storage medium storing program for executing
US20190229978A1 (en) * 2018-01-24 2019-07-25 Hewlett Packard Enterprise Development Lp Designation of a standby node
WO2020222683A1 (en) * 2019-04-30 2020-11-05 Telefonaktiebolaget Lm Ericsson (Publ) Load balancing systems and methods
CN110286852A (en) * 2019-05-20 2019-09-27 平安科技(深圳)有限公司 Dual control framework distributed memory system, method for reading data, device and storage medium
CN110890980A (en) * 2019-11-15 2020-03-17 深圳明心科技有限公司 Method, device, server and system for switching main terminal and standby terminal
CN110868327A (en) * 2019-11-28 2020-03-06 武汉极意网络科技有限公司 Behavior verification control method, behavior verification control device, behavior verification control equipment and storage medium
CN111866054A (en) * 2019-12-16 2020-10-30 北京小桔科技有限公司 Cloud host building method and device, electronic equipment and readable storage medium
CN111866094A (en) * 2020-07-01 2020-10-30 天津联想超融合科技有限公司 Timed task processing method, node and computer readable storage medium
WO2022037171A1 (en) * 2020-08-20 2022-02-24 苏州浪潮智能科技有限公司 Data request method, device and medium
CN112190924A (en) * 2020-12-04 2021-01-08 腾讯科技(深圳)有限公司 Data disaster tolerance method, device and computer readable medium
CN112738448A (en) * 2020-12-29 2021-04-30 帜扬信通科技股份有限公司 MCU switching system based on E1 private line and communication method thereof
CN112787855A (en) * 2020-12-29 2021-05-11 中国电力科学研究院有限公司 Main/standby management system and management method for wide area distributed service
CN113127168A (en) * 2021-04-07 2021-07-16 深圳希施玛数据科技有限公司 Service distribution method, system, device, server and medium
CN215120825U (en) * 2021-07-16 2021-12-10 广州高谱技术有限公司 Redundant data acquisition system
CN113612854A (en) * 2021-08-16 2021-11-05 中国联合网络通信集团有限公司 Communication method, server and terminal based on block chain

Similar Documents

Publication Publication Date Title
CN110086636B (en) Message distribution method based on mqtt, server and storage medium
CN110311983B (en) Service request processing method, device and system, electronic equipment and storage medium
US20190268264A1 (en) Topology Aware Load Balancing Engine
CN113783922A (en) Load balancing method, system and device
CN111431730B (en) Service processing method, system, computer equipment and readable medium
CN113132434B (en) Distributed service processing method, device, equipment and storage medium
CN110781015A (en) Message queue distribution method, device, equipment and computer readable storage medium
CN115208812A (en) Service processing method and device, equipment and computer readable storage medium
CN109155939A (en) A kind of load migration method, apparatus and system
CN114302429A (en) NWDAF network element determination method, device, equipment and storage medium
CN112511868B (en) Video playing method and device, electronic equipment and computer storage medium
CN114327846A (en) Cluster capacity expansion method and device, electronic equipment and computer readable storage medium
WO2017133487A1 (en) Service scheduling method and device, and computer storage medium
CN115277377A (en) Service acquisition method, device, terminal and storage medium based on distributed cloud
CN113992448B (en) Data transparent transmission method, system, medium and computing device
CN107682271B (en) Method and device for generating routing line
JP6888478B2 (en) Sorting system
CN105681262A (en) Interaction message allocating method and system
CN112491066B (en) Load balancing method, device, system, target load balancing equipment and medium
CN115103007A (en) Service discovery method and device based on distributed cloud and readable storage medium
CN114024968A (en) Message sending method and device based on intermediate equipment and electronic equipment
CN112799849A (en) Data processing method, device, equipment and storage medium
CN113867946A (en) Method, device, storage medium and electronic equipment for accessing resources
CN113596119A (en) Edge capability distribution method, system, device and computer readable storage medium
CN108696598B (en) Method and device for transparently transmitting message received by stateless service through long connection under micro-service architecture

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