Cloud system authentication method, third-party system authentication method, device, and equipment

By encapsulating cloud interface information in the development toolkit and verifying it, the problem of poor interface permission management configuration flexibility in the cloud system is solved, secure interface permission isolation and interaction is achieved, and the risk of password leakage is reduced.

CN116566716BActive Publication Date: 2024-10-29CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202310632576.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-05-31
Publication Date
2024-10-29
Estimated Expiration
2043-05-31

AI Technical Summary

Technical Problem

Existing cloud systems have poor configuration flexibility in interface permission management, resulting in third-party systems being unable to effectively isolate interface permissions, posing security risks.

Method used

By encapsulating the cloud interface information in the development toolkit, after the third-party system sends an authentication request, the cloud system verifies the development toolkit information and server information. After passing the verification, an interactive connection is established. The third-party system can call the cloud interface through the encapsulated cloud interface information. , using encryption algorithms to ensure data security.

Benefits of technology

It improves the flexibility and security of interface permission isolation, reduces the risk of password leakage, simplifies interface permission management, and enhances interaction security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116566716B_ABST
    Figure CN116566716B_ABST
Patent Text Reader

Abstract

The present application relates to a cloud system authentication method, a third-party system authentication method, an apparatus, and a device. The cloud system authentication method includes obtaining an authentication request from a third-party system, wherein the authentication request is encapsulated and sent by a development toolkit associated with the third-party system, and the authentication request includes at least development toolkit information and server information of the third-party system; in response to the authentication request, verification information is obtained, and the development toolkit information and the server information are verified according to the verification information. If the verification is successful, an authentication success message is sent to the third-party system to establish an interactive connection for the third-party system to call a cloud interface according to the cloud interface information; the present application can be used to improve the problem of poor flexibility in configuration of interface authority management in the prior art.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle communication technology, and in particular to a cloud system authentication method, a third-party system authentication method, a device, and a piece of equipment. Background Art

[0002] As the foundation of the Internet of Vehicles, the vehicle's cloud system is responsible for storing vehicle data, user data and other Internet of Vehicles data, and provides authentication, data query and other services for other business systems.

[0003] The cloud system will interact with many upstream systems. For example, different third-party systems provide different data to the cloud system, the production line system provides vehicle data and on-board equipment data to the cloud system, the certificate PKI (Public Key Infrastructure) system provides certificate data and key data to the cloud system, and OTA (Over The Air) provides software upgrade-related services to the cloud system, etc.

[0004] These third-party systems or supplier systems push data or query data by calling the cloud system interface, as well as calling the cloud interface for authentication. Currently, the cloud system needs to isolate interface permissions according to the assigned users. For example, certificate PKI users can only access cloud system certificate-related interfaces but not digital key-related interfaces. The interface permission management configuration flexibility is relatively poor. Summary of the invention

[0005] Based on this, a cloud system authentication method, a third-party system authentication method, a device, and a device are provided to improve the problem of poor flexibility in interface authority management configuration in the prior art.

[0006] In one aspect, a cloud system authentication method is provided, the method comprising:

[0007] Obtaining an authentication request from a third-party system, wherein the authentication request is encapsulated and sent by a development toolkit associated with the third-party system, and the authentication request includes at least development toolkit information and server information of the third-party system, wherein the development toolkit encapsulates cloud interface information;

[0008] In response to the authentication request, obtaining verification information, and verifying the development toolkit information and the server information according to the verification information, wherein the verification information includes pre-stored information of the development toolkit and real-time information of the third-party system;

[0009] The verification result is determined. If the verification is successful, an authentication success message is sent to the third-party system to establish an interactive connection for the third-party system to call the cloud interface according to the cloud interface information.

[0010] In one embodiment, before obtaining the authentication request from the third-party system, the method further includes:

[0011] In response to an access request from a third-party system, configuring a development toolkit including the cloud interface information, and obtaining pre-stored information of the development toolkit;

[0012] The development kit is sent to the third-party system for integration and authentication by the third-party system.

[0013] In one embodiment, the configuration includes a development kit for the cloud interface information, including:

[0014] Encapsulating information data and functional components to obtain the development toolkit;

[0015] Among them, the information data at least includes cloud system address information, cloud interface information and third-party system account information; the functional components at least include server information acquisition components and cloud system interaction components.

[0016] In one embodiment, the configuration includes a development kit for the cloud interface information, further comprising:

[0017] The management component is encapsulated into the development toolkit, wherein the management component at least includes an interface access current limiting component.

[0018] In one embodiment, the configuration includes a development kit for the cloud interface information, further comprising:

[0019] The data file of the development toolkit is signed according to the cloud private key, and the cloud public key is encapsulated in the development toolkit, so that after the development toolkit is integrated into the third-party system, the signature can be verified according to the cloud public key to confirm whether the data file has been tampered with. If not, the authentication request is encapsulated and sent.

[0020] In one embodiment, the configuring of the development toolkit including the cloud interface information includes: encrypting the development toolkit according to an encryption algorithm;

[0021] The sending of the development toolkit to the third-party system for integration includes: sending encrypted decryption information of the development toolkit so that the third-party system can decrypt the development toolkit.

[0022] In one embodiment, after sending the authentication pass message to the third-party system, the method further includes:

[0023] The server information is stored as the verification information for verification during the next communication according to the pre-stored information of the development toolkit and the server information of the third-party system.

[0024] In another aspect, a third-party system authentication method is provided, comprising:

[0025] Sending an authentication request to a cloud system, so that the cloud system responds to the authentication request, obtains authentication information, and verifies the development toolkit information and the server information according to the authentication information, wherein the authentication information includes pre-stored information of the development toolkit and real-time information of the third-party system;

[0026] The authentication request is encapsulated and sent by a development toolkit associated with a third-party system, and the authentication request includes at least the development toolkit information and server information of the third-party system, wherein the development toolkit encapsulates cloud interface information;

[0027] Obtain an authentication success message sent by the cloud system based on a verification success result, establish an interactive connection, and call a cloud interface according to the cloud interface information.

[0028] In another aspect, a cloud system authentication device is provided, the device comprising:

[0029] A receiving module, used to obtain an authentication request from a third-party system, wherein the authentication request is encapsulated and sent by a development toolkit associated with the third-party system, and the authentication request includes at least development toolkit information and server information of the third-party system, wherein the development toolkit encapsulates cloud interface information;

[0030] an authentication module, configured to obtain authentication information in response to the authentication request, and to verify the development toolkit information and the server information according to the authentication information, wherein the authentication information includes pre-stored information of the development toolkit and real-time information of the third-party system;

[0031] The sending module is used to send an authentication pass message to the third-party system after the verification is passed, so as to establish an interactive connection for the third-party system to call the cloud interface according to the cloud interface information.

[0032] A computer device is also provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of a cloud system authentication method or a third-party system authentication method when executing the computer program.

[0033] The above-mentioned cloud system authentication method, third-party system authentication method, device, and equipment encapsulate various types of cloud interface information in a development kit as needed. The third-party system sends an authentication request through the development kit. The cloud system verifies the development kit information and the server information of the third-party system contained in the authentication request based on the pre-stored information of the development kit and the real-time information of the third-party system. After the verification is passed, a connection can be established, thereby ensuring the security of the interaction. The third-party system can call the required interface through the cloud interface information encapsulated by the development kit, thereby improving the problem of cloud interface authority isolation. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] Figure 1 A diagram of an application environment of a cloud system authentication method in an embodiment;

[0035] Figure 2 A schematic diagram of a flow chart of a cloud system authentication method in one embodiment;

[0036] Figure 3 is a flowchart of a third-party system authentication method in another embodiment;

[0037] Figure 4 A schematic diagram of a process of generating an SDK by a cloud system in one embodiment;

[0038] Figure 5 A schematic diagram of a process of first authentication between a cloud system and a third-party system in one embodiment;

[0039] Figure 6 It is a structural block diagram of a cloud system authentication device in one embodiment;

[0040] Figure 7 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0042] The cloud system authentication method provided in this application can be applied to Figure 1 In the application environment shown, the cloud system 102 communicates with the third-party system 104 through the network, and before the business operation, the third-party system needs to establish a secure session with the cloud system. The cloud system 102 or the third-party system 104 can be implemented with an independent server or a server cluster composed of multiple servers.

[0043] In this embodiment, the cloud system is exemplarily a cloud TSP (Telematics Service Provider, vehicle terminal service platform) system. As the basis of the Internet of Vehicles, the cloud TSP system is responsible for the storage of vehicle data, user data and other Internet of Vehicles data, and provides authentication, data query and other services for other business systems.

[0044] In this embodiment, the third-party system exemplarily includes upstream systems or supplier systems such as the production line system, certificate PKI system, OTA system, digital key system, pre-sales and after-sales system. The production line system provides vehicle data and vehicle-mounted equipment data to the cloud TSP system, the certificate PKI system provides certificate data and key data to the cloud TSP system, the OTA system provides software upgrade-related services to the cloud TSP system, the digital key system provides key data to the cloud TSP system, and the pre-sales and after-sales system provides some equipment replacement and sales status data to the cloud TSP, etc.

[0045] The cloud-based TSP system needs to isolate interface permissions based on the assigned third-party systems. For example, the certificate PKI system can only access the cloud-based TSP system certificate-related interfaces but cannot access the digital key-related interfaces. Roles and interface permissions need to be managed, and the configuration flexibility is relatively poor.

[0046] In one embodiment, Figure 2 As shown, a cloud system authentication method is provided, which is applied to Figure 1 The cloud system in the example is used to illustrate, including the following steps:

[0047] Step 201: The cloud TSP system obtains an authentication request from a third-party system, wherein the authentication request is encapsulated and sent by a development toolkit associated with the third-party system, and the development toolkit encapsulates cloud interface information.

[0048] Exemplarily, the development kit is a software development kit (SDK), which is a collection of program interfaces, documents, and development tools. In this embodiment, the SDK is packaged according to the cloud interface required by the third-party system. For example, the TSP authentication interface and the digital key synchronization interface can be packaged in the SDK at the same time. The SDK can be generated by the cloud TSP system and provided to the third-party system.

[0049] The third-party system is integrated after obtaining the SDK. The SDK collects the server information of the third-party system. The server information may include server Mac (Media Access Control Address, physical address), IP (Internet Protocol Address, Internet Protocol address), operating system and other information. The SDK encapsulates the server Mac, IP, operating system and other information into the request header, and then brings the account / password and other development tool kit information pre-set by the cloud TSP system to access the cloud TSP system.

[0050] Step 202: The cloud TSP system obtains verification information in response to the authentication request, and verifies the development toolkit information and the server information according to the verification information.

[0051] After receiving the authentication request, the cloud TSP system first verifies the SDK information. When the cloud TSP system generates the SDK, it saves the information of the SDK (pre-stored information), such as the SDK unique identification name, the maximum number of connected third-party systems, user name, password, etc. After the cloud TSP verifies that the account / password and other information are correct, it verifies the server information.

[0052] The server information verification process may involve offline confirmation of operations and maintenance related to the third-party system. The third-party system will send the server-related information to the cloud TSP system for review. If the review is correct, the next step can be carried out, otherwise the verification fails.

[0053] Step 203, the cloud TSP system determines the verification result, and if the verification is successful, sends an authentication success message to the third-party system.

[0054] When the verification is successful, the cloud TSP system will store the server information of the third-party system. After receiving the authentication success message, the SDK will complete the initialization and store the relevant server information and audit result information. Subsequent requests will also encapsulate the server Mac, IP, operating system and other information into the request header, and then bring the account / password for verification by the cloud TSP system, without the need for offline confirmation.

[0055] After completing the authentication, the third-party system can call the cloud interface through the cloud interface information encapsulated by the SDK: TSP authentication interface, digital key synchronization interface, thus solving the problem of TSP interface authority isolation.

[0056] The cloud system authentication method of the above embodiment can enable the third-party system to access these cloud interfaces by encapsulating the cloud interfaces required by the third-party system in the SDK and then integrating the SDK into the third-party system, thereby improving the problem of poor configuration flexibility caused by interface permission isolation.

[0057] On the other hand, currently third-party systems usually interact with cloud-based TSP systems through the public network. The cloud-based TSP usually provides each supplier system with a "user name / password" for identity authentication. When there are many third-party systems involved, the "user name / password" authentication method is prone to leakage. For example, information leakage of the third-party system or human leakage of "user name / password" data will cause security problems. However, using the cloud-based system authentication method provided in this application, the user account and password are encapsulated in the SDK, and the existence of the password will not be perceived, thereby reducing the risk of password leakage.

[0058] As an implementation method of the above embodiment, the SDK is dynamically provided to the third-party system by the cloud TSP system according to the demand. First, the cloud TSP system receives the access demand of the third-party system, thereby generating the SDK, setting the unique identification name of the SDK, the maximum number of third-party systems to be accessed, the user name, the password and other information, and storing this information in the cloud TSP system. Then, the required interface is selected according to the demand for encapsulation to obtain the SDK data package, and the SDK data package is also stored in the cloud TSP system as the pre-stored information of the development toolkit. Then the SDK data package is sent to the third-party system for integration.

[0059] In one embodiment, the SDK needs to include interface information specified by the cloud TSP system, cloud system address information so that the SDK can access the cloud TSP system, and third-party system account information such as the set account / password, where the password can be further hashed and stored in the SDK; in addition, it is also necessary to include general business functions, such as the ability to obtain server information, SDK initialization capability, session authentication capability, and the ability to complete interaction requests with the cloud TSP, etc., so it is necessary to encapsulate functional components into the SDK, and the functional components include at least a server information acquisition component and a cloud system interaction component.

[0060] The functional components may also include management components, such as interface access current limiting components, authentication times management components, and server management components.

[0061] The interface access current limiting component is used to set the access current limiting strategy of the interface (the default strategy is no more than 3 calls per second).

[0062] As an implementation method of the above embodiment, the cloud TSP system generates an SDK data packet based on the information set by the administrator and the general business functions of the SDK, and uses the cloud private key to sign the entire data packet, and encapsulates the cloud public key and signature information into the SDK. After the SDK is integrated into the third-party system, the SDK uses the internally encapsulated public key to verify the data packet file to confirm that the data packet has not been tampered with.

[0063] In this implementation, an asymmetric encryption method is used to ensure the security of SDK data.

[0064] In one embodiment, in order to further improve the security of the authentication process, after configuring the development kit including the cloud interface information, the development kit is encrypted according to an encryption algorithm. ClassFinal is a Java class file security encryption tool that supports direct encryption of jar packages or war packages without modifying any project code. It is compatible with spring-framework and can avoid source code leakage or bytecode decompilation. Therefore, the SDK data packet is encrypted using ClassFinal. When the SDK is provided to a third-party system, the encrypted decryption information of the development kit (the SDK usage password) is sent for the third-party system to decrypt the development kit.

[0065] In one embodiment, Figure 3 As shown, a third-party system authentication method is provided, which is applied to Figure 1 The third-party system in the example is used to illustrate the process, including the following steps:

[0066] Step 301 : A development toolkit associated with a third-party system sends an authentication request to a cloud system.

[0067] Exemplarily, the authentication request includes at least the SDK information and the server information of the third-party system. The server information of the third-party system is collected by the SDK after being integrated into the third-party system. After receiving the authentication request, the cloud system verifies the SDK information and the server information, including verifying the SDK information using the SDK's pre-stored information and verifying the server information using the third-party system's instant information. The cloud system sends an authentication pass message to the third-party system after the verification is passed.

[0068] Step 302, obtaining an authentication success message sent by the cloud system based on the verification success result, establishing an interactive connection, and calling a cloud interface according to the cloud interface information of the development toolkit.

[0069] As an implementation method of the above embodiment, the third-party system first sends an access request to the cloud system, and the cloud system then configures and generates an SDK according to the interface required by the third-party system.

[0070] The third-party system receives the SDK generated by the cloud system and integrates it. At this time, the SDK has not been initialized. When the third-party system is started, the SDK performs the initialization step, which is the first authentication step.

[0071] As an implementation method of the above embodiment, the cloud system uses the cloud private key to sign the SDK's data file during the process of generating the SDK. After the third party integrates the SDK, the SDK uses the internally encapsulated public key to verify the data packet file. After the verification is completed and the data file has not been tampered with, the SDK encapsulates the server Mac, IP, operating system and other information into the request header, and then accesses the cloud TSP with the account / password hash.

[0072] As an implementation of the above embodiment, the third-party system also includes a decryption process for the SDK. After the cloud system generates the SDK, it can use ClassFinal to encrypt the code to prevent decompilation and source code viewing. Before integrating the SDK, the third-party system needs to use the corresponding password to decrypt the SDK.

[0073] like Figure 4 As shown, a method based on Figure 1 Flowchart of SDK generation for the architecture.

[0074] 1. First, the administrator of the cloud TSP system receives the demand and initiates a request for third-party system access to generate an SDK, setting the unique identification name of this SDK, the maximum number of third-party systems to be connected, user name, password and other information.

[0075] 2. The cloud TSP system provides a list of all external interfaces. The administrator selects the required interface according to needs and sets the access limit policy (the default policy is no more than 3 calls per second).

[0076] 3. Finally, the administrator submits the relevant configuration for generating the SDK request and the SDK data packet encryption password. The cloud TSP backend system generates the SDK data packet based on the information set by the administrator and the SDK general business functions, and uses the cloud private key to sign the entire data packet, and encapsulates the access cloud public key and signature information into the SDK.

[0077] 4. In order to protect code security, the SDK generation process uses ClassFinal to encrypt the code to prevent decompilation and source code viewing. When providing the SDK to a third-party system, inform the SDK usage password.

[0078] Example

[0079] Now the three-party digital key system needs to interact with the cloud TSP and use the TSP authentication interface and digital key synchronization interface.

[0080] The TSP administrator logs in to the cloud system, initiates a request to create an SDK for interacting with the digital key system, names it digital-key-sdk, sets the account [zhangsan], password [123456], selects the TSP authentication interface ( / digital-key-auth) and the digital key synchronization interface ( / digital-key-sync), and submits it.

[0081] The TSP system generates "digital-key-sdk".jar based on the SDK general business functions and administrator configuration information, and hashes the password [123456] and stores it in the SDK.

[0082] The administrator downloads the SDK and synchronizes it to the third-party digital key system, and informs relevant third-party system users of the password required to use the SDK.

[0083] like Figure 5 FIG. 2 shows a session authentication process in one embodiment.

[0084] The third-party system gets the SDK provided by the administrator and integrates it into the target system. At this time, the SDK has not been initialized. When the target system starts, the SDK performs the following initialization steps:

[0085] S1. SDK uses the internally encapsulated public key to verify the signature of the data packet file to confirm that the data packet has not been tampered with.

[0086] S2. SDK collects server information and encapsulates server Mac, IP, operating system and other information into the request header, and then brings the account / password hash to access the cloud TSP system.

[0087] S3. The cloud TSP system first determines whether the third-party system server has been authenticated and whether the SDK has exceeded the maximum number of authentication times. If the third-party system server has not been authenticated before and the SDK has not reached the maximum number of authentication times, the cloud TSP system verifies that the account / password hash is correct before further reviewing. In this embodiment, the cloud TSP administrator is notified to perform a manual review. In other embodiments, an automatic review can be performed after the third-party system sends the server-related information to the cloud TSP system.

[0088] S4. The administrator checks the third-party service information in the cloud TSP system and manually confirms that it is correct. This process may involve offline confirmation of the operation and maintenance related to the third-party system. After the administrator confirms that it is correct, he responds to the authentication result to the third-party system. From then on, the SDK is initialized. Once reviewed, the SDK will be strongly bound to the user, current account, third-party system, machine MAC, and server IP, so that the security of communication can be enhanced.

[0089] S5. Subsequent requests no longer require confirmation from the cloud TSP administrator. You only need to perform session authentication based on the account / password hash. Once the authentication is passed, you can obtain the session token and start interaction. Each request needs to encapsulate the server Mac, IP, operating system and other information into the request header for cloud TSP verification.

[0090] It is understandable that the cloud TSP system will store the relevant SDK information after creating the SDK. After the third-party system uses the SDK for authentication, the cloud TSP system will update the SDK information, including the third-party system server authentication information, authentication times, etc.

[0091] This application provides an authentication method, which has the following advantages:

[0092] 1. The cloud TSP system can dynamically provide SDK to third-party systems based on demand. The data encapsulated in the SDK includes: the address for accessing the cloud TSP, the interface that the third-party system needs to access, and the user account and password hash. The SDK is encrypted by ClassFinal, and users cannot access the source code, let alone perceive the existence of the password. The third-party system uses the existing interface in the SDK to interact, which can reduce password leakage.

[0093] 2. The authentication process of the third-party system includes initialization and session authentication. Initialization is the first establishment of a connection with the cloud TSP system. Normal communication is required after review by the cloud TSP administrator. Once reviewed, this SDK will be strongly bound to the user, current account, third-party system, machine MAC, and server IP, thus enhancing the security of communication. After the first initialization is completed, subsequent interactions with the cloud TSP no longer require administrator review, and communication can be achieved directly through session authentication with username and password.

[0094] 3. Only a few predetermined interfaces are encapsulated in the SDK. The administrator selects the required interfaces during the SDK generation process and performs tamper-proof protection on the SDK. Then, the third-party system can access these interfaces, which can solve the problem of TSP interface permission isolation and reduce R&D communication costs.

[0095] 4. After the initialization and authentication, the corresponding third-party system information and SDK usage will be stored in the cloud TSP system. The cloud TSP system can flexibly manage SDKs, for example, it can more conveniently control the maximum number of SDK services used by third-party systems, and can flexibly prohibit one or more IPs, MACs, and operating systems at any time.

[0096] 5. By adding current limiting operations to the SDK, you can reduce the access pressure on the cloud TSP system and reduce the risk of abnormal service access. For example, set a certain interface to be accessed no more than 3 times per second.

[0097] It should be understood that although Figure 2-Figure 5 The steps in the flowchart are shown in sequence as indicated by the arrows, but these steps are not necessarily executed in the order indicated by the arrows. Unless otherwise specified in this document, there is no strict order restriction for the execution of these steps, and these steps can be executed in other orders. Moreover, Figure 2-Figure 5 At least part of the steps may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be executed in turn or alternately with other steps or at least part of the sub-steps or stages of other steps.

[0098] In one embodiment, Figure 6 As shown, a cloud system authentication device is provided, including: a receiving module 401, an authentication module 402 and a sending module 403, wherein:

[0099] The receiving module 401 is used to obtain an authentication request from a third-party system, wherein the authentication request is encapsulated and sent by a development toolkit associated with the third-party system, and the authentication request at least includes development toolkit information and server information of the third-party system, wherein the development toolkit encapsulates cloud interface information;

[0100] An authentication module 402, configured to obtain authentication information in response to the authentication request, and to authenticate the development toolkit information and the server information according to the authentication information, wherein the authentication information includes pre-stored information of the development toolkit and instant information of the third-party system;

[0101] The sending module 403 is used to send an authentication success message to the third-party system after the verification is passed, so as to establish an interactive connection for the third-party system to call the cloud interface according to the cloud interface information.

[0102] By adopting the above-mentioned cloud system authentication device, various types of cloud interface information are encapsulated in a development kit as needed. The third-party system sends an authentication request through the development kit. The cloud system verifies the development kit information and the server information of the third-party system contained in the authentication request based on the pre-stored information of the development kit and the real-time information of the third-party system. After the verification is passed, a connection can be established, thereby ensuring the security of the interaction. The third-party system can call the required interface through the cloud interface information encapsulated by the development kit, thereby improving the problem of cloud interface authority isolation.

[0103] In one embodiment, the cloud system authentication device also includes an SDK configuration module, which is used to configure a development toolkit including the cloud interface information and obtain pre-stored information of the development toolkit; the sending module 403 is also used to send the development toolkit to the third-party system for integration, so as to provide authentication for the third-party system.

[0104] In one implementation of the above embodiment, the SDK configuration module is used to encapsulate information data and functional components to obtain the development toolkit; wherein the information data includes at least cloud system address information, cloud interface information and third-party system account information; the functional components include at least server information acquisition components and cloud system interaction components.

[0105] The SDK configuration module encapsulates the management component into the development toolkit. The management component includes at least an interface access current limiting component. By adding the current limiting operation, the access pressure of the cloud TSP system can be reduced, and the risk of abnormal service access can be reduced.

[0106] The SDK configuration module also signs the data file of the development toolkit according to the cloud private key, and encapsulates the cloud public key into the development toolkit.

[0107] The cloud system authentication device also includes an encryption module, which is used to encrypt the development toolkit according to an encryption algorithm. When sending the SDK, the sending module 403 also sends the encrypted decryption information of the development toolkit for the third-party system to decrypt the development toolkit.

[0108] For the specific definition of the cloud system authentication device, please refer to the definition of the cloud system authentication method above, which will not be repeated here. Each module in the above cloud system authentication device can be implemented in whole or in part by software, hardware and their combination. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0109] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 7As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store cloud system authentication data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a cloud system authentication method is implemented.

[0110] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0111] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0112] Obtaining an authentication request from a third-party system, wherein the authentication request is encapsulated and sent by a development toolkit associated with the third-party system, and the authentication request includes at least development toolkit information and server information of the third-party system, wherein the development toolkit encapsulates cloud interface information;

[0113] In response to the authentication request, obtaining verification information, and verifying the development toolkit information and the server information according to the verification information, wherein the verification information includes pre-stored information of the development toolkit and real-time information of the third-party system;

[0114] The verification result is determined. If the verification is successful, an authentication success message is sent to the third-party system to establish an interactive connection for the third-party system to call the cloud interface according to the cloud interface information.

[0115] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0116] In response to an access request from a third-party system, configuring a development toolkit including the cloud interface information, and obtaining pre-stored information of the development toolkit;

[0117] The development kit is sent to the third-party system for integration and authentication by the third-party system.

[0118] In another embodiment, when a computer program is executed by a processor, a third-party system authentication method is implemented. When the processor executes the computer program, the following steps are implemented:

[0119] Sending an authentication request to a cloud system, so that the cloud system responds to the authentication request, obtains authentication information, and verifies the development toolkit information and the server information according to the authentication information, wherein the authentication information includes pre-stored information of the development toolkit and real-time information of the third-party system;

[0120] The authentication request is encapsulated and sent by a development toolkit associated with a third-party system, and the authentication request includes at least the development toolkit information and server information of the third-party system, wherein the development toolkit encapsulates cloud interface information;

[0121] Obtain an authentication success message sent by the cloud system based on a verification success result, establish an interactive connection, and call a cloud interface according to the cloud interface information.

[0122] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in the present application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0123] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0124] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.

Claims

1. A cloud system authentication method, characterized in that: include: Obtaining an authentication request from a third-party system, wherein the authentication request is encapsulated and sent by a development toolkit associated with the third-party system, and the authentication request includes at least development toolkit information and server information of the third-party system, wherein the development toolkit encapsulates cloud interface information; In response to the authentication request, obtaining verification information, and verifying the development toolkit information and the server information according to the verification information, wherein the verification information includes pre-stored information of the development toolkit and real-time information of the third-party system; Determine the verification result, and if the verification is successful, send an authentication success message to the third-party system to establish an interactive connection for the third-party system to call the cloud interface according to the cloud interface information; Before obtaining the authentication request from the third-party system, the method further includes: In response to an access request from a third-party system, configuring a development toolkit including the cloud interface information, and obtaining pre-stored information of the development toolkit; Sending the development kit to the third-party system for integration so as to provide authentication by the third-party system; The configuration includes a development kit for the cloud interface information, including: Encapsulating information data and functional components to obtain the development toolkit; Among them, the information data at least includes cloud system address information, cloud interface information and third-party system account information; the functional components at least include server information acquisition components and cloud system interaction components.

2. The cloud system authentication method according to claim 1, characterized in that: The configuration includes a development kit for the cloud interface information, and further includes: The management component is encapsulated into the development toolkit, wherein the management component at least includes an interface access current limiting component.

3. The cloud system authentication method according to claim 1, characterized in that: The configuration includes a development kit for the cloud interface information, and further includes: The data file of the development toolkit is signed according to the cloud private key, and the cloud public key is encapsulated in the development toolkit, so that after the development toolkit is integrated into the third-party system, the signature can be verified according to the cloud public key to confirm whether the data file has been tampered with. If not, the authentication request is encapsulated and sent.

4. The cloud system authentication method according to claim 1, characterized in that: After configuring the development toolkit including the cloud interface information, the method further comprises: encrypting the development toolkit according to an encryption algorithm; The sending of the development toolkit to the third-party system for integration includes: sending encrypted decryption information of the development toolkit so that the third-party system can decrypt the development toolkit.

5. The cloud system authentication method according to claim 1, characterized in that: After sending the authentication pass message to the third-party system, the method further includes: The server information is stored as the verification information for verification during the next communication according to the pre-stored information of the development toolkit and the server information of the third-party system.

6. A third-party system authentication method, characterized in that: include: Sending an authentication request to a cloud system, so that the cloud system responds to the authentication request, obtains authentication information, and verifies the development toolkit information and the server information according to the authentication information, wherein the authentication information includes pre-stored information of the development toolkit and real-time information of the third-party system; The authentication request is encapsulated and sent by a development toolkit associated with a third-party system, and the authentication request includes at least the development toolkit information and server information of the third-party system, wherein the development toolkit encapsulates cloud interface information; Obtaining an authentication success message sent by the cloud system based on a verification success result, establishing an interactive connection, and calling a cloud interface according to the cloud interface information; Before the cloud system obtains the authentication request from the third-party system, the third-party system sends an access request to the cloud system, so that the cloud system responds to the access request of the third-party system, configures a development kit including the cloud interface information, and obtains pre-stored information of the development kit; The cloud system sends the development toolkit to the third-party system for integration so as to be authenticated by the third-party system; The configuration includes a development kit for the cloud interface information, including: Encapsulating information data and functional components to obtain the development toolkit; Among them, the information data at least includes cloud system address information, cloud interface information and third-party system account information; the functional components at least include server information acquisition components and cloud system interaction components.

7. A cloud system authentication device, characterized in that: The device comprises: A receiving module, used to obtain an authentication request from a third-party system, wherein the authentication request is encapsulated and sent by a development toolkit associated with the third-party system, and the authentication request includes at least development toolkit information and server information of the third-party system, wherein the development toolkit encapsulates cloud interface information; an authentication module, configured to obtain authentication information in response to the authentication request, and to verify the development toolkit information and the server information according to the authentication information, wherein the authentication information includes pre-stored information of the development toolkit and real-time information of the third-party system; A sending module, used for sending an authentication pass message to the third-party system after the verification is passed, so as to establish an interactive connection for the third-party system to call the cloud interface according to the cloud interface information; Before obtaining the authentication request from the third-party system, it also includes: In response to an access request from a third-party system, the SDK configuration module configures a development kit including the cloud interface information and obtains pre-stored information of the development kit; The sending module is also used to send the development toolkit to the third-party system for integration so as to provide authentication for the third-party system; The configuration includes a development kit for the cloud interface information, including: Encapsulating information data and functional components to obtain the development toolkit; Among them, the information data at least includes cloud system address information, cloud interface information and third-party system account information; the functional components at least include server information acquisition components and cloud system interaction components.

8. A computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 5 or the steps of the method according to claim 6 are implemented.

Citation Information

Patent Citations

  • Cloud authentication method and system

    CN104320391A

  • User authority configuration method and device, computer equipment and storage medium

    CN112579997A

  • Authentication method and system, terminal, server, computer system and medium

    CN113055182A

  • Authentication service implementation method and system based on IFAA number

    CN113742705A

  • Method and system for generating cloud authentication tool based on information mapping

    CN114493624A