Mutual exclusion method and device for multiple terminal devices with the same application
A terminal device and multi-terminal technology, applied in the field of communication, can solve the problem of difficult acquisition of terminal device identification, and achieve the effects of improving access efficiency and security, reducing session process, and reducing interaction burden.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] Embodiment 1 of the present invention provides a method for mutual exclusion of multiple terminals of the same application. Based on the OAuth2.0 protocol, users log in to the same application through different terminal devices to allocate different tokens (Token), and at the same time, ensure that the database only stores the same application corresponding to the user. The only effective token with a group identifier. When a user uses a certain terminal device to access the same application authority interface, the comparison of the aforementioned two tokens ensures that the user can only pass the token authentication through a certain terminal device at the same time. It solves the problem of realizing the mutual exclusion of multiple terminals of the same application without relying on the terminal device identification.
[0028] refer to figure 1 , which is a schematic flowchart of a method for mutual exclusion of multiple terminals with the same application provide...
Embodiment 2
[0042] The first embodiment described above describes how to pass token authentication when the user accesses the first application through the first terminal device. This embodiment describes how to realize the same application with multiple terminals when the user accesses the first application through the second terminal device at the same time. mutually exclusive.
[0043] refer to figure 2 , which is a schematic flowchart of a method for mutual exclusion of multiple terminals with the same application provided in Embodiment 2 of the present invention.
[0044] Step S2001: Receive a login request message for a user to log in to a first application through a second terminal device, where the login request message includes an identifier of the first application corresponding to the second terminal device, a user identifier and a password.
[0045] Step S2002: After the user ID and password pass the verification, distribute and issue a second token to the second terminal de...
Embodiment 3
[0055] Embodiment 3 of the present invention provides a method for mutual exclusion of multiple terminals with the same application. refer to image 3 , which is a schematic flowchart of a method for mutual exclusion of multiple terminals with the same application provided in Embodiment 3 of the present invention.
[0056] Step S3001: Receive an access message for a user to access a first application authority interface through a first terminal device, where the access message includes a first token and a user identifier.
[0057] Step S3002: According to the user ID, compare whether the first token in the access message is the same as the token stored in the database corresponding to the first application group ID corresponding to the user ID.
[0058] In the embodiment of the present invention, one and only one token stored in the database corresponding to the same application group identifier of the same user is valid. Usually, the latest token allocated to the user by th...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


