Request processing method and device, equipment and storage medium
By acquiring encrypted historical data and using the terminal device's key to decrypt and generate secondary authentication information, the problem of low efficiency in independent server request processing is solved, achieving more efficient request processing.
Patent Information
- Application Number
- CN202511174075.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-21
- Publication Date
- 2025-11-11
AI Technical Summary
Traditional servers suffer from low processing efficiency when processing requests independently, especially when the same data needs to be used.
By obtaining encrypted historical data and first authentication information associated with the website, the terminal device's key is used to decrypt and generate second authentication information, thereby decrypting the historical data to assist in processing the request.
It improves the efficiency of server request processing by utilizing historical data to assist in processing current requests.
Smart Images

Figure CN120934862A_ABST
Abstract
Description
Technical Field
[0001] The exemplary embodiments disclosed herein relate generally to the field of computers, and more particularly to request processing methods, apparatus, devices, and computer-readable storage media. Background Technology
[0002] With the development of computer technology, various forms of electronic devices have greatly enriched people's daily lives. For example, people can use electronic devices to send requests related to websites to servers, enabling the servers to process these requests. Improving the efficiency of server request processing is a key concern. Summary of the Invention
[0003] In a first aspect of this disclosure, a method for request processing is provided. The method includes: in response to receiving a first request associated with a website from a terminal device, obtaining encrypted historical data and first authentication information associated with the website, the encrypted historical data being generated based on historical requests associated with the website; sending the first authentication information to the terminal device to obtain second authentication information, the second authentication information being generated by decrypting the first authentication information using a first key at the terminal device; decrypting the encrypted historical data using a second key determined based on the second authentication information to obtain decrypted historical data; and processing the first request associated with the website using the decrypted historical data.
[0004] In a second aspect of this disclosure, an apparatus for request processing is provided. The apparatus includes: an acquisition module configured to, in response to receiving a first request associated with a website from a terminal device, acquire encrypted historical data and first authentication information associated with the website, the encrypted historical data being generated based on historical requests associated with the website; a sending module configured to send the first authentication information to the terminal device to acquire second authentication information, the second authentication information being generated by decrypting the first authentication information using a first key at the terminal device; a decryption module configured to decrypt the encrypted historical data using a second key determined based on the second authentication information to acquire decrypted historical data; and a processing module configured to process the first request associated with the website using the decrypted historical data.
[0005] In a third aspect of this disclosure, an electronic device is provided. The device includes at least one processor; and at least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor. When executed by the at least one processor, the instructions cause the device to perform the method of the first aspect.
[0006] In a fourth aspect of this disclosure, a computer-readable storage medium is provided. The computer-readable storage medium stores computer-executable instructions that can be executed by a processor to implement the method of the first aspect.
[0007] In a fifth aspect of this disclosure, a computer program product is provided. The computer program product includes computer-executable instructions that, when executed by a processor, implement the method according to a first aspect of this disclosure.
[0008] It should be understood that the content described in this content section is not intended to limit the key or essential features of the embodiments of this disclosure, nor is it intended to restrict the scope of this disclosure. Other features of this disclosure will become readily apparent from the following description. Attached Figure Description
[0009] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. In the drawings, the same or similar reference numerals denote the same or similar elements, wherein:
[0010] Figure 1 A schematic diagram of an example environment in which embodiments of the present disclosure can be implemented is shown;
[0011] Figure 2 A flowchart of a request processing procedure according to some embodiments of the present disclosure is shown;
[0012] Figure 3 A flowchart of a data encryption process according to some embodiments of the present disclosure is shown;
[0013] Figure 4 A flowchart of a data decryption process according to some embodiments of the present disclosure is shown;
[0014] Figure 5 A schematic structural block diagram of an apparatus for request processing according to certain embodiments of the present disclosure is shown;
[0015] Figure 6 A block diagram of an electronic device capable of implementing several embodiments of the present disclosure is shown. Detailed Implementation
[0016] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0017] It should be noted that the headings of any section / subsection provided herein are not limiting. Various embodiments are described throughout this document, and embodiments of any type may be included under any section / subsection. Furthermore, embodiments described in any section / subsection may be combined in any way with any other embodiments described in the same section / subsection and / or different sections / subsections.
[0018] In the description of embodiments of this disclosure, the term "comprising" and similar terms should be understood as open-ended inclusion, i.e., "including but not limited to". The term "based on" should be understood as "at least partially based on". The term "one embodiment" or "the embodiment" should be understood as "at least one embodiment". The term "some embodiments" should be understood as "at least some embodiments". Other explicit and implicit definitions may also be included below. The terms "first", "second", etc., may refer to different or the same objects. Other explicit and implicit definitions may also be included below.
[0019] The embodiments of this disclosure may involve user data, data acquisition, and / or use. All of these aspects comply with applicable laws, regulations, and relevant provisions. In the embodiments of this disclosure, all data collection, acquisition, processing, manipulation, forwarding, and use are conducted with the user's knowledge and confirmation. Accordingly, in implementing the embodiments of this disclosure, the type, scope of use, and usage scenarios of any data or information that may be involved should be communicated to the user and their authorization obtained in accordance with relevant laws and regulations through appropriate means. The specific methods of notification and / or authorization may vary depending on the actual situation and application scenario, and the scope of this disclosure is not limited in this respect.
[0020] In this specification and the embodiments, any processing of personal information will be carried out only under the premise of legality (such as obtaining the consent of the personal information subject, or being necessary for the performance of a contract), and will only be carried out within the scope stipulated or agreed upon. A user's refusal to process personal information other than that necessary for basic functions will not affect the user's use of basic functions.
[0021] Traditionally, each request submitted by a user is processed independently by the server. However, there may be situations where the same data is needed to process different requests, so processing requests independently by the server may lead to low processing efficiency.
[0022] Embodiments of this disclosure propose a request processing scheme. According to this scheme, in response to receiving a first request associated with a website from a terminal device, encrypted historical data and first authentication information associated with the website can be obtained, the encrypted historical data being generated based on historical requests associated with the website. Further, the first authentication information can be sent to the terminal device to obtain second authentication information, the second authentication information being generated by decrypting the first authentication information using a first key at the terminal device. Further, the encrypted historical data can be decrypted using a second key determined based on the second authentication information to obtain decrypted historical data. Further, the decrypted historical data can be used to process the first request associated with the website.
[0023] Based on this approach, embodiments of this disclosure can assist in processing first requests associated with a website by using historical data generated from historical requests associated with the website, effectively improving the efficiency of request processing.
[0024] Example Environment
[0025] Figure 1 A schematic diagram of an example environment 100 in which embodiments of the present disclosure can be implemented is shown. For example... Figure 1 As shown, example environment 100 may include server 110 and terminal device 120.
[0026] In this example environment 100, server 110 can receive a first request associated with a website from terminal device 120. Furthermore, server 110 can process this first request associated with the website by sharing historical data determined from previous processing of historical requests associated with the website.
[0027] Terminal device 120 can be any type of mobile terminal, fixed terminal, or portable terminal with a display device, including mobile phones, desktop computers, laptop computers, notebook computers, netbook computers, tablet computers, media computers, multimedia tablets, handheld computers, portable gaming terminals, VR / AR devices, personal communication system (PCS) devices, personal navigation devices, personal digital assistants (PDAs), audio / video players, digital cameras / camcorders, positioning devices, television receivers, radio receivers, e-book devices, gaming devices, or any combination thereof, including accessories and peripherals of these devices or any combination thereof. In some embodiments, terminal device 120 may also support any type of interface for the target user (such as "wearable" circuitry).
[0028] Server 110 can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks, and big data and artificial intelligence platforms. Server 110 may include, for example, computing systems / servers such as mainframes, edge computing nodes, computing devices in cloud environments, etc.
[0029] A communication connection can be established between server 110 and terminal device 120. This communication connection can be established via wired or wireless means. The communication connection may include, but is not limited to, Bluetooth, mobile network, Universal Serial Bus (USB), and Wireless Fidelity (WiFi) connections; the embodiments of this disclosure are not limited in this respect. In the embodiments of this disclosure, server 110 and terminal device 120 can achieve signaling interaction through their communication connection.
[0030] It should be understood that the structure and function of the various elements in environment 100 are described for illustrative purposes only and do not imply any limitation on the scope of this disclosure.
[0031] The following description will continue with reference to the accompanying drawings, which will provide some exemplary embodiments of this disclosure.
[0032] Example process
[0033] Figure 2 A flowchart of a request processing procedure 200 according to some embodiments of the present disclosure is shown. Procedure 200 may be implemented at server 110. Reference is made below. Figure 1 Describe the process 200.
[0034] In box 210, server 110 responds to receiving a first request associated with a website from terminal device 120, and obtains encrypted historical data and first authentication information associated with the website, the encrypted historical data being generated based on historical requests associated with the website.
[0035] In some embodiments, a website can be a collection of related web pages, which typically contain text, images, videos, and other multimedia content. In some embodiments, a website can be any suitable type of website, such as a website associated with lifestyle services, an educational website, a social networking site, a video website, etc.
[0036] In some embodiments, the website may be hosted on server 110. In some embodiments, a user may access the website hosted on server 110 using terminal device 120. For example, a user may use terminal device 120 to access the website based on the website's corresponding Uniform Resource Locator (URL), and the user may connect to server 110 via the Internet to browse the website's content.
[0037] In some embodiments, the first request may be input by a user based on a local browser on the terminal device 120. Specifically, the local browser may provide a user interface (UI) that instructs the user to input the first request.
[0038] In some embodiments, the first request may be a request associated with an agent, that is, the user interface provided by the local browser to the user may be an interface associated with an agent, such as a session interface associated with the user and the agent.
[0039] In some embodiments, an intelligent agent may include a model-based application with autonomous goal setting, decision-making, and execution capabilities, enabling it to proactively plan and complete tasks. Specifically, the intelligent agent can be a model, or it can be a model with added external capabilities. The model can be any suitable machine learning model, such as a large model, a generative model (e.g., a language model), etc. In some scenarios, the intelligent agent is also called an Agent, and may also be referred to as a virtual object.
[0040] In some embodiments, in response to receiving a first request, the agent can process the first request using the browser of server 110. This browser of server 110 can be referred to as a remote browser. It should be noted that the data or information determined by the agent using the remote browser of server 110 to process the first request can be returned to the local browser and displayed therefor for the user to view.
[0041] To ensure security, the remote browser can be launched within a second trusted environment of server 110. This second trusted environment can be an isolated virtual environment used to securely run or test untrusted programs, preventing them from harming the real system. As an example, the second trusted environment could be a security sandbox.
[0042] In other embodiments, the agent may also utilize an application in server 120 or any other suitable service to process the first request, which will not be elaborated here.
[0043] In some embodiments, the first request can be any suitable type of request, such as a text request, a voice request, or an image request. For example, the first request could be a voice message saying, "Please help me find some trending news from website A." Or, for example, the first request could be a text message saying, "Please help me book a plane ticket from website B," and so on.
[0044] In some embodiments, in order to improve the efficiency of request processing, server 110 may, in response to receiving a first request associated with a website from terminal device 120, determine whether it has stored historical data that can be shared.
[0045] In some embodiments, historical data may be generated based on historical requests associated with the website. For security purposes, historical data may be stored in encrypted form in the storage unit; that is, the storage unit stores not the historical data itself, but encrypted historical data obtained by encrypting the historical data.
[0046] In some embodiments, historical data can be historical cookie information; that is, encrypted historical data is generated by encrypting the website's historical cookie information. In some embodiments, cookies can be small pieces of data used by the website to store user information, such as session status, login information, etc.
[0047] In some embodiments, the first authentication information may be authentication information used to establish a trust relationship between the user and historical data. For example, the first authentication information may be obtained from the key required to encrypt the historical data, or the first authentication information may be the ciphertext information obtained after encrypting the key.
[0048] Furthermore, in response to receiving this first request, the electronic device can obtain the encrypted historical data and the first authentication information. Specifically, in response to determining that the storage unit contains the encrypted historical data and the first authentication information associated with the website, the electronic device can obtain the encrypted historical data and the first authentication information from the storage unit.
[0049] In some embodiments, this encrypted historical data may be generated based on historical requests associated with the website. In some embodiments, the historical request may be a request associated with the website received by server 110 during the historical process. This historical request is associated with the first request; for example, server 110 may use historical data involved in or generated during the processing of the historical request as supplementary information to assist in the processing of the first request.
[0050] The following section explains the process for determining encrypted historical data.
[0051] In some embodiments, server 110 can receive historical requests associated with a website from terminal device 120. Further, server 110 can process historical requests to generate historical data associated with the website. In some embodiments, the historical data can be intermediate data generated by server 110 during the processing of the historical request, etc., which will not be elaborated here. For example, this historical data can be login credentials generated when server 110 executes the login action of website A when processing the historical request "login to website A," and these login credentials are used to indicate that the login status of website A is logged in. Further, to ensure the security of historical data, in some embodiments, server 110 can encrypt this historical data based on a second key to generate encrypted historical data. The second key can be any appropriate key generated by server 110.
[0052] The process for determining the first authentication information is explained below.
[0053] In some embodiments, server 110 may determine the second key as the second authentication information. Further, server 110 may encrypt the second authentication information based on the first key to obtain the first authentication information.
[0054] To ensure security, in some embodiments, server 110 may also encrypt the second key based on a third key to obtain the second authentication information. The third key can be any suitable key generated by server 110. Furthermore, server 110 may encrypt the second authentication information based on a first key to obtain the first authentication information.
[0055] In some embodiments, the first key can be any appropriate symmetric key generated by the terminal device 120, that is, the first authentication information can be obtained by encryption based on the symmetric key.
[0056] To enhance security, server 110 can also obtain the first authentication information based on the second authentication information using asymmetric encryption. Specifically, server 110 can obtain the public key from terminal device 120. Furthermore, server 110 can encrypt the second authentication information based on the public key to obtain the first authentication information.
[0057] In some embodiments, in order to facilitate the decryption of data encrypted based on the public key by the terminal device 120 and to ensure data security, the terminal device 120 may, after generating a key pair (including a public key and a private key), store the private key corresponding to the public key in the terminal device 120 and send the public key to the server 110. This private key is also the first key.
[0058] In some embodiments, the terminal device 120 may be associated with a first trusted environment. The first trusted environment may be a secure, isolated region within the processor of the terminal device 120, which ensures that privacy data is encrypted within the isolated environment, protecting privacy and integrity even if the main system of the terminal device 120 is compromised. As an example, the first trusted environment may be a Trusted Execution Environment (TEE). Optionally, the terminal device 120 may store its private key in the first trusted environment.
[0059] To ensure efficient data transmission, terminal device 120 can send the public key along with historical requests associated with the website to server 110.
[0060] Figure 3 A flowchart of a data encryption process according to some embodiments of the present disclosure is shown, now for... Figure 3 Please provide an explanation.
[0061] like Figure 3 As shown, user 301 provides a prompt to terminal device 120 via local browser 302. This prompt can also be called a user request (historical request). Further, terminal device 120 can generate a key pair (including a private key and a public key), where the private key is stored on terminal device 120 and inaccessible to other users 301. Further, terminal device 120 can send the public key and the user request associated with the website to server 110. Further, server 110 can respond to receiving this user request by using remote browser 303 to perform tasks based on the user request, such as logging into website A and searching for popular posts on website A. Further, server 110 can generate login credentials (historical data) in response to successful login to website A. Further, server 110 generates a second key. Further, server 110 can use the second key to encrypt the login credentials (encrypted historical data). Further, server 110 can encrypt the second key based on a third key to generate second authentication information. Furthermore, server 110 can encrypt the second authentication information based on the public key obtained from terminal device 120 to generate first authentication information. Furthermore, server 110 can store the encrypted login credentials and the first authentication information in storage unit 304.
[0062] It should be noted that the private key can be stored in the TEE in the terminal device 120.
[0063] Back Figure 2In box 220, server 110 sends first authentication information to terminal device 120 to obtain second authentication information. The second authentication information is generated by decrypting the first authentication information using the first key at terminal device 120.
[0064] In some embodiments, server 110 may send first authentication information to terminal device 120. Further, in response to receiving this first authentication information, terminal device 120 may decrypt the first authentication information based on a first key to obtain second authentication information. Further, terminal device 120 may send the second authentication information to server 110.
[0065] In some embodiments, if the first authentication information is encrypted based on a symmetric key (first key), then the terminal device 120 can decrypt the first authentication information based on the first key to obtain the second authentication information.
[0066] In other embodiments, if the first authentication information is encrypted based on an asymmetric key, that is, the first authentication information is encrypted based on a public key, then the terminal device 120 can encrypt the first authentication information based on the private key (first key) corresponding to the public key to obtain the second authentication information.
[0067] To ensure security, the process of decrypting the first authentication information using the first key at terminal device 120 can be performed in the first trusted environment of terminal device 120.
[0068] Furthermore, the terminal device 120 can send the second authentication information to the server 110 so that the server 110 can obtain the second authentication information.
[0069] In box 230, server 110 uses a second key determined based on the second authentication information to decrypt encrypted historical data to obtain decrypted historical data.
[0070] In some embodiments, the decrypted historical data is matched with historical data associated with the website generated by the server 110 in previous processing of historical requests.
[0071] In some embodiments, server 110 may determine a second key based on second authentication information.
[0072] As an example, in response to the second authentication information being the second key itself, server 110 can determine the received second authentication information as the second key.
[0073] As another example, in response to the second authentication information being generated by encrypting the second key with a third key, server 110 can decrypt the second authentication information based on the third key to obtain the second key. The third key is configured to encrypt the second key to obtain the second authentication information.
[0074] In box 240, server 110 uses the decrypted historical data to process the first request associated with the website.
[0075] In some embodiments, server 110 may obtain historical authentication information associated with a user based on decrypted historical data. In some embodiments, historical authentication information may include any appropriate authentication information, such as, but not limited to, the user's purchase information and login information associated with the website.
[0076] Furthermore, server 110 can execute a target response action for the first request based on historical authentication information. In some embodiments, the target response action can be one or more. In some embodiments, the target response action is executed based on the authentication result confirmed by the historical authentication information. Specifically, if the authentication result is successful, then server 110 can execute the target response action; if the authentication fails, server 110 can refuse to respond or request re-authentication, etc.
[0077] For example, if the historical authentication information is the user's added-to-cart information, then when the user closes the browser and visits the shopping website again, the added-to-cart information will still be retained. At this time, server 110 can execute the response action of purchasing items based on the added-to-cart information.
[0078] For example, if the historical authentication information is the login credentials generated after logging into website A, then since server 110 has already obtained the decrypted historical data, server 110 can directly execute the target actions after logging into website A, such as finding a few hot posts from website A after logging in and summarizing these hot posts, etc.
[0079] Figure 4 A flowchart of a data decryption process according to some embodiments of the present disclosure is shown, now for... Figure 4 Please provide an explanation.
[0080] like Figure 4As shown, user 301 can receive a prompt (first request) through local browser 302. The execution of this first request depends on logging into website A. At this time, server 110 can extract encrypted historical data and first authentication information from storage unit 304. Further, server 110 can send the first authentication information to local browser 302 of terminal device 120. Further, terminal device 120 decrypts the first authentication information based on its private key to obtain second authentication information. Further, terminal device 120 sends the second authentication information to server 110. Server 110 decrypts the second authentication information based on a third key to obtain a second key. Further, server 110 can use the second key to encrypt historical data to obtain decrypted historical data (login credentials for website A). At this point, server 110 reloads the remote browser 303. Now, in response to the login credentials meeting the authentication requirements, server 110 no longer outputs prompts to user 301 regarding logging into website A, allowing the user to directly perform other tasks after logging in.
[0081] It should be noted that the process of obtaining the second authentication information by decrypting the first authentication information based on the private key can be executed in the TEE of the terminal device 120.
[0082] Based on this approach, embodiments of this disclosure can assist in processing first requests associated with a website by using historical data generated from historical requests associated with the website, effectively improving the efficiency of request processing.
[0083] Example devices and equipment
[0084] Embodiments of this disclosure also provide corresponding apparatus for implementing the above methods or processes. Figure 5 A schematic structural block diagram of a request processing apparatus 500 according to certain embodiments of the present disclosure is shown. The apparatus 500 may be implemented as or included in the electronic device 110 discussed above. The various modules / components in the apparatus 500 may be implemented by hardware, software, firmware, or any combination thereof.
[0085] like Figure 5As shown, the apparatus 500 includes an acquisition module 510 configured to acquire encrypted historical data and first authentication information associated with the website in response to receiving a first request associated with the website from a terminal device, wherein the encrypted historical data is generated based on historical requests associated with the website; a sending module 520 configured to send the first authentication information to the terminal device to acquire second authentication information, wherein the second authentication information is generated by decrypting the first authentication information using a first key at the terminal device; a decryption module 530 configured to decrypt the encrypted historical data using a second key determined based on the second authentication information to acquire decrypted historical data; and a processing module 540 configured to process the first request associated with the website using the decrypted historical data.
[0086] In some embodiments, the apparatus 500 further includes a receiving module configured to receive historical requests associated with a website from a terminal device; a processing module configured to process the historical requests to generate historical data associated with the website; and an encryption module configured to encrypt the historical data based on a second key to generate encrypted historical data.
[0087] In some embodiments, the apparatus 500 further includes an information decryption module configured to: decrypt the second authentication information based on a third key to determine the second key, wherein the third key is configured to encrypt the second key to obtain the second authentication information.
[0088] In some embodiments, the first key is a private key, and the first authentication information is generated based on the following process: obtaining the public key corresponding to the private key from the terminal device; and encrypting the second authentication information based on the public key to obtain the first authentication information.
[0089] In some embodiments, the processing module 540 is further configured to obtain historical authentication information associated with the user based on decryption history data; and to execute a target response action for the first request based on the historical authentication information.
[0090] In some embodiments, the target response action is performed based on the authentication result confirmed by historical authentication information.
[0091] In some embodiments, historical authentication information includes login information associated with the website.
[0092] In some embodiments, the terminal device is associated with a first trusted environment, and the decryption of the first authentication information using a first key at the terminal device is performed in the first trusted environment.
[0093] In some embodiments, the first request is a request associated with an agent, and the first request is processed by the agent using the server's browser.
[0094] In some embodiments, the browser is launched in a second trusted environment of the server.
[0095] In some embodiments, encrypted historical data is generated from encrypted website historical cookie information. The units included in device 500 can be implemented in various ways, including software, hardware, firmware, or any combination thereof. In some embodiments, one or more units can be implemented using software and / or firmware, such as machine-executable instructions stored on a storage medium. In addition to or as an alternative to machine-executable instructions, some or all of the units in device 500 can be implemented at least partially by one or more hardware logic components. Exemplary types of hardware logic components that can be used, by way of example and not limitation, include field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-chips (SoCs), complex programmable logic devices (CPLDs), and so on.
[0096] Figure 6 A block diagram of an electronic device 600 in which one or more embodiments of the present disclosure may be implemented is shown. It should be understood that... Figure 6 The electronic device 600 shown is merely exemplary and should not be construed as limiting the functionality and scope of the embodiments described herein. Figure 6 The electronic device 600 shown can be used to achieve Figure 1 The electronic device 110 shown.
[0097] like Figure 6 As shown, electronic device 600 is in the form of a general-purpose electronic device. Components of electronic device 600 may include, but are not limited to, one or more processors 610 or processing units, memory 620, storage device 630, one or more communication units 640, one or more input devices 650, and one or more output devices 660. Processor 610 may be a physical or virtual processor and is capable of performing various processes according to programs stored in memory 620. In a multiprocessor system, multiple processors execute computer-executable instructions in parallel to improve the parallel processing capability of electronic device 600.
[0098] Electronic device 600 typically includes multiple computer storage media. Such media can be any accessible media that is accessible to electronic device 600, including but not limited to volatile and non-volatile media, removable and non-removable media. Memory 620 can be volatile memory (e.g., registers, cache, random access memory (RAM)), non-volatile memory (e.g., read-only memory (ROM), electrically erasable programmable read-only memory (PROM), flash memory), or some combination thereof. Storage device 630 can be a removable or non-removable medium and can include machine-readable media, such as flash drives, disks, or any other media that can be used to store information and / or data (e.g., training data for training) and can be accessed within electronic device 600.
[0099] Electronic device 600 may further include additional removable / non-removable, volatile / non-volatile storage media. Although not explicitly stated... Figure 6 As shown, disk drives for reading from or writing to removable, non-volatile disks (e.g., "floppy disks") and optical disk drives for reading from or writing to removable, non-volatile optical disks can be provided. In these cases, each drive can be connected to a bus (not shown) via one or more data media interfaces. Memory 620 may include computer program product 625 having one or more program modules configured to perform various methods or actions of various embodiments of this disclosure.
[0100] The communication unit 640 enables communication with other electronic devices via a communication medium. Additionally, the functionality of the components of the electronic device 600 can be implemented using a single computing cluster or multiple computing machines capable of communicating via communication connections. Therefore, the electronic device 600 can operate in a networked environment using logical connections to one or more other servers, network personal computers (PCs), or another network node.
[0101] Input device 650 can be one or more input devices, such as a mouse, keyboard, trackball, etc. Output device 660 can be one or more output devices, such as a monitor, speaker, printer, etc. Electronic device 600 can also communicate with one or more external devices (not shown) via communication unit 640 as needed. These external devices include storage devices, display devices, etc., and can communicate with one or more devices that enable user interaction with electronic device 600, or with any device that enables electronic device 600 to communicate with one or more other electronic devices (e.g., network card, modem, etc.). Such communication can be performed via input / output (I / O) interface (not shown).
[0102] According to an exemplary implementation of this disclosure, a computer-readable storage medium is provided that stores computer-executable instructions thereon, wherein the computer-executable instructions are executed by a processor to implement the methods described above. According to an exemplary implementation of this disclosure, a computer program product is also provided, which is tangibly stored on a non-transitory computer-readable medium and includes computer-executable instructions, which are executed by a processor to implement the methods described above.
[0103] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatuses, devices, and computer program products implemented according to this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0104] These computer-readable program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processing unit of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner. Thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.
[0105] Computer-readable program instructions can be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.
[0106] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction, which contains one or more executable instructions for implementing the specified logical function. In some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0107] Various implementations of this disclosure have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed implementations. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described implementations. The terminology used herein is chosen to best explain the principles, practical applications, or improvements to technology in the market, or to enable others skilled in the art to understand the various implementations disclosed herein.
Claims
1. A method for request processing, comprising: In response to receiving a first request associated with a website from a terminal device, the system obtains encrypted historical data and first authentication information associated with the website, wherein the encrypted historical data is generated based on historical requests associated with the website; Send the first authentication information to the terminal device to obtain the second authentication information, wherein the second authentication information is generated by decrypting the first authentication information using the first key at the terminal device; Using the second key determined based on the second authentication information, the encrypted historical data is decrypted to obtain the decrypted historical data; as well as The first request associated with the website is processed using the decryption history data.
2. The method according to claim 1, further comprising: Receive the historical request associated with the website from the terminal device; Process the historical requests to generate historical data associated with the website; as well as The historical data is encrypted based on the second key to generate the encrypted historical data.
3. The method according to claim 1, further comprising: The second authentication information is decrypted based on a third key to determine the second key, wherein the third key is configured to encrypt the second key to obtain the second authentication information.
4. The method of claim 1, wherein the first key is a private key, and the first authentication information is generated based on the following process: Obtain the public key corresponding to the private key from the terminal device; and The second authentication information is encrypted using the public key to obtain the first authentication information.
5. The method of claim 1, wherein processing the first request associated with the website using the decryption history data comprises: Based on the decryption history data, obtain the historical authentication information associated with the user; Based on the historical authentication information, execute the target response action for the first request.
6. The method of claim 5, wherein the target response action is performed based on the authentication result confirmed by the historical authentication information.
7. The method of claim 5, wherein the historical authentication information includes login information associated with the website.
8. The method of claim 1, wherein the terminal device is associated with a first trusted environment, and the decryption of the first authentication information using the first key at the terminal device is performed in the first trusted environment.
9. The method of claim 1, wherein the first request is a request associated with an agent, and the first request is processed by the agent using a browser on the server.
10. The method of claim 8, wherein the browser is launched in a second trusted environment of the server.
11. The method of claim 1, wherein the encrypted historical data is generated by encrypting the historical cookie information of the website.
12. An apparatus for request processing, comprising: The acquisition module is configured to, in response to receiving a first request associated with a website from a terminal device, acquire encrypted historical data and first authentication information associated with the website, wherein the encrypted historical data is generated based on historical requests associated with the website; The sending module is configured to send the first authentication information to the terminal device to obtain second authentication information, wherein the second authentication information is generated by decrypting the first authentication information using a first key at the terminal device; The decryption module is configured to decrypt the encrypted historical data using a second key determined based on the second authentication information, so as to obtain the decrypted historical data. as well as The processing module is configured to use the decryption history data to process the first request associated with the website.
13. An electronic device, comprising: At least one processor; as well as At least one memory coupled to the at least one processor and storing instructions for execution by the at least one processor, the instructions causing the electronic device to perform the method according to any one of claims 1 to 11 when executed by the at least one processor.
14. A computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, implement the method according to any one of claims 1 to 11.
15. A computer program product comprising computer-executable instructions, wherein the computer-executable instructions, when executed by a processor, implement the method according to any one of claims 1 to 11.