CN118118556A - Cloud mobile phone scheduling method, device, equipment and storage medium based on user request - Google Patents

Cloud mobile phone scheduling method, device, equipment and storage medium based on user request Download PDF

Info

Publication number
CN118118556A
CN118118556A CN202410276519.6A CN202410276519A CN118118556A CN 118118556 A CN118118556 A CN 118118556A CN 202410276519 A CN202410276519 A CN 202410276519A CN 118118556 A CN118118556 A CN 118118556A
Authority
CN
China
Prior art keywords
machine room
cloud mobile
mobile phone
determining
target
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
CN202410276519.6A
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.)
Guangzhou Duling Technology Co ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Guangzhou Duling Technology Co ltd
Beijing Baidu Netcom Science and 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 Guangzhou Duling Technology Co ltd, Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Guangzhou Duling Technology Co ltd
Priority to CN202410276519.6A priority Critical patent/CN118118556A/en
Publication of CN118118556A publication Critical patent/CN118118556A/en
Pending legal-status Critical Current

Links

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/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1013Network architectures, gateways, control or user entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/1063Application servers providing network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • 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/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications

Landscapes

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

Abstract

The disclosure provides a cloud mobile phone scheduling method, device, equipment and storage medium based on a user request, and relates to the technical field of computers, in particular to the field of cloud computing. The method is applied to PaaS architecture corresponding to a target machine room, wherein the target machine room is one machine room in a plurality of machine rooms, each PaaS architecture corresponds to each machine room, and the machine rooms comprise a plurality of cloud mobile phones; the method comprises the following steps: receiving a service request sent by a dispatching center; the dispatching center communicates with the PaaS architecture, wherein the service request is sent by the dispatching center, and the service request is sent to the PaaS architecture corresponding to the target machine room after the target machine room is determined from a plurality of preset machine rooms in response to the service request sent by a user through a client; the service request is used for requesting remote control of the cloud mobile phone; according to the service request, determining a target cloud mobile phone from a plurality of cloud mobile phones in a target machine room; constructing a plug flow service between a target cloud mobile phone and a client; the plug flow service is used for remotely controlling the target cloud mobile phone.

Description

Cloud mobile phone scheduling method, device, equipment and storage medium based on user request
Technical Field
The disclosure relates to the field of cloud computing in the field of computers, and in particular relates to a cloud mobile phone scheduling method, device, equipment and storage medium based on user requests.
Background
PaaS (Platform AS A SERVICE ) is applied to the cloud computing technology, and can manage a plurality of cloud mobile phones in a machine room, wherein the cloud mobile phones are devices configured in the machine room. PaaS can provide machine room management, device status monitoring, task scheduling, device connection, etc.
When the PaaS manages the cloud mobile phones in the multiple machine rooms, if the PaaS has a problem, the connection between the PaaS and each machine room is cut off, so that the cloud mobile phones in the machine rooms cannot be scheduled, and the scheduling safety and stability are poor.
Disclosure of Invention
The disclosure provides a cloud mobile phone scheduling method, device and equipment based on a user request and a storage medium.
According to a first aspect of the present disclosure, a cloud mobile phone scheduling method based on a user request is provided, and the method is applied to a platform corresponding to a target machine room, namely a service PaaS architecture, wherein the target machine room is one of a plurality of preset machine rooms, each PaaS architecture corresponds to each machine room, and the machine rooms comprise a plurality of cloud mobile phones; the method comprises the following steps:
Receiving a service request sent by a dispatching center; the scheduling center is in communication with the PaaS architecture, the service request is sent by the scheduling center, and the service request is sent to the PaaS architecture corresponding to the target machine room after determining the target machine room from a plurality of preset machine rooms in response to the service request sent by a user through a client; the service request is used for requesting remote control of the cloud mobile phone;
according to the service request, determining a target cloud mobile phone from a plurality of cloud mobile phones in the target machine room;
Constructing a plug flow service between the target cloud mobile phone and the client; the plug flow service is used for remotely controlling the target cloud mobile phone.
According to a second aspect of the present disclosure, a cloud mobile phone scheduling method based on a user request is provided, and the method is applied to a scheduling center, wherein the scheduling center communicates with platform as-a-service PaaS architectures, each PaaS architecture corresponds to each machine room, and the machine room comprises a plurality of cloud mobile phones; the method comprises the following steps:
responding to a service request sent by a user through a client, and determining a target machine room from a plurality of preset machine rooms; the service request is used for requesting remote control of the cloud mobile phone;
The service request is sent to the PaaS architecture corresponding to the target machine room; the business request is used for indicating to determine a target cloud mobile phone from a plurality of cloud mobile phones in the target machine room, and constructing a plug flow service between the target cloud mobile phone and the client, wherein the plug flow service is used for remotely controlling the target cloud mobile phone.
According to a third aspect of the present disclosure, a cloud mobile phone scheduling device based on a user request is provided, where the device is applied to a platform corresponding to a target machine room, namely a service PaaS architecture, where the target machine room is one of a plurality of preset machine rooms, each PaaS architecture corresponds to each machine room, and the machine rooms include a plurality of cloud mobile phones; the device comprises:
A request receiving unit, configured to receive a service request sent by a scheduling center; the scheduling center is in communication with the PaaS architecture, the service request is sent by the scheduling center, and the service request is sent to the PaaS architecture corresponding to the target machine room after determining the target machine room from a plurality of preset machine rooms in response to the service request sent by a user through a client; the service request is used for requesting remote control of the cloud mobile phone;
the cloud mobile phone determining unit is used for determining a target cloud mobile phone from a plurality of cloud mobile phones in the target machine room according to the service request;
The plug flow construction unit is used for constructing plug flow service between the target cloud mobile phone and the client; the plug flow service is used for remotely controlling the target cloud mobile phone.
According to a fourth aspect of the present disclosure, there is provided a cloud mobile phone scheduling device based on a user request, where the device is applied to a scheduling center, the scheduling center communicates with platform as-a-service PaaS architectures, each PaaS architecture corresponds to each machine room, and the machine room includes a plurality of cloud mobile phones; the device comprises:
the machine room determining unit is used for responding to a service request sent by a user through a client and determining a target machine room from a plurality of preset machine rooms; the service request is used for requesting remote control of the cloud mobile phone;
A request sending unit, configured to send the service request to a PaaS architecture corresponding to the target machine room; the business request is used for indicating to determine a target cloud mobile phone from a plurality of cloud mobile phones in the target machine room, and constructing a plug flow service between the target cloud mobile phone and the client, wherein the plug flow service is used for remotely controlling the target cloud mobile phone.
According to a fifth aspect of the present disclosure, there is provided an electronic device comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor;
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the methods of the first and second aspects.
According to a sixth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the methods of the first and second aspects.
According to a seventh aspect of the present disclosure, there is provided a computer program product comprising: a computer program which, when executed by a processor, implements the method of the first and second aspects.
According to the technology disclosed by the invention, the safety and stability of cloud mobile phone dispatching are improved.
It should be understood that the description in this section is not intended to identify key or critical features of the embodiments of the disclosure, nor is it intended to be used to limit the scope of the disclosure. Other features of the present disclosure will become apparent from the following specification.
Drawings
The drawings are for a better understanding of the present solution and are not to be construed as limiting the present disclosure. Wherein:
Fig. 1 is a diagram of a related art architecture between PaaS and a machine room;
Fig. 2 is a flow chart of a cloud mobile phone scheduling method based on a user request according to an embodiment of the disclosure;
Fig. 3 is an architecture diagram between a dispatch center and PaaS provided in accordance with an embodiment of the present disclosure;
fig. 4 is a flowchart of a cloud mobile phone scheduling method based on a user request according to an embodiment of the present disclosure;
Fig. 5 is a flowchart of a cloud mobile phone scheduling method based on a user request according to an embodiment of the present disclosure;
fig. 6 is a flowchart of a cloud mobile phone scheduling method based on a user request according to an embodiment of the present disclosure;
Fig. 7 is a block diagram of a cloud mobile phone scheduling device based on a user request according to an embodiment of the present disclosure;
fig. 8 is a block diagram of a cloud mobile phone scheduling device based on a user request according to an embodiment of the present disclosure;
fig. 9 is a block diagram of a cloud mobile phone scheduling device based on a user request according to an embodiment of the present disclosure;
FIG. 10 is a block diagram of an electronic device used to implement a user request based cloud handset scheduling method according to an embodiment of the disclosure;
fig. 11 is a block diagram of an electronic device used to implement a user request based cloud handset scheduling method according to an embodiment of the disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and should be considered as merely exemplary. Accordingly, one of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
The PaaS platform can provide services in different business scenarios, for example, in cloud games, web searching, marketing, etc. The PaaS can provide services such as machine room management, equipment management, virtualization configuration management, control node load balancing, equipment connection authentication, equipment state monitoring and the like for a machine room downwards, and can provide basic capabilities such as unified instance management, instance operation, task scheduling, standardized service, equipment connection and the like for a business layer of a client.
Currently, when dispatching a cloud mobile phone, the PaaS is a centralized deployment architecture for centralizing all machine rooms. Fig. 1 is a diagram of a related art architecture between PaaS and a machine room. In fig. 1, a centralized architecture is adopted, and PaaS is used as a centralized service, and is connected with each machine room. When a user sends a service request through a client, the service request is distributed to a cloud mobile phone of one of the machine rooms through the PaaS of the center, so that the service request is processed through the cloud mobile phone. However, the centralized architecture cannot solve the traffic burst problem caused by network jitter, the abrupt increase of the failure traffic of a single room may cause the whole service avalanche, and the security and stability of the architecture cannot be ensured. Even if the main and standby services are set for the PaaS of the center, the resource utilization rate is low, one set of services in the main and standby services can be in an idle state, the effective time of the main and standby switching time domain name analysis is longer, and the scheduling efficiency of the cloud mobile phone is lower.
The disclosure provides a cloud mobile phone scheduling method, device, equipment and storage medium based on a user request, which are applied to the cloud computing field in the computer field to improve the security and stability of scheduling.
Note that, the data in this embodiment is not specific to a specific user, and cannot reflect personal information of a specific user. It should be noted that, the data in this embodiment comes from the public data set.
In the technical scheme of the disclosure, the related processes of collecting, storing, using, processing, transmitting, providing, disclosing and the like of the personal information of the user accord with the regulations of related laws and regulations, and the public order colloquial is not violated.
In order for the reader to more fully understand the principles of the implementations of the present disclosure, the embodiments are now further refined in conjunction with the following fig. 2-11.
Fig. 2 is a flow chart of a cloud mobile phone scheduling method based on a user request, where the method is applied to PaaS architecture corresponding to a target machine room, the target machine room is one of a plurality of preset machine rooms, each PaaS architecture corresponds to each machine room, and the machine rooms include a plurality of cloud mobile phones. The method can be executed by a cloud mobile phone scheduling device based on a user request. As shown in fig. 2, the method comprises the steps of:
S201, receiving a service request sent by a dispatching center; the scheduling center communicates with the PaaS architecture, wherein the service request is sent by the scheduling center, and the service request is sent to the PaaS architecture corresponding to the target machine room after the target machine room is determined from a plurality of preset machine rooms in response to the service request sent by a user through a client; the service request is used for requesting remote control of the cloud mobile phone.
In the connection relationship between PaaS and machine rooms, central PaaS centralized service is removed, and each machine room is provided with a separate PaaS architecture, that is, each machine room can manage its own internal cloud mobile phone. A new dispatch center is added, and the dispatch center can communicate with each PaaS architecture.
When the user needs to use the cloud mobile phone, a service request can be sent through the client, wherein the service request indicates that the user requests to remotely control the cloud mobile phone, for example, the user wants to access the cloud mobile phone, close the cloud mobile phone, and the like. And the dispatching center responds to the service request sent by the user through the client, and determines the target machine room from the preset plurality of machine rooms according to the service request. For example, the IP (Internet Protocol ) address of the user may be obtained from the service request, and the geographic location of each machine room may be determined, and the machine room closest to the IP address may be selected as the target machine room. And determining the PaaS architecture corresponding to the target machine room, sending the service request to the PaaS architecture corresponding to the target machine room, and dispatching the cloud mobile phone by the PaaS architecture corresponding to the target machine room. Namely, the PaaS architecture corresponding to the target machine room receives the service request sent by the dispatching center, and a cloud mobile phone is distributed from the target machine room to be used by the client to process the service request of the user.
In this embodiment, the determining, by the scheduling center, the target machine room from the preset multiple machine rooms in response to the service request sent by the user through the client may be refined as follows: the dispatching center responds to a service request sent by a user through a client, determines an IP address corresponding to the service request, and determines a target machine room from a plurality of preset machine rooms according to the IP address. For example, the service request may include an IP address, i.e., the IP address may be obtained from the service request. The IP address may represent the current geographic location of the client.
According to the IP address, determining the target machine room from the preset multiple machine rooms can be refined as follows: the position information of each machine room is stored in advance, and after the IP address is obtained, the position information of each machine room is obtained, and the position information can represent the geographic position of the machine room. And determining the target machine room from the preset multiple machine rooms according to the IP address and the position information of each machine room. For example, the distance between the client and the machine room may be determined according to the IP address and the location information of the machine room. And determining the target machine room from the preset multiple machine rooms according to the distance. For example, the distances may be sorted by size, and the machine room with the smallest distance may be determined as the target machine room.
When determining the target machine room from the preset multiple machine rooms according to the IP address, the current working state of each machine room can be determined, wherein the working state comprises an available state and a non-available state. And determining the machine room currently in the available state as a candidate machine room, and determining the target machine room from the candidate machine rooms according to the IP address. For example, the location information of the candidate machine room may be determined, and the candidate machine room closest to the client may be selected as the target machine room based on the IP address and the location information of the candidate machine room.
When the service request is sent to the PaaS architecture corresponding to the target machine room, a short connection between the dispatch center and the PaaS architecture corresponding to the target machine room can be established, and the service request is sent to the PaaS architecture corresponding to the target machine room through the short connection.
After receiving the service request, the PaaS architecture corresponding to the target machine room can send feedback information to the dispatching center, which indicates that the PaaS architecture itself successfully receives the service request. If the scheduling center does not receive the feedback information sent by the PaaS architecture corresponding to the target machine room within a preset time period, determining that the service request fails to be sent to the PaaS, and recording the number of times that the scheduling center fails to send the service request to the PaaS architecture. And presetting a frequency threshold, and if the number of times of failure is determined to reach the preset frequency threshold, updating the working state of the target machine room into a non-usable state, namely, determining the target machine room again. A new destination machine room may be determined from the plurality of machine rooms based again on the IP address. For example, the machine room that is the second closest to the client may be determined as the target machine room.
S202, determining a target cloud mobile phone from a plurality of cloud mobile phones in a target machine room according to the service request.
The cloud mobile phone is configured to be a target cloud mobile phone, and the cloud mobile phone is configured to be a target cloud mobile phone. And determining the target cloud mobile phone by the PaaS architecture corresponding to the target machine room.
For example, the PaaS architecture corresponding to the target machine room may obtain the current working state of each cloud mobile phone in the target machine room. The working states of the cloud mobile phone may include an idle state and an occupied state, the occupied state indicates that the cloud mobile phone is currently performing push service and cannot be used by other clients, and the idle state indicates that the cloud mobile phone can be used by the clients. And determining the cloud mobile phone in the idle state, and determining the target cloud mobile phone from the cloud mobile phones in the idle state. For example, a cloud mobile phone in an idle state may be randomly selected as the target cloud mobile phone, or the target cloud mobile phone may be determined in sequence according to the number of the cloud mobile phone.
In this embodiment, the PaaS architecture corresponding to the target machine room may determine the target cloud mobile phone pertinently according to the service request. The service request may include information such as a model number and an identifier of the client, and find whether one or more cloud mobile phones are used by the client from a plurality of cloud mobile phones in the target machine room, and determine the found cloud mobile phone as the target cloud mobile phone. The method can be used for searching according to the historical use log of the cloud mobile phone, and the use condition of the cloud mobile phone in the historical time period is recorded in the historical use log. For example, the historical usage log may include a client model number, an identifier, etc. that has established a plug-flow service with the cloud handset.
S203, constructing a plug flow service between the target cloud mobile phone and the client; the plug flow service is used for remotely controlling the target cloud mobile phone.
For example, after determining the target cloud mobile phone, a push service between the target cloud mobile phone and the client is constructed, and the push service can be used for the client to remotely control the target cloud mobile phone. That is, the client can control the target cloud mobile phone through the push service, and perform operations such as access to the target cloud mobile phone. In this embodiment, the construction and use of the push service are not particularly limited.
In this embodiment, for each machine room subordinate to the dispatching center, a gray scale upgrade mode may be adopted to upgrade the version of the PaaS architecture corresponding to the machine room. The gray scale upgrading means that when the PaaS version of the machine room needs to be updated, whether the PaaS version corresponding to the machine room is an old version or not is determined, and if yes, the PaaS corresponding to one machine room is updated. And (3) performing trial operation on the updated P aaS for a period of time, and if no problem exists in the trial operation period, updating the versions of the PaaS architecture corresponding to other machine rooms.
Fig. 3 is a diagram of an architecture between a dispatch center and PaaS provided by an embodiment of the present disclosure. The dispatching center can be communicated with the PaaS of the machine room in the area A and also can be communicated with the PaaS of the machine room in the area B. In fig. 3, the target machine room is the a-zone machine room, i.e. the short connection between the dispatch center and PaaS of the B-zone machine room is broken. PaaS can perform operations such as cloud mobile phone distribution, plug flow service, request processing and the like, wherein the cloud mobile phone distribution is to determine a target cloud mobile phone, the plug flow service is to control the target cloud mobile phone by a client, and the request processing is to process an instruction in a service request.
In this embodiment, the method further includes: acquiring all identification information and operation information recorded in each cloud mobile phone of a target machine room; and according to a preset communication protocol, all the identification information and the operation information recorded in each cloud mobile phone of the target machine room are sent to a dispatching center for storage.
Specifically, each cloud mobile phone in the machine room can record the use condition of the cloud mobile phone in real time, for example, identification information of a client connected with the cloud mobile phone and operation information of the client on the cloud mobile phone can be recorded in the cloud mobile phone. The information recorded by the cloud mobile phone can be determined as a historical usage log of the cloud mobile phone.
The PaaS architecture corresponding to the target machine room can acquire the historical use log recorded in each cloud mobile phone in the target machine room in real time or at regular time, namely, can acquire all the identification information and the operation information recorded by all the cloud mobile phones in the target machine room. A database may be provided in the PaaS architecture to store historical usage logs. The communication protocol between the PaaS architecture and the dispatch center may also be preset, for example, the preset communication protocol is HTTP (Hypertext Transfer Protocol ). According to a preset communication protocol, the PaaS architecture can send all acquired identification information and operation information to a dispatching center for storage. That is, the service related data in the cloud mobile phone is written back to the dispatching center through HTTP, and the dispatching center may be provided with a main database, a standby database, and the like to store the information transmitted from the PaaS architecture.
The cloud mobile phone information storage and backup method has the advantages that information in the cloud mobile phone is written back to the dispatching center through HTTP, storage and backup of the information are achieved, information loss caused by failure of the cloud mobile phone is avoided, and reliability of the whole framework is improved.
In the embodiment of the disclosure, a dispatching center is newly added, and each machine room corresponds to a PaaS architecture. The dispatching center is responsible for receiving the service request of the user, determining a target machine room from the multiple machine rooms, and sending the service request of the user to the PaaS architecture of the target machine room. After receiving the service request, the PaaS architecture determines a target cloud mobile phone according to the service request, and the determined target cloud mobile phone is a cloud mobile phone in a target machine room, so that a user can realize plug flow service to the target cloud mobile phone through a client. The PaaS centralized service of the center is removed, the problem of the whole service avalanche caused by the rapid increase of the fault flow of the single machine room is solved, the PaaS architecture is called by the intranet of the machine room, and the network jitter of different machine rooms is almost noninductive. The PaaS framework corresponding to the target machine room is used for processing related requests and services in the target machine room, pressure is shared to the PaaS of each machine room, and the safety and stability of cloud mobile phone dispatching are improved.
Fig. 4 is a flowchart of a cloud mobile phone scheduling method based on a user request according to an embodiment of the present disclosure.
In this embodiment, according to the service request, the target cloud mobile phone is determined from the plurality of cloud mobile phones in the target machine room, which may be thinned as: determining identification information of a client from a service request; according to the identification information of the client, determining a history cloud mobile phone from a plurality of cloud mobile phones in a target machine room; the history cloud mobile phone is provided with a user interface, wherein the user interface is used for receiving the operation information of the user interface, and the user interface is used for receiving the operation information of the user interface; and if the current working state of the history cloud mobile phone is an idle state, determining that the history cloud mobile phone is a target cloud mobile phone.
As shown in fig. 4, the method comprises the steps of:
S401, receiving a service request sent by a dispatching center; the scheduling center communicates with the PaaS architecture, wherein the service request is sent by the scheduling center, and the service request is sent to the PaaS architecture corresponding to the target machine room after the target machine room is determined from a plurality of preset machine rooms in response to the service request sent by a user through a client; the service request is used for requesting remote control of the cloud mobile phone.
For example, this step may refer to step S201, and will not be described in detail.
S402, determining the identification information of the client from the service request.
Illustratively, the client issues a service request, which may include identification information of the client. Each client corresponds to unique identification information, which may be used to represent the client. After receiving the service request, the PaaS architecture corresponding to the target machine room can directly obtain the identification information of the client from the service request.
S403, determining a history cloud mobile phone from a plurality of cloud mobile phones in a target machine room according to the identification information of the client; the history cloud mobile phone is provided with a user interface, wherein the user interface is used for displaying the operation information of the user interface, and the user interface is used for displaying the operation information of the user interface.
The target machine room includes a plurality of cloud mobile phones, and after the identification information of the client is obtained, one or more cloud mobile phones can be determined from the plurality of cloud mobile phones of the target machine room according to the identification information of the client and used as historical cloud mobile phones. The history cloud mobile phone stores identification information of the client and operation information of the client in a preset history time period, and the operation information characterizes the operation progress of the client for remotely controlling the history cloud mobile phone in the preset history time period. For example, the client plays a game on a cloud phone, where the progress of the game may be recorded.
That is, when a push service is performed between a client and a cloud mobile phone, the cloud mobile phone may record identification information of the client and an operation performed by the client on the cloud mobile phone. When the historical cloud mobile phones are determined, judging whether identification information of a client corresponding to a service request is recorded in each cloud mobile phone of a target machine room, if so, determining the cloud mobile phone as the historical cloud mobile phone, wherein operation information of the client is recorded in the historical cloud mobile phone; if not, determining that the history cloud mobile phone does not exist in the target machine room.
If the history cloud mobile phone does not exist in the target machine room, randomly selecting one cloud mobile phone in an idle state from the target machine room as the target cloud mobile phone; the target cloud mobile phone can also be determined according to the preset serial number sequence of the cloud mobile phone.
In this embodiment, the method further includes: according to a preset authentication rule, authenticating the identification information of the client; if the identification information of the client passes the authentication, determining a history cloud mobile phone from a plurality of cloud mobile phones in the target machine room according to the identification information of the client.
Specifically, an authentication rule is preset, and the authentication rule is used for authenticating the client and judging whether the client has authority to control the cloud mobile phone. Authentication can be performed according to the identification information of the client to obtain an authentication result. For example, the standard format of the identification information is set in the authentication rule, whether the format of the identification information of the client is a preset standard format is judged, and if yes, the authentication of the client is determined to pass; if not, determining that the authentication of the client is not passed.
If the authentication is determined to pass, a history cloud mobile phone can be determined from a plurality of cloud mobile phones in the target machine room according to the identification information of the client; if the authentication is determined not to pass, the follow-up step is not needed to be executed, the authentication failure information can be fed back to the dispatching center, and the dispatching center feeds back the authentication failure information to the client.
The cloud mobile phone scheduling method has the advantages that information safety of a user is guaranteed through authentication of the client, and safety of cloud mobile phone scheduling is improved.
In this embodiment, authentication processing is performed on identification information of a client according to a preset authentication rule, including: acquiring a preset identification information white list; the preset identification information white list comprises legal registered identification information; if the identification information of the client is in the preset identification information white list, determining that the identification information of the client passes authentication.
Specifically, an identification information white list is preset, wherein the identification information white list comprises legal registered identification information. When authentication is carried out, a preset identification information white list is obtained, whether the identification information of the client is in the preset identification information white list or not is judged, if yes, the identification information of the client is determined to be legal identification information, namely authentication is passed; if not, determining that the identification information authentication of the client is not passed.
The identification information blacklist may also be preset, where the identification information blacklist includes identification information that is not allowed to perform the push service. Judging whether the identification information of the client is in a preset identification information blacklist or not, if so, determining that the identification information authentication of the client is not passed; if not, determining that the identification information of the client passes authentication.
The cloud mobile phone scheduling method has the advantages that whether the identification information of the client is legal or not can be judged according to the preset identification information white list, the cloud mobile phone is prevented from being randomly scheduled, and the safety and reliability of scheduling are improved.
In this embodiment, authentication processing is performed on identification information of a client according to a preset authentication rule, including: acquiring the online time of the client corresponding to the identification information of the client; the online time of the client characterizes the time length from sending a service request to the current moment; if the online time of the client is smaller than a preset duration threshold, determining that the identification information authentication of the client passes.
Specifically, the service request may include a time of sending the service request, and when authentication is performed, the time of sending the service request may be obtained from the service request, and the online time of the client is determined according to the time of sending the service request and the current time. That is, the client online time may characterize the length of time the client spends from the time the service request was made to the current time.
Presetting a duration threshold, and comparing the online time of the client with the preset duration threshold. If the online time of the client is smaller than a preset duration threshold, determining that the identification information authentication of the client passes, and the client has permission to continue to operate; if the online time of the client is equal to or greater than a preset duration threshold, determining that the identification information authentication of the client is not passed, and performing no subsequent steps.
The cloud mobile phone scheduling method has the advantages that the online time of the client can be determined, whether the online time is overtime or not is judged, whether the client has permission to continue to operate is determined, and the scheduling safety of the cloud mobile phone is effectively improved.
S404, if the current working state of the history cloud mobile phone is an idle state, determining that the history cloud mobile phone is a target cloud mobile phone.
For example, if there is only one history cloud handset, the current working state of the history cloud handset is determined. If the working state is an idle state, the history cloud mobile phone is a target cloud mobile phone; if the working state is the occupied state, a cloud mobile phone in an idle state can be determined from cloud mobile phones except for the historical cloud mobile phone and used as a target cloud mobile phone. For example, a cloud mobile phone in an idle state can be randomly selected from a target machine room to serve as a target cloud mobile phone; and determining the next cloud mobile phone in the idle state as a target cloud mobile phone according to the preset serial number sequence of the cloud mobile phone.
If a plurality of history cloud mobile phones exist, the working states of the plurality of history cloud mobile phones are determined, and the history cloud mobile phones in an idle state are selected from the plurality of history cloud mobile phones and serve as target cloud mobile phones. If the current working states of a plurality of historical cloud mobile phones are idle states, one of the idle state historical cloud mobile phones can be randomly selected as a target cloud mobile phone.
In this embodiment, the history cloud mobile phone is preferentially allocated to the client, that is, the cloud mobile phone used by the previous client, so that the client can continue to operate according to the previous operation progress. And the distributed target cloud mobile phone is ensured to be in an idle state, the feasibility of the client side for carrying out the plug flow service is improved, and the user experience is improved.
In this embodiment, the method further includes: if the current working state of the historical cloud mobile phone is an occupied state, determining the cloud mobile phone in an idle state from cloud mobile phones except the historical cloud mobile phone in the target machine room as a candidate cloud mobile phone; determining a target cloud mobile phone from the candidate cloud mobile phones, and sending operation information of a client in the history cloud mobile phone in a preset history time period to the target cloud mobile phone.
Specifically, if the current working states of the historical cloud mobile phones in the target machine room are all occupied states, the working states of the cloud mobile phones except the historical cloud mobile phones in the target machine room are determined, and the cloud mobile phones in the idle states in the cloud mobile phones are determined to be candidate cloud mobile phones.
If only one candidate cloud mobile phone exists, the candidate cloud mobile phone is determined to be the target cloud mobile phone. If a plurality of candidate cloud mobile phones exist, the target cloud mobile phone can be determined from the candidate cloud mobile phones. For example, a random one of the candidate cloud handsets may be determined to be the target cloud handset. The operation information of the client in the historical time period is stored in the historical cloud mobile phone, and after the target cloud mobile phone is determined, the PaaS architecture can send the operation information of the client in the historical cloud mobile phone to the target cloud mobile phone, namely, the operation progress of the client can be recorded in the target cloud mobile phone. For example, the client uses the number 001 cloud mobile phone last time, and the number 002 cloud mobile phone is allocated to the client this time, so that the PaaS architecture can transfer the operation information on the number 001 cloud mobile phone to the number 002 cloud mobile phone, so that the client can continue to operate at the last time through the number 002 cloud mobile phone.
The beneficial effects of the arrangement are that the idle target cloud mobile phone is selected from the target machine room and distributed to the client, and the operation information of the client is recorded in the target cloud mobile phone, so that the client can continue to operate conveniently, and the operation experience of a user is improved.
In this embodiment, determining the target cloud mobile phone from the candidate cloud mobile phones includes: determining the current residual resources of the candidate cloud mobile phone; the current residual resources represent the currently available computing resources of the candidate cloud mobile phone; and determining the target cloud mobile phone from the candidate cloud mobile phones according to the current residual resources of the candidate cloud mobile phones.
Specifically, when the target cloud mobile phone is determined from the candidate cloud mobile phones, the current remaining resources of the candidate cloud mobile phones can be determined. The current remaining resources may characterize the computing resources currently available to the candidate cloud handset, e.g., the computing resources may be CPU utilization, memory occupancy, etc. And determining the candidate cloud mobile phone with the most current residual resources according to the current residual resources of the candidate cloud mobile phone, and determining the candidate cloud mobile phone as a target cloud mobile phone. For example, the candidate cloud mobile phones may be ranked according to the order of the current remaining resources from more to less, and the candidate cloud mobile phone ranked first is determined as the target cloud mobile phone.
The cloud mobile phone selection method has the beneficial effects that the candidate cloud mobile phone with the largest remaining available resources is selected as the target cloud mobile phone, the operation of the client can be supported by the target cloud mobile phone, the reliability of the client in pushing service is improved, and the user experience is improved.
S405, constructing a plug flow service between a target cloud mobile phone and a client; the plug flow service is used for remotely controlling the target cloud mobile phone.
For example, this step may refer to step S203, and will not be described in detail.
In the embodiment of the disclosure, a dispatching center is newly added, and each machine room corresponds to a PaaS architecture. The dispatching center is responsible for receiving the service request of the user, determining a target machine room from the multiple machine rooms, and sending the service request of the user to the PaaS architecture of the target machine room. After receiving the service request, the PaaS architecture determines a target cloud mobile phone according to the service request, and the determined target cloud mobile phone is a cloud mobile phone in a target machine room, so that a user can realize plug flow service to the target cloud mobile phone through a client. The PaaS centralized service of the center is removed, the problem that the sudden increase of the fault flow of the single machine room can cause the whole service avalanche is solved, the PaaS architecture is called by the machine room intranet, and the network jitter of different machine rooms is almost noninductive. The PaaS framework corresponding to the target machine room is used for processing related requests and services in the target machine room, pressure is shared to the PaaS of each machine room, and the safety and stability of cloud mobile phone dispatching are improved.
Fig. 5 is a flow chart of a cloud mobile phone scheduling method based on a user request, which is provided in an embodiment of the present disclosure, and the method is applied to a scheduling center, where the scheduling center communicates with PaaS architectures, each PaaS architecture corresponds to each machine room, and the machine room includes a plurality of cloud mobile phones. The method can be executed by a cloud mobile phone scheduling device based on a user request. As shown in fig. 5, the method comprises the steps of:
S501, responding to a service request sent by a user through a client, and determining a target machine room from a plurality of preset machine rooms; the service request is used for requesting remote control of the cloud mobile phone.
By way of example, a user may issue a request for a service via a client, e.g., the user may want to search for a question. The client needs to complete the requested search instruction through the cloud mobile phone, for example, the client needs to search through the remote control cloud mobile phone. That is, the service request may be used to request remote control of the cloud handset.
And the dispatching center receives the service request, and determines one machine room from a plurality of preset machine rooms as a target machine room. For example, the dispatch center may randomly determine one room as the target room. The current working state of each machine room can be determined, and the working state of the machine room can be an available state or a non-available state. The available status indicates that the machine room can be determined as the target machine room and the unavailable status indicates that the machine room cannot be determined as the target machine room. One target machine room may be randomly determined from the machine rooms in a usable state.
S502, sending a service request to a PaaS architecture corresponding to a target machine room; the business request is used for indicating to determine a target cloud mobile phone from a plurality of cloud mobile phones in a target machine room, and constructing a plug flow service between the target cloud mobile phone and the client, wherein the plug flow service is used for remotely controlling the target cloud mobile phone.
Each machine room is illustratively provided with its own PaaS architecture, and after determining the target machine room, the service request is sent to the PaaS architecture corresponding to the target machine room. The PaaS architecture corresponding to the target machine room determines a target cloud mobile phone from a plurality of cloud mobile phones in the target machine room, and constructs a plug flow service between the target cloud mobile phone and the client, so that the client can remotely control the target cloud mobile phone.
The pressure of the PaaS architecture can be reduced by adding the scheduling center, and the whole service breakdown caused by the failure of the centralized PaaS is avoided. The dispatching center has relatively simple work, mainly sends service requests to each machine room, supports the horizontal expansion of the machine room, meets the high-concurrency and high-availability service scene, and improves the dispatching stability.
In this embodiment, the PaaS architecture corresponding to the target machine room determines, according to the service request, a target cloud mobile phone from a plurality of cloud mobile phones in the target machine room, including: determining identification information of a client from a service request; according to the identification information of the client, determining a history cloud mobile phone from a plurality of cloud mobile phones in a target machine room; the history cloud mobile phone is provided with a user interface, wherein the user interface is used for receiving the operation information of the user interface, and the user interface is used for receiving the operation information of the user interface; and if the current working state of the history cloud mobile phone is an idle state, determining that the history cloud mobile phone is a target cloud mobile phone.
Before determining the historical cloud mobile phone, authentication processing can be performed on the identification information of the client according to a preset authentication rule; if the identification information of the client passes the authentication, determining a history cloud mobile phone from a plurality of cloud mobile phones in the target machine room according to the identification information of the client.
According to a preset authentication rule, authentication processing is carried out on the identification information of the client, and the authentication processing comprises the following steps: acquiring a preset identification information white list; the preset identification information white list comprises legal registered identification information; if the identification information of the client is in the preset identification information white list, determining that the identification information of the client passes authentication.
According to a preset authentication rule, authentication processing is performed on the identification information of the client, and the method can further comprise the following steps: acquiring the online time of the client corresponding to the identification information of the client; the online time of the client characterizes the time length from sending a service request to the current moment; if the online time of the client is smaller than a preset duration threshold, determining that the identification information authentication of the client passes.
In this embodiment, if the current working state of the history cloud mobile phone is an occupied state, determining the cloud mobile phone in an idle state from the cloud mobile phones except the history cloud mobile phone in the target machine room as a candidate cloud mobile phone; determining a target cloud mobile phone from the candidate cloud mobile phones, and sending operation information of a client in the history cloud mobile phone in a preset history time period to the target cloud mobile phone.
Determining a target cloud mobile phone from the candidate cloud mobile phones, comprising: determining the current residual resources of the candidate cloud mobile phone; the current residual resources represent the currently available computing resources of the candidate cloud mobile phone; and determining the target cloud mobile phone from the candidate cloud mobile phones according to the current residual resources of the candidate cloud mobile phones.
In this embodiment, all the identification information and the operation information recorded in each cloud mobile phone of the target machine room can also be obtained; and according to a preset communication protocol, all the identification information and the operation information recorded in each cloud mobile phone of the target machine room are sent to a dispatching center for storage.
In the embodiment of the disclosure, a dispatching center is newly added, and each machine room corresponds to a PaaS architecture. The dispatching center is responsible for receiving the service request of the user, determining a target machine room from the multiple machine rooms, and sending the service request of the user to the PaaS architecture of the target machine room. After receiving the service request, the PaaS architecture determines a target cloud mobile phone according to the service request, and the determined target cloud mobile phone is a cloud mobile phone in a target machine room, so that a user can realize plug flow service to the target cloud mobile phone through a client. The PaaS centralized service of the center is removed, the problem that the sudden increase of the fault flow of the single machine room can cause the whole service avalanche is solved, the PaaS architecture is called by the machine room intranet, and the network jitter of different machine rooms is almost noninductive. The PaaS framework corresponding to the target machine room is used for processing related requests and services in the target machine room, pressure is shared to the PaaS of each machine room, and the safety and stability of cloud mobile phone dispatching are improved.
Fig. 6 is a flowchart of a cloud mobile phone scheduling method based on a user request according to an embodiment of the present disclosure.
In this embodiment, in response to a service request sent by a user through a client, determining a target machine room from a plurality of preset machine rooms may be refined as follows: responding to a service request sent by a user through a client, and determining an Internet protocol address corresponding to the service request; wherein the internet protocol address characterizes the geographic location of the client; and determining the target machine room from the preset multiple machine rooms according to the internet protocol address.
As shown in fig. 6, the method comprises the steps of:
S601, responding to a service request sent by a user through a client, and determining an Internet protocol address corresponding to the service request; wherein the internet protocol address characterizes the geographic location of the client.
Illustratively, the dispatch center obtains the IP address of the client from the service request in response to the service request issued to the client, where the IP address may represent the geographic location of the client.
S602, determining a target machine room from a plurality of preset machine rooms according to the Internet protocol address.
For example, after obtaining the IP address, one machine room may be determined from a plurality of machine rooms as the target machine room according to the IP address. For example, the area where the client is located is determined according to the IP address, and the machine room in the area is taken as the target machine room. The method and the device realize the nearby distribution of the target machine room, avoid overlarge pressure of a certain machine room and improve the control efficiency between the cloud mobile phone and the client.
In this embodiment, determining, according to the internet protocol address, the target machine room from a plurality of preset machine rooms includes: determining position information of a machine room; the position information characterizes the geographic position of the machine room; and determining the target machine room from the preset multiple machine rooms according to the internet protocol address and the position information.
Specifically, different machine rooms can be arranged in different areas, and a dispatching center can store the areas of the machine rooms in advance. After receiving the service request, the position information of each machine room can be obtained, and the position information can represent the geographic position of the machine room, namely the region of the machine room. According to the IP address of the client and the position information of the machine room, the target machine room can be determined from a plurality of machine rooms. For example, location information corresponding to a region indicated by an IP address may be specified, and a machine room corresponding to the location information may be specified as a target machine room.
The cloud mobile phone scheduling system has the beneficial effects that the machine room which is scheduled preferentially is selected according to the geographic positions of the client side and the machine room, the machine room is allocated pertinently according to the region, the scheduling pressure of the cloud mobile phone is allocated to different machine rooms, and the scheduling stability of the cloud mobile phone is improved.
In this embodiment, determining, according to the internet protocol address and the location information, the target machine room from the preset plurality of machine rooms includes: determining the distance between the client and the machine room according to the Internet protocol address and the position information of the machine room; and determining the target machine room from the preset multiple machine rooms according to the distance.
Specifically, after determining the location information of each machine room, the distance between the client and the machine room may be determined according to the IP address of the client and the location information of the machine room. Each machine room may correspond to a distance. And sequencing the distances corresponding to the machine rooms from small to large, and determining the machine room arranged at the first position as a target machine room. That is, the closest machine room to the client is determined as the target machine room.
The cloud mobile phone in the machine room closest to the user is preferentially scheduled, the success rate of plug flow between the cloud mobile phone and the client is improved, and user experience is improved.
In this embodiment, determining, according to the internet protocol address, the target machine room from a plurality of preset machine rooms includes: determining the current working state of a machine room; wherein the working state comprises an available state and a non-available state; determining the machine room in the available state as a candidate machine room; and determining the target machine room from the candidate machine rooms according to the internet protocol addresses.
Specifically, the current working state of each machine room is determined, and the current working state of the machine room may be an available state or an unavailable state. The machine room in the available state is determined as a candidate machine room, i.e., the target machine room is not determined from the machine rooms in the unavailable state.
And determining the target machine room from the candidate machine rooms according to the IP addresses of the clients. For example, the location information of the candidate machine room may be determined, the distance between the client and the candidate machine room may be determined according to the IP address and the location information of the candidate machine room, and the candidate machine room closest to the client may be determined as the target machine room according to the size of the distance.
The cloud mobile phone scheduling method has the beneficial effects that through determining the working state of the machine room, the available machine room is distributed to the client, the scheduling efficiency and precision of the cloud mobile phone are improved, and the user experience is improved.
S603, sending the service request to the PaaS architecture corresponding to the target machine room; the business request is used for indicating to determine a target cloud mobile phone from a plurality of cloud mobile phones in a target machine room, and constructing a plug flow service between the target cloud mobile phone and the client, wherein the plug flow service is used for remotely controlling the target cloud mobile phone.
The scheduling center sends the service request to the PaaS architecture corresponding to the target machine room, the PaaS architecture corresponding to the target machine room determines the target cloud mobile phone from the plurality of cloud mobile phones in the target machine room, and constructs a push service between the target cloud mobile phone and the client to complete the scheduling process of the cloud mobile phone.
In this embodiment, sending the service request to the PaaS architecture corresponding to the target machine room includes: determining a PaaS architecture corresponding to the target machine room; and sending the service request to the PaaS architecture corresponding to the target machine room through the short connection between the dispatching center and the PaaS architecture corresponding to the target machine room.
Specifically, each machine room corresponds to its own PaaS architecture, and after determining the target machine room, the PaaS architecture corresponding to the target machine room may be determined. Each target machine room corresponds to a plurality of PaaS architectures, for example, a main architecture and a standby architecture may be corresponding. After the target machine room is determined, the main structure corresponding to the target machine room is preferentially determined. If the main framework fails, the standby framework corresponding to the target machine room can be determined.
Short connection can be adopted between the dispatching center and the PaaS architecture corresponding to the machine room, and after the PaaS architecture corresponding to the target machine room is determined, the short connection between the dispatching center and the PaaS architecture corresponding to the machine room is established. And sending the service request to the PaaS architecture corresponding to the target machine room through the established short connection. In this embodiment, the manner of establishing the short connection is not particularly limited.
The PaaS architecture has the beneficial effects that the PaaS architecture is called by the intranet of the machine room, the dispatching center is called by short connection with the machine room, the dispatching center has almost no sense on network jitter of the machine room, the network sensitivity is reduced, and the stability of calling of the cloud mobile phone is improved.
In this embodiment, the method further includes: if feedback information sent by the PaaS architecture corresponding to the target machine room is not received within a preset time period, determining that the service request is failed to send, and recording the number of times of failure in sending the service request to the PaaS architecture corresponding to the target machine room; the feedback information characterizes that the PaaS architecture successfully receives the service request; if the failure times reach the preset times threshold, the working state of the target machine room is updated to be in a non-usable state, and a new target machine room is determined from the multiple machine rooms according to the IP address.
Specifically, the PaaS architecture corresponding to the target machine room receives the service request sent by the dispatching center, and can send feedback information to the dispatching center, which indicates that the service request is successfully received. If the scheduling center does not receive the feedback information sent by the PaaS architecture corresponding to the target machine room within the preset time period, the failure of sending the service request to the PaaS architecture can be determined, and the number of times of failure of sending the service request to the PaaS architecture can be recorded.
And presetting a frequency threshold, and comparing the frequency of failure with the preset frequency threshold after updating the frequency of failure each time. If the failure times reach the preset times threshold, the working state of the target machine room is updated to be in a non-usable state, and a new target machine room is determined from the multiple machine rooms according to the IP address again, wherein the new target machine room is other machine rooms in usable states; if the number of failures does not reach the preset number of times threshold, the dispatching center continues to send the service request to the PaaS architecture of the target machine room until the number of failures reaches the number of times threshold, or receives feedback information sent by the PaaS architecture corresponding to the target machine room.
The service request sending method has the beneficial effects that a fusing mechanism is added for sending the service request to the machine room by the dispatching center, and if the number of times of failure in sending the service request to a certain machine room reaches the number threshold, the service request can not be sent to the machine room any more. For example, a machine room which is the second closest to the client can be found according to the IP address, and the service request is sent to the PaaS architecture corresponding to the second closest machine room, so that the stability of cloud mobile phone dispatching is improved.
In the embodiment of the disclosure, a dispatching center is newly added, and each machine room corresponds to a PaaS architecture. The dispatching center is responsible for receiving the service request of the user, determining a target machine room from the multiple machine rooms, and sending the service request of the user to the PaaS architecture of the target machine room. After receiving the service request, the PaaS architecture determines a target cloud mobile phone according to the service request, and the determined target cloud mobile phone is a cloud mobile phone in a target machine room, so that a user can realize plug flow service to the target cloud mobile phone through a client. The PaaS centralized service of the center is removed, the problem that the sudden increase of the fault flow of the single machine room can cause the whole service avalanche is solved, the PaaS architecture is called by the machine room intranet, and the network jitter of different machine rooms is almost noninductive. The PaaS framework corresponding to the target machine room is used for processing related requests and services in the target machine room, pressure is shared to the PaaS of each machine room, and the safety and stability of cloud mobile phone dispatching are improved.
Fig. 7 is a block diagram of a cloud mobile phone scheduling device based on a user request, where the device is applied to a platform corresponding to a target machine room, i.e. a service PaaS architecture, the target machine room is one of a plurality of preset machine rooms, each PaaS architecture corresponds to each machine room, and the machine rooms include a plurality of cloud mobile phones. For ease of illustration, only portions relevant to embodiments of the present disclosure are shown. Referring to fig. 7, a cloud handset scheduling apparatus 700 based on a user request includes: a request receiving unit 701, a cloud mobile phone determining unit 702, and a plug flow constructing unit 703.
A request receiving unit 701, configured to receive a service request sent by a scheduling center; the scheduling center is in communication with the PaaS architecture, the service request is sent by the scheduling center, and the service request is sent to the PaaS architecture corresponding to the target machine room after determining the target machine room from a plurality of preset machine rooms in response to the service request sent by a user through a client; the service request is used for requesting remote control of the cloud mobile phone;
A cloud mobile phone determining unit 702, configured to determine a target cloud mobile phone from a plurality of cloud mobile phones in the target machine room according to the service request;
A plug flow construction unit 703, configured to construct a plug flow service between the target cloud mobile phone and the client; the plug flow service is used for remotely controlling the target cloud mobile phone.
Fig. 8 is a block diagram of a cloud mobile phone scheduling device according to an embodiment of the present disclosure, and as shown in fig. 8, a cloud mobile phone scheduling device 800 according to a user request includes a request receiving unit 801, a cloud mobile phone determining unit 802, and a plug flow constructing unit 803, where the cloud mobile phone determining unit 802 includes an identification determining module 8021, a history determining module 8022, and a target determining module 8023.
An identification determining module 8021, configured to determine, from the service request, identification information of the client;
The history determining module 8022 is configured to determine a history cloud mobile phone from a plurality of cloud mobile phones in the target machine room according to the identification information of the client; the history cloud mobile phone is provided with a history cloud mobile phone, wherein the history cloud mobile phone is provided with identification information of the client and operation information of the client in a preset history time period, and the operation information characterizes the operation progress of the client for remotely controlling the history cloud mobile phone in the preset history time period;
the target determining module 8023 is configured to determine that the history cloud mobile phone is the target cloud mobile phone if the current working state of the history cloud mobile phone is an idle state.
In one example, further comprising:
the authentication processing unit is used for carrying out authentication processing on the identification information of the client according to a preset authentication rule;
And the authentication passing unit is used for determining a history cloud mobile phone from a plurality of cloud mobile phones in the target machine room according to the identification information of the client if the identification information of the client passes the authentication.
In one example, an authentication processing unit includes:
The list acquisition module is used for acquiring a preset identification information white list; the preset identification information white list comprises legal registered identification information;
The list judging module is used for determining that the identification information of the client passes authentication if the identification information of the client is in the preset identification information white list.
In one example, an authentication processing unit includes:
The time acquisition module is used for acquiring the online time of the client corresponding to the identification information of the client; the online time of the client characterizes the time length from sending a service request to the current moment;
And the time judging module is used for determining that the identification information of the client passes authentication if the online time of the client is smaller than a preset duration threshold.
In one example, further comprising:
the state judging unit is used for determining the cloud mobile phone in an idle state from the cloud mobile phones except the history cloud mobile phone in the target machine room as a candidate cloud mobile phone if the current working state of the history cloud mobile phone is an occupied state;
The information sending unit is used for determining a target cloud mobile phone from the candidate cloud mobile phones, and sending operation information of the client in the history cloud mobile phone in a preset history time period to the target cloud mobile phone.
In one example, an information transmitting unit includes:
The resource determining module is used for determining the current residual resources of the candidate cloud mobile phone; the current residual resources represent the currently available computing resources of the candidate cloud mobile phone;
and the resource judging module is used for determining a target cloud mobile phone from the candidate cloud mobile phones according to the current residual resources of the candidate cloud mobile phones.
In one example, further comprising:
The information acquisition unit is used for acquiring all the identification information and the operation information recorded in each cloud mobile phone of the target machine room;
and the information storage unit is used for sending all the identification information and the operation information recorded in each cloud mobile phone of the target machine room to the dispatching center for storage according to a preset communication protocol.
Fig. 9 is a block diagram of a cloud mobile phone scheduling device based on a user request, where the device is applied to a scheduling center, the scheduling center communicates with platform as-a-service PaaS architectures, each PaaS architecture corresponds to each machine room, and the machine room includes a plurality of cloud mobile phones. For ease of illustration, only portions relevant to embodiments of the present disclosure are shown. Referring to fig. 9, a cloud mobile scheduling apparatus 900 based on a user request includes: a machine room determination unit 901 and a request transmission unit 902.
A machine room determining unit 901, configured to determine a target machine room from a plurality of preset machine rooms in response to a service request sent by a user through a client; the service request is used for requesting remote control of the cloud mobile phone;
A request sending unit 902, configured to send the service request to a PaaS architecture corresponding to the target machine room; the business request is used for indicating to determine a target cloud mobile phone from a plurality of cloud mobile phones in the target machine room, and constructing a plug flow service between the target cloud mobile phone and the client, wherein the plug flow service is used for remotely controlling the target cloud mobile phone.
In one example, the machine room determining unit 901 includes:
the address determining module is used for responding to a service request sent by a user through a client and determining an Internet protocol address corresponding to the service request; wherein the internet protocol address characterizes a geographic location of the client;
and the machine room determining module is used for determining a target machine room from a plurality of preset machine rooms according to the internet protocol address.
In one example, the machine room determination module includes:
the position determining sub-module is used for determining the position information of the machine room; the position information characterizes the geographic position of the machine room;
And the machine room determining submodule is used for determining the target machine room from a plurality of preset machine rooms according to the internet protocol address and the position information.
In one example, the machine room determination submodule is specifically configured to:
Determining the distance between the client and the machine room according to the Internet protocol address and the position information of the machine room;
and determining the target machine room from the preset multiple machine rooms according to the distance.
In one example, the machine room determination module includes:
The state determination submodule is used for determining the current working state of the machine room; wherein the working state comprises an available state and a non-available state;
A first determining submodule, configured to determine a machine room in an available state as a candidate machine room;
and the second determining submodule is used for determining a target machine room from the candidate machine rooms according to the internet protocol address.
In one example, the request sending unit 902 includes:
the framework determining module is used for determining the PaaS framework corresponding to the target machine room;
And the short connection module is used for sending the service request to the PaaS architecture corresponding to the target machine room through short connection between the dispatching center and the PaaS architecture corresponding to the target machine room.
In one example, further comprising:
The frequency recording unit is used for determining that the service request is failed to be sent if the feedback information sent by the PaaS architecture corresponding to the target machine room is not received within a preset time period, and recording the frequency of failure to send the service request to the PaaS architecture corresponding to the target machine room; the feedback information characterizes successful receipt of the service request by the PaaS architecture;
And the frequency judging unit is used for updating the working state of the target machine room into a non-usable state if the number of times of failure reaches a preset frequency threshold value, and determining a new target machine room from the multiple machine rooms according to the IP address again.
According to an embodiment of the disclosure, the disclosure further provides an electronic device.
Fig. 10 is a block diagram of an electronic device, which may be a terminal device or a server, according to an embodiment of the present disclosure, where, as shown in fig. 10, an electronic device 1000 includes: at least one processor 1002; and a memory 1001 communicatively coupled to the at least one processor 1002; wherein the memory stores instructions executable by the at least one processor 1002 to enable the at least one processor 1002 to perform the user request based cloud handset scheduling method of the present disclosure.
The electronic device 1000 further comprises a receiver 1003 and a transmitter 1004. The receiver 1003 is configured to receive instructions and data transmitted from other devices, and the transmitter 1004 is configured to transmit instructions and data to external devices.
According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.
According to an embodiment of the present disclosure, the present disclosure also provides a computer program product comprising: a computer program stored in a readable storage medium, from which at least one processor of an electronic device can read, the at least one processor executing the computer program causing the electronic device to perform the solution provided by any one of the embodiments described above.
Fig. 11 illustrates a schematic block diagram of an example electronic device 1100 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular telephones, smartphones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 11, the apparatus 1100 includes a computing unit 1101 that can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM) 1102 or a computer program loaded from a storage unit 1108 into a Random Access Memory (RAM) 1103. In the RAM 1103, various programs and data required for the operation of the device 1100 can also be stored. The computing unit 1101, ROM 1102, and RAM 1103 are connected to each other by a bus 1104. An input/output (I/O) interface 1105 is also connected to bus 1104.
Various components in device 1100 are connected to I/O interface 1105, including: an input unit 1106 such as a keyboard, a mouse, etc.; an output unit 1107 such as various types of displays, speakers, and the like; a storage unit 1108, such as a magnetic disk, optical disk, etc.; and a communication unit 1109 such as a network card, modem, wireless communication transceiver, or the like. The communication unit 1109 allows the device 1100 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 1101 may be a variety of general purpose and/or special purpose processing components having processing and computing capabilities. Some examples of computing unit 1101 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, etc. The computing unit 1101 performs the various methods and processes described above, such as a cloud handset scheduling method based on user requests. For example, in some embodiments, the cloud handset scheduling method based on user requests may be implemented as a computer software program tangibly embodied on a machine-readable medium, such as storage unit 1108. In some embodiments, some or all of the computer programs may be loaded and/or installed onto device 1100 via ROM 1102 and/or communication unit 1109. When the computer program is loaded into the RAM 1103 and executed by the computing unit 1101, one or more steps of the cloud handset scheduling method described above based on the user request may be performed. Alternatively, in other embodiments, the computing unit 1101 may be configured to perform the cloud handset scheduling method based on user requests by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuit systems, field Programmable Gate Arrays (FPGAs), application Specific Integrated Circuits (ASICs), application Specific Standard Products (ASSPs), systems On Chip (SOCs), complex Programmable Logic Devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs, the one or more computer programs may be executed and/or interpreted on a programmable system including at least one programmable processor, which may be a special purpose or general-purpose programmable processor, that may receive data and instructions from, and transmit data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for carrying out methods of the present disclosure may be written in any combination of one or more programming languages. These program code may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus such that the program code, when executed by the processor or controller, causes the functions/operations specified in the flowchart and/or block diagram to be implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package, partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic input, speech input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a background component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such background, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), wide Area Networks (WANs), and the internet.
The computer system may include a client and a server. The client and server are typically remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical hosts and VPS service ("Virtual PRIVATE SERVER" or simply "VPS") are overcome. The server may also be a server of a distributed system or a server that incorporates a blockchain.
It should be appreciated that various forms of the flows shown above may be used to reorder, add, or delete steps. For example, the steps recited in the present disclosure may be performed in parallel or sequentially or in a different order, provided that the desired results of the technical solutions of the present disclosure are achieved, and are not limited herein.
The above detailed description should not be taken as limiting the scope of the present disclosure. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives are possible, depending on design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present disclosure are intended to be included within the scope of the present disclosure.

Claims (33)

1. The cloud mobile phone scheduling method based on the user request is applied to a platform corresponding to a target machine room, namely a service PaaS (platform as a service) framework, wherein the target machine room is one machine room of a plurality of preset machine rooms, each PaaS framework corresponds to each machine room, and the machine rooms comprise a plurality of cloud mobile phones; the method comprises the following steps:
Receiving a service request sent by a dispatching center; the scheduling center is in communication with the PaaS architecture, the service request is sent by the scheduling center, and the service request is sent to the PaaS architecture corresponding to the target machine room after determining the target machine room from a plurality of preset machine rooms in response to the service request sent by a user through a client; the service request is used for requesting remote control of the cloud mobile phone;
according to the service request, determining a target cloud mobile phone from a plurality of cloud mobile phones in the target machine room;
Constructing a plug flow service between the target cloud mobile phone and the client; the plug flow service is used for remotely controlling the target cloud mobile phone.
2. The method of claim 1, wherein the determining, according to the service request, a target cloud handset from a plurality of cloud handsets in the target room comprises:
Determining the identification information of the client from the service request;
According to the identification information of the client, determining a history cloud mobile phone from a plurality of cloud mobile phones in the target machine room; the history cloud mobile phone is provided with a history cloud mobile phone, wherein the history cloud mobile phone is provided with identification information of the client and operation information of the client in a preset history time period, and the operation information characterizes the operation progress of the client for remotely controlling the history cloud mobile phone in the preset history time period;
and if the current working state of the history cloud mobile phone is an idle state, determining that the history cloud mobile phone is the target cloud mobile phone.
3. The method of claim 2, further comprising:
According to a preset authentication rule, carrying out authentication processing on the identification information of the client;
and if the identification information of the client passes the authentication, determining a history cloud mobile phone from a plurality of cloud mobile phones in the target machine room according to the identification information of the client.
4. The method of claim 3, wherein the authenticating the identification information of the client according to the preset authentication rule includes:
Acquiring a preset identification information white list; the preset identification information white list comprises legal registered identification information;
if the identification information of the client is in the preset identification information white list, determining that the identification information of the client passes authentication.
5. The method of claim 3, wherein the authenticating the identification information of the client according to the preset authentication rule includes:
Acquiring the online time of the client corresponding to the identification information of the client; the online time of the client characterizes the time length from sending a service request to the current moment;
if the online time of the client is smaller than a preset duration threshold, determining that the identification information of the client passes authentication.
6. The method of any of claims 2-5, further comprising:
If the current working state of the historical cloud mobile phone is an occupied state, determining the cloud mobile phone in an idle state from the cloud mobile phones except the historical cloud mobile phone in the target machine room as a candidate cloud mobile phone;
determining a target cloud mobile phone from the candidate cloud mobile phones, and sending operation information of the client in the history cloud mobile phone in a preset history time period to the target cloud mobile phone.
7. The method of claim 6, wherein the determining a target cloud handset from the candidate cloud handsets comprises:
Determining the current residual resources of the candidate cloud mobile phone; the current residual resources represent the currently available computing resources of the candidate cloud mobile phone;
And determining a target cloud mobile phone from the candidate cloud mobile phones according to the current residual resources of the candidate cloud mobile phones.
8. The method of any of claims 1-7, further comprising:
acquiring all identification information and operation information recorded in each cloud mobile phone of the target machine room;
And according to a preset communication protocol, all the identification information and the operation information recorded in each cloud mobile phone of the target machine room are sent to the dispatching center for storage.
9. The cloud mobile phone scheduling method based on the user request is applied to a scheduling center, the scheduling center communicates with a platform as-a-service PaaS architecture, each PaaS architecture corresponds to each machine room, and the machine rooms comprise a plurality of cloud mobile phones; the method comprises the following steps:
responding to a service request sent by a user through a client, and determining a target machine room from a plurality of preset machine rooms; the service request is used for requesting remote control of the cloud mobile phone;
The service request is sent to the PaaS architecture corresponding to the target machine room; the business request is used for indicating to determine a target cloud mobile phone from a plurality of cloud mobile phones in the target machine room, and constructing a plug flow service between the target cloud mobile phone and the client, wherein the plug flow service is used for remotely controlling the target cloud mobile phone.
10. The method of claim 9, wherein the determining, in response to the service request sent by the user through the client, the target machine room from the preset plurality of machine rooms includes:
Responding to a service request sent by a user through a client, and determining an Internet protocol address corresponding to the service request; wherein the internet protocol address characterizes a geographic location of the client;
And determining the target machine room from a plurality of preset machine rooms according to the internet protocol address.
11. The method of claim 10, wherein the determining the destination machine room from the preset plurality of machine rooms according to the internet protocol address comprises:
determining position information of a machine room; the position information characterizes the geographic position of the machine room;
and determining the target machine room from a plurality of preset machine rooms according to the internet protocol address and the position information.
12. The method of claim 11, wherein the determining the target machine room from a preset plurality of machine rooms according to the internet protocol address and the location information comprises:
Determining the distance between the client and the machine room according to the Internet protocol address and the position information of the machine room;
and determining the target machine room from the preset multiple machine rooms according to the distance.
13. The method according to any one of claims 10-12, wherein the determining a target machine room from a preset plurality of machine rooms according to the internet protocol address comprises:
determining the current working state of the machine room; wherein the working state comprises an available state and a non-available state;
Determining the machine room in the available state as a candidate machine room;
and determining a target machine room from the candidate machine rooms according to the internet protocol address.
14. The method of claim 13, wherein the sending the service request to the PaaS fabric corresponding to the target machine room comprises:
Determining a PaaS architecture corresponding to the target machine room;
and sending the service request to the PaaS architecture corresponding to the target machine room through short connection between the dispatching center and the PaaS architecture corresponding to the target machine room.
15. The method of claim 14, further comprising:
If feedback information sent by the PaaS architecture corresponding to the target machine room is not received within a preset time period, determining that the service request is failed to send, and recording the number of times of failure in sending the service request to the PaaS architecture corresponding to the target machine room; the feedback information characterizes successful receipt of the service request by the PaaS architecture;
if the failure times reach the preset times threshold, the working state of the target machine room is updated to be in a non-available state, and a new target machine room is determined from the multiple machine rooms according to the IP address.
16. The cloud mobile phone scheduling device based on the user request is applied to a platform corresponding to a target machine room, namely a service PaaS (platform as a service) framework, wherein the target machine room is one machine room of a plurality of preset machine rooms, each PaaS framework corresponds to each machine room, and the machine rooms comprise a plurality of cloud mobile phones; the device comprises:
A request receiving unit, configured to receive a service request sent by a scheduling center; the scheduling center is in communication with the PaaS architecture, the service request is sent by the scheduling center, and the service request is sent to the PaaS architecture corresponding to the target machine room after determining the target machine room from a plurality of preset machine rooms in response to the service request sent by a user through a client; the service request is used for requesting remote control of the cloud mobile phone;
the cloud mobile phone determining unit is used for determining a target cloud mobile phone from a plurality of cloud mobile phones in the target machine room according to the service request;
The plug flow construction unit is used for constructing plug flow service between the target cloud mobile phone and the client; the plug flow service is used for remotely controlling the target cloud mobile phone.
17. The apparatus of claim 16, wherein the cloud handset determination unit comprises:
The identification determining module is used for determining the identification information of the client from the service request;
The history determining module is used for determining a history cloud mobile phone from a plurality of cloud mobile phones in the target machine room according to the identification information of the client; the history cloud mobile phone is provided with a history cloud mobile phone, wherein the history cloud mobile phone is provided with identification information of the client and operation information of the client in a preset history time period, and the operation information characterizes the operation progress of the client for remotely controlling the history cloud mobile phone in the preset history time period;
And the target determining module is used for determining that the history cloud mobile phone is the target cloud mobile phone if the current working state of the history cloud mobile phone is an idle state.
18. The apparatus of claim 17, further comprising:
the authentication processing unit is used for carrying out authentication processing on the identification information of the client according to a preset authentication rule;
And the authentication passing unit is used for determining a history cloud mobile phone from a plurality of cloud mobile phones in the target machine room according to the identification information of the client if the identification information of the client passes the authentication.
19. The apparatus of claim 18, wherein the authentication processing unit comprises:
The list acquisition module is used for acquiring a preset identification information white list; the preset identification information white list comprises legal registered identification information;
The list judging module is used for determining that the identification information of the client passes authentication if the identification information of the client is in the preset identification information white list.
20. The apparatus of claim 18, wherein the authentication processing unit comprises:
The time acquisition module is used for acquiring the online time of the client corresponding to the identification information of the client; the online time of the client characterizes the time length from sending a service request to the current moment;
And the time judging module is used for determining that the identification information of the client passes authentication if the online time of the client is smaller than a preset duration threshold.
21. The apparatus of any of claims 17-20, further comprising:
the state judging unit is used for determining the cloud mobile phone in an idle state from the cloud mobile phones except the history cloud mobile phone in the target machine room as a candidate cloud mobile phone if the current working state of the history cloud mobile phone is an occupied state;
The information sending unit is used for determining a target cloud mobile phone from the candidate cloud mobile phones, and sending operation information of the client in the history cloud mobile phone in a preset history time period to the target cloud mobile phone.
22. The apparatus of claim 21, wherein the information transmitting unit comprises:
The resource determining module is used for determining the current residual resources of the candidate cloud mobile phone; the current residual resources represent the currently available computing resources of the candidate cloud mobile phone;
and the resource judging module is used for determining a target cloud mobile phone from the candidate cloud mobile phones according to the current residual resources of the candidate cloud mobile phones.
23. The apparatus of any of claims 16-22, further comprising:
The information acquisition unit is used for acquiring all the identification information and the operation information recorded in each cloud mobile phone of the target machine room;
and the information storage unit is used for sending all the identification information and the operation information recorded in each cloud mobile phone of the target machine room to the dispatching center for storage according to a preset communication protocol.
24. The cloud mobile phone scheduling device based on the user request is applied to a scheduling center, the scheduling center communicates with a platform as-a-service PaaS architecture, each PaaS architecture corresponds to each machine room, and the machine room comprises a plurality of cloud mobile phones; the device comprises:
the machine room determining unit is used for responding to a service request sent by a user through a client and determining a target machine room from a plurality of preset machine rooms; the service request is used for requesting remote control of the cloud mobile phone;
A request sending unit, configured to send the service request to a PaaS architecture corresponding to the target machine room; the business request is used for indicating to determine a target cloud mobile phone from a plurality of cloud mobile phones in the target machine room, and constructing a plug flow service between the target cloud mobile phone and the client, wherein the plug flow service is used for remotely controlling the target cloud mobile phone.
25. The apparatus of claim 24, wherein the machine room determination unit comprises:
the address determining module is used for responding to a service request sent by a user through a client and determining an Internet protocol address corresponding to the service request; wherein the internet protocol address characterizes a geographic location of the client;
and the machine room determining module is used for determining a target machine room from a plurality of preset machine rooms according to the internet protocol address.
26. The apparatus of claim 25, wherein the machine room determination module comprises:
the position determining sub-module is used for determining the position information of the machine room; the position information characterizes the geographic position of the machine room;
And the machine room determining submodule is used for determining the target machine room from a plurality of preset machine rooms according to the internet protocol address and the position information.
27. The apparatus of claim 26, wherein the machine room determination submodule is specifically configured to:
Determining the distance between the client and the machine room according to the Internet protocol address and the position information of the machine room;
and determining the target machine room from the preset multiple machine rooms according to the distance.
28. The apparatus of any of claims 25-27, wherein the machine room determination module comprises:
The state determination submodule is used for determining the current working state of the machine room; wherein the working state comprises an available state and a non-available state;
A first determining submodule, configured to determine a machine room in an available state as a candidate machine room;
and the second determining submodule is used for determining a target machine room from the candidate machine rooms according to the internet protocol address.
29. The apparatus of claim 28, wherein the request transmitting unit comprises:
the framework determining module is used for determining the PaaS framework corresponding to the target machine room;
And the short connection module is used for sending the service request to the PaaS architecture corresponding to the target machine room through short connection between the dispatching center and the PaaS architecture corresponding to the target machine room.
30. The apparatus of claim 29, further comprising:
The frequency recording unit is used for determining that the service request is failed to be sent if the feedback information sent by the PaaS architecture corresponding to the target machine room is not received within a preset time period, and recording the frequency of failure to send the service request to the PaaS architecture corresponding to the target machine room; the feedback information characterizes successful receipt of the service request by the PaaS architecture;
And the frequency judging unit is used for updating the working state of the target machine room into a non-usable state if the number of times of failure reaches a preset frequency threshold value, and determining a new target machine room from the multiple machine rooms according to the IP address again.
31. An electronic device, comprising:
At least one processor; and
A memory communicatively coupled to the at least one processor; wherein,
The memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-15.
32. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of any one of claims 1-15.
33. A computer program product comprising a computer program which, when executed by a processor, implements the steps of the method of any of claims 1-15.
CN202410276519.6A 2024-03-11 2024-03-11 Cloud mobile phone scheduling method, device, equipment and storage medium based on user request Pending CN118118556A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410276519.6A CN118118556A (en) 2024-03-11 2024-03-11 Cloud mobile phone scheduling method, device, equipment and storage medium based on user request

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410276519.6A CN118118556A (en) 2024-03-11 2024-03-11 Cloud mobile phone scheduling method, device, equipment and storage medium based on user request

Publications (1)

Publication Number Publication Date
CN118118556A true CN118118556A (en) 2024-05-31

Family

ID=91211935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410276519.6A Pending CN118118556A (en) 2024-03-11 2024-03-11 Cloud mobile phone scheduling method, device, equipment and storage medium based on user request

Country Status (1)

Country Link
CN (1) CN118118556A (en)

Similar Documents

Publication Publication Date Title
CN108696581B (en) Distributed information caching method and device, computer equipment and storage medium
CN107800565B (en) Inspection method, inspection device, inspection system, computer equipment and storage medium
CN109768879B (en) Method and device for determining target service server and server
CN113704063B (en) Performance monitoring method, device, equipment and storage medium of cloud mobile phone
CN112650576A (en) Resource scheduling method, device, equipment, storage medium and computer program product
US10425475B2 (en) Distributed data management
CN109428839B (en) CDN scheduling method, device and system
CN110445844A (en) Short message multi-center selection method and device, storage medium, electronic equipment
US10313221B1 (en) Endpoint monitoring for a messaging framework
CN112988800B (en) Data processing method and device based on distributed environment
CN114302350A (en) Service provider fault switching method and device, electronic equipment and storage medium
CN112235378B (en) Data updating method and device, storage medium and electronic equipment
CN109391658B (en) Account data synchronization method and equipment, storage medium and terminal thereof
US10936968B2 (en) Ticket routing
CN113010238A (en) Permission determination method, device and system for micro application call interface
JP2021010164A (en) Method and apparatus for processing notification using notification preset
CN110247847B (en) Method and device for back source routing between nodes
CN114070889B (en) Configuration method, traffic forwarding device, storage medium, and program product
CN118118556A (en) Cloud mobile phone scheduling method, device, equipment and storage medium based on user request
CN113360689B (en) Image retrieval system, method, related device and computer program product
CN111629054B (en) Message processing method, device and system, electronic equipment and readable storage medium
CN113595894B (en) Communication method, device, equipment and medium between service nodes and client nodes
KR102005932B1 (en) Server for managing social network friends and method for managing social network friends using the same
CN113778780A (en) Application stability determination method and device, electronic equipment and storage medium
CN114666302B (en) Domain name resolution method, system, electronic device and storage medium

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