Resource access method and device, electronic equipment, storage medium and program product

By obtaining the user's connection request and association relationship, and sending access requests to the computing service platform, the problem of cumbersome operations of third-party platform users when using computing service platform resources is solved, and an efficient resource access process is achieved.

CN119853991APending Publication Date: 2025-04-18DAWNING INT INFORMATION IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411977101.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-18

Smart Images

  • Figure CN119853991A_ABST
    Figure CN119853991A_ABST
Patent Text Reader

Abstract

The invention provides a resource access method and device, electronic equipment, a storage medium and a program product. The method comprises the steps that a connection request of a current user is acquired, an access request is sent to a computing service platform according to target account information of the current user on a third-party platform in the connection request and an incidence relation, the access request is used for requesting computing resources of the computing service platform, and the target account information of the current user on the third-party platform is sent to the computing service platform; the association relationship comprises account information of the plurality of users on the third-party platform and account information of each user on the computing service platform. According to the embodiment of the invention, the access request is automatically sent to the computing service platform through the target account information and the association relationship of the current user on the third-party platform in the connection request, so that the computing resources of the computing service platform are accessed to the third-party platform, the user does not need to log in the computing service platform and apply for the resources, and the user experience is improved. And the working efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a resource access method, device, electronic device, storage medium and program product. Background Art

[0002] The computing service platform can provide ordinary users with the service of applying for computing resources and using computing resources on the platform. When users of third-party platforms need to use the resources of the computing service platform, they need to register as platform users on the platform and log in with the registered account before they can apply for computing resources.

[0003] The above method is cumbersome to operate for users of the third-party platform, resulting in low work efficiency. Summary of the invention

[0004] The present application provides a resource access method, device, electronic device, storage medium and program product, which are used to solve the problem that users of a third-party platform have cumbersome operations and low work efficiency when using a computing service platform.

[0005] In a first aspect, the present application provides a resource access method, which is applied to a third-party platform, and the method includes:

[0006] Obtaining a connection request of the current user, wherein the connection request includes target account information of the current user on the third-party platform;

[0007] Acquire an association relationship, wherein the association relationship includes account information of multiple users on a third-party platform and account information of each user on a computing service platform;

[0008] An access request is sent to the computing service platform according to the target account information and the association relationship, where the access request is used to request computing resources of the computing service platform.

[0009] In this embodiment, the third-party platform can obtain the connection request of the current user, and can send an access request to the computing service platform according to the target account information and association relationship of the current user on the third-party platform in the connection request. The access request is used to request the computing resources of the computing service platform to access the computing resources of the computing service platform on the third-party platform. The user does not need to log in and apply for resources on the computing service platform, thereby improving work efficiency.

[0010] Optionally, in the above method, if the number of historical visits of the target account information on the third-party platform is not 0;

[0011] Sending an access request to the computing service platform according to the target account information and the association relationship includes:

[0012] Determining, according to the target account information, whether there is account information of the current user on the computing service platform in the association relationship;

[0013] If so, sending the access request to the computing service platform according to the account information of the current user on the computing service platform;

[0014] If not, a registration request is sent to the computing service platform, and the access request is sent based on the registration request, wherein the registration request includes the platform identifier of the third-party platform and the user information of the current user, wherein the platform identifier is used to verify on the computing service platform whether the third-party platform is an accessible platform, and the user information is used to register the account information of the current user in the computing service platform.

[0015] In this embodiment, the association relationship can be used to determine whether the current user has registered on the computer service platform, thereby choosing to send an access request or a registration request to the computing service platform to quickly execute resource access to the computing service platform.

[0016] Optionally, in the method as described above, sending the access request based on the registration request includes:

[0017] Receiving a registration success message sent by the computing service platform, wherein the registration success message is used to indicate that the computing service platform has completed registration of the current user, and the registration success message includes the account information of the current user on the computing service platform;

[0018] The access request is sent to the computing service platform according to the account information of the current user on the computing service platform.

[0019] In this embodiment, an access request may be sent after receiving a registration success message, so that the current user may access the computing service platform to apply for computing resources.

[0020] Optionally, the method as described above further comprises:

[0021] Obtaining a storage file corresponding to the association relationship;

[0022] The account information of the current user on the computing service platform and the account information of the current user on the third-party platform are written into the storage file.

[0023] In this embodiment, the current user's account information on the computing service platform and the account information on the third-party platform may be added to the association relationship, so that the current user can subsequently access resources of the computing service platform based on the association relationship.

[0024] Optionally, the method as described above further comprises:

[0025] Receiving a target authorization token sent by the computing service platform, where the target authorization token is sent by the computing service platform according to the access request;

[0026] According to the target authorization token, the computing service platform is logged in through a jump interface, so that the current user can apply for or use computing resources in the computing service platform.

[0027] In this embodiment, the target authorization token can be used to log in to the computing service platform through a redirect interface, so that the current user can apply for or use computing resources in the computing service platform.

[0028] Optionally, the method as described above, according to the target authorization token, logging into the computing service platform through a jump interface, includes:

[0029] Determine a uniform resource locator link corresponding to the jump interface;

[0030] splicing the target authorization token into the uniform resource locator link to obtain a spliced ​​link;

[0031] A jump operation is performed based on the spliced ​​links to redirect the displayed page to the computing service platform.

[0032] In this embodiment, the target authorization token is spliced ​​into the uniform resource locator link corresponding to the jump interface, thereby achieving the jump to the computing service platform.

[0033] In a second aspect, the present application provides a resource access device, which is applied to a third-party platform, including:

[0034] A first acquisition module is used to acquire a connection request of a current user, wherein the connection request includes target account information of the current user on the third-party platform;

[0035] A second acquisition module is used to acquire an association relationship, wherein the association relationship includes account information of multiple users on a third-party platform and account information of each user on a computing service platform;

[0036] An access module is used to send an access request to the computing service platform according to the target account information and the association relationship, wherein the access request is used to request computing resources of the computing service platform.

[0037] Optionally, in the above device, if the target account information has a history of access times on the third-party platform that is not zero, the access module is specifically configured to:

[0038] Determining, according to the target account information, whether there is account information of the current user on the computing service platform in the association relationship;

[0039] If so, sending the access request to the computing service platform according to the account information of the current user on the computing service platform;

[0040] If not, a registration request is sent to the computing service platform, and the access request is sent based on the registration request, wherein the registration request includes the platform identifier of the third-party platform and the user information of the current user, wherein the platform identifier is used to verify on the computing service platform whether the third-party platform is an accessible platform, and the user information is used to register the account information of the current user in the computing service platform.

[0041] Optionally, in the above device, the access module is specifically used for:

[0042] Receiving a registration success message sent by the computing service platform, wherein the registration success message is used to indicate that the computing service platform has completed registration of the current user, and the registration success message includes the account information of the current user on the computing service platform;

[0043] The access request is sent to the computing service platform according to the account information of the current user on the computing service platform.

[0044] Optionally, the device as described above further comprises a processing module, and the processing module is used to:

[0045] Obtaining a storage file corresponding to the association relationship;

[0046] The account information of the current user on the computing service platform and the account information of the current user on the third-party platform are written into the storage file.

[0047] Optionally, the device as described above further comprises a jump module, and the jump module is used to:

[0048] Receiving a target authorization token sent by the computing service platform, where the target authorization token is sent by the computing service platform according to the access request;

[0049] According to the target authorization token, the computing service platform is logged in through a jump interface, so that the current user can apply for or use computing resources in the computing service platform.

[0050] Optionally, in the above device, the jump module is specifically used for:

[0051] Determine a uniform resource locator link corresponding to the jump interface;

[0052] splicing the target authorization token into the uniform resource locator link to obtain a spliced ​​link;

[0053] A jump operation is performed based on the spliced ​​links to redirect the displayed page to the computing service platform.

[0054] The resource access device provided in the embodiment of the present application can execute the technical solution in the above method embodiment, and its beneficial effects are similar, which will not be repeated here.

[0055] In a third aspect, the present application provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;

[0056] The memory stores computer-executable instructions;

[0057] The processor executes the computer-executable instructions stored in the memory to implement the method according to the first aspect.

[0058] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a computer, they are used to implement the method described in the first aspect.

[0059] The computer-readable storage medium provided in the embodiment of the present application can execute the technical solution in the above method embodiment, and its beneficial effects are similar, which will not be repeated here.

[0060] In a fifth aspect, the present application provides a computer program product, including a computer program, which is used to implement the method described in the first aspect when executed by a computer.

[0061] The computer program product provided in the embodiment of the present application can execute the technical solution in the above method embodiment, and its beneficial effects are similar and will not be described in detail here.

[0062] The present application provides a resource access method, device, electronic device, storage medium and program product, the method comprising: obtaining a connection request of the current user, and sending an access request to a computing service platform according to the target account information and association relationship of the current user on a third-party platform in the connection request, wherein the access request is used to request computing resources of the computing service platform, and the association relationship includes account information of multiple users on the third-party platform, and account information of each user on the computing service platform. The embodiment of the present application automatically sends an access request to the computing service platform through the target account information and association relationship of the current user on the third-party platform in the connection request, so as to access the computing resources of the computing service platform on the third-party platform, and the user does not need to log in and apply for resources on the computing service platform, thereby improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0064] Figure 1 A schematic diagram of an application scenario provided for an embodiment of the present application;

[0065] Figure 2 A schematic diagram of a resource access method provided in an embodiment of the present application;

[0066] Figure 3 A flowchart of another resource access method provided in an embodiment of the present application;

[0067] Figure 4 A flowchart of another resource access method provided in an embodiment of the present application;

[0068] Figure 5 A flowchart of another resource access method provided in an embodiment of the present application;

[0069] Figure 6 A schematic diagram of the structure of a resource access device provided in an embodiment of the present application;

[0070] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.

[0071] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION

[0072] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0073] As the demand for computing power in fields such as big data, artificial intelligence, and scientific computing continues to grow, more and more enterprises and individual users need efficient and flexible computing resources. Traditional ways of obtaining computing resources usually require users to deploy and maintain hardware equipment by themselves, which is not only costly but also difficult to cope with the dynamic changes in computing needs.

[0074] In order to meet these challenges, computing service platforms came into being. Computing service platforms are platforms that can provide ordinary users with convenient access to high-performance computing resources. Users can dynamically apply for and release resources according to actual needs, thereby achieving efficient resource utilization and significant cost reduction.

[0075] For users of third-party platforms, using computing service platform resources usually requires a series of registration and authentication processes. This is because the computing service platform needs to ensure the security of resources and compliance of use. By registering users of the computing service platform, the computing service platform can authenticate users and ensure that only authorized users can access and use computing resources.

[0076] For computing service platforms, although registration and authentication processes are necessary steps to ensure security and resource management, if these processes are too cumbersome, they may affect the user experience and work efficiency, especially for third-party platform users who need to frequently access and use computing resources.

[0077] Therefore, the present application provides a resource access method, where a user of a third-party platform can initiate an access request to a computing service platform on the third-party platform. Specifically, a user can trigger a connection request on the third-party platform, so that the third-party platform can initiate an access request to the third-party platform based on the connection request and a pre-stored association relationship, thereby realizing access to computing resources of the computing service platform on the third-party platform, and the user does not need to log in and apply for resources on the computing service platform, thereby improving work efficiency.

[0078] In a possible implementation, the following is combined Figure 1 , the application scenarios to which the embodiments of the present application are applicable are described.

[0079] Figure 1 A schematic diagram of an application scenario provided in an embodiment of the present application, such as Figure 1 As shown, the third-party platform 101 can communicate with the computing service platform 102 through the Internet.

[0080] The user of the third-party platform 101 can initiate an access request to the computing service platform 102 on the third-party platform 101 , thereby enabling the user of the third-party platform 101 to access the resources of the computing service platform on the third-party platform 101 .

[0081] In the embodiments of the present application, "access" refers to permission or means to enter or use a certain resource.

[0082] Among them, the third-party platform 101 can be the platform where the user of the computing service platform 102 is located, that is, the third-party platform 101 can be other platforms that need to use the resources of the computing service platform to enhance their own services. These platforms can be users' application development platforms, data analysis platforms, etc., and this application does not limit this.

[0083] It should be understood that the third-party platform 101 is authorized by the computing service platform 102. For example, the third-party platform 101 can obtain a platform identifier on the computing service platform 102. The platform identifier is unique and can be used by the computing service platform 102 to verify the identity of the third-party platform 101 to verify whether the third-party platform 101 is a platform that can be connected to the computing service platform, that is, whether it is a legal platform.

[0084] In a possible implementation, the third-party platform 101 may send an access request to the computing service platform 102 by calling a jump interface provided by the computing service platform 102 through the Hyper Text Transfer Protocol (HTTP).

[0085] Exemplarily, the jump interface may be an open application programming interface (openAPI).

[0086] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.

[0087] Figure 2 The flowchart of a resource access method provided in the embodiment of the present application is a schematic diagram. The method can be executed by a third-party platform. The third-party platform can be implemented by a physical device integrated or installed with a relevant computer program, such as a chip or an electronic device. The electronic device can be a server, a server cluster, a terminal device such as a computer, etc. Figure 2 As shown, the method may include the following steps.

[0088] S201. Obtain a connection request from a current user, where the connection request includes target account information of the current user on a third-party platform.

[0089] In a possible implementation, the current user can trigger a jump button in the display interface of the third-party platform, so that the third-party platform can obtain the connection request of the current user. The connection request is used to request to jump to the computing service platform. The connection request includes the target account information of the current user on the third-party platform.

[0090] Exemplarily, the target account information may include one or more of the current user's user name, phone number, and email address on the third-party platform, wherein the user name may be a unique identifier of the current user on the third-party platform.

[0091] S202: Acquire an association relationship, where the association relationship includes account information of multiple users on a third-party platform and account information of each user on a computing service platform.

[0092] After obtaining the connection request of the current user, the third-party platform can obtain the association relationship, the account information of multiple users on the third-party platform, and the account information of each user on the computing service platform.

[0093] For example, the association relationship can refer to Table 1:

[0094] Table 1

[0095]

[0096] The user index may be a number generated by a third-party platform for the convenience of managing association relationships. Each row of information is a corresponding relationship for each user.

[0097] The account information of each user on the computing service platform may include one or more of the user's user name, telephone number, and email address on the computing service platform.

[0098] It should be understood that if a user does not have account information of the computing service platform in the association relationship, it means that the user has not registered on the computing service platform, that is, is not a registered user of the computing service platform.

[0099] S203: Send an access request to the computing service platform according to the target account information and the association relationship, where the access request is used to request computing resources of the computing service platform.

[0100] After the third-party platform obtains the association relationship, it can send an access request to the computing service platform based on the target account information and the association relationship.

[0101] Exemplarily, the way in which the third-party platform sends an access request to the computing service platform based on the target account information and the association relationship may be: the third-party platform determines whether the current user has the account information of the computing service platform based on the target account information and the association relationship; if so, the third-party platform may send an access request to the computing service platform based on the account information.

[0102] The access request user requests computing resources from the computing service platform.

[0103] In this embodiment, the third-party platform can obtain the connection request of the current user, and can send an access request to the computing service platform according to the target account information and association relationship of the current user on the third-party platform in the connection request. The access request is used to request the computing resources of the computing service platform to access the computing resources of the computing service platform on the third-party platform. The user does not need to log in and apply for resources on the computing service platform, which improves work efficiency.

[0104] Next, it is described how the third-party platform sends an access request to the computing service platform based on the target account information and association relationship.

[0105] In a possible implementation, the third-party platform may determine whether the current user is a new user of the third-party platform. For example, the third-party platform may determine whether the number of historical visits to the third-party platform by the target account information of the current user is zero.

[0106] If the number of historical visits is 0, it means that the current user is logging into the third-party platform for the first time, that is, the current user is a new user on the third-party platform. In this case, it means that the current user is also a new user on the computing service platform, and a registration request can be sent to the computing service platform based on the user information of the current user on the third-party platform.

[0107] If not, the number of historical visits is not 0, indicating that the current user is not a new user of the third-party platform. In this case, the third-party platform can determine whether the current user is a registered user of the computing service platform based on the target account information and association relationship of the current user on the third-party platform. For details, please refer to the following embodiments.

[0108] Figure 3 This is a flow chart of another resource access method provided in an embodiment of the present application. The method can be executed by a third-party platform. The third-party platform can be implemented by a physical device that integrates or installs relevant computer programs, such as a chip or an electronic device. The electronic device can be a server, a server cluster, a terminal device such as a computer, etc. Figure 3As shown, the method may include the following steps.

[0109] S301. Obtain a connection request from a current user, where the connection request includes target account information of the current user on a third-party platform.

[0110] S302: Acquire an association relationship, where the association relationship includes account information of multiple users on a third-party platform and account information of each user on a computing service platform.

[0111] For a detailed description of S301 and S302 , please refer to the above embodiments, which will not be described again here.

[0112] S303: Determine whether there is account information of the current user on the computing service platform in the association relationship according to the target account information.

[0113] Exemplarily, the third-party platform can determine whether the current user's account information on the computing service platform exists in the association relationship in Table 1 of the above embodiment according to the target account information. If it exists, it means that the current user has registered in the computing service platform, that is, the current user is a registered user of the computing service platform, and an access request can be initiated to the computing service platform based on the current user's account information on the computing service platform. If it does not exist, it means that the current user has not registered in the computing service platform, or has registered but cancelled the account, that is, the current user is not a registered user of the computing service platform, and an access request for the current user cannot be initiated to the computing service platform.

[0114] If yes, execute S304, if no, execute S305.

[0115] In a possible implementation, if the current user's account information on the computing service platform does not exist in the association relationship, there is also a possibility that the current user is a registered user of the computing service platform, and the current user may have registered in the computing service platform in other ways, for example, the current user may directly register in the computing service platform. When the third-party platform determines that the current user's account information on the computing service platform does not exist in the association relationship, it can output a prompt message to prompt whether the current user has registered in the computing service platform. The display window corresponding to the prompt message may include two options of "yes" and "no". If it is detected that the current user selects "no", it can be determined that the current user is not a registered user of the computing service platform, and the third-party platform can send a registration request to the computing service platform, that is, execute S305.

[0116] If it is detected that the current user selects "Yes", it means that the current user is a registered user of the computing service platform, but the association relationship does not record the current user's account information on the computing service platform. At this time, the third-party platform can output a request for recording the association relationship, and the user can enter his account information on the computing service platform in the request for recording. Exemplarily, the request for recording can be displayed in the form of a table, or in the form of a link to instruct the user to go to the corresponding interface to record the account information, or in other forms, which are not limited by this application.

[0117] It should be understood that after the current user completes the association relationship, the third-party platform can query the current user's account information on the computing service platform based on the completed association relationship to execute S304.

[0118] S304: Send an access request to the computing service platform according to the current user's account information on the computing service platform.

[0119] If the association relationship contains the current user's account information on the computing service platform, an access request can be sent to the computing service platform based on the current user's account information on the computing service platform to meet the user's demand for using computing resources on the computing service platform.

[0120] S305: Send a registration request to the computing service platform, and send an access request based on the registration request.

[0121] If the account information of the current user on the computing service platform does not exist in the association relationship, a registration request may be sent to the computing service platform, and an access request may be sent to the computing service platform based on the registration request.

[0122] Exemplarily, the third-party platform may send a registration request to the computing service platform based on the user information of the current user on the third-party platform to meet the user's demand for applying for computing resources on the computing service platform.

[0123] The registration request may also include the platform identifier of the third-party platform. The platform identifier is a unique identifier generated by the computing service platform for the third-party platform. The platform identifier can be used to verify whether the third-party platform is an accessible platform on the computing service platform, that is, to verify the legitimacy of the third-party platform and improve the security of the computing service platform.

[0124] Exemplarily, the third-party platform may send an access request to the computing service platform based on the registration request in the following manner: after determining that the current user has successfully registered on the computing service platform, the third-party platform may send an access request to the computing service platform.

[0125] In this embodiment, the association relationship can be used to determine whether the current user has registered on the computer service platform, thereby choosing to send an access request or a registration request to the computing service platform to quickly execute resource access to the computing service platform.

[0126] Next, the third-party platform sending an access request based on the registration request is described.

[0127] Figure 4 The flowchart of another resource access method provided in the embodiment of the present application can be executed by a third-party platform, which can be implemented by a physical device integrated or installed with a relevant computer program, such as a chip or an electronic device. The electronic device can be a server, a server cluster, a terminal device such as a computer, etc. Figure 4 As shown, the method may include the following steps.

[0128] S401. Receive a registration success message sent by a computing service platform. The registration success message is used to indicate that the computing service platform has completed registration of the current user. The registration success message includes the account information of the current user on the computing service platform.

[0129] After sending the registration request, the third-party platform may receive a registration success message sent by the computing service platform, which is used to indicate that the computing service platform has completed registration of the current user, and the registration success message may include the current user's account information on the computing service platform.

[0130] In one possible implementation, if the third-party platform receives a registration failure message sent by the computing service platform after sending a registration request, the registration failure message may be caused by an error in the platform identification of the third-party platform on the computing service platform. The third-party platform may verify its platform identification and send a registration request to the computing service platform again.

[0131] S402: Send an access request to the computing service platform according to the current user's account information on the computing service platform.

[0132] After receiving the registration success message, the third-party platform can send an access request to the computing service platform based on the current user's account information on the computing service platform to meet the current user's needs for applying for and using computing resources on the computing service platform.

[0133] In a possible implementation, after receiving the registration success message, the third-party platform may output registration prompt information to prompt the current user that the registration is successful on the computing service platform and whether to access the computing service platform. If the user's access instruction is detected, an access request is sent to the computing service platform. If the user's input instruction is not detected within a preset time, or the user indicates not to access the computing service platform, there is no need to send an access request to the computing service platform.

[0134] In one possible implementation, after receiving the successful registration message, the third-party platform can obtain the storage file corresponding to the association relationship, and write the current user's account information on the computing service platform and the current user's account information on the third-party platform into the storage file to generate a corresponding relationship for the current user in the association relationship, so that the current user can subsequently access the resources of the computing service platform based on the association relationship.

[0135] In a possible implementation, after receiving the successful registration message, the third-party platform can obtain the storage file corresponding to the association relationship, and query the location of the current user in the storage file. Taking the example of Table 1 as an example, the location can be a row number, and the account information of the computing service platform corresponding to the location is written with the account information of the current user on the computing service platform. It can be understood that if the current user is not a new user of the third-party platform, the user index of the current user and the account information of the current user on the third-party platform can be recorded in the association relationship, and the location corresponding to the account information of the current user on the computing service platform can be empty.

[0136] Exemplarily, when the current user logs into the third-party platform for the first time, the third-party platform may generate a user index of the current user in the association relationship and record the account information of the current user on the third-party platform.

[0137] In a possible implementation, after the third-party platform sends an access request to the computing service platform, the third-party platform may receive a target authorization token sent by the computing service platform, where the target authorization token is sent by the computing service platform according to the access request.

[0138] Exemplarily, the target authorization token may be obtained by the computing service platform according to the account information of the current user in the computing service platform in the access request. The target authorization token may be generated by the computing service platform when registering the current user and used for identity authentication and authorization.

[0139] The third-party platform can log in to the computing service platform through the jump interface provided by the computing service platform according to the target authorization token, so that the current user can apply for or use computing resources in the computing service platform.

[0140] In one possible implementation, the third-party platform can determine the uniform resource locator (URL) link corresponding to the jump interface, and splice the target authorization token into the uniform resource locator link to obtain the spliced ​​link, and perform a jump operation based on the spliced ​​link to redirect the display page of the third-party platform to the computing service platform.

[0141] Exemplarily, the target authorization token may be a string or a number, and the computing service platform may allow the user of the third-party platform to access the corresponding resources after verifying the legitimacy and validity of the token based on the target authorization token.

[0142] By splicing the target authorization token into the URL link corresponding to the jump interface, the jump to the computing service platform can be achieved.

[0143] Next, through Figure 5 The corresponding embodiments illustrate the interaction between the third-party platform and the computing service platform.

[0144] Figure 5 A flowchart of another resource access method provided in an embodiment of the present application is shown as follows: Figure 5 As shown, the method may include the following steps.

[0145] S501: The third-party platform obtains a connection request from the current user, where the connection request includes target account information of the current user on the third-party platform.

[0146] S502: The third-party platform obtains the association relationship, which includes the account information of multiple users on the third-party platform and the account information of each user on the computing service platform.

[0147] S503: The third-party platform determines whether the current user's account information on the computing service platform exists in the association relationship according to the target account information.

[0148] If yes, execute S504, if no, execute S504.

[0149] S504: The third-party platform sends a registration request to the computing service platform.

[0150] S505. The computing service platform sends a registration success message to the third-party platform. The registration success message is used to indicate that the computing service platform has completed registration of the current user. The registration success message includes the account information of the current user on the computing service platform.

[0151] S506: The third-party platform sends an access request to the computing service platform according to the current user's account information on the computing service platform.

[0152] S507: The computing service platform sends a target authorization token to the third-party platform.

[0153] S508: The third-party platform can log in to the computing service platform through the jump interface provided by the computing service platform according to the target authorization token.

[0154] The specific implementation method and technical effects of this embodiment are similar to those of the above embodiment and will not be repeated here.

[0155] Figure 6 A schematic diagram of a resource access device provided in an embodiment of the present application, which is applied to a third-party platform, such as Figure 6 As shown, the device 60 includes: a first acquisition module 601, a second acquisition module 602 and an access module 603.

[0156] The first acquisition module 601 is used to acquire a connection request of the current user, where the connection request includes target account information of the current user on a third-party platform.

[0157] The second acquisition module 602 is used to acquire the association relationship, which includes account information of multiple users on the third-party platform and account information of each user on the computing service platform.

[0158] The access module 603 is used to send an access request to the computing service platform according to the target account information and the association relationship, and the access request is used to request computing resources of the computing service platform.

[0159] In a possible implementation, if the number of historical visits to the target account information on the third-party platform is not zero, the access module 603 is specifically configured to:

[0160] According to the target account information, it is determined whether there is account information of the current user on the computing service platform in the association relationship.

[0161] If so, an access request is sent to the computing service platform according to the current user's account information on the computing service platform.

[0162] If not, a registration request is sent to the computing service platform, and an access request is sent based on the registration request, wherein the registration request includes the platform identifier of the third-party platform and the user information of the current user, wherein the platform identifier is used to verify whether the third-party platform is an accessible platform on the computing service platform, and the user information is used to register the account information of the current user in the computing service platform.

[0163] In a possible implementation, the access module 603 is specifically configured to:

[0164] A registration success message is received from the computing service platform. The registration success message is used to indicate that the computing service platform has completed registration of the current user. The registration success message includes the account information of the current user on the computing service platform.

[0165] According to the current user's account information on the computing service platform, an access request is sent to the computing service platform.

[0166] In a possible implementation, the apparatus 60 further includes a processing module 604, and the processing module 604 is configured to:

[0167] Get the storage file corresponding to the association relationship.

[0168] The current user's account information on the computing service platform and the current user's account information on the third-party platform are written into the storage file.

[0169] In a possible implementation, the apparatus 60 further includes a jump module 605, and the jump module 605 is configured to:

[0170] Receive a target authorization token sent by the computing service platform, where the target authorization token is sent by the computing service platform according to the access request.

[0171] According to the target authorization token, log in to the computing service platform through the jump interface, so that the current user can apply for or use computing resources in the computing service platform.

[0172] In a possible implementation, the jump module 605 is specifically used to:

[0173] Determine the uniform resource locator link corresponding to the jump interface.

[0174] The target authorization token is concatenated into the uniform resource locator link to obtain a concatenated link.

[0175] A jump operation is performed based on the spliced ​​links to redirect the displayed page to the computing service platform.

[0176] The device of this embodiment can be used to execute the technical solution of the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.

[0177] Figure 7 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the electronic device 70 may include: at least one processor 701 and a memory 702 .

[0178] The memory 702 is used to store programs. Specifically, the programs may include program codes, and the program codes include computer-executable instructions.

[0179] The memory 702 may include a random access memory (Random Access Memory, RAM), and may also include a non-volatile memory (Non-volatile Memory), such as at least one disk memory.

[0180] The processor 701 is used to execute the computer-executable instructions stored in the memory 702 to implement the method described in the above method embodiment. The processor 701 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0181] Optionally, the electronic device 70 may further include: a communication interface 703. In a specific implementation, if the communication interface 703, the memory 702 and the processor 701 are implemented independently, the communication interface 703, the memory 702 and the processor 701 may be interconnected through a bus and communicate with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc., but it does not mean that there is only one bus or one type of bus.

[0182] Optionally, in a specific implementation, if the communication interface 703, the memory 702 and the processor 701 are integrated on a chip, the communication interface 703, the memory 702 and the processor 701 can communicate through an internal interface.

[0183] The electronic device 70 may be a server corresponding to a third-party platform, etc.

[0184] The electronic device of this embodiment can be used to execute the technical solution of the above method embodiment. The specific implementation method and technical effect are similar and will not be repeated here.

[0185] An embodiment of the present application provides a computer-readable storage medium, which may include: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a RAM, a disk or an optical disk, and other media that can store computer-executable instructions. Specifically, the computer-readable storage medium stores computer-executable instructions, and when the computer-executable instructions are executed by a computer, the technical solution shown in the above method embodiment is executed. The specific implementation method and technical effect are similar and will not be repeated here.

[0186] An embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a computer, the technical solution shown in the above method embodiment is executed. The specific implementation method and technical effect are similar and will not be repeated here.

[0187] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.

[0188] It should be further noted that, although the various steps in the flowchart are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless there is a clear description in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a portion of the steps in the flowchart may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0189] It should be understood that the above-mentioned device embodiments are only illustrative, and the device of the present application can also be implemented in other ways. For example, the division of units / modules in the above-mentioned embodiments is only a logical function division, and there may be other division methods in actual implementation. For example, multiple units, modules or components can be combined, or can be integrated into another system, or some features can be ignored or not executed.

[0190] In addition, unless otherwise specified, each functional unit / module in each embodiment of the present application may be integrated into one unit / module, each unit / module may exist physically separately, or two or more units / modules may be integrated together. The above-mentioned integrated unit / module may be implemented in the form of hardware or in the form of a software program module.

[0191] If the integrated unit / module is implemented in the form of hardware, the hardware may be a digital circuit, an analog circuit, etc. The physical implementation of the hardware structure includes but is not limited to transistors, memristors, etc. Unless otherwise specified, the processor may be any appropriate hardware processor, such as a CPU, a GPU, an FPGA, a DSP, an ASIC, etc. Unless otherwise specified, the storage unit may be any appropriate magnetic storage medium or magneto-optical storage medium, such as a resistive random access memory (RRAM), a dynamic random access memory (DRAM), a static random access memory (SRAM), an enhanced dynamic random access memory (EDRAM), a high-bandwidth memory (HBM), a hybrid memory cube (HMC), etc.

[0192] If the integrated unit / module is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned memory includes: various media that can store program codes, such as USB flash drives, ROM, RAM, mobile hard disks, magnetic disks or optical disks.

[0193] In the above embodiments, the description of each embodiment has its own emphasis. For the part not described in detail in a certain embodiment, please refer to the relevant description of other embodiments. The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not 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.

[0194] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the invention disclosed herein. The present application is intended to cover any modification, use or adaptation of the present application, which follows the general principles of the present application and includes common knowledge or customary techniques in the art that are not disclosed in the present application. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present application are indicated by the following claims.

[0195] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A resource access method, characterized in that: Applied to a third-party platform, the method includes: Obtaining a connection request of the current user, wherein the connection request includes target account information of the current user on the third-party platform; Acquire an association relationship, wherein the association relationship includes account information of multiple users on a third-party platform and account information of each user on a computing service platform; An access request is sent to the computing service platform according to the target account information and the association relationship, where the access request is used to request computing resources of the computing service platform.

2. The method according to claim 1, characterized in that If the target account information has a historical access count on the third-party platform that is not 0; Sending an access request to the computing service platform according to the target account information and the association relationship includes: Determining, according to the target account information, whether there is account information of the current user on the computing service platform in the association relationship; If so, sending the access request to the computing service platform according to the account information of the current user on the computing service platform; If not, a registration request is sent to the computing service platform, and the access request is sent based on the registration request, wherein the registration request includes the platform identifier of the third-party platform and the user information of the current user, wherein the platform identifier is used to verify on the computing service platform whether the third-party platform is an accessible platform, and the user information is used to register the account information of the current user in the computing service platform.

3. The method according to claim 2, characterized in that Sending the access request based on the registration request includes: Receiving a registration success message sent by the computing service platform, wherein the registration success message is used to indicate that the computing service platform has completed registration of the current user, and the registration success message includes the account information of the current user on the computing service platform; The access request is sent to the computing service platform according to the account information of the current user on the computing service platform.

4. The method according to claim 3, characterized in that: The method further comprises: Obtaining a storage file corresponding to the association relationship; The account information of the current user on the computing service platform and the account information of the current user on the third-party platform are written into the storage file.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Receiving a target authorization token sent by the computing service platform, where the target authorization token is sent by the computing service platform according to the access request; According to the target authorization token, the current user logs in to the computing service platform through a jump interface, so that the current user applies for or uses computing resources in the computing service platform.

6. The method according to claim 5, characterized in that According to the target authorization token, logging into the computing service platform through a jump interface includes: Determine a uniform resource locator link corresponding to the jump interface; splicing the target authorization token into the uniform resource locator link to obtain a spliced ​​link; A jump operation is performed based on the spliced ​​links to redirect the displayed page to the computing service platform.

7. A resource access device, characterized in that: Applied to third-party platforms, including: A first acquisition module is used to acquire a connection request of a current user, wherein the connection request includes target account information of the current user on the third-party platform; A second acquisition module is used to acquire an association relationship, wherein the association relationship includes account information of multiple users on a third-party platform and account information of each user on a computing service platform; An access module is used to send an access request to the computing service platform according to the target account information and the association relationship, wherein the access request is used to request computing resources of the computing service platform.

8. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 6 when executed by a processor.

10. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 6 when being executed by a processor.