CN111404918A - Cloud mobile phone distributed service emergency authentication method, device and system - Google Patents
Cloud mobile phone distributed service emergency authentication method, device and system Download PDFInfo
- Publication number
- CN111404918A CN111404918A CN202010168687.5A CN202010168687A CN111404918A CN 111404918 A CN111404918 A CN 111404918A CN 202010168687 A CN202010168687 A CN 202010168687A CN 111404918 A CN111404918 A CN 111404918A
- Authority
- CN
- China
- Prior art keywords
- authentication
- mobile phone
- cloud mobile
- client
- request
- 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
Links
- 238000000034 method Methods 0.000 title abstract description 41
- 230000005540 biological transmission Effects 0.000 abstract description 6
- 238000012795 verification Methods 0.000 description 37
- 230000008569 process Effects 0.000 description 11
- 230000009286 beneficial effect Effects 0.000 description 9
- 238000004590 computer program Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000008859 change Effects 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a cloud mobile phone distributed service emergency authentication method, which comprises the following steps: responding to a cloud mobile phone control request sent by a client, and simultaneously sending an authentication request to an authentication server; when the authentication request is failed to be sent, inquiring authentication information of the local cache, and authenticating the authentication information acquired from the local cache; after the authentication is passed, providing cloud mobile phone control service for the client, and simultaneously storing controlled state information of the equipment; when an authentication request is transmitted to the authentication server again and the transmission is successful, the device-controlled state information is transmitted to the authentication server. The invention provides a cloud mobile phone distributed service emergency authentication method, device and system, which can solve the problem that temporary service is unavailable due to interruption of an authentication service link in a short time.
Description
Technical Field
The invention relates to the technical field of cloud mobile phones, in particular to a cloud mobile phone distributed service emergency authentication method, device and system.
Background
Cloud mobile phone application is a typical strong state type service. In the service deployment form, a centralized authentication and distributed service providing form is often adopted, and the provided control cloud mobile phone service belongs to long-connection uninterrupted service.
According to the existing verification method for providing the cloud mobile phone service, the authentication result depends on the centralized authentication server seriously, and when communication between the cloud mobile phone control server for providing the service and the authentication server is in a problem, for example, a VPN tunnel between a central machine room and an equipment machine room is disconnected, the cloud mobile phone control server cannot provide the service for a user continuously, so that the user experience is seriously influenced. Communication problems between the machine rooms, such as network disturbance, tunnel flash and the like, are relatively high in occurrence probability and difficult to avoid through other means.
Disclosure of Invention
Aiming at the technical problems, the invention provides a cloud mobile phone distributed service emergency authentication method, device and system, which can solve the problem that temporary service is unavailable due to the fact that an authentication service link is interrupted in a short time. The technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides an emergency authentication method for a cloud mobile phone distributed service, including:
responding to a cloud mobile phone control request sent by a client, and simultaneously sending an authentication request to an authentication server;
when the authentication request is failed to be sent, inquiring authentication information of the local cache, and authenticating the authentication information acquired from the local cache;
after the authentication is passed, providing cloud mobile phone control service for the client, and simultaneously storing controlled state information of the equipment;
when an authentication request is transmitted to the authentication server again and the transmission is successful, the device-controlled state information is transmitted to the authentication server.
In a first possible implementation manner of the first aspect of the present invention, the responding to a request for controlling a cloud mobile phone sent by a client, and sending an authentication request to an authentication server at the same time includes:
receiving a cloud mobile phone control request sent by a client, and acquiring session identification information, a session verification code, an identification code of an appointed control device and a client user name from the cloud mobile phone control request;
and sending the session identification information, the session verification code, the identification code of the specified control equipment and the client user name to an authentication server for verification.
In a second possible implementation manner of the first aspect of the present invention, the providing a cloud mobile phone control service to a client specifically includes:
and according to the identification code of the appointed control equipment, retrieving to obtain the address of the cloud mobile phone control server to which the appointed control equipment belongs, and controlling the appointed control equipment by connecting the address of the cloud mobile phone control server.
In a third possible implementation manner of the first aspect of the present invention, the responding to a request for controlling a cloud phone sent by a client and sending an authentication request to an authentication server at the same time includes:
when the authentication request is successfully sent, receiving a verification result fed back by the authentication server;
and if the verification result is correct, storing the authentication information fed back by the authentication server to a local storage space, and providing cloud mobile phone control service for the client.
In a fourth possible implementation manner of the first aspect of the present invention, if the verification result is correct, the storing the authentication information fed back by the authentication server in a local storage space, and providing a cloud mobile phone control service to the client, further includes:
a registration request of the device-controlled state information is sent to the authentication server.
In a fifth possible implementation manner of the first aspect of the present invention, in an operation process of providing a cloud mobile phone control service to a client, the cloud mobile phone distributed service emergency authentication method receives a service termination request from the client, and then interrupts providing the cloud mobile phone control service to the client, and sends device state information to an authentication server.
In a sixth possible implementation manner of the first aspect of the present invention, in the emergency authentication method for cloud mobile phone distributed service, when the time for interrupting the provision of the cloud mobile phone control service to the client exceeds a preset value, data for providing the cloud mobile phone control service to the client is cleared, and a request for ending controlled registration is sent to the authentication server.
In a second aspect, an embodiment of the present invention provides a cloud mobile phone distributed service emergency authentication apparatus, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, the cloud mobile phone distributed service emergency authentication method as described above is implemented.
In a third aspect, an embodiment of the present invention provides an emergency authentication device for cloud mobile phone distributed service, including:
the sending module is used for responding to a cloud mobile phone control request sent by the client and sending an authentication request to the authentication server; when an authentication request is sent to the authentication server again and the sending is successful, sending the controlled state information of the equipment to the authentication server;
the authentication module is used for inquiring the authentication information of the local cache when the authentication request is failed to be sent, and authenticating the authentication information acquired from the local cache; after the authentication is passed, cloud mobile phone control service is provided for the client, and controlled state information of the equipment is stored.
In a fourth aspect, an embodiment of the present invention provides a cloud mobile phone distributed service emergency authentication system, including a client, an authentication server, and a cloud mobile phone control server;
the client is used for sending a registration authentication request to the authentication server and sending a cloud mobile phone control request to the cloud mobile phone control server;
the authentication server is used for verifying the registration authentication request sent by the client and the authentication request sent by the cloud mobile phone control server; if the registration authentication request is verified successfully, generating a session containing a verification code, and simultaneously replying session identification information, the verification code, a cloud mobile phone device list and the address of a cloud mobile phone control server to which the device belongs to the client;
the cloud mobile phone control server is used for:
responding to a cloud mobile phone control request sent by a client, and simultaneously sending an authentication request to an authentication server;
when the authentication request is failed to be sent, inquiring authentication information of the local cache, and authenticating the authentication information acquired from the local cache;
after the authentication is passed, providing cloud mobile phone control service for the client, and simultaneously storing controlled state information of the equipment;
when an authentication request is transmitted to the authentication server again and the transmission is successful, the device-controlled state information is transmitted to the authentication server.
Compared with the prior art, the embodiment of the invention has the following beneficial effects:
the invention provides a cloud mobile phone distributed service emergency authentication method, device and system, the technical scheme of the invention has the advantages of centralized authentication and distributed cloud mobile phone control service, is beneficial to the management of user account numbers and cloud mobile phone equipment life cycle states, and quickly reflects the change information of the cycle states to the service, such as account number expiration, equipment maintenance caused service interruption and the like; by utilizing the advantages of the distributed service, the near access service is provided better according to the regional characteristics of the users, and the effects of optimizing performance, facilitating use and the like are achieved.
Aiming at the condition that the authentication result of the cloud mobile phone authentication service is seriously dependent on the centralized authentication server, when the communication between the cloud mobile phone control server and the authentication server for providing the service is in a problem, the embodiment of the invention can respond to the request for controlling the cloud mobile phone sent by the client, cache the result of each successful authentication, start local authentication when the authentication service is unavailable due to network disturbance or VPN tunnel interruption, and authenticate by using the authentication information cached before, thereby avoiding stopping providing the service for the user and improving the user experience.
Drawings
Fig. 1 is a flowchart of an emergency authentication method for a cloud mobile phone distributed service in an embodiment of the present invention;
fig. 2 is a block diagram of a cloud mobile phone distributed service emergency authentication apparatus in an embodiment of the present invention;
fig. 3 is an interaction relationship diagram of a cloud mobile phone distributed service emergency authentication system in an embodiment of the present invention;
fig. 4 is a schematic diagram of an information transmission relationship of a cloud mobile phone distributed service emergency authentication system in an embodiment of the present invention;
fig. 5 is a schematic diagram of distributed services of a cloud mobile phone distributed service emergency authentication system in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, the present invention provides an exemplary embodiment of a cloud mobile phone distributed service emergency authentication method, including the steps of:
s101, responding to a cloud mobile phone control request sent by a client, and simultaneously sending an authentication request to an authentication server;
s102, when the authentication request is failed to be sent, inquiring authentication information of the local cache, and authenticating the authentication information acquired from the local cache;
s103, after the authentication is passed, providing cloud mobile phone control service for the client, and simultaneously storing controlled state information of the equipment;
and S104, when the authentication request is sent to the authentication server again and the sending is successful, the controlled state information of the equipment is sent to the authentication server.
It can be understood that, in the service continuing process, the cloud mobile phone control server continuously sends an authentication request to the authentication server, and once the network between the cloud mobile phone control server and the authentication server is restored, the cached controlled state information of the device is reported to the authentication server.
The method comprises the following steps of responding a cloud mobile phone control request sent by a client, and simultaneously sending an authentication request to an authentication server, wherein the authentication request specifically comprises the following steps:
receiving a cloud mobile phone control request sent by a client, and acquiring session identification information, a session verification code, an identification code of an appointed control device and a client user name from the cloud mobile phone control request;
and sending the session identification information, the session verification code, the identification code of the specified control equipment and the client user name to an authentication server for verification.
The method for providing the cloud mobile phone control service for the client specifically comprises the following steps:
and according to the identification code of the appointed control equipment, retrieving to obtain the address of the cloud mobile phone control server to which the appointed control equipment belongs, and controlling the appointed control equipment by connecting the address of the cloud mobile phone control server.
The method comprises the following steps that a cloud mobile phone control request sent by a response client side is sent, and an authentication request is sent to an authentication server at the same time, and the method also comprises the following steps:
when the authentication request is successfully sent, receiving a verification result fed back by the authentication server;
and if the verification result is correct, storing the authentication information fed back by the authentication server to a local storage space, and providing cloud mobile phone control service for the client. The authentication information comprises the session identification information, the identification code of the appointed control equipment and the client user name.
In the embodiment, after the verification is successful, the authentication information is stored in the local storage space, so that the cloud mobile phone control server can directly respond to the client authentication request when necessary.
If the verification result is correct, the authentication information fed back by the authentication server is stored in a local storage space, and meanwhile, the cloud mobile phone control service is provided for the client, and the method further comprises the following steps:
a registration request of the device-controlled state information is sent to the authentication server.
In the running process of providing the cloud mobile phone control service to the client, receiving a service ending request from the client, interrupting the provision of the cloud mobile phone control service to the client, and simultaneously sending equipment state information to the authentication server.
When the time for interrupting the cloud mobile phone control service provided for the client exceeds a preset value, clearing data for providing the cloud mobile phone control service for the client, and meanwhile sending a request for ending controlled registration to an authentication server.
And the clearing provides data of the cloud mobile phone control service for the client, including clearing authentication information in the storage space.
In this embodiment, when the network is interrupted for a long time, the token is expired and cannot pass the local authentication, which is not suitable for a long-time network interruption scenario; when the token is overdue and reset after the time interval of the two login authentications of the client is too long, the token cached by the cloud mobile phone control server is overdue, and the authentications are also unsuccessful.
It can be understood that when the cloud mobile phone control server does not provide the cloud mobile phone control service to the client for a long time, the cloud mobile phone control server clears the data of the cloud mobile phone control service in the local storage space, which is beneficial to saving the storage space and the computing resources of the cloud mobile phone server, and is further beneficial to improving the operation speed.
The embodiment provides a cloud mobile phone distributed service emergency authentication device, which comprises a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the cloud mobile phone distributed service emergency authentication method when executing the computer program.
Referring to fig. 2, an exemplary embodiment of the present invention further provides a cloud mobile phone distributed service emergency authentication apparatus, including:
the sending module 101 is configured to respond to a cloud mobile phone control request sent by a client, and send an authentication request to an authentication server; when an authentication request is sent to the authentication server again and the sending is successful, sending the controlled state information of the equipment to the authentication server;
the authentication module 102 is configured to, when the authentication request is failed to be sent, query the authentication information of the local cache, and authenticate the authentication information acquired from the local cache; after the authentication is passed, cloud mobile phone control service is provided for the client, and controlled state information of the equipment is stored.
It can be understood that, in the service continuing process, the cloud mobile phone control server continuously sends an authentication request to the authentication server, and once the network between the cloud mobile phone control server and the authentication server is restored, the cached controlled state information of the device is reported to the authentication server.
The cloud mobile phone distributed service emergency authentication device further comprises a receiving module, which is used for:
receiving a cloud mobile phone control request sent by a client, and acquiring session identification information, a session verification code, an identification code of an appointed control device and a client user name from the cloud mobile phone control request;
and sending the session identification information, the session verification code, the identification code of the specified control equipment and the client user name to an authentication server for verification.
The method for providing the cloud mobile phone control service for the client specifically comprises the following steps:
and according to the identification code of the appointed control equipment, retrieving to obtain the address of the cloud mobile phone control server to which the appointed control equipment belongs, and controlling the appointed control equipment by connecting the address of the cloud mobile phone control server.
Emergent authentication device of cloud cell-phone distributed service still includes:
the sending module is further used for receiving a verification result fed back by the authentication server when the authentication request is sent successfully;
and the storage module is used for storing the authentication information fed back by the authentication server to a local storage space if the verification result is correct. The authentication information comprises the session identification information, the identification code of the appointed control equipment and the client user name.
In the embodiment, after the verification is successful, the authentication information is stored in the local storage space, so that the cloud mobile phone control server can directly respond to the client authentication request when necessary.
If the verification result is correct, the authentication information fed back by the authentication server is stored in a local storage space, and meanwhile, the cloud mobile phone control service is provided for the client, and the method further comprises the following steps:
a registration request of the device-controlled state information is sent to the authentication server.
In the running process of providing the cloud mobile phone control service to the client, receiving a service ending request from the client, interrupting the provision of the cloud mobile phone control service to the client, and simultaneously sending equipment state information to the authentication server.
When the time for interrupting the cloud mobile phone control service provided for the client exceeds a preset value, clearing data for providing the cloud mobile phone control service for the client, and meanwhile sending a request for ending controlled registration to an authentication server.
And the clearing provides data of the cloud mobile phone control service for the client, including clearing authentication information in the storage space.
In this embodiment, when the network is interrupted for a long time, the token is expired and cannot pass the local authentication, which is not suitable for a long-time network interruption scenario; when the token is overdue and reset after the time interval of the two login authentications of the client is too long, the token cached by the cloud mobile phone control server is overdue, and the authentications are also unsuccessful.
It can be understood that when the cloud mobile phone control server does not provide the cloud mobile phone control service to the client for a long time, the cloud mobile phone control server clears the data of the cloud mobile phone control service in the local storage space, which is beneficial to saving the storage space and the computing resources of the cloud mobile phone server, and is further beneficial to improving the operation speed.
Referring to fig. 3 and 4, in an exemplary embodiment of the present invention, a cloud mobile phone distributed service emergency authentication system includes a client, an authentication server, and a cloud mobile phone control server;
the client is used for sending a registration authentication request to the authentication server and sending a cloud mobile phone control request to the cloud mobile phone control server;
it can be understood that the control cloud mobile phone request includes a sesson id and a token, and also includes a device id and a user name to be controlled;
the authentication server is used for verifying the registration authentication request sent by the client and the authentication request sent by the cloud mobile phone control server; if the registration authentication request is verified successfully, generating a session containing a verification code, and simultaneously replying session identification information, the verification code, a cloud mobile phone device list and the address of a cloud mobile phone control server to which the device belongs to the client;
it can be understood that the authentication server compares and verifies the user name and the password contained in the authentication request with the user name and the password stored by the authentication server; and if the verification is successful, generating a session, signing a token by using the unique key, and returning a session id and the token to the client.
The verification of the authentication request sent by the cloud mobile phone control server specifically comprises the following steps:
the authentication server inquires the session according to the session identification information, verifies the session verification code and checks the validity of the user name and the equipment; and if the verification is successful, feeding back the authentication confirmation result to the cloud mobile phone control server.
The cloud mobile phone control server is used for:
responding to a cloud mobile phone control request sent by a client, and simultaneously sending an authentication request to an authentication server;
when the authentication request is failed to be sent, inquiring authentication information of the local cache, and authenticating the authentication information acquired from the local cache;
after the authentication is passed, providing cloud mobile phone control service for the client, and simultaneously storing controlled state information of the equipment;
when an authentication request is transmitted to the authentication server again and the transmission is successful, the device-controlled state information is transmitted to the authentication server.
It can be understood that, in the service continuing process, the cloud mobile phone control server continuously sends an authentication request to the authentication server, and once the network between the cloud mobile phone control server and the authentication server is restored, the cached controlled state information of the device is reported to the authentication server.
The method comprises the following steps of responding a cloud mobile phone control request sent by a client, and simultaneously sending an authentication request to an authentication server, wherein the authentication request specifically comprises the following steps:
receiving a cloud mobile phone control request sent by a client, and acquiring session identification information, a session verification code, an identification code of an appointed control device and a client user name from the cloud mobile phone control request;
and sending the session identification information, the session verification code, the identification code of the specified control equipment and the client user name to an authentication server for verification.
The method for providing the cloud mobile phone control service for the client specifically comprises the following steps:
and according to the identification code of the appointed control equipment, retrieving to obtain the address of the cloud mobile phone control server to which the appointed control equipment belongs, and controlling the appointed control equipment by connecting the address of the cloud mobile phone control server.
The method comprises the following steps that a cloud mobile phone control request sent by a response client side is sent, and an authentication request is sent to an authentication server at the same time, and the method also comprises the following steps:
when the authentication request is successfully sent, receiving a verification result fed back by the authentication server;
and if the verification result is correct, storing the authentication information fed back by the authentication server to a local storage space, and providing cloud mobile phone control service for the client. The authentication information comprises the session identification information, the identification code of the appointed control equipment and the client user name.
In the embodiment, after the verification is successful, the authentication information is stored in the local storage space, so that the cloud mobile phone control server can directly respond to the client authentication request when necessary.
If the verification result is correct, the authentication information fed back by the authentication server is stored in a local storage space, and meanwhile, the cloud mobile phone control service is provided for the client, and the method further comprises the following steps:
a registration request of the device-controlled state information is sent to the authentication server.
In the running process of providing the cloud mobile phone control service to the client, receiving a service ending request from the client, interrupting the provision of the cloud mobile phone control service to the client, and simultaneously sending equipment state information to the authentication server.
When the time for interrupting the cloud mobile phone control service provided for the client exceeds a preset value, clearing data for providing the cloud mobile phone control service for the client, and meanwhile sending a request for ending controlled registration to an authentication server.
And the clearing provides data of the cloud mobile phone control service for the client, including clearing authentication information in the storage space.
In this embodiment, when the network is interrupted for a long time, the token is expired and cannot pass the local authentication, which is not suitable for a long-time network interruption scenario; when the token is overdue and reset after the time interval of the two login authentications of the client is too long, the token cached by the cloud mobile phone control server is overdue, and the authentications are also unsuccessful.
It can be understood that when the cloud mobile phone control server does not provide the cloud mobile phone control service to the client for a long time, the cloud mobile phone control server clears the data of the cloud mobile phone control service in the local storage space, which is beneficial to saving the storage space and the computing resources of the cloud mobile phone server, and is further beneficial to improving the operation speed.
The invention provides a cloud mobile phone distributed service emergency authentication method, device and system, the technical scheme of the invention has the advantages of centralized authentication and distributed cloud mobile phone control service, is beneficial to the management of user account numbers and cloud mobile phone equipment life cycle states, and quickly reflects the change information of the cycle states to the service, such as account number expiration, equipment maintenance caused service interruption and the like; by utilizing the advantages of the distributed service, the near access service is provided better according to the regional characteristics of the users, and the effects of optimizing performance, facilitating use and the like are achieved.
Aiming at the condition that the authentication result of the cloud mobile phone authentication service is seriously dependent on the centralized authentication server, when the communication between the cloud mobile phone control server and the authentication server for providing the service is in a problem, the embodiment of the invention can respond to the request for controlling the cloud mobile phone sent by the client, cache the result of each successful authentication, start local authentication when the authentication service is unavailable due to network disturbance or VPN tunnel interruption, and authenticate by using the authentication information cached before, thereby avoiding stopping providing the service for the user and improving the user experience.
Referring to fig. 5, it should be noted that the cloud mobile application is a typical strong state type service. In the service deployment form, a centralized authentication and distributed service providing form is often adopted. And the provided control cloud mobile phone service belongs to long-connection uninterrupted service.
The strong state type service refers to that the whole service using process comprises several states of authentication, initialization, service using, state maintaining and service ending, which are maintained by relying on Session.
The long-connection uninterrupted service refers to a cloud mobile phone control service, similar to a video service, and once a service connection is verified and established, the long-time uninterrupted service is provided, and data transmission is generally provided by using the long connection. Such long-connection uninterrupted service often requires process monitoring, i.e., determining whether service interruption is required and changing the manner in which service is provided, based on account and device status.
The session in the present invention means that the session is a place where the current state of the current service is recorded, and all processing for the current service depends on the state of the session, for example, whether the current service is expired, whether the user balance is insufficient, and the service needs to be interrupted. Session information generally consists of a plurality of fields, such as a current service state (in service, service end), a free trial duration remaining, a balance, a current service stage (verification completed, service connection, service in progress, and the like), a sharing state, a device id, a user id, and the like.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
Claims (10)
1. A cloud mobile phone distributed service emergency authentication method is characterized by comprising the following steps:
responding to a cloud mobile phone control request sent by a client, and simultaneously sending an authentication request to an authentication server;
when the authentication request is failed to be sent, inquiring authentication information of the local cache, and authenticating the authentication information acquired from the local cache;
after the authentication is passed, providing cloud mobile phone control service for the client, and simultaneously storing controlled state information of the equipment;
when an authentication request is transmitted to the authentication server again and the transmission is successful, the device-controlled state information is transmitted to the authentication server.
2. The cloud mobile phone distributed service emergency authentication method according to claim 1, wherein the response client sends a request for controlling the cloud mobile phone and sends an authentication request to the authentication server, specifically:
receiving a cloud mobile phone control request sent by a client, and acquiring session identification information, a session verification code, an identification code of an appointed control device and a client user name from the cloud mobile phone control request;
and sending the session identification information, the session verification code, the identification code of the specified control equipment and the client user name to an authentication server for verification.
3. The cloud mobile phone distributed service emergency authentication method according to claim 1, wherein the providing of the cloud mobile phone control service to the client specifically includes:
and according to the identification code of the appointed control equipment, retrieving to obtain the address of the cloud mobile phone control server to which the appointed control equipment belongs, and controlling the appointed control equipment by connecting the address of the cloud mobile phone control server.
4. The cloud mobile phone distributed service emergency authentication method according to claim 1, wherein the method, in response to a request for controlling the cloud mobile phone sent by the client, sends an authentication request to the authentication server, and then further comprises the steps of:
when the authentication request is successfully sent, receiving a verification result fed back by the authentication server;
and if the verification result is correct, storing the authentication information fed back by the authentication server to a local storage space, and providing cloud mobile phone control service for the client.
5. The emergency authentication method for the cloud mobile phone distributed service according to claim 4, wherein if the verification result is correct, the authentication information fed back by the authentication server is stored in a local storage space, and meanwhile, the cloud mobile phone control service is provided to the client, further comprising:
a registration request of the device-controlled state information is sent to the authentication server.
6. The cloud phone distributed service emergency authentication method according to any one of claims 1 to 5, wherein in an operation process of providing the cloud phone control service to the client, when a service ending request from the client is received, the provision of the cloud phone control service to the client is interrupted, and the device state information is sent to the authentication server.
7. The cloud-phone-distributed-service emergency authentication method of claim 6, wherein when a time for interrupting the provision of the cloud phone control service to the client exceeds a preset value, data for providing the cloud phone control service to the client is cleared, and a request for ending the controlled registration is sent to the authentication server.
8. A cloud handset distributed service emergency authentication apparatus comprising a processor, a memory and a computer program stored in the memory and configured to be executed by the processor, the processor implementing the cloud handset distributed service emergency authentication method as claimed in any one of claims 1 to 5 or claim 6 or 7 when executing the computer program.
9. A cloud mobile phone distributed service emergency authentication device is characterized by comprising:
the sending module is used for responding to a cloud mobile phone control request sent by the client and sending an authentication request to the authentication server; when an authentication request is sent to the authentication server again and the sending is successful, sending the controlled state information of the equipment to the authentication server;
the authentication module is used for inquiring the authentication information of the local cache when the authentication request is failed to be sent, and authenticating the authentication information acquired from the local cache; after the authentication is passed, cloud mobile phone control service is provided for the client, and controlled state information of the equipment is stored.
10. A cloud mobile phone distributed service emergency authentication system is characterized by comprising a client, an authentication server and a cloud mobile phone control server;
the client is used for sending a registration authentication request to the authentication server and sending a cloud mobile phone control request to the cloud mobile phone control server;
the authentication server is used for verifying the registration authentication request sent by the client and the authentication request sent by the cloud mobile phone control server; if the registration authentication request is verified successfully, generating a session containing a verification code, and simultaneously replying session identification information, the verification code, a cloud mobile phone device list and the address of a cloud mobile phone control server to which the device belongs to the client;
the cloud mobile phone control server is used for:
responding to a cloud mobile phone control request sent by a client, and simultaneously sending an authentication request to an authentication server;
when the authentication request is failed to be sent, inquiring authentication information of the local cache, and authenticating the authentication information acquired from the local cache;
after the authentication is passed, providing cloud mobile phone control service for the client, and simultaneously storing controlled state information of the equipment;
when an authentication request is transmitted to the authentication server again and the transmission is successful, the device-controlled state information is transmitted to the authentication server.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010168687.5A CN111404918A (en) | 2020-03-11 | 2020-03-11 | Cloud mobile phone distributed service emergency authentication method, device and system |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010168687.5A CN111404918A (en) | 2020-03-11 | 2020-03-11 | Cloud mobile phone distributed service emergency authentication method, device and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN111404918A true CN111404918A (en) | 2020-07-10 |
Family
ID=71413314
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010168687.5A Pending CN111404918A (en) | 2020-03-11 | 2020-03-11 | Cloud mobile phone distributed service emergency authentication method, device and system |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN111404918A (en) |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113420275A (en) * | 2021-07-19 | 2021-09-21 | 北京百度网讯科技有限公司 | Data connection processing method, related device and computer program product |
| CN113766504A (en) * | 2021-09-01 | 2021-12-07 | 北京百度网讯科技有限公司 | Communication connection method, apparatus, server, terminal device, system and medium |
| CN114697084A (en) * | 2022-03-14 | 2022-07-01 | 浙江大豪科技有限公司 | Data access method for sewing equipment |
| CN115906118A (en) * | 2022-11-16 | 2023-04-04 | 北京百度网讯科技有限公司 | A multi-data source authentication method, device, electronic equipment and storage medium |
| CN116938534A (en) * | 2023-06-27 | 2023-10-24 | 中移互联网有限公司 | Message processing and cloud mobile phone login authentication methods, devices, electronic equipment and media |
| CN120658410A (en) * | 2025-08-18 | 2025-09-16 | 北京新桥信通科技股份有限公司 | Equipment centralized authentication authorization emergency treatment method, equipment, medium and product |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101212294A (en) * | 2006-12-29 | 2008-07-02 | 北大方正集团有限公司 | Realization method and system of Internet authentication |
| CN102497374A (en) * | 2011-12-13 | 2012-06-13 | 方正国际软件有限公司 | Off-line available software license centralized security authentication system based on cloud computation, and method of the same |
| CN105391705A (en) * | 2015-10-29 | 2016-03-09 | 青岛海尔智能家电科技有限公司 | Method of carrying out authentication on application service and device |
| CN106453657A (en) * | 2016-12-07 | 2017-02-22 | 海信集团有限公司 | Status information update method and device of smart home equipment |
| CN107864217A (en) * | 2017-11-21 | 2018-03-30 | 南京斯坦德云科技股份有限公司 | Cloud desktop intelligently pushing system |
| CN108810129A (en) * | 2018-06-06 | 2018-11-13 | 朔联科技(上海)有限公司 | Internet of Things network control system and method, terminal device and local network services equipment |
-
2020
- 2020-03-11 CN CN202010168687.5A patent/CN111404918A/en active Pending
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101212294A (en) * | 2006-12-29 | 2008-07-02 | 北大方正集团有限公司 | Realization method and system of Internet authentication |
| CN102497374A (en) * | 2011-12-13 | 2012-06-13 | 方正国际软件有限公司 | Off-line available software license centralized security authentication system based on cloud computation, and method of the same |
| CN105391705A (en) * | 2015-10-29 | 2016-03-09 | 青岛海尔智能家电科技有限公司 | Method of carrying out authentication on application service and device |
| CN106453657A (en) * | 2016-12-07 | 2017-02-22 | 海信集团有限公司 | Status information update method and device of smart home equipment |
| CN107864217A (en) * | 2017-11-21 | 2018-03-30 | 南京斯坦德云科技股份有限公司 | Cloud desktop intelligently pushing system |
| CN108810129A (en) * | 2018-06-06 | 2018-11-13 | 朔联科技(上海)有限公司 | Internet of Things network control system and method, terminal device and local network services equipment |
Cited By (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113420275A (en) * | 2021-07-19 | 2021-09-21 | 北京百度网讯科技有限公司 | Data connection processing method, related device and computer program product |
| CN113420275B (en) * | 2021-07-19 | 2023-07-28 | 北京百度网讯科技有限公司 | Data connection processing method, related device and computer program product |
| CN113766504A (en) * | 2021-09-01 | 2021-12-07 | 北京百度网讯科技有限公司 | Communication connection method, apparatus, server, terminal device, system and medium |
| CN114697084A (en) * | 2022-03-14 | 2022-07-01 | 浙江大豪科技有限公司 | Data access method for sewing equipment |
| CN114697084B (en) * | 2022-03-14 | 2024-03-26 | 浙江大豪科技有限公司 | Sewing equipment data access method |
| CN115906118A (en) * | 2022-11-16 | 2023-04-04 | 北京百度网讯科技有限公司 | A multi-data source authentication method, device, electronic equipment and storage medium |
| CN116938534A (en) * | 2023-06-27 | 2023-10-24 | 中移互联网有限公司 | Message processing and cloud mobile phone login authentication methods, devices, electronic equipment and media |
| CN116938534B (en) * | 2023-06-27 | 2024-10-15 | 中移互联网有限公司 | Message processing and cloud mobile phone login authentication method and device, electronic equipment and medium |
| CN120658410A (en) * | 2025-08-18 | 2025-09-16 | 北京新桥信通科技股份有限公司 | Equipment centralized authentication authorization emergency treatment method, equipment, medium and product |
| CN120658410B (en) * | 2025-08-18 | 2025-11-25 | 北京新桥信通科技股份有限公司 | Equipment centralized authentication authorization emergency treatment method, equipment, medium and product |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111404918A (en) | Cloud mobile phone distributed service emergency authentication method, device and system | |
| CN108833122A (en) | Awakening method, device and the storage medium of vehicle-carrying communication controller | |
| CN108462710B (en) | Authentication and authorization method, device, authentication server and machine-readable storage medium | |
| US9401905B1 (en) | Transferring soft token authentication capabilities to a new device | |
| CN101605108A (en) | A kind of method, system and device of instant messaging | |
| WO2011098660A1 (en) | Method and apparatus for redirecting data traffic | |
| CN101465862A (en) | Method and device for processing switch of authentication business, network appliance and communication system | |
| CN103200159A (en) | Network access method and equipment | |
| CN106899642A (en) | A kind of Internet of Things link management method and equipment | |
| CN109525620B (en) | Message pushing system, method and device | |
| CN120378470A (en) | Multi-device cooperative control method and device, computer device and storage medium | |
| CN111464306A (en) | Authentication processing method, device, storage medium, and electronic device | |
| CN109729000B (en) | Instant messaging method and device | |
| CN104796408A (en) | Single-point live login method and single-point live login device | |
| CN106572114A (en) | Multi-server-based portal authentication method and system, and portal server | |
| CN112087756A (en) | Communication method and device for preventing malicious user access | |
| EP4366334A1 (en) | Message processing method, electronic device, and storage medium | |
| CN107659935A (en) | A kind of authentication method, certificate server, network management system and Verification System | |
| CN106330513A (en) | Processing method and apparatus for tr069 protocol information | |
| CN110012032B (en) | User authentication method and device | |
| CN106067857B (en) | Method and device for preventing user from being forced off-line | |
| CN119697126A (en) | SIP signaling transmission and flow control method, device and computer equipment | |
| CN106506495B (en) | Terminal online control method and device | |
| CN105933901A (en) | Method and system for authenticating wireless router | |
| CN101316165B (en) | Method and server for implementing communication between application system and communication network |
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 | ||
| RJ01 | Rejection of invention patent application after publication | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200710 |