Verification information acquisition method and device, equipment and storage medium

By using the autonomous authorization page in the private cloud system, the server obtains verification information after the user's independent authorization, solving the problem of information leakage and low security caused by manual review, and improving the security and efficiency of verification information acquisition.

CN119094129APending Publication Date: 2024-12-06TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310665218.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-06
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

There is a risk of information leakage in existing private cloud systems, information use is not very secure, verification efficiency is low, and cost is high.

Method used

During the process of applying for permissions for business pages on the server, the token is displayed according to the page of the information system. After the user authorizes independently, the server obtains verification information from the information system to determine the permissions, avoid manual review and improves security and efficiency.

Benefits of technology

After the user's independent authorization, the server obtains verification information for verification, avoids information leakage, improves the security and efficiency of verification information acquisition, and reduces verification cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119094129A_ABST
    Figure CN119094129A_ABST
Patent Text Reader

Abstract

The invention discloses a verification information obtaining method and device, equipment and a storage medium, and relates to the technical field of computers and the Internet. The method comprises the following steps: in response to triggering of a permission application instruction, sending a permission application message to a server; in response to the page display token received from the server, displaying an autonomous authorization page for autonomous authorization of the user according to the page display token; in response to triggering of an autonomous authorization instruction corresponding to the autonomous authorization page, an information authorization request is sent to the information system, and the information authorization request is used for requesting the information system to grant the server the authority of obtaining verification information of the user from the information system; receiving an authorization success notification from the information system; and sending an authorization success notification to the server, the authorization success notification being used for triggering the server to obtain verification information from the information system, and processing the permission application message according to the verification information. According to the embodiment of the invention, the acquisition security of the verification information can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of computer and Internet technology, and in particular to a method, device, equipment and storage medium for obtaining verification information. Background Art

[0002] Private cloud is a technology that creates cloud infrastructure and software and hardware resources within a firewall so that departments within an organization or enterprise can share resources within the data center. The data security that private cloud can provide is an important reason why organizations or enterprises adopt private cloud.

[0003] In the related technologies, the enterprise has an employee information system and has purchased a private cloud system. The use of the private cloud system needs to be authorized according to the employee's department, position, type of work, etc. The related technologies use manual review to authorize the use of the private cloud system. For example, the private cloud operation and maintenance personnel obtain employee information from the employee information system and verify the employee's authority based on the employee information to determine whether the employee can be granted the right to use the private cloud system.

[0004] However, using manual review to verify permissions poses a risk of information leakage, and the security of information use is not high. Summary of the invention

[0005] The embodiments of the present application provide a method, device, equipment and storage medium for obtaining verification information, which can improve the security of obtaining verification information. The technical solution is as follows:

[0006] According to one aspect of an embodiment of the present application, a method for obtaining verification information is provided, the method comprising:

[0007] In response to the triggering of the permission application instruction, sending a permission application message to the server, wherein the permission application message is used to apply to the server for permission to use the business page corresponding to the server;

[0008] Receiving a page display token from the server, wherein the page display token is a token applied for by the server in the information system and used to display an autonomous authorization page corresponding to the information system;

[0009] Displaying the autonomous authorization page according to the page display token, wherein the autonomous authorization page is used for user autonomous authorization;

[0010] In response to the triggering of the autonomous authorization instruction corresponding to the autonomous authorization page, sending an information authorization request to the information system, wherein the information authorization request is used to request the information system to grant the server permission to obtain the verification information of the user from the information system;

[0011] receiving a notification of successful authorization from the information system;

[0012] The authorization success notification is sent to the server, and the authorization success notification is used to trigger the server to obtain the verification information from the information system and process the permission application message according to the verification information.

[0013] According to one aspect of an embodiment of the present application, a method for obtaining verification information is provided, the method comprising:

[0014] In response to receiving a permission application message from a client, sending an authorization page display request to the information system, wherein the permission application message is used to apply to the server for permission to use a business page corresponding to the server, and the authorization page display request is used to request the information system to grant permission to display an autonomous authorization page corresponding to the information system, and the autonomous authorization page is used for user autonomous authorization;

[0015] In response to receiving a page display token from the information system, sending the page display token to the client, wherein the page display token is a token applied for by the server in the information system and used to display the autonomous authorization page;

[0016] In response to receiving a notification of successful authorization from the client, obtaining verification information of the user from the information system, wherein the notification of successful authorization is generated when the user voluntarily allows the information system to grant the server permission to obtain the verification information from the information system through the autonomous authorization page;

[0017] The permission application message is processed according to the verification information.

[0018] According to one aspect of an embodiment of the present application, a device for obtaining verification information is provided, the device comprising:

[0019] An application message sending module, used to send a permission application message to a server in response to a trigger of a permission application instruction, wherein the permission application message is used to apply to the server for permission to use a business page corresponding to the server;

[0020] A display token receiving module, used for receiving a page display token from the server, wherein the page display token is a token applied for by the server in the information system and used for displaying an autonomous authorization page corresponding to the information system;

[0021] An authorization page display module, used to display the autonomous authorization page according to the page display token, and the autonomous authorization page is used for user autonomous authorization;

[0022] an authorization request sending module, configured to send an information authorization request to the information system in response to the triggering of the autonomous authorization instruction corresponding to the autonomous authorization page, wherein the information authorization request is used to request the information system to grant the server the authority to obtain the verification information of the user from the information system;

[0023] An authorization notification receiving module, used to receive a notification of successful authorization from the information system;

[0024] The authorization notification sending module is used to send the authorization success notification to the server, and the authorization success notification is used to trigger the server to obtain the verification information from the information system and process the permission application message according to the verification information.

[0025] According to one aspect of an embodiment of the present application, a device for obtaining verification information is provided, the device comprising:

[0026] A display request sending module is used to send an authorization page display request to the information system in response to receiving a permission application message from the client, wherein the permission application message is used to apply to the server for permission to use the business page corresponding to the server, and the authorization page display request is used to request the information system to grant the information system corresponding autonomous authorization page display permission, and the autonomous authorization page is used for user autonomous authorization;

[0027] A display token forwarding module, configured to send the page display token to the client in response to receiving the page display token from the information system, wherein the page display token is a token applied by the server in the information system and used to display the autonomous authorization page;

[0028] a verification information acquisition module, configured to acquire the verification information of the user from the information system in response to receiving a notification of successful authorization from the client, wherein the notification of successful authorization is generated when the user autonomously allows the information system to grant the server permission to acquire the verification information from the information system through the autonomous authorization page;

[0029] The application message processing module is used to process the permission application message according to the verification information.

[0030] According to one aspect of an embodiment of the present application, a computer device is provided, the computer device comprising a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement the above-mentioned method for obtaining verification information.

[0031] Wherein, the computer equipment includes terminal equipment and a server.

[0032] According to one aspect of an embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored. The computer program is loaded and executed by a processor to implement the above-mentioned method for obtaining verification information.

[0033] According to one aspect of the embodiments of the present application, a computer program product is provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a computer device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the computer device executes the above-mentioned method for obtaining verification information.

[0034] The technical solution provided by the embodiments of the present application may have the following beneficial effects:

[0035] By displaying a self-authorization page based on a page display token from the information system during the process of applying to the server for permission to use the business page corresponding to the server, the user can, through the self-authorization page, allow the information system to authorize the server to obtain permission for the user's verification information from the information system. After obtaining the permission, the server can directly obtain verification information from the information system to determine whether to grant the user permission to use the business page. This ensures that the server can obtain verification information for verification only after the user's self-authorization, without the need for manual review, thereby avoiding leakage of verification information and improving the security of obtaining verification information.

[0036] In addition, compared with the manual review method used in related technologies, the technical solution provided in the embodiment of the present application can automatically complete the verification, with higher verification efficiency and lower verification cost, which is conducive to improving the authorization efficiency of the use rights of business pages. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0038] Figure 1 It is a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application;

[0039] Figure 2 is a flowchart of a method for obtaining verification information provided by an embodiment of the present application;

[0040] Figure 3 is a schematic diagram of a configuration page provided by an embodiment of the present application;

[0041] Figure 4 is a schematic diagram of an autonomous authorization page provided by another embodiment of the present application;

[0042] Figure 5 It is a schematic diagram of a user autonomous authorization process provided by an embodiment of the present application;

[0043] Figure 6 is a flowchart of a method for obtaining verification information provided by another embodiment of the present application;

[0044] Figure 7 It is a schematic diagram of the architecture of a verification system provided by an embodiment of the present application;

[0045] Figure 8 is a flowchart of a method for obtaining verification information provided by another embodiment of the present application;

[0046] Fig. 9 is a block diagram of a device for obtaining verification information provided by an embodiment of the present application;

[0047] Fig.10 is a block diagram of a device for obtaining verification information provided by another embodiment of the present application;

[0048] Fig.11 is a block diagram of a device for obtaining verification information provided by another embodiment of the present application;

[0049] Fig.12 is a block diagram of a terminal device provided by an embodiment of the present application;

[0050] Fig.13 This is a block diagram of a server provided by an embodiment of the present application. DETAILED DESCRIPTION

[0051] In order to make the objectives, technical solutions and advantages of the present application clearer, the implementation methods of the present application will be further described in detail below in conjunction with the accompanying drawings.

[0052] Cloud technology refers to a hosting technology that unifies hardware, software, network and other resources within a wide area network or local area network to achieve data computing, storage, processing and sharing.

[0053] Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model. It can form a resource pool, which can be used on demand and is flexible and convenient. Cloud computing technology will become an important support. The backend services of the technical network system require a large amount of computing and storage resources, such as video websites, picture websites and more portal websites. With the rapid development and application of the Internet industry, in the future, each item may have its own identification mark, which needs to be transmitted to the backend system for logical processing. Data of different levels will be processed separately. All kinds of industry data need strong system backing support, which can only be achieved through cloud computing.

[0054] The technical solution provided in the embodiment of the present application relates to private cloud technology in cloud technology. Private cloud is a technology that creates cloud infrastructure and software and hardware resources within a firewall so that various departments within an organization or enterprise can share resources in a data center. In addition to hardware resources, creating a private cloud generally also requires cloud equipment (IaaS, Infrastructure as a Service) software.

[0055] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment of a solution provided by an embodiment of the present application. The implementation environment may include: a terminal device 10, a server 20 and a server 30.

[0056] The terminal device 10 may be an electronic device such as a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a multimedia player, a PC (Personal Computer), an intelligent robot, a vehicle terminal, a wearable device, etc. The terminal device 10 may be installed with a client of a target application, and the target application may be a browser application, a social entertainment application, a simulation learning application, a database application, and any application with a page display function.

[0057] The server 20 may be a server corresponding to a private cloud system, which may be used to provide background services for the business pages in the client, such as permission verification services, resource provision services, resource storage services, etc. The server 20 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0058] The server 30 may be a server corresponding to an information system, which may refer to an information system corresponding to an organization or enterprise, and may be used to provide data storage services, data call services, etc. for the organization or enterprise. The server 30 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms.

[0059] The terminal device 10 and the server 20 can communicate with each other through a network, the terminal device 10 and the server 30 can communicate with each other through a network, and the server 20 and the server 30 can communicate with each other through a network. The network can be a wired network or a wireless network.

[0060] Exemplarily, the browser in the terminal device 10 displays the business page corresponding to the private cloud system (corresponding to the server 20). The user applies to the private cloud system for the right to use the business page through the business page. The private cloud system, under the authorization of the information system (corresponding to the server 30), displays the self-authorization page to the user through the business page. The user uses the self-authorization page to let the information system grant the private cloud system the right to obtain the user's verification information from the information system. The private cloud system can then obtain the user's verification information from the information system and perform verification. If the verification is successful, the private cloud system grants the user the right to use the business page.

[0061] Below, the technical solution provided by this application will be introduced and explained through method embodiments.

[0062] Please refer to Figure 2 , which shows a flowchart of a method for obtaining verification information provided by an embodiment of the present application. The execution subject of each step of the method can be Figure 1 For a terminal device 10 in the implementation environment of the solution shown, such as a client in the terminal device 10, the method may include the following steps (201-206).

[0063] Step 201, in response to the triggering of the permission application instruction, a permission application message is sent to the server, where the permission application message is used to apply to the server for permission to use the business page corresponding to the server.

[0064] The permission application instruction is used to instruct the client to apply for permission from the server. It can refer to the instruction generated by the client in response to the user's trigger operation on the business page, such as the client responding to the user's trigger operation on the permission application control in the business page, and determining that the permission application instruction corresponding to the permission application control is triggered. The trigger operation can be an operation such as clicking, pressing, double-clicking, sliding, etc., which is not limited in the embodiments of the present application.

[0065] In the embodiment of the present application, the client may refer to the client of the target application installed in the terminal device 10, and the client has a page display function, and the business page may refer to the business page corresponding to the server. Optionally, the server may refer to the server corresponding to the private cloud system, and the business page may refer to the business page corresponding to the private cloud system. For example, the private cloud system may be purchased or leased by a structure or enterprise for use by employees, and employees (i.e., users) can access the shared resources stored in the private cloud system through the business page.

[0066] When a user does not have permission to use a business page, the user can send a permission application message to the server through the client to obtain authorization from the business system (such as a private cloud system) corresponding to the business page.

[0067] In one example, the following contents may also be included before step 201:

[0068] 1. Display the business page corresponding to the server.

[0069] Optionally, the client displays a business page corresponding to the private cloud system, such as the client displays a business homepage corresponding to the private cloud system.

[0070] 2. In response to the viewing operation on the business page, a page use request is sent to the server, where the page use request is used to request to use the business page.

[0071] Optionally, when a user wants to open other business pages corresponding to the private cloud system through a link in the business homepage, the client sends a page usage request to the server, which includes the user's identification information. Taking an institution or enterprise as an example, the user's identification information may include at least one of the following: the user's name, position, type of work, department, and membership level.

[0072] 3. Receive a no-authorization message from the server, where the no-authorization message is used to indicate that the user has no authority to use the business page.

[0073] After receiving the page usage request, the server can check the user's usage rights in the rights database, such as searching the rights database according to the user's identification information. If the server determines that the user does not have the right to use the business page, it generates a no-authorization message and sends it to the client.

[0074] Optionally, the client may also return a home page display instruction to instruct the client to display the business home page instead of jumping to other business pages.

[0075] 4. Display permission application prompt information, which is used to prompt the user to apply for permission to use the business page.

[0076] Optionally, the client may display permission application prompt information after switching to other business pages; the client may also display permission application prompt information on the business homepage, which is not limited in the embodiments of the present application.

[0077] Optionally, a permission application control is deployed in the permission application prompt information, and in response to a user's triggering operation on the permission application control, the client sends a permission application message to the server.

[0078] The permission application prompt information may also include text prompt information to prompt the user that he does not have the permission to use other business pages and instruct the user how to apply for the permission to use the business page.

[0079] In some embodiments, the client displays a pop-up window in response to the triggering of the permission application instruction, and the information in the pop-up window is used to pre-prompt the user that the business system needs to obtain the user's verification information to complete the authorization of the use permission of the business page. For example, the client displays a pop-up window in response to the user's triggering operation on the permission application control, and the pop-up window can be a pop-up window corresponding to the business system.

[0080] Among them, the verification information is used to verify the user's authority, which can be the user's identification information, feature information, reserved information, etc., which is not limited in the embodiments of the present application. Exemplarily, taking an organization or enterprise as an example, the verification information can be the user's position, type of work, department, etc. Optionally, different positions correspond to different business page usage permissions, different types of work correspond to different business page usage permissions, and different departments correspond to different business page usage permissions. The private cloud system needs to grant the user the corresponding permissions based on the verification information, or determine whether the user has the right to use the business page.

[0081] Step 202: receiving a page display token from the server. The page display token is a token applied for by the server in the information system and used to display the autonomous authorization page corresponding to the information system.

[0082] The business page corresponding to the business system can display the autonomous authorization page corresponding to the information system through the client when holding the page display token. Optionally, the page display token can carry the identification information of the business system and the identification information of the user to constrain the autonomous authorization page corresponding to the information system, and is only used for the business system to obtain the verification information of the user. The token in the embodiment of the present application can also be called a token, which represents the object of the right to perform certain operations.

[0083] An information system may refer to a system within a structure or enterprise, which can be used to store relevant information within the structure or enterprise, such as technical data, personnel data, financial data, etc. In the embodiment of the present application, the information system will only provide the user's verification information to the business system (such as a private cloud system) if the user authorizes it.

[0084] The self-authorization page is used for user self-authorization, which provides a channel for users to perform self-authorization. Optionally, the self-authorization page is provided by the business system, so that users can perform self-authorization on the business system. Self-authorization means that the user decides whether to authorize.

[0085] In some embodiments, the page authorization token becomes invalid after a first duration from the moment the page authorization token is generated. The first duration can be set and adjusted according to actual usage requirements, and the embodiments of the present application do not limit this. For example, the first duration can refer to 8 minutes, 9 minutes, 10 minutes, etc., that is, the validity period of the page authorization token can be 8 minutes, 9 minutes, 10 minutes, etc. In this way, setting the validity period of the page authorization token can make the page authorization token automatically invalid after the validity period, instead of existing permanently, thereby reducing the risk of being stolen, and thus improving the security of the page authorization token.

[0086] Step 203: Display a self-authorization page according to the page display token, where the self-authorization page is used for user self-authorization.

[0087] Optionally, the self-authorization page is provided by the information system, and the operation and maintenance personnel can configure the self-authorization page of the information system in advance for the business system. Figure 3 The configuration page 300 includes options such as business system name, business system code, business system address, and prompt text for user disagreement. The operation and maintenance personnel can fill in the name, code, address (such as domain name), and prompt text of the private cloud system into the corresponding options to complete the configuration of the self-authorization page for the private cloud system. Among them, the prompt text for user disagreement is used to prompt the user how to deal with the user's permission application message when the user disagrees.

[0088] Optionally, when it is necessary to display the autonomous authorization page, the client can display the autonomous authorization page according to the configuration.

[0089] In one example, the self-authorization page displays the user's verification information options, the identification information of the business system corresponding to the server, the consent control, the disagreement control, and the consent prompt information and the disagreement prompt information. This makes it easier for users to understand the correspondence, reasons, results, and other information of the self-authorization, which is conducive to improving the user experience.

[0090] The verification information option is optional, and different verification information options correspond to different parts of the verification information. Figure 4 , the self-authorization page 400 includes an organizational structure option 401 and a position option 402. If the user selects the organizational structure option 401, it indicates that the user agrees that the private cloud system can obtain the user's organizational structure; if the user selects the position option 402, it indicates that the user agrees that the private cloud system can obtain the user's position. In this way, the private cloud system can only obtain the information authorized by the user, but cannot obtain all the user's information, and can only obtain the user's verification information, thereby further improving the security of obtaining the verification information.

[0091] The above consent control is used to trigger the autonomous authorization instruction, that is, the user can authorize the information system to the business system by triggering the consent control. Figure 4 In response to the user's triggering operation on the consent control 403, the client obtains an autonomous authorization instruction. The autonomous authorization instruction is used to trigger the client to send an information authorization request to the information system, and the information authorization request is used to request the information system to grant the server the authority to obtain the user's verification information from the information system.

[0092] The above-mentioned disagree control is used to not trigger the autonomous authorization instruction, that is, the user can trigger the disagree control to prevent the information system from authorizing the business system. Optionally, in response to the user's triggering operation on the disagree control, the private cloud system transfers the user's permission application message to manual review, that is, the business system operation and maintenance personnel will review it.

[0093] The above consent prompt information is used to prompt the user about the permissions the business system has after authorization, and the disagree prompt information is used to prompt the user about how the business system handles the permission application message after refusing authorization. For example, refer to Figure 4 The consent prompt message 404 is used to prompt the user "If you agree, the xx system can obtain your above information up to 3 times within 5 minutes", and the disagreement prompt message 405 is used to prompt the user "If you do not agree, your permission application needs manual review."

[0094] In one example, the autonomous authorization page is displayed in the above pop-up window (or business page) in an embedded form. For example, the autonomous authorization page can be rendered in the pop-up window based on an Iframe. Optionally, step 203 may also include the following content:

[0095] 1. Embed the login page of the information system in the pop-up window.

[0096] The pop-up window is provided by the business system, and the login page is used for users to log in to the information system. The login page can be rendered in the pop-up window in the form of an Iframe.

[0097] Optionally, the login page can be a user and password login interface, such as the user can complete the login by entering the user name and user password; the login page can also be a one-key authorization login interface, such as the user triggers the one-key authorization button to complete the login to the information system. The embodiments of the present application are not limited to this.

[0098] By setting up a login process, the embodiment of the present application can ensure that the authorization behavior is an operation performed by the user himself and cannot be forged by the business system, thereby further improving the security of obtaining verification information and the security of authorization.

[0099] 2. In response to the login operation on the login page, a system login request is sent to the information system, where the system login request includes identification information of the business system corresponding to the server and a page display token.

[0100] Optionally, after the user enters the user name and user password in the login page, the login operation can be completed by triggering the login control, and the system login request can also include the user name and user password. The system login request is used to request login to the information system.

[0101] After receiving the system login request, the information system will verify the login information, such as the user name and password. It will also verify the legitimacy of the page display token and whether the page display token matches the identification information of the business system to ensure the security of the login behavior.

[0102] When the information system successfully verifies the login information, the legitimacy of the page display token, and determines that the page display token matches the identification information of the business system, it generates a login success notification and sends it to the client.

[0103] Optionally, the client can communicate with the information system based on the autonomous authorization page. At the same time, the information system can know that this login is for the user to authorize the business system based on the token displayed on the page.

[0104] 3. In response to receiving a successful login notification from the information system, an autonomous authorization page is displayed embedded in a pop-up window. The successful login notification is generated after the information system successfully verifies the system login request.

[0105] The successful login notification is used to inform the user that he has successfully logged into the information system. Optionally, the successful login notification can be received by the autonomous authorization page, and the business page is not aware of it. When receiving the successful login notification, the client displays the autonomous authorization page embedded in the pop-up window according to the configuration of the autonomous authorization page.

[0106] Optionally, the address information of the autonomous authorization page includes parameters of the page display token, so that the address information of the autonomous authorization page can be limited to be used only to authorize the business system to obtain verification information, and other business systems cannot misappropriate it, thereby further improving the security of authorization.

[0107] Step 204, in response to the triggering of the autonomous authorization instruction corresponding to the autonomous authorization page, an information authorization request is sent to the information system, where the information authorization request is used to request the information system to grant the server the authority to obtain the user's verification information from the information system.

[0108] The autonomous authorization instruction may refer to an instruction generated in response to a user triggering an operation on a consent control in an autonomous authorization page. The triggering of the autonomous authorization instruction indicates that the user agrees to authorize the business system. Optionally, the user may determine whether to agree to the authorization based on the business system name, verification information options, etc. displayed in the autonomous authorization page.

[0109] In one example, an information authorization request includes identification information of a business system corresponding to the server and a page display token; the information authorization request can be used to trigger the information system to verify the legitimacy of the page display token according to the information authorization request, generate an authorization success notification after successfully verifying the page display token, and send the authorization success notification to the client.

[0110] Optionally, while generating the authorization success notification, the information system may also record the generation time, authorized user and authorized system corresponding to the authorization success notification, so as to facilitate legal verification when the subsequent business system extracts the verification information, thereby ensuring the security of obtaining the verification information.

[0111] Step 205: Receive a notification of successful authorization from the information system.

[0112] Optionally, the client receives a notification of successful authorization from the information system through the autonomous authorization page, and the notification of successful authorization is used to inform the user (or the autonomous authorization page) that the authorization is successful.

[0113] In one example, the autonomous authorization page is embedded in the parent page corresponding to the server in the form of a subpage. The autonomous authorization page receives a successful authorization notification from the information system and also needs to inform the parent page corresponding to the server of the successful authorization notification.

[0114] Among them, the parent page corresponding to the self-authorization page is the above-mentioned business page (or pop-up window), so the self-authorization page must also inform the business page of the authorization success notification, and the business page will then inform its corresponding business system (ie, server) of the authorization success notification.

[0115] Exemplarily, the process may be as follows: the client first sends an authorization success notification to the parent page through the autonomous authorization page, and then sends the authorization notification to the server based on the parent page.

[0116] For example, taking a private cloud system as an example, the implementation code for the interaction between the autonomous authorization page and the business page can be as follows:

[0117]

[0118] const BUSSINESS_DOMAIN = 'https: / / business domain name.com'; / / Business system address configured when applying for internal encryption token

[0119] window.parent.postMessage({ret: true, msg: '', userChoose: 'agree'}, BUSSINESS_DOMAIN); / / The autonomous authorization page notifies the parent page (such as the business page mentioned above) of the authorization result.

[0120] For another example, the information system can also provide a general SDK (Software Development Kit), staff.js, to provide the ability to obtain authorization results. The business system can directly link to the SDK, or deploy it by itself, or use it as a reference code, which is not limited in the embodiments of the present application. For example, the core code of the SDK can be as follows:

[0121]

[0122] The business page corresponding to the business system can actively obtain the authorization result (such as authorization success notification, authorization failure notification, etc.) from the autonomous authorization page.

[0123] Step 206: Send an authorization success notification to the server. The authorization success notification is used to trigger the server to obtain verification information from the information system and process the permission application message according to the verification information.

[0124] After the business page corresponding to the business system obtains the authorization success notification, the client sends the authorization success notification to the server corresponding to the business page through the business page to inform the server that the user's autonomous authorization is successful, that is, the server can obtain the user's verification information from the information system.

[0125] After obtaining the verification information, the server verifies the verification information according to the business permission rules. If the verification is successful, the server returns the processing result of the permission application message, and the client displays the processing result to the user through the business page. If the processing is successful, the user has the permission to use the business page, that is, can browse the content of the business page.

[0126] Although the authorization process in the embodiment of the present application has many steps, most of them are automatic front-end interaction and back-end automatic interaction, and are not complicated for the user operation level. Figure 5 , users only need to go through process 501, process 502 and process 503 to achieve self-authorization. Users can complete the authorization of the private cloud system in just three steps without waiting for manual review (such as scheduled review, which requires a long wait time), thereby improving user experience. Moreover, usually more than 95% of the permissions can be opened in real time through self-authorization, which effectively improves the authorization efficiency, reduces the work content of the operation and maintenance personnel of the private cloud system, and effectively saves labor costs.

[0127] To sum up, the technical solution provided by the embodiment of the present application, by displaying a self-authorization page according to a page display token from the information system during the process of applying to the server for the permission to use the business page corresponding to the server, so that the user can, through the self-authorization page, independently allow the information system to authorize the server to obtain the user's verification information from the information system. After obtaining the permission, the server can directly obtain the verification information from the information system to determine whether to grant the user the permission to use the business page. This ensures that the server can obtain the verification information for verification only after the user's self-authorization, and no manual review is required, thereby avoiding the leakage of the verification information and improving the security of obtaining the verification information.

[0128] In addition, compared with the manual review method used in related technologies, the technical solution provided in the embodiment of the present application can automatically complete the verification, with higher verification efficiency and lower verification cost, which is conducive to improving the authorization efficiency of the use rights of business pages.

[0129] In addition, by setting up the login process, it can be ensured that the authorization behavior is the user's own operation and cannot be forged by the business system, thereby further improving the security of obtaining verification information and the security of autonomous authorization. At the same time, by setting the parameters of the page display token into the address information of the autonomous authorization page, the address information of the autonomous authorization page can be limited to only be used to authorize the business system to obtain verification information, and other business systems cannot steal it, thereby further improving the security of autonomous authorization.

[0130] Please refer to Figure 6 , which shows a flowchart of a method for obtaining verification information provided by another embodiment of the present application. The execution subject of each step of the method can be Figure 1 In the server 20 in the implementation environment of the solution shown, the method may include the following steps (601-604).

[0131] Step 601, in response to receiving a permission application message from the client, sends an authorization page display request to the information system, the permission application message is used to apply to the server for permission to use the business page corresponding to the server, and the authorization page display request is used to request the information system to grant display permission for the autonomous authorization page corresponding to the information system, and the autonomous authorization page is used for user autonomous authorization.

[0132] The client displays the business page of the business system corresponding to the server, such as the business homepage. If a user wants to view the business page of the business system but does not have the right to use the business page, he / she will apply for the permission to use the business page from the business system, that is, send a permission application message to the server of the business system through the client to apply for the permission to use the business page.

[0133] The server needs to verify the user's authority based on the user's verification information to complete the authorization. The server also needs to obtain the user's verification information, and the user's verification information can be stored in the information system. Therefore, the server also needs to obtain the authority to obtain the user's verification information from the information system, and the authority must be authorized by the user. Therefore, the server needs to obtain the display authority of the self-authorization page from the information system to display the self-authorization page to allow the user to perform self-authorization.

[0134] The client, server, information system, verification information, business page and autonomous authorization page in the embodiments of the present application are the same as those described in the above embodiments. For the contents not described in the embodiments of the present application, please refer to the above embodiments and will not be repeated here.

[0135] In one example, the authorization page display request includes identification information of a business system corresponding to the server, an internal encryption token between the business system and the information system, and identification information of the user.

[0136] Among them, the identification information of the business system is used to uniquely identify the business system, such as the code of the business system. The internal encryption token is a token applied for by the business system in the information system, which can be used to ensure the security of the interaction between the business system and the information system. For example, after receiving the authorization page display request, the information system needs to verify the internal encryption token to ensure the legitimacy of the authorization page display request. The user's identification information is used to uniquely identify the user, such as the user name, user ID, etc.

[0137] Step 602, in response to receiving a page display token from the information system, sending the page display token to the client, where the page display token is a token applied for by the server in the information system and used to display the autonomous authorization page.

[0138] Optionally, the page display token is generated by the information system after successfully verifying the internal encrypted token according to the authorization page display request. Exemplarily, after successfully verifying the internal encrypted token, the information system generates a page display token according to the identification information of the business system and the identification information of the user, such as entering the identification information of the business system and the identification information of the user into the page display token, so that the page display token can be used for constraints, and the autonomous authorization page is only used for the business system, that is, other business systems cannot display the autonomous authorization page through the page display token to obtain the user's autonomous authorization, thereby further improving the security of autonomous authorization.

[0139] After receiving the page display token, the client first embeds the login interface of the information system in the business page according to the page display token. After the user completes the login to the information system, the client embeds the self-authorization page in the business page according to the page display token. Through the self-authorization page, the user can authorize the business system to obtain the authority of his own verification information in the information system.

[0140] Step 603, in response to receiving a successful authorization notification from the client, obtaining the user's verification information from the information system. The successful authorization notification is generated when the user voluntarily allows the information system to grant the server permission to obtain verification information from the information system through a self-authorization page.

[0141] Optionally, if the user agrees to grant the business system permission to obtain his or her verification information in the information system, the information system generates an authorization success notification and sends it to the self-authorization page, which then notifies the business page, which then sends it to the business system.

[0142] After receiving the authorization success notification, the server will know that it has the authority to obtain verification information from the information system.

[0143] In one example, step 603 may also include the following content:

[0144] 1. Send an information acquisition request to the information system, where the information acquisition request includes an internal encryption token.

[0145] The internal encrypted token is used to inform the information system that it is the business system that is obtaining the verification information. By verifying the internal encrypted token, the information system can know that it is the business system that is obtaining the verification information. The information system then checks whether there is authorization data of the business system in the permission database. If there is authorization data of the business system, the information system will send the authorized verification data in the authorization data to the server (business system).

[0146] In one example, the server obtains the authority to verify information from the information system, which becomes invalid after a second period of time starting from the moment when the authorization success notification is generated.

[0147] The second duration can be set and adjusted according to actual usage requirements, such as 4 or 5 minutes, etc., and the embodiments of the present application do not limit this. That is, from the moment the permission takes effect, the information system automatically revokes the permission after the second duration, avoiding the unlimited use of the permission, thereby reducing the risk of leakage of verification information and improving the security of obtaining verification information.

[0148] In one example, the server obtains the authority of verification information from the information system, which becomes invalid when the number of times the server obtains the verification information meets a threshold.

[0149] That is, the permission has a usage limit. Each time the business system obtains verification information, the information system will count it once. When the usage of the permission is exhausted, the business system no longer has the permission to obtain verification information from the information system. The usage limit can be set and adjusted according to actual usage requirements, such as 2 times, 3 times, etc., which is not limited in the embodiments of the present application. By limiting the usage limit of the permission, the unlimited use of the permission is avoided, thereby reducing the risk of leakage of verification information and improving the security of obtaining verification information.

[0150] In one example, the server's permission to obtain verification information from the information system is valid within a third time period starting from the generation time corresponding to the authorization success notification, and the server's permission to obtain verification information from the information system is validly used a first number of times.

[0151] That is, this permission is not only time-limited but also has a usage limit. No matter which expiration condition is met first, the business system will lose the permission to obtain verification information from the information system.

[0152] The embodiment of the present application avoids the unlimited use of the acquisition authority by setting an automatic recovery mechanism for the acquisition authority of the verification information, thereby reducing the risk of leakage of the verification information and further improving the security of obtaining the verification information.

[0153] In one example, if the server fails to obtain the verification information for the first time, the server has a second number of retries to re-acquire the verification information. The second number can be set and adjusted according to actual usage requirements, such as 2 times, 3 times, etc., and this embodiment of the application is not limited to this.

[0154] Optionally, considering the situation that the business system cannot successfully obtain the verification information under network anomalies, the embodiment of the present application also supports the business system to have the opportunity to retry, and by reasonably setting the number of retries, the process of obtaining the verification information has a certain disaster prevention capability.

[0155] 2. Receive verification information from the information system, which is sent by the information system after successfully verifying the internal encryption token.

[0156] When the information system determines that there is no problem with the internal encryption token and the business system has the authority to obtain it, the information system sends the user's verification information to the business system.

[0157] Step 604: Process the permission request message according to the verification information.

[0158] After obtaining the verification information, the server verifies the verification information according to the business permission rules (i.e. verifies the user's identity, permissions, etc.). If the verification is successful, it returns the processing result of the permission application message, and the client displays the processing result to the user through the business page. If the processing is successful, the user has the permission to use the business page, that is, can browse the content of the business page.

[0159] Among them, the business authority rules can be set by an organization or enterprise, such as different positions, different types of work, and different departments have different business authorities, which is not limited in this embodiment of the present application.

[0160] To sum up, the technical solution provided by the embodiment of the present application, by displaying a self-authorization page according to a page display token from the information system during the process of applying to the server for the permission to use the business page corresponding to the server, so that the user can, through the self-authorization page, independently allow the information system to authorize the server to obtain the user's verification information from the information system. After obtaining the permission, the server can directly obtain the verification information from the information system to determine whether to grant the user the permission to use the business page. This ensures that the server can obtain the verification information for verification only after the user's self-authorization, and no manual review is required, thereby avoiding the leakage of the verification information and improving the security of obtaining the verification information.

[0161] In addition, compared with the manual review method used in related technologies, the technical solution provided in the embodiment of the present application can automatically complete the verification, with higher verification efficiency and lower verification cost, which is conducive to improving the authorization efficiency of the use rights of business pages.

[0162] In addition, by entering the business system's identification information and the user's identification information into the page display token, the page display token can be used for constraints, and the self-authorization page is only used by the business system. That is, other business systems cannot display the self-authorization page through the page display token to obtain the user's self-authorization, thereby further improving the security of self-authorization.

[0163] In addition, by setting up an automatic recovery mechanism for the access permission of verification information, the unlimited use of the access permission is avoided, thereby reducing the risk of leakage of verification information and improving the security of obtaining verification information. At the same time, since the verification information is obtained with the authorization of the user and the access permission is automatically recovered, the information security pressure of the business system is reduced, and the risk of leakage of verification information due to management of the business system, code leakage, etc. is reduced, which is conducive to improving the security of obtaining verification information.

[0164] In some embodiments, the technical solution provided in the embodiments of the present application is described by the interaction process between the client (such as the front-end page), the private cloud system (server) and the information system, which may specifically include the following contents.

[0165] Optionally, the client, private cloud system and information system can be implemented as a verification system. Figure 7 The architecture of the verification system 700 may include a client 701 , a server 702 , a storage layer 703 and a public service end 704 .

[0166] The client 701 corresponds to the browser client or applet client of the private cloud system. The browser client or applet client corresponds to the same technical solution provided by the implementation of this application. The browser client will be used as an example for explanation below. The service end 702 corresponds to the server of the private cloud system, and the storage layer 703 corresponds to the database of the private cloud system, such as a MySQL type database. The public service end 704 corresponds to the server of the information system, such as the server of the employee information system corresponding to the institution or company.

[0167] refer to Figure 8 , the interaction process may include the following:

[0168] The client 701 displays the business homepage of the private cloud system.

[0169] In response to the user's viewing operation on other business pages, the client 701 sends a page use request to the server 702, where the page use request is used to request to use the business page.

[0170] After receiving the page use request, the server 702 queries the user authority data in the storage layer 703 to determine whether the user has the authority to use the business page. If the server 702 determines that the user does not have the authority to use the business page, it sends the no-authorization message and the business homepage display instruction to the client 701. The no-authorization message is used to indicate that the user has no authority to use the business page, and the business homepage display instruction is used to instruct the client 701 to display the business homepage.

[0171] The client 701 displays the business homepage of the private cloud system and displays permission application prompt information, which is used to prompt the user to apply for permission to use the business page. Optionally, the permission application prompt information includes a permission application control.

[0172] In response to the user clicking the permission application control, the client 701 sends a permission application message to the server 702, which is used to apply for permission to use the business page from the private cloud system. Optionally, the client 701 also displays an information acquisition pop-up window to prompt the user that the user's verification information needs to be acquired.

[0173] After receiving the permission request message, the server 702 sends an authorization page display request to the information system, wherein the authorization page display request is used to request the information system to grant the display permission of the autonomous authorization page. Optionally, the authorization page display request includes the identification information of the private cloud system, the internal encryption token between the private cloud system and the information system, and the identification information of the user.

[0174] After receiving the authorization page display request, the public service end 704 verifies the internal encrypted token, and after the verification is successful, generates a page display token according to the identification information of the business system and the identification information of the user, and sends the page display token to the service end 702. The page display token is a token applied by the server in the information system for displaying the autonomous authorization page.

[0175] The server 702 sends the page display token to the client 701 .

[0176] After receiving the page display token, the client 701 renders the autonomous authorization page in a pop-up window and sets the parameters of the page display token into the address information of the autonomous authorization page.

[0177] The client 701 renders and displays the login page corresponding to the information system in a pop-up window.

[0178] In response to the user's login operation, the client 701 sends a system login request to the public service end 704 , where the system login request includes the identification information of the private cloud system, a page display token, and the user's username and password.

[0179] After receiving the system login request, the public service terminal 704 verifies the user name and password, and verifies the legitimacy of the token displayed on the page, as well as whether the token displayed on the page matches the identification information of the private cloud system. If the verification is successful, the public service terminal 704 generates a successful login notification and sends the successful login notification to the client 701.

[0180] After receiving the successful login notification, the client 701 renders and displays the autonomous authorization page of the information system in a pop-up window. In response to the user's authorization operation, the client 701 sends an information authorization request to the public service end 704, which is used to request the information system to grant the private cloud system the authority to obtain the user's verification information from the information system. Optionally, the information authorization request includes the identification information of the private cloud system and the page display token.

[0181] After receiving the information authorization request, the public service end 704 verifies the legitimacy of the page display token, generates an authorization success notification after successfully verifying the page display token, and sends the authorization success notification to the client 701. When generating the authorization success notification, the public service end 704 also records the generation time, authorized user, and authorized system corresponding to the authorization success notification.

[0182] After receiving the authorization success notification, the client 701 sends the authorization success notification to the server 702. Optionally, the authorization success notification is received by the autonomous authorization page, and the autonomous authorization page notifies the business page, and the business page notifies the server 702.

[0183] After receiving the authorization success notification, the server 702 sends an information acquisition request to the public service end 704, and the information acquisition request includes an internal encryption token.

[0184] After receiving the information acquisition request, the public service end 704 verifies the internal encryption token and verifies whether the permission of the private cloud system to obtain the verification information is invalid, such as whether the permission exists for more than 5 minutes or whether the number of times the permission is used exceeds 2 times. If the internal encryption token verification is successful and the permission is not invalid, the verification information of the user authorization part is sent to the server end 702.

[0185] After receiving the verification information, the server 702 verifies the user's authority according to the verification information, and generates a permission application success notification if the verification succeeds; and generates a permission application failure notification if the verification fails.

[0186] The server 702 sends a permission application success notification to the client 701 .

[0187] The client 701 prompts the user that the permission application is successful, which means that the user has the permission to use the business page.

[0188] To sum up, the technical solution provided by the embodiment of the present application, by displaying a self-authorization page according to a page display token from the information system during the process of applying to the server for the permission to use the business page corresponding to the server, so that the user can, through the self-authorization page, independently allow the information system to authorize the server to obtain the user's verification information from the information system. After obtaining the permission, the server can directly obtain the verification information from the information system to determine whether to grant the user the permission to use the business page. This ensures that the server can obtain the verification information for verification only after the user's self-authorization, and no manual review is required, thereby avoiding the leakage of the verification information and improving the security of obtaining the verification information.

[0189] In addition, compared with the manual review method used in related technologies, the technical solution provided in the embodiment of the present application can automatically complete the verification, with higher verification efficiency and lower verification cost, which is conducive to improving the authorization efficiency of the use rights of business pages.

[0190] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0191] refer to Fig. 9, which shows a block diagram of a verification information acquisition device provided by an embodiment of the present application. The device has the function of implementing the above method example, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the terminal device introduced above, or it can be set in the terminal device. Fig. 9 As shown, the device 900 includes: an application message sending module 901, a display token receiving module 902, an authorization page display module 903, an authorization request sending module 904, an authorization notification receiving module 905 and an authorization notification sending module 906.

[0192] The application message sending module 901 is used to send a permission application message to the server in response to the triggering of the permission application instruction, wherein the permission application message is used to apply to the server for permission to use the business page corresponding to the server.

[0193] The display token receiving module 902 is used to receive a page display token from the server. The page display token is a token applied for by the server in the information system and used to display the autonomous authorization page corresponding to the information system.

[0194] The authorization page display module 903 is used to display the autonomous authorization page according to the page display token, and the autonomous authorization page is used for user autonomous authorization.

[0195] The authorization request sending module 904 is used to send an information authorization request to the information system in response to the triggering of the autonomous authorization instruction corresponding to the autonomous authorization page, and the information authorization request is used to request the information system to grant the server the authority to obtain the user's verification information from the information system.

[0196] The authorization notification receiving module 905 is used to receive the authorization success notification from the information system.

[0197] The authorization notification sending module 906 is used to send the authorization success notification to the server, and the authorization success notification is used to trigger the server to obtain the verification information from the information system and process the permission application message according to the verification information.

[0198] In some embodiments, Fig.10 As shown, the device 900 further includes: a pop-up window display module 907; the authorization page display module 903 further includes: a login page display submodule 903a, a login request sending submodule 903b and an authorization page display submodule 903c.

[0199] The pop-up window display module 907 is used to display a pop-up window in response to the triggering of the permission application instruction.

[0200] The login page display submodule 903a is used to display the login page of the information system embedded in the pop-up window.

[0201] The login request sending submodule 903b is used to send a system login request to the information system in response to a login operation on the login page, wherein the system login request includes identification information of the business system corresponding to the server and the page display token.

[0202] The authorization page display submodule 903c is used to display the autonomous authorization page embedded in the pop-up window in response to receiving a successful login notification from the information system. The successful login notification is generated after the information system successfully verifies the system login request. The address information of the autonomous authorization page includes the parameters of the page display token.

[0203] In some embodiments, the autonomous authorization page displays the user's verification information option, identification information of the business system corresponding to the server, an agree control, a disagree control, and an agree prompt information and a disagree prompt information;

[0204] Among them, the verification information option is optional, the consent control is used to trigger the autonomous authorization instruction, the disagree control is used to not trigger the autonomous authorization instruction, the consent prompt information is used to prompt the user of the permissions the business system has after authorization, and the disagree prompt information is used to prompt the user of how the business system handles the permission application message after refusing authorization.

[0205] In some embodiments, the information authorization request includes identification information of the business system corresponding to the server and the page display token;

[0206] The information authorization request is used to trigger the information system to verify the legitimacy of the page display token according to the information authorization request, generate the authorization success notification after successfully verifying the page display token, and send the authorization success notification to the client.

[0207] In some embodiments, the autonomous authorization page receives a notification of successful authorization from the information system, and the autonomous authorization page is embedded in a parent page corresponding to the server in the form of a subpage;

[0208] The authorization notification sending module 906 is used to send the authorization success notification to the parent page through the autonomous authorization page; and send the authorization notification to the server based on the parent page.

[0209] In some embodiments, Fig.10As shown, the device 900 further includes: a business page display module 908 , a use request sending module 909 , a permission message receiving module 910 and a prompt information display module 911 .

[0210] The business page display module 908 is used to display the business page corresponding to the server.

[0211] The use request sending module 909 is used to send a page use request to the server in response to a viewing operation on the business page, wherein the page use request is used to request to use the business page.

[0212] The permission message receiving module 910 is used to receive a no-authorization message from the server, where the no-authorization message is used to indicate that the user has no authority to use the service page.

[0213] The prompt information display module 911 is used to display permission application prompt information, and the permission application prompt information is used to prompt the user to apply for permission to use the business page.

[0214] In some embodiments, the page authorization token becomes invalid after a first period of time starting from the moment when the page authorization token is generated.

[0215] To sum up, the technical solution provided by the embodiment of the present application, by displaying a self-authorization page according to a page display token from the information system during the process of applying to the server for the permission to use the business page corresponding to the server, so that the user can, through the self-authorization page, independently allow the information system to authorize the server to obtain the user's verification information from the information system. After obtaining the permission, the server can directly obtain the verification information from the information system to determine whether to grant the user the permission to use the business page. This ensures that the server can obtain the verification information for verification only after the user's self-authorization, and no manual review is required, thereby avoiding the leakage of the verification information and improving the security of obtaining the verification information.

[0216] In addition, compared with the manual review method used in related technologies, the technical solution provided in the embodiment of the present application can automatically complete the verification, with higher verification efficiency and lower verification cost, which is conducive to improving the authorization efficiency of the use rights of business pages.

[0217] refer to Fig.11 , which shows a block diagram of a verification information acquisition device provided by another embodiment of the present application. The device has the function of implementing the above method example, and the function can be implemented by hardware, or by hardware executing corresponding software. The device can be the server introduced above, or it can be set in the server. Fig.11As shown, the device 1100 includes: a display request sending module 1101, a display token forwarding module 1102, a verification information acquisition module 1103 and an application message processing module 1104.

[0218] The display request sending module 1101 is used to send an authorization page display request to the information system in response to receiving a permission application message from the client. The permission application message is used to apply to the server for permission to use the business page corresponding to the server. The authorization page display request is used to request the information system to grant display permission for the autonomous authorization page corresponding to the information system. The autonomous authorization page is used for user autonomous authorization.

[0219] The display token forwarding module 1102 is used to send the page display token to the client in response to receiving the page display token from the information system. The page display token is a token applied by the server in the information system for displaying the autonomous authorization page.

[0220] The verification information acquisition module 1103 is used to obtain the user's verification information from the information system in response to receiving an authorization success notification from the client. The authorization success notification is generated when the user voluntarily allows the information system to grant the server permission to obtain the verification information from the information system through the autonomous authorization page.

[0221] The application message processing module 1104 is used to process the permission application message according to the verification information.

[0222] In some embodiments, the authorization page display request includes identification information of a business system corresponding to the server, an internal encryption token between the business system and the information system, and identification information of the user;

[0223] The page display token is generated by the information system according to the authorization page display request after successfully verifying the internal encryption token. The page display token is used for constraints, and the autonomous authorization page is only used by the business system.

[0224] In some embodiments, the verification information acquisition module 1103 is used to:

[0225] Sending an information acquisition request to the information system, wherein the information acquisition request includes the internal encryption token;

[0226] The verification information is received from the information system, wherein the verification information is sent by the information system after successfully verifying the internal encrypted token.

[0227] In some embodiments, the server obtains the permission for the verification information from the information system, which becomes invalid after a second period of time starting from the moment of generation corresponding to the authorization success notification;

[0228] Alternatively, the authority of the server to obtain the verification information from the information system becomes invalid when the number of times the server obtains the verification information meets a threshold;

[0229] Alternatively, the server's permission to obtain the verification information from the information system is valid within a third time period starting from the generation time corresponding to the authorization success notification, and the number of valid uses of the server's permission to obtain the verification information from the information system is the first number.

[0230] In some embodiments, when the server fails to successfully obtain the verification information for the first time, the server has a second number of retries to re-acquire the verification information.

[0231] To sum up, the technical solution provided by the embodiment of the present application, by displaying a self-authorization page according to a page display token from the information system during the process of applying to the server for the permission to use the business page corresponding to the server, so that the user can, through the self-authorization page, independently allow the information system to authorize the server to obtain the user's verification information from the information system. After obtaining the permission, the server can directly obtain the verification information from the information system to determine whether to grant the user the permission to use the business page. This ensures that the server can obtain the verification information for verification only after the user's self-authorization, and no manual review is required, thereby avoiding the leakage of the verification information and improving the security of obtaining the verification information.

[0232] In addition, compared with the manual review method used in related technologies, the technical solution provided in the embodiment of the present application can automatically complete the verification, with higher verification efficiency and lower verification cost, which is conducive to improving the authorization efficiency of the use rights of business pages.

[0233] It should be noted that the device provided in the above embodiment, when implementing its functions, is only illustrated by the division of the above functional modules. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the device and method embodiments provided in the above embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0234] Please refer to Fig.12, which shows a structural block diagram of a terminal device provided by an embodiment of the present application. The terminal device may be the terminal device described above, and the terminal device 1200 may be used to implement the method for obtaining verification information on the terminal device side, specifically:

[0235] Typically, the terminal device 1200 includes: a processor 1201 and a memory 1202 .

[0236] Optionally, the processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1201 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1201 may also include a main processor and a coprocessor. The main processor is a processor for processing data in an awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 1201 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 1201 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0237] Optionally, the memory 1202 may include one or more computer-readable storage media, which may be non-transitory. The memory 1202 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 1202 is used to store a computer program, and the computer program is configured to be executed by one or more processors to implement the above-mentioned method for obtaining verification information on the terminal device side.

[0238] In some embodiments, the terminal device 1200 may further optionally include: a peripheral device interface 1203 and at least one peripheral device. The processor 1201, the memory 1202 and the peripheral device interface 1203 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1203 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 1204, a display screen 1205, an audio circuit 1206 and a power supply 1207.

[0239] Those skilled in the art will understand that Fig.12 The structure shown in the figure does not constitute a limitation on the terminal device 1200, and may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0240] Please refer to Fig.13 , which shows a structural block diagram of a server provided in an embodiment of the present application. The server can be used to implement the method for obtaining verification information on the server side provided in the above embodiment. Specifically:

[0241] The server 1300 includes a central processing unit (such as a CPU (Central Processing Unit), a GPU (Graphics Processing Unit) and an FPGA (Field Programmable Gate Array)) 1301, a system memory 1304 including a RAM (Random-Access Memory) 1302 and a ROM (Read-Only Memory) 1303, and a system bus 1305 connecting the system memory 1304 and the central processing unit 1301. The server 1300 also includes a basic input / output system (Input Output System, I / O system) 1306 for helping to transmit information between various devices in the server, and a large-capacity storage device 1307 for storing an operating system 1313, application programs 1314 and other program modules 1315.

[0242] The basic input / output system 1306 includes a display 1308 for displaying information and an input device 1309 such as a mouse and a keyboard for user inputting information. The display 1308 and the input device 1309 are connected to the central processing unit 1301 through an input / output controller 1310 connected to the system bus 1305. The basic input / output system 1306 may also include an input / output controller 1310 for receiving and processing inputs from a plurality of other devices such as a keyboard, a mouse, or an electronic stylus. Similarly, the input / output controller 1310 also provides output to a display screen, a printer, or other types of output devices.

[0243] The mass storage device 1307 is connected to the central processing unit 1301 via a mass storage controller (not shown) connected to the system bus 1305. The mass storage device 1307 and its associated computer readable medium provide non-volatile storage for the server 1300. That is, the mass storage device 1307 may include a computer readable medium (not shown) such as a hard disk or a CD-ROM (Compact Disc Read-Only Memory) drive.

[0244] Without loss of generality, the computer-readable medium may include computer storage media and communication media. Computer storage media include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. Computer storage media include RAM, ROM, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technology, CD-ROM, DVD (Digital Video Disc) or other optical storage, cassettes, tapes, disk storage or other magnetic storage devices. Of course, those skilled in the art will know that the computer storage medium is not limited to the above. The above-mentioned system memory 1304 and mass storage device 1307 can be collectively referred to as memory.

[0245] According to the embodiment of the present application, the server 1300 can also be connected to a remote computer on the network through a network such as the Internet. That is, the server 1300 can be connected to the network 1312 through the network interface unit 1311 connected to the system bus 1305, or the network interface unit 1311 can be used to connect to other types of networks or remote computer systems (not shown).

[0246] The memory also includes a computer program, which is stored in the memory and configured to be executed by one or more processors to implement the above-mentioned method for obtaining verification information on the server side.

[0247] In some embodiments, a computer-readable storage medium is further provided, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor of a terminal device, the method for obtaining verification information on the terminal device side is implemented.

[0248] In some embodiments, a computer-readable storage medium is further provided, wherein a computer program is stored in the storage medium, and when the computer program is executed by a processor of a server, the method for obtaining verification information on the server side is implemented.

[0249] Optionally, the computer readable storage medium may include: ROM (Read-Only Memory), RAM (Random-Access Memory), SSD (Solid State Drives) or optical disks, etc. Among them, the random access memory may include ReRAM (Resistance Random Access Memory) and DRAM (Dynamic Random Access Memory).

[0250] In some embodiments, a computer program product is further provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a terminal device reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the terminal device executes the above-mentioned method for obtaining verification information on the terminal device side.

[0251] In some embodiments, a computer program product is further provided, the computer program product comprising a computer program, the computer program being stored in a computer-readable storage medium. A processor of a server reads the computer program from the computer-readable storage medium, and the processor executes the computer program, so that the server executes the above-mentioned method for obtaining verification information on the server side.

[0252] It should be noted that, before collecting the relevant data of the user and during the process of collecting the relevant data of the user, the embodiment of the present application can display a prompt interface, a pop-up window or output a voice prompt information, and the prompt interface, pop-up window or voice prompt information is used to prompt the user that the relevant data is currently being collected, so that the present application only starts to execute the relevant steps of obtaining the relevant data of the user after obtaining the confirmation operation issued by the user on the prompt interface or pop-up window, otherwise (that is, when the confirmation operation issued by the user on the prompt interface or pop-up window is not obtained), the relevant steps of obtaining the relevant data of the user are terminated, that is, the relevant data of the user is not obtained. In other words, all user data collected by this application are processed strictly in accordance with the requirements of the laws and regulations of relevant countries, and the informed consent or separate consent of the subject of personal information is obtained with the consent and authorization of the user. The subsequent data use and processing behavior is carried out within the scope of authorization of laws and regulations and the subject of personal information, and the collection, use and processing of relevant user data need to comply with the relevant laws, regulations and standards of relevant countries and regions. For example, the verification information, autonomous authorization page, identification information, etc. involved in this application are all obtained under full authorization.

[0253] It should be understood that the "multiple" mentioned in this article refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. In addition, the step numbers described in this article only illustrate a possible execution sequence between the steps. In some other embodiments, the above steps may not be executed in the order of the numbers, such as two steps with different numbers are executed at the same time, or two steps with different numbers are executed in the opposite order to the diagram. The embodiments of the present application are not limited to this.

[0254] The above description is only an exemplary embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for obtaining verification information, characterized in that: The method comprises: In response to the triggering of the permission application instruction, a permission application message is sent to the server, where the permission application message is used to apply to the server for permission to use the business page corresponding to the server; Receiving a page display token from the server, wherein the page display token is a token applied for by the server in the information system and used to display an autonomous authorization page corresponding to the information system; Displaying the autonomous authorization page according to the page display token, wherein the autonomous authorization page is used for user autonomous authorization; In response to the triggering of the autonomous authorization instruction corresponding to the autonomous authorization page, sending an information authorization request to the information system, wherein the information authorization request is used to request the information system to grant the server permission to obtain the verification information of the user from the information system; receiving a notification of successful authorization from the information system; The authorization success notification is sent to the server, and the authorization success notification is used to trigger the server to obtain the verification information from the information system and process the permission application message according to the verification information.

2. The method according to claim 1, characterized in that The method further comprises: In response to the triggering of the permission application instruction, displaying a pop-up window; The step of displaying the autonomous authorization page according to the page display token includes: Displaying the login page of the information system embedded in the pop-up window; In response to a login operation on the login page, sending a system login request to the information system, wherein the system login request includes identification information of the business system corresponding to the server and the page display token; In response to receiving a successful login notification from the information system, the autonomous authorization page is displayed embedded in the pop-up window. The successful login notification is generated after the information system successfully verifies the system login request. The address information of the autonomous authorization page includes parameters of the page display token.

3. The method according to claim 1, characterized in that: The autonomous authorization page displays the user's verification information option, identification information of the business system corresponding to the server, an agree control, a disagree control, and an agree prompt information and a disagree prompt information; Among them, the verification information option is optional, the consent control is used to trigger the autonomous authorization instruction, the disagree control is used to not trigger the autonomous authorization instruction, the consent prompt information is used to prompt the user of the permissions the business system has after authorization, and the disagree prompt information is used to prompt the user of how the business system handles the permission application message after refusing authorization.

4. The method according to claim 1, characterized in that: The information authorization request includes identification information of the business system corresponding to the server and the page display token; The information authorization request is used to trigger the information system to verify the legitimacy of the page display token according to the information authorization request, generate the authorization success notification after successfully verifying the page display token, and send the authorization success notification to the client.

5. The method according to claim 1, characterized in that The autonomous authorization page receives a notification of successful authorization from the information system, and the autonomous authorization page is embedded in the parent page corresponding to the server in the form of a subpage; The sending the authorization success notification to the server includes: Sending the authorization success notification to the parent page through the autonomous authorization page; The authorization notification is sent to the server based on the parent page.

6. The method according to claim 1, characterized in that The page authorization token becomes invalid after a first period of time starting from the moment when the page authorization token is generated.

7. A method for obtaining verification information, characterized in that: The method comprises: In response to receiving a permission application message from a client, sending an authorization page display request to the information system, wherein the permission application message is used to apply to the server for permission to use a business page corresponding to the server, and the authorization page display request is used to request the information system to grant permission to display an autonomous authorization page corresponding to the information system, and the autonomous authorization page is used for user autonomous authorization; In response to receiving a page display token from the information system, sending the page display token to the client, wherein the page display token is a token applied for by the server in the information system and used to display the autonomous authorization page; In response to receiving a notification of successful authorization from the client, obtaining verification information of the user from the information system, wherein the notification of successful authorization is generated when the user voluntarily allows the information system to grant the server permission to obtain the verification information from the information system through the autonomous authorization page; The permission application message is processed according to the verification information.

8. The method according to claim 7, characterized in that The authorization page display request includes identification information of the business system corresponding to the server, an internal encryption token between the business system and the information system, and identification information of the user; The page display token is generated by the information system according to the authorization page display request after successfully verifying the internal encryption token. The page display token is used for constraints, and the autonomous authorization page is only used by the business system.

9. The method according to claim 8, characterized in that The obtaining the verification information of the user from the information system includes: Sending an information acquisition request to the information system, wherein the information acquisition request includes the internal encryption token; The verification information is received from the information system, wherein the verification information is sent by the information system after successfully verifying the internal encrypted token.

10. The method according to claim 7, characterized in that The server obtains the authorization of the verification information from the information system, which becomes invalid after a second period of time starting from the moment of generation of the authorization success notification; or, The authority of the server to obtain the verification information from the information system becomes invalid when the number of times the server obtains the verification information meets a threshold; or, The server's permission to obtain the verification information from the information system is valid within a third time period starting from the generation time corresponding to the authorization success notification, and the number of valid uses of the server's permission to obtain the verification information from the information system is a first number.

11. A device for obtaining verification information, characterized in that: The device comprises: An application message sending module, used to send a permission application message to a server in response to a trigger of a permission application instruction, wherein the permission application message is used to apply to the server for permission to use a business page corresponding to the server; A display token receiving module, used for receiving a page display token from the server, wherein the page display token is a token applied for by the server in the information system and used for displaying an autonomous authorization page corresponding to the information system; An authorization page display module, used to display the autonomous authorization page according to the page display token, and the autonomous authorization page is used for user autonomous authorization; an authorization request sending module, configured to send an information authorization request to the information system in response to the triggering of the autonomous authorization instruction corresponding to the autonomous authorization page, wherein the information authorization request is used to request the information system to grant the server the authority to obtain the verification information of the user from the information system; An authorization notification receiving module, used to receive a notification of successful authorization from the information system; The authorization notification sending module is used to send the authorization success notification to the server, and the authorization success notification is used to trigger the server to obtain the verification information from the information system and process the permission application message according to the verification information.

12. A device for obtaining verification information, characterized in that: The device comprises: A display request sending module is used to send an authorization page display request to the information system in response to receiving a permission application message from the client, wherein the permission application message is used to apply to the server for permission to use the business page corresponding to the server, and the authorization page display request is used to request the information system to grant the information system corresponding autonomous authorization page display permission, and the autonomous authorization page is used for user autonomous authorization; A display token forwarding module, configured to send the page display token to the client in response to receiving the page display token from the information system, wherein the page display token is a token applied by the server in the information system and used to display the autonomous authorization page; a verification information acquisition module, configured to acquire the verification information of the user from the information system in response to receiving a notification of successful authorization from the client, wherein the notification of successful authorization is generated when the user autonomously allows the information system to grant the server permission to acquire the verification information from the information system through the autonomous authorization page; The application message processing module is used to process the permission application message according to the verification information.

13. A computer device, characterized in that: The computer device includes a processor and a memory, wherein a computer program is stored in the memory, and the computer program is loaded and executed by the processor to implement the method for obtaining verification information as described in any one of claims 1 to 6, or to implement the method for obtaining verification information as described in any one of claims 7 to 10.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which is loaded and executed by a processor to implement the method for obtaining verification information as described in any one of claims 1 to 6, or to implement the method for obtaining verification information as described in any one of claims 7 to 10.

15. A computer program product, characterized in that The computer program product includes a computer program, which is stored in a computer-readable storage medium. The processor reads and executes the computer program from the computer-readable storage medium to implement the method for obtaining verification information as described in any one of claims 1 to 6, or implements the method for obtaining verification information as described in any one of claims 7 to 10.