Data authentication processing method, server, and electronic device for object storage service end
By creating a secure channel on the object storage server and using channel parameters for data authentication, the problem of low data authentication efficiency on the object storage server is solved, system performance and stability are improved, and the authentication process is simplified.
Patent Information
- Application Number
- CN202410982746.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-22
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-22
AI Technical Summary
When the object storage server performs data authentication, there are problems such as low authentication efficiency, resulting in low system performance and poor stability. Especially when supporting intranet access for multiple clients and cloud computing services, the public network protocol is decommissioned. The use of packages and IAM services brings additional performance overhead.
Authentication services are used to pre-authenticate the target client requesting data, create a secure channel, and perform data authentication directly based on channel parameters within the validity period of the channel, avoiding the need to disassemble the package and extract information each time data is requested, and improve authentication efficiency.
It improves the system performance and operational stability of the object storage server, simplifies the data authentication process, improves the authentication efficiency and accuracy of requested data, and reduces dependence on authentication services.
Smart Images

Figure CN118523960B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data storage, and in particular to a data authentication processing method, a server, and an electronic device for an object storage service end. Background Art
[0002] The object storage service is a cloud storage service that mainly serves the Internet (public network). Therefore, each data request from the client is authenticated based on security risks. Technically, IAM (Identity and Access Management) service is used for authentication and authorization.
[0003] As the object storage service supports more and more clients and applications, especially when supporting intranet access to cloud computing services, authentication for each data request will bring additional performance overhead. Requests based on the public network will require unpacking and depackaging of the public network protocol (HTTPS), and then extracting identity information and access authorization information based on the IAM service, which will have a performance impact. In addition, each data request will rely on the authentication service, resulting in the stability of object storage being restricted by external services.
[0004] Therefore, when the relevant technology performs data authentication, there is a problem of low data authentication efficiency, which leads to low system performance and poor stability. Summary of the invention
[0005] The embodiments of the present application provide a data authentication processing method, a server, and an electronic device for an object storage service to solve one or more of the above-mentioned technical problems.
[0006] In a first aspect, an embodiment of the present application provides a data authentication processing method for an object storage service, comprising: receiving target request data that needs to be authenticated through a secure channel, wherein the target request data carries channel parameters for requesting operations on a target object, the channel parameters are parameters required for the secure channel to transmit target request data, and the secure channel is created after an authentication service authenticates a client of the target request data; determining whether the channel parameters are legal based on the channel parameters of the secure channel; and determining that the target request data has passed authentication if the channel parameters are legal.
[0007] In a second aspect, an embodiment of the present application provides a data authentication processing method for an object storage client, comprising: obtaining channel parameters of a secure channel for securely transmitting data, wherein the channel parameters are parameters required for data transmission through the secure channel, and the secure channel is created after the object storage service for storing data is authenticated by an authentication service; binding the channel parameters to target request data that needs to be sent after authentication, wherein the target request data is used to request the object storage service to perform operations on a target object; sending the target request data carrying the channel parameters to the object storage service through the secure channel, wherein the object storage service determines whether the target request data has passed the authentication by authenticating whether the channel parameters are legal.
[0008] In a third aspect, an embodiment of the present application provides a data authentication processing server for an object storage service, comprising: a receiving module, used to receive target request data that needs to be authenticated through a secure channel, wherein the target request data carries channel parameters for requesting operations on the target object, and the channel parameters are parameters required for the secure channel to transmit the target request data, and the secure channel is created after the authentication service authenticates the client of the target request data; a comparison module, used to determine whether the channel parameters of the secure channel are legal based on the channel parameters of the secure channel; and an authentication module, used to determine that the target request data has passed the authentication if the channel parameters are legal.
[0009] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory, wherein the processor implements any of the above methods when executing the computer program.
[0010] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program / instructions, characterized in that when the computer program / instructions are executed by a processor, any of the methods described above is implemented.
[0011] Compared with the related art, this application has the following advantages:
[0012] According to the data authentication processing method of the object storage service of the embodiment of the present application, after the client of the target request data is authenticated in advance by the authentication service, a secure channel is created, and the target request data that needs to be authenticated is received based on the secure channel, and the operation of requesting the target object is ensured. This can ensure that the request data within the validity period of the secure channel can be directly authenticated according to the channel parameters, without the need to send each request data to the authentication service for authentication, thereby improving the efficiency of request data authentication, and effectively avoiding the operations such as package disassembly and information extraction required for each request data authentication, thereby improving the system performance of the object storage service and improving operational stability.
[0013] The above-mentioned target request data carries channel parameters, which are parameters required for the secure channel to transmit the target request data. The channel parameters are compared with the channel parameters of the secure channel to determine whether the channel parameters are legal. If the channel parameters are legal, the target request data is determined to have passed the authentication. That is, by directly comparing the channel parameters with the secure channel, it is possible to quickly and conveniently determine whether the target request data is legal, thereby improving the efficiency and accuracy of the authentication of the request data. This solves the problem of low authentication efficiency in the object storage service end in the related art.
[0014] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments according to the present application and should not be regarded as limiting the scope of the present application.
[0016] Figure 1 A schematic diagram showing a related art object storage service client performing request authentication;
[0017] Figure 2 A flowchart of a data authentication processing method for an object storage service provided in an embodiment of the present application is shown;
[0018] Figure 3 A flowchart of another data authentication processing method for an object storage service provided in an embodiment of the present application is shown;
[0019] Figure 4 A schematic diagram showing an object storage service client performing request authentication in an implementation manner of the present application is shown;
[0020] Figure 5 A schematic diagram showing a basic architecture of an object storage service client performing request authentication in an implementation mode of the present application;
[0021] Figure 6 A schematic diagram showing a timing flow of request authentication by an object storage service end according to an embodiment of the present application;
[0022] Figure 7 A structural block diagram of a data authentication processing server of an object storage service terminal provided in an embodiment of the present application is shown;
[0023] Figure 8 A structural block diagram of a data authentication processing device of an object storage service terminal provided in an embodiment of the present application is shown;
[0024] Fig. 9 A block diagram of an electronic device used to implement an embodiment of the present application is shown. DETAILED DESCRIPTION
[0025] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the concept or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary in nature and not restrictive.
[0026] To facilitate understanding of the technical solutions of the embodiments of the present application, the following describes the related technologies of the embodiments of the present application. The following related technologies can be combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.
[0027] In the cloud storage technology of related technologies, object storage is a service that provides unstructured data storage for Internet applications. Object storage has the advantages of unlimited storage, support for high concurrent access, and lower cost. Since the object storage service client is directly connected to the Internet, in order to ensure the security of the object storage service client, each request data accessing the object storage service client needs to be securely authenticated.
[0028] Specifically, Figure 1 A schematic diagram showing a related art object storage service client performing request authentication is shown in FIG. Figure 1As shown, the object storage service on the (cloud) server side needs to authenticate each request data from the client, that is, send it to the authentication and authorization service for authentication, and then respond if the authentication is successful. However, when there are many clients and / or applications connected, this authentication method is inefficient, and the authentication of each request data often requires a matching data processing method. For example, a request based on the public network will require the unpacking and decompression of the public network protocol (HTTPS), and then the identity information and access authorization information must be extracted based on IAM (identity and access management).
[0029] In this way, the authentication of each request data will bring additional resource usage, which will not only lead to low authentication efficiency, but also occupy the system resources of the object storage service, resulting in reduced system performance and possible impact on other system operations. And each request data will rely on the authentication service, that is, Figure 1 The authentication and authorization services in the object storage service have a direct impact on the stability of the object storage service, which in turn causes the stability of the object storage service to be restricted by external services.
[0030] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0031] 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 several specific embodiments listed 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 in detail below with reference to the accompanying drawings.
[0032] Figure 2 A flowchart of a data authentication processing method for an object storage service provided in an embodiment of the present application is shown. An embodiment of the present application provides a data authentication processing method for an object storage service, such as Figure 2 The flowchart of the data authentication processing method of the object storage service client according to an embodiment of the present application is shown. The method may include the following steps:
[0033] Step S201, receiving target request data that needs to be authenticated through a secure channel, wherein the target request data carries channel parameters for requesting operations on a target object, and the channel parameters are parameters required for the secure channel to transmit the target request data, and the secure channel is created after the authentication service authenticates the client of the target request data;
[0034] Step S202, determining whether the channel parameters are legal according to the channel parameters of the secure channel;
[0035] Step S203: If the channel parameters are legal, determine whether the target request data has passed the authentication.
[0036] According to the data authentication processing method of the object storage service of the present embodiment, after the client of the target request data is authenticated in advance by the authentication service, a secure channel is created, and the target request data that needs to be authenticated is received based on the secure channel, and the operation of requesting the target object can ensure that the request data within the validity period of the secure channel can be directly authenticated according to the channel parameters, without the need to send each request data to the authentication service for authentication, thereby improving the efficiency of request data authentication, and effectively avoiding the operations such as package disassembly and information extraction required for each request data authentication, thereby improving the system performance of the object storage service and improving the operation stability.
[0037] The above-mentioned target request data carries channel parameters, which are parameters required for the secure channel to transmit the target request data. The channel parameters are compared with the channel parameters of the secure channel to determine whether the channel parameters are legal. If the channel parameters are legal, the target request data is determined to have passed the authentication. That is, by directly comparing the channel parameters with the secure channel, it is possible to quickly and conveniently determine whether the target request data is legal, thereby improving the efficiency and accuracy of the authentication of the request data. This solves the problem of low authentication efficiency in the object storage service end in the related art.
[0038] The execution subject of the above steps can be the server, specifically, the object storage service of the server, and further can be the access layer of the object storage service. After receiving the target request data from the client, the access layer usually sends it directly to the authentication service for authentication. After the authentication is passed, the target request data is sent to a deeper network on the object storage service for response. For example, the convergence layer, the core layer, etc. Authentication of the target request data is performed at the access layer, and feedback can be given to the client based on the authentication result, thereby improving the security of the object storage service. It also improves the efficiency of authentication of the target request data.
[0039] In the above step S201, the secure channel is a stable communication channel established between the execution subject and the client through the application program interface API. However, the secure channel is created after the authentication service authenticates the client requesting the target data, which can ensure the security of the client's network information, and further ensure that the communication channel established between the client and the execution subject is secure and stable when initially established. It is the basis for the secure and stable communication of subsequent request data.
[0040] In actual implementation, the above-mentioned execution entity receives the target request data that needs to be authenticated through the created security channel. This target request data is the data transmitted using the security channel after the security channel is created. Its authentication process no longer relies on the authentication service, but is authenticated based on the channel parameters of the security channel.
[0041] Therefore, after the secure channel is created, the execution subject sends the channel parameters to the client. When the client subsequently sends request data to the execution subject, the request data will carry the channel parameters, that is, the target request data carries the channel parameters. If the channel parameter authentication is passed, the target request data will be responded to and the target object operation will be performed.
[0042] The target object may be a data object stored in the object storage service, and the operation on the target object may include operations such as storing, deleting, and querying the target object.
[0043] In the above step S202, when authenticating the target request data according to the channel parameters of the secure channel, the channel parameters can be compared with the channel parameters of the pre-stored secure channel to determine whether the channel parameters are legal. If the channel parameters carried by the target request data meet the channel parameters of the corresponding secure channel, the target request data is legal. On the contrary, if the channel parameters carried by the target request data do not meet the channel parameters of the corresponding secure channel, the target request data is illegal.
[0044] The channel parameters of the security channel can be pre-stored in the channel table, which is a table dynamically maintained by the execution subject for recording relevant parameters of different security channels.
[0045] For target request data with legal channel parameters, it can be considered that the target request data is safe and can be sent to a deeper network of the execution subject for response after passing authentication. For target request data with illegal channel parameters, it can be considered that the target request data is unsafe and has not passed authentication, and the authentication result can be returned to the client to notify the client of the authentication result.
[0046] It should be noted that after the target request data passes the authentication, the target request data can be responded to and the response result can be sent directly to the client. Only when the target request data fails the authentication, the authentication failure result is returned to the client to prompt the client to adjust the authentication strategy and method. In the case of successful authentication, there is no need to return the authentication result to the client, and the response is made directly. The client directly receives the response result, which reduces the interaction burden between the client and the above-mentioned execution entity, thereby improving the interaction efficiency.
[0047] In a possible implementation, before receiving the target request data that needs to be authenticated through the secure channel, the method further includes: receiving the network information of the client and sending it to the authentication service for authentication; when the network information passes the authentication, creating a secure channel for the client; and storing the channel parameters of the secure channel. For example, recording in the above-mentioned channel table, and sending the channel parameters of the secure channel to the client, wherein after receiving the channel parameters of the secure channel, the client binds the channel parameters of the secure channel with the data that needs to be authenticated and transmits them in the subsequent data transmission.
[0048] Before the secure channel can transmit data normally, the client's network information needs to be sent to the authentication service. If the network information authentication is successful, a secure channel is created and the channel parameters of the secure channel are returned to the client so that the secure channel can be used to authenticate the request data later.
[0049] It should be noted that the network information received from the client may be the network information actively sent by the client. For example, if the client needs to establish a secure channel, it may send an initialization request to the server, and carry the network information in the initialization request. Alternatively, the execution subject may actively obtain the network information, for example, the server actively obtains the network information of the client from the client according to the demand, so as to establish a secure channel for the client's request data to be transmitted.
[0050] If the network information passes the authentication of the authentication service, it means that the communication network between the client and the execution subject is safe and reliable. A secure channel for the client can be created. On the contrary, if the network information fails to pass the authentication of the authentication service, it means that the communication network between the client and the execution subject is unsafe, and the authentication result is returned to the client to notify the client to make corresponding operations.
[0051] After creating a secure channel, the secure channel is recorded in the above channel table to update the channel table, so as to facilitate the subsequent use of the channel parameters carried by the channel table authentication to authenticate the requested data. It should be noted that the above channel table can record the relevant parameters of the secure channel and the client's network information. For example, channel parameters such as channel identification, validity period, creation time, as well as the client's virtual private cloud network VPC information, the DNS domain name accessed, the IP addresses of the sender and receiver, access keys and other network information.
[0052] The information items recorded in the above channel table can form a single-layer or multi-layer authentication of the client's request data to ensure the accuracy of the request data authentication. In addition, the security channel can be fully and effectively recorded for subsequent tracing.
[0053] This embodiment selects some parameters of the relevant parameters of the secure channel as channel parameters, such as channel identification and validity period. The data volume is small, it is not easy to make mistakes, it is convenient to carry the request data, and it avoids excessive occupation of the client's storage space.
[0054] After the relevant data of the secure channel is stored locally, the corresponding information items can be selected as channel parameters, and the channel parameters of the secure channel can be sent to the client. After receiving the channel parameters, the client stores them locally. When the data is subsequently transmitted, the channel parameters are bound to the data that needs to be authenticated and then transmitted. This facilitates the server and other execution entities to perform fast and efficient authentication in the future.
[0055] In one possible implementation, network information of a client is received and sent to an authentication service for authentication, including: receiving the network information of the client through an initialization channel, wherein the initialization channel communicates with the client through a preset application program interface, and the network information includes at least one of the following: virtual private cloud information of the client, network address information, and domain name information; sending the network information to an authentication service, wherein the authentication service is used to authenticate the network information and return the authentication result after the authentication is completed; receiving the authentication result of the authentication service, and determining whether the network information has passed the authentication based on the authentication result.
[0056] The above initialization channel is a communication channel between the client and the application program interface, which is similar to the security channel. However, the initialization channel is unauthenticated and still needs to rely on the authentication service for authentication.
[0057] Receive the client's network information through the initialization channel, the network information includes at least one of the following: virtual private cloud information of the client, network address information, and domain name information. Send the network information to the authentication service, authenticate the network information, and obtain the final authentication result. The authentication service returns the authentication result after the authentication is completed. The above-mentioned execution entity receives the authentication result of the authentication service and determines whether the network information passes the authentication according to the authentication result.
[0058] In one possible implementation, when the network information passes authentication, a secure channel is created, including: when the network information passes authentication, determining channel parameters of the secure channel based on the network information and a preset channel function to create the secure channel, wherein the input of the channel function is at least one item of information in the network information, and the output of the channel function is the channel parameters.
[0059] When creating a secure channel, the network information can be authenticated to determine the security of the communication network between the client and the execution subject, and the channel parameters of the secure channel can be determined based on the network information and the preset channel function to create the secure channel. The channel function is also the communication function of the application program interface API.
[0060] The input of the above channel function is at least one item of network information, such as requested VPC information, source IP information, and domain name information, and the output of the channel function is channel parameters, such as tunnel ID identifier and tunnel validity period.
[0061] In a possible implementation, the channel parameters of the secure channel are stored and sent to the client, including: obtaining network information and channel parameters corresponding to the secure channel, and recording them in a channel table, wherein the channel table is used to record relevant parameters of different secure channels, and the channel table includes multiple information items of the secure channel, and the multiple information items include at least one item of network information and channel parameters; returning the channel parameters to the client through an initialization channel, wherein the client stores the channel parameters after receiving them.
[0062] The channel table mainly includes multiple information items of the secure channel, including but not limited to the following: channel identifier Tunnel-ID, validity period Expire, creation time StartTime and other channel parameters, as well as the client's virtual private cloud network VPC information VPCInfo, the DNS domain name accessed, the IP addresses SendInfo and RecvInfo of the sender and receiver, access key AccessKey and other network information.
[0063] Among them, the channel identifier Tunnel-ID, the client's virtual private cloud network VPC information VPCInfo, the access key AccessKey, the creation time StartTime, and the validity time Expire fields can be used as channel parameters for verifying the request data.
[0064] Specifically, when authenticating the client's request data, first query the channel table to see whether the channel identifier Tunnel-ID and the client's virtual private cloud network VPC information VPCInfo exist. If not, it means that the secure channel has not established a trusted authentication, and the request is rejected. If it exists, it means that the secure channel has been authenticated, and then check whether the access key AccessKey is a legal value. If it is illegal, it means that there is an erroneous access or attack behavior, and the request is rejected. If it is legal, it means that there is no abnormality such as erroneous access or attack behavior, and finally check the creation time StartTime and the validity time Expire to confirm that the request data is within a reasonable time range. If the request data is not within a reasonable time range, the request is rejected and the client is invited to reapply. If the request data is within a reasonable time range, the request data is responded to.
[0065] The channel parameters can be one or more of the above-mentioned necessary information items to quickly authenticate the request data transmitted through the secure channel. Preferably, this embodiment uses the channel identifier Tunnel-ID and the valid time Expire as the above-mentioned channel parameters. After the channel parameters are determined, the channel parameters are returned to the client through the initialization channel, wherein the client stores the channel parameters after receiving them so that the request data sent subsequently can be bound.
[0066] In a possible implementation, the channel parameters include a channel identifier and a valid time. According to the channel parameters of the secure channel, determining whether the channel parameters are legal includes: searching a channel table for a corresponding secure channel according to the channel identifier in the channel parameters; when the corresponding identifier is found in the channel table, determining whether the transmission of target request data is within the validity period of the secure channel according to the valid time in the channel parameters; and determining that the channel parameters are legal when the transmission time of the target request data is within the validity period of the secure channel.
[0067] If the corresponding identifier is found in the channel table, it means that the secure channel has been authenticated and is secure and reliable. On the contrary, if the corresponding identifier is not found in the channel table, it means that the secure channel has not been authenticated and is not secure and reliable.
[0068] When the security channel is proven to be reliable, then determine whether the transmission of the target request data is within the validity period of the security channel based on the validity time in the channel parameters. If the transmission time of the target request data is within the validity period of the security channel, it means that the security channel is the request data transmitted within the validity period, and the security and reliability of the request data can be ensured. At this time, it can be determined that the channel parameters are legal. If the transmission time of the target request data is outside the validity period of the security channel, it means that the security channel is the request data transmitted at the expiration time, and the security and reliability of the request data cannot be ensured. At this time, it can be determined that the channel parameters are illegal.
[0069] In a possible implementation, the channel parameters also include key information of the authentication service. When the corresponding identifier is found in the channel table, before determining whether the transmission of the target request data is within the validity period of the secure channel according to the validity time in the channel parameters, the method further includes: determining whether there is an illegal anomaly in the transmission of the target request data according to the key information of the channel parameters. The illegal anomaly includes at least one of the following: misaccess, attack behavior; when there is no illegal anomaly in the transmission of the target request data, the step of determining whether the transmission of the target request data is within the validity period of the secure channel according to the validity time in the channel parameters is performed.
[0070] When the security channel is proven to be reliable, whether the transmission of the target request data is within the validity period of the security channel can be determined based on the validity time in the channel parameters. It can also be determined whether there are any illegal anomalies in the transmission of the target request data based on the key information of the channel parameters.
[0071] If it is determined that there are illegal anomalies in the transmission of the target request data, such as misaccess or attack behavior, it means that the request data is not safe and there is a risk, and the response should be rejected. If it is determined that there are no illegal anomalies in the transmission of the target request data, then according to the effective time in the channel parameters, it is determined whether the transmission of the target request data is within the validity period of the secure channel. This ensures the security and reliability of the request data.
[0072] In one possible implementation, the method also includes: after the validity period of the secure channel expires, receiving network information of the client through an update channel, wherein the update channel communicates with the client through a preset application program interface; sending the network information to an authentication service, wherein the authentication service is used to authenticate the network information and return the authentication result after the authentication is completed; receiving the authentication result of the authentication service, and updating the validity period of the secure channel when the authentication result indicates that the network information has passed the authentication.
[0073] After the validity period of the security channel expires, it can be extended by re-authentication. After re-authentication, the corresponding validity period is updated, thereby extending the use time of the security channel. In addition, there is no need to re-establish a new security channel, which takes up less maintenance resources and is more practical.
[0074] In one possible implementation, when the security channel is not in use, the method also includes: receiving a deletion instruction from the client through a deletion channel, and deleting relevant information of the security channel in response to the deletion instruction; or receiving an information call instruction from the client through a description channel, and sending relevant information of the security channel to the client through the description channel in response to the information call instruction.
[0075] When the secure channel is not in use, you can delete the secure channel in the channel table by deleting the channel. You can also obtain relevant information about the secure channel in the channel table by describing the channel. The above-mentioned deletion channel and description channel are similar to the above-mentioned initialization channel and secure channel. They are all communication channels established between the above-mentioned execution subject and the client through the application program interface API. The difference is that different application program interfaces API are used, and the data response method of the communication channel is different.
[0076] Figure 3 A flowchart of a data authentication processing method for an object storage client provided in an embodiment of the present application is shown. The embodiment of the present application also provides a data authentication processing method for an object storage client, such as Figure 3 The flowchart of the data authentication processing method of the object storage client according to an embodiment of the present application is shown. The method may include the following steps:
[0077] Step S301, obtaining channel parameters of a secure channel for secure data transmission, wherein the channel parameters are parameters required for data transmission in the secure channel, and the secure channel is created after the object storage service client is authenticated by the authentication service;
[0078] Step S302, binding the channel parameters with the target request data to be sent after authentication, wherein the target request data is used to request the object storage service to operate the target object;
[0079] Step S303: Send the target request data carrying the channel parameters to the object storage service end through a secure channel, wherein the object storage service end determines whether the target request data is authenticated by verifying whether the channel parameters are legal.
[0080] According to the data authentication processing method of the object storage service of the present embodiment, after the client of the target request data is authenticated in advance by the authentication service, a secure channel is created, and the target request data that needs to be authenticated is received based on the secure channel, and the operation of requesting the target object is performed. This can ensure that the request data within the validity period of the secure channel can be directly authenticated according to the channel parameters, without the need to send each request data to the authentication service for authentication, thereby improving the efficiency of request data authentication, and effectively avoiding the operations such as package disassembly and information extraction required for each request data authentication, thereby improving the system performance of the object storage service and improving the operational stability.
[0081] The above-mentioned target request data carries channel parameters, which are parameters required for the secure channel to transmit the target request data. The channel parameters are compared with the channel parameters of the secure channel to determine whether the channel parameters are legal. If the channel parameters are legal, the target request data is determined to have passed the authentication. That is, by directly comparing the channel parameters with the secure channel, it is possible to quickly and conveniently determine whether the target request data is legal, thereby improving the efficiency and accuracy of the authentication of the request data. This solves the problem of low authentication efficiency in the object storage service end in the related art.
[0082] The execution subject of the above steps can be the client. When performing authentication, the channel parameters of the secure channel used for secure data transmission are directly obtained, and then the channel parameters are bound to the target request data that needs to be authenticated, and sent to the object storage service end through the secure channel. The object storage service end determines whether the target request data has passed the authentication by verifying whether the channel parameters are legal.
[0083] The above channel parameters are the parameters required for data transmission through the secure channel and are pre-stored locally. The above secure channel is created by the object storage service end for storing data after being authenticated by the authentication service. After the object storage service end creates the secure channel, the channel parameters are sent to the client, which then stores them after receiving them. In subsequent authentication requests, the channel parameters are bound to the object storage service end for quick authentication.
[0084] In a possible implementation, before obtaining the channel parameters of the secure channel for securely transmitting data, the method also includes: sending network information that needs to be authenticated to the object storage service, wherein the object storage service authenticates the network information through an authentication service after receiving the network information, and sends the authentication result; receiving the authentication result of the network information by the server, wherein the authentication result includes authentication success and authentication failure; when the authentication result is authentication success, receiving and storing the channel parameters, wherein the target object server creates a secure channel for the client when the network information passes the authentication, and sends the channel parameters of the secure channel; obtaining the channel parameters of the secure channel for securely transmitting data includes: obtaining the channel parameters stored by the client.
[0085] It should be noted that this embodiment also provides an optional implementation method, which proposes a method and device for object storage to provide channel technology to achieve efficient authentication and authorization. All object storage in related technologies adopt the access mechanism of object storage S3, that is, each request data for accessing the object storage service will be securely authenticated.
[0086] In the computing services and database services of the cloud service industry, there is an authentication method whose management path (such as the creation, deletion, and query operations of computing instances, and the creation, deletion, and query operations of database instances) needs to go through the process of the authentication system (such as IAM services and RAM services), while the data path (such as computing operations and disk access operations within the cloud server, and SQL operations within the database) does not need to go through the authentication system, thereby improving performance and stability by reducing dependence on the authentication system.
[0087] This implementation combines online analysis to optimize the authentication mechanism when accessing intranets such as cloud computing services and container services, without relying on authentication services for each request.
[0088] The core idea of this implementation is to initialize a trusted secure channel during intranet access, and return the channel (tunnel) and expiration time (expire) information through the client's "VPC and access domain name", so that both ends of the secure channel do not need to interact with the authentication service in subsequent request data, thereby reducing dependence on the authentication service and improving request performance.
[0089] Figure 4 A schematic diagram showing an object storage service client performing request authentication in an implementation mode of the present application is shown. Figure 4As shown in the figure, the request data represented by the solid line is used to initialize the secure channel (which requires interaction with the authentication service), and the subsequent request data (represented by the dotted line) no longer requires interaction; when the channel returned by the request data expires, the application is refreshed, and requests after successful application no longer need to interact with the authentication service.
[0090] Figure 5 A schematic diagram showing the basic architecture of the object storage service end for request authentication in an implementation mode of the present application is shown. Figure 5 As shown in the figure, the typical object storage authentication function architecture includes the client, access layer (Front-end), authentication and authorization service. The client sends a request to the access layer, and the access layer interacts with the "authentication and authorization service" to authenticate the identity and confirm access. This implementation adds two important modules to the access layer: the "tunnel channel table" and the "management task" module.
[0091] The "tunnel channel table" of this implementation mainly includes channel information for storing efficient access by the client, including but not limited to the following fields:
[0092] • Tunnel-ID, context identification ID for efficient authentication, indicating uniqueness.
[0093] • VPCInfo: VPC network information from which the client request comes.
[0094] • DNS, the domain name that the client requests to access.
[0095] • SendInfo, the IP address of the sender.
[0096] • RecvInfo, the object stores the IP address of the receiving end.
[0097] • AccessKey, the access key carried.
[0098] • StartTime, the initialization time of the efficient and secure authentication channel.
[0099] • Expire, the expiration time of the efficient and secure authentication channel. When the value is not zero, it is allowed to be used. After the value expires, it becomes zero and the secure authentication channel is not allowed to be used unless a control request is called to update the value.
[0100] As shown in Table 1, Table 1 is an example tunnel channel table.
[0101] The "management tasks" of this implementation mainly provide the calling and management tasks of the application program interface API. The main APIs are:
[0102] • InitTunnel (initialize the channel and confirm that a trusted channel is established between the client and the object storage service).
[0103] • RefreshTunnel (update channel parameters).
[0104] • DeleteTunnel (Delete channel).
[0105] • DescribeTunnel (Describe a channel returns relevant information).
[0106] Figure 6 A schematic diagram showing a timing flow of request authentication by an object storage service end according to an embodiment of the present application is shown. Figure 6 As shown in the figure, the interaction sequence of the main initialization channel InitTunnel and the update channel RefreshTunnel is as follows:
[0107] The access layer of the object storage service initializes the authentication security channel through the InitTunnel interface, receives the client's VPC, IP, domain name and other network information, and authenticates it through the "Authentication Service" using the AK / SK (Access Key id / Secret Access Key) authentication method. After the network information AK / SK authentication is passed, a secure tunnel is generated and a record is inserted into the "Tunnel Table", and the content is updated in the "Management Tasks". Then, the request is returned successfully and the tunnel parameters of the secure channel are provided, including the tunnel and expire key parameters.
[0108] The input parameters of the InitTunnel interface function are "requested VPC information, source IP information, domain name information" (mainly 3 parameters), and the output is the Tunnel value and Expire value. The basic principle is to verify the legitimacy of the request. If the authentication is passed, a record is added to the "tunnel table" and the corresponding value is set.
[0109] Subsequent requests, in addition to the regular request parameters, will also carry tunnel parameters such as tunnel and expire. At this time, the object storage access layer will no longer confirm with the "authentication service", thereby improving performance and stability by reducing external dependencies. After the valid time Expire parameter value expires, the authentication security channel can be updated through the RefreshTunnel interface to obtain a new valid time Expire value.
[0110] The input parameters of the RefreshTunnel interface function are "the channel parameter Tunnel value of the secure channel (previously successfully applied) and the new valid time Expire value" (the two main parameters). After successful setting, the output is the channel parameter Tunnel value and the valid time Expire value of the secure channel. The basic principle is to verify that the corresponding secure channel Tunnel exists in the tunnel table and update the fields recorded in the tunnel table, mainly the Expire value.
[0111] When the client no longer uses the secure channel, it can call the DeleteTunnel interface to delete it. The input parameter of the DeleteTunnel interface function is the "channel parameter Tunnel value of the secure channel (previously successfully applied for), and the output is OK after the setting is successful. The basic principle is to verify that the corresponding secure channel Tunnel exists in the tunnel table and delete the record in the tunnel table.
[0112] If you need to query the usage of the security channel, you can call the DescribeTunnel interface.
[0113] Through the "tunnel channel table" and "management task" modules of this implementation, the client can create a secure authentication context and obtain channel parameters for efficient authentication, including expiration time (expire). Therefore, subsequent requests can carry tunnel and expire parameters to implement a process without interacting with the authentication and authorization server, thereby improving performance and stability.
[0114] This implementation method designs an efficient security authentication channel mechanism in object storage requests, adds channel parameters in the API, including the tunnel and expire fields, so that in requests that effectively specify the fields, there is no need to perform the original complex authentication verification, improving performance and stability. In the process of creating an efficient security authentication channel (generating tunnel and expire), in addition to the original AK parameters, VPCInfo, DNS, SendInfo (sending IP), and RecvInfo fields are added to improve the protection of the efficient security authentication channel, and timely leakage is also protected by limiting the scope of access.
[0115] This implementation interacts with the "Authentication and Authorization Service" when the InitTunnel initializes the channel, and compares the Access Key ID and Access Key Secret provided by RAM and the signature algorithm to confirm the security when creating the channel. At runtime, the start time StartTime and the validity time Expire are used to ensure the timeliness control of the secure channel. If the time is exceeded, a new application is required. By comparing the Tunnel-ID, VPCInfo, and AccessKey information provided when establishing the secure channel (this information is provided by the underlying network and is difficult to tamper with), and comparing it with the client information carried during the data request, it is ensured that the confirmation of the request comes from the authenticated client.
[0116] Figure 7 The structural block diagram of a data authentication processing server of an object storage service provided in an embodiment of the present application is shown. Corresponding to the application scenario and method of the method provided in an embodiment of the present application, an embodiment of the present application also provides a data authentication processing server of an object storage service. Figure 7 The data authentication processing server of the object storage service end of one embodiment of the present application is shown. The server may include: a receiving module 71, a comparison module 72, and an authentication module 73. The device is described in detail below.
[0117] The receiving module 71 is used to receive target request data that needs to be authenticated through a secure channel, wherein the target request data carries channel parameters for requesting operations on the target object, and the channel parameters are parameters required for the secure channel to transmit the target request data, and the secure channel is created after the authentication service authenticates the client of the target request data; the comparison module 72 is connected to the above-mentioned receiving module 71, and is used to determine whether the channel parameters of the secure channel are legal based on the channel parameters of the secure channel; the authentication module 73 is connected to the above-mentioned comparison module 72, and is used to determine whether the target request data has passed the authentication when the channel parameters are legal.
[0118] According to the data authentication processing server of the object storage service end of the present embodiment, after authenticating the client of the target request data in advance through the authentication service, a secure channel is created, and the target request data that needs to be authenticated is received based on the secure channel, and the operation of requesting the target object is requested. This can ensure that the request data within the validity period of the secure channel can be directly authenticated according to the channel parameters, without the need to send each request data to the authentication service for authentication, thereby improving the efficiency of request data authentication, and effectively avoiding the operations such as package disassembly and information extraction required for each request data authentication, thereby improving the system performance of the object storage service end and improving the operational stability.
[0119] The above-mentioned target request data carries channel parameters, which are parameters required for the secure channel to transmit the target request data. The channel parameters are compared with the channel parameters of the secure channel to determine whether the channel parameters are legal. If the channel parameters are legal, the target request data is determined to have passed the authentication. That is, by directly comparing the channel parameters with the secure channel, it is possible to quickly and conveniently determine whether the target request data is legal, thereby improving the efficiency and accuracy of the authentication of the request data. This solves the problem of low authentication efficiency in the object storage service end in the related art.
[0120] Figure 8 The structural block diagram of a data authentication processing device for an object storage client provided in an embodiment of the present application is shown. Corresponding to the application scenario and method of the method provided in an embodiment of the present application, an embodiment of the present application also provides a data authentication processing device for an object storage client. Figure 8 The structure diagram of the data authentication processing device of the object storage service client in one embodiment of the present application is shown. The device may include: an acquisition module 81, a binding module 82, and a sending module 83. The device is described in detail below.
[0121] An acquisition module 81 is used to acquire channel parameters of a secure channel, wherein the channel parameters are parameters required for data transmission through the secure channel, and the secure channel is created after the object storage service end for storing data is authenticated by the authentication service; a binding module 82 is connected to the acquisition module 81, and is used to bind the channel parameters with target request data that needs to be sent after authentication, wherein the target request data is used to request the object storage service end to operate on the target object; a sending module 83 is connected to the binding module 82, and is used to send the target request data carrying the channel parameters to the object storage service end through the secure channel, wherein the object storage service end determines whether the target request data has passed the authentication by verifying whether the channel parameters are legal.
[0122] According to the data authentication processing device of the object storage service of the present embodiment, after authenticating the client of the target request data in advance through the authentication service, a secure channel is created, and the target request data that needs to be authenticated is received based on the secure channel, and the operation of requesting the target object can ensure that the request data within the validity period of the secure channel can be directly authenticated according to the channel parameters, without sending each request data to the authentication service for authentication, thereby improving the efficiency of request data authentication, and effectively avoiding the operations such as package disassembly and information extraction required for each request data authentication, thereby improving the system performance of the object storage service and improving the operation stability.
[0123] The above-mentioned target request data carries channel parameters, which are parameters required for the secure channel to transmit the target request data. The channel parameters are compared with the channel parameters of the secure channel to determine whether the channel parameters are legal. If the channel parameters are legal, the target request data is determined to have passed the authentication. That is, by directly comparing the channel parameters with the secure channel, it is possible to quickly and conveniently determine whether the target request data is legal, thereby improving the efficiency and accuracy of the authentication of the request data. This solves the problem of low authentication efficiency in the object storage service end in the related art.
[0124] The functions of each module in each device in the embodiments of the present application can be found in the corresponding description in the above method, and have corresponding beneficial effects, which will not be repeated here.
[0125] Fig. 9 FIG. 1 is a block diagram of an electronic device used to implement an embodiment of the present application. Fig. 9 As shown, the electronic device includes: a memory 901 and a processor 902. The memory 901 stores a computer program that can be run on the processor 902. When the processor 902 executes the computer program, the method in the above embodiment is implemented. The number of the memory 901 and the processor 902 can be one or more.
[0126] The electronic device also includes:
[0127] The communication interface 903 is used to communicate with external devices and perform data exchange transmission.
[0128] If the memory 901, the processor 902 and the communication interface 903 are implemented independently, the memory 901, the processor 902 and the communication interface 903 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0129] Optionally, in a specific implementation, if the memory 901, the processor 902 and the communication interface 903 are integrated on a chip, the memory 901, the processor 902 and the communication interface 903 can communicate with each other through an internal interface.
[0130] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which implements the method provided in the embodiment of the present application when the program is executed by a processor.
[0131] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.
[0132] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.
[0133] It should be understood that the above processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor that supports the Advanced RISC Machines (ARM) architecture.
[0134] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of exemplary but not limiting description, many forms of RAM are available. For example, static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct memory bus random access memory (DR RAM).
[0135] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
[0136] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.
[0137] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.
[0138] Any process or method described in the flow chart or otherwise described herein can be understood as a module, fragment or portion of a code representing one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.
[0139] The logic and / or steps described in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.
[0140] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.
[0141] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.
[0142] The above is only an exemplary embodiment of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope recorded in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A data authentication processing method for an object storage service client, comprising: Receive target request data that needs to be authenticated through a secure channel, wherein the target request data carries channel parameters for requesting operations on a target object, the channel parameters are parameters required for the secure channel to transmit target request data, the secure channel is created after the authentication service authenticates the client of the target request data; the channel parameters include a channel identifier and a valid time; Determining whether the channel parameters carried by the target request data are legal by comparing the channel parameters carried by the target request data with the channel parameters of the secure channel; If the channel parameters carried by the target request data are legal, determining that the target request data passes the authentication; Before receiving target request data requiring authentication through a secure channel, the method further includes: Receive network information of the client and send it to the authentication service for authentication; When the network information passes the authentication, creating a secure channel for the client; The channel parameters of the secure channel are stored and sent to the client, wherein after receiving the channel parameters of the secure channel, the client binds the channel parameters of the secure channel with the data to be authenticated and transmits the data during subsequent data transmission.
2. The method according to claim 1, wherein: Receiving the network information of the client and sending it to the authentication service for authentication, including: Receiving network information of the client through an initialization channel, wherein the initialization channel communicates with the client through a preset application program interface, and the network information includes at least one of the following: virtual private cloud information, network address information, and domain name information of the client; Sending the network information to the authentication service, wherein the authentication service is used to authenticate the network information and return the authentication result after the authentication is completed; An authentication result of the authentication service is received, and whether the network information passes the authentication is determined according to the authentication result.
3. The method according to claim 1, wherein: When the network information passes the authentication, creating the secure channel includes: When the network information passes the authentication, channel parameters of the secure channel are determined according to the network information and a preset channel function to create the secure channel, wherein the input of the channel function is at least one item of information in the network information, and the output of the channel function is the channel parameters.
4. The method according to claim 1, wherein: Storing the channel parameters of the secure channel and sending them to the client includes: Obtaining network information and channel parameters corresponding to the secure channel, and recording them in a channel table, wherein the channel table is used to record relevant parameters of different secure channels, and the channel table includes multiple information items of the secure channel, and the multiple information items include at least one item of the network information and the channel parameters of the secure channel; The channel parameters of the secure channel are returned to the client through an initialization channel, wherein the client stores the channel parameters of the secure channel after receiving them.
5. The method according to claim 4, wherein: Determining whether the channel parameters are legal according to the channel parameters of the secure channel includes: Searching for a corresponding secure channel in the channel table according to the channel identifier in the channel parameter; When a corresponding identifier is found in the channel table, determining whether the transmission of the target request data is within the validity period of the secure channel according to the validity period in the channel parameter; In a case where the transmission time of the target request data is within the validity period of the secure channel, it is determined that the channel parameters are legal.
6. The method according to claim 5, wherein: The channel parameter also includes key information of the authentication service. When a corresponding identifier is found in the channel table, determining whether the transmission of the target request data is within the validity period of the secure channel according to the validity time in the channel parameter, the method further includes: Determine whether there is any illegal anomaly in the transmission of the target request data according to the key information of the channel parameter, wherein the illegal anomaly includes at least one of the following: misaccess, attack behavior; In the case that there is no illegal anomaly in the transmission of the target request data, a step of determining whether the transmission of the target request data is within the validity period of the security channel according to the validity time in the channel parameters is performed.
7. The method according to claim 1, wherein: The method further comprises: After the validity period of the secure channel expires, receiving the network information of the client through an update channel, wherein the update channel communicates with the client through a preset application program interface; Sending the network information to the authentication service, wherein the authentication service is used to authenticate the network information and return the authentication result after the authentication is completed; An authentication result of the authentication service is received, and when the authentication result indicates that the network information has passed the authentication, a valid time of the secure channel is updated.
8. The method according to claim 1, wherein: When the safety channel is in an unused state, the method further includes: receiving a deletion instruction from the client through the deletion channel, and deleting the relevant information of the security channel in response to the deletion instruction; or, The information calling instruction of the client is received through the description channel, and in response to the information calling instruction, the relevant information of the security channel is sent to the client through the description channel.
9. A data authentication processing method for an object storage client, comprising: Acquire channel parameters of a secure channel for securely transmitting data, wherein the channel parameters are parameters required for the secure channel to transmit data, and the secure channel is created after the object storage service client is authenticated by the authentication service; the channel parameters include a channel identifier and a validity period; Binding the channel parameters with target request data that needs to be sent after authentication, wherein the target request data is used to request the object storage service end to operate on the target object; Sending the target request data carrying the channel parameters to the object storage service end through the secure channel, wherein the object storage service end verifies whether the channel parameters carried by the target request data are legal by comparing the channel parameters carried by the target request data with the channel parameters of the secure channel, thereby determining whether the target request data passes the authentication; Before obtaining the channel parameters of the secure channel for securely transmitting data, the method further includes: Sending the network information that needs to be authenticated to the object storage service, wherein after receiving the network information, the object storage service authenticates the network information through the authentication service and sends the authentication result; Receiving an authentication result of the network information by the server, wherein the authentication result includes authentication success and authentication failure; When the authentication result is successful, receiving and storing the channel parameters, wherein the object storage service client creates a secure channel for the client and sends the channel parameters of the secure channel when the network information passes the authentication; Get the channel parameters of the secure channel used to securely transmit data, including: Get the channel parameters stored by the client.
10. A data authentication processing server for an object storage service client, comprising: A receiving module, used for receiving target request data requiring authentication through a secure channel, wherein the target request data carries a channel parameter for requesting an operation of a target object, the channel parameter is a parameter required for the secure channel to transmit the target request data, the secure channel is created after the authentication service authenticates the client of the target request data; the channel parameter includes a channel identifier and a valid time; A comparison module, configured to compare the channel parameters carried by the target request data with the channel parameters of the secure channel to determine whether the channel parameters carried by the target request data are legal; An authentication module, used for determining that the target request data passes the authentication if the channel parameters carried by the target request data are legal; Before receiving the target request data that needs to be authenticated through the secure channel, it also includes: Receive network information of the client and send it to the authentication service for authentication; When the network information passes the authentication, creating a secure channel for the client; The channel parameters of the secure channel are stored and sent to the client, wherein after receiving the channel parameters of the secure channel, the client binds the channel parameters of the secure channel with the data to be authenticated and transmits the data during subsequent data transmission.
11. An electronic device comprising a memory, a processor and a computer program stored in the memory, wherein the processor implements the method according to any one of claims 1 to 9 when executing the computer program.
12. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
