Data processing method and device, equipment and storage medium
By generating a correspondence between business elements and random tags, random tags are used to transmit data during data communication between the client and the server, thus solving the security problem in data communication and achieving data transmission security and protection.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- AGRICULTURAL BANK OF CHINA
- Filing Date
- 2022-09-29
- Publication Date
- 2026-07-31
AI Technical Summary
Data communication between the client and the server is vulnerable to third-party attacks or tampering, and existing encryption methods are not secure enough.
By generating a mapping relationship between business elements and random tags, the client selects a random tag and sends it to the server. The server then retrieves the business elements based on the mapping relationship, thus ensuring the security of data transmission.
It effectively prevents third-party attacks and tampering, reduces data communication risks, and ensures data transmission security.
Smart Images

Figure CN115438361B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data communication technology, and in particular to a data processing method, apparatus, device and storage medium. Background Technology
[0002] Data communication between the client and server is vulnerable to attacks or tampering by third parties, sometimes resulting in significant financial losses for users. While data encryption is commonly used to prevent such attacks, it remains insufficiently secure. Summary of the Invention
[0003] This invention provides a data processing method, apparatus, device, and storage medium that can improve the security of data transmission between the client and the server.
[0004] In a first aspect, embodiments of the present invention provide a data processing method, the method being executed by a server, comprising: acquiring multiple business elements corresponding to a business request; wherein the business request is sent by a client; generating random tags corresponding to the multiple business elements respectively, and establishing a correspondence between the business elements and the random tags; sending the correspondence to the client, enabling a user to select at least one random tag through the client; receiving at least one random tag returned by the client, and determining at least one business element corresponding to the at least one random tag based on the correspondence, thereby obtaining information corresponding to the at least one business element.
[0005] Secondly, embodiments of the present invention also provide a data processing method, which is executed by a client and includes: sending a business request to a server, causing the server to establish a correspondence between business elements and random tags based on the business request; receiving the correspondence between business elements and random tags returned by the server; receiving at least one business element selected by the user as a target business element; and sending the random tag corresponding to the target business element to the server, causing the server to obtain corresponding information based on the received random tag.
[0006] Thirdly, embodiments of the present invention also provide a data processing apparatus, which is executed by a server and includes: a business element acquisition module, used to acquire multiple business elements corresponding to a business request; wherein the business request is sent by a client; a random tag generation module, used to generate random tags corresponding to the multiple business elements respectively, and establish a correspondence between the business elements and the random tags; a correspondence sending module, used to send the correspondence to the client, so that the user can select at least one random tag through the client; and a random tag receiving module, used to receive at least one random tag returned by the client, and determine at least one business element corresponding to at least one random tag based on the correspondence, so as to obtain information corresponding to the at least one business element.
[0007] Fourthly, embodiments of the present invention also provide a data processing apparatus, which is executed by a client and includes: a business request sending module, configured to send a business request to a server, so that the server establishes a correspondence between business elements and random tags based on the business request; a correspondence receiving module, configured to receive the correspondence between business elements and random tags returned by the server; a business element receiving module, configured to receive at least one business element selected by the user as a target business element; and a random tag sending module, configured to send the random tag corresponding to the target business element to the server, so that the server obtains corresponding information based on the received random tag.
[0008] Fifthly, embodiments of the present invention also provide an electronic device, the electronic device comprising:
[0009] At least one processor; and
[0010] A memory communicatively connected to the at least one processor; wherein,
[0011] The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the data processing method according to any one of the embodiments of the present invention.
[0012] Sixthly, embodiments of the present invention also provide a computer-readable storage medium storing computer instructions that are used to cause a processor to execute any of the data processing methods described in the embodiments of the present invention.
[0013] The technical solution of this embodiment obtains multiple business elements corresponding to a business request; wherein the business request is sent by the client; generates random tags corresponding to multiple business elements respectively, and establishes a correspondence between business elements and random tags; sends the correspondence to the client, allowing the user to select at least one random tag through the client; receives at least one random tag returned by the client, and determines at least one business element corresponding to at least one random tag based on the correspondence, thereby obtaining information corresponding to at least one business element. This embodiment, by accepting random tags sent by the client and determining the business element corresponding to the random tags according to the correspondence, effectively prevents third-party attacks or tampering and unauthorized access during data communication between the client and the server, ensuring data transmission security and reducing data communication risks. Attached Figure Description
[0014] Figure 1 A flowchart of a data processing method provided in an embodiment of the present invention;
[0015] Figure 2 A flowchart illustrating yet another data processing method provided in an embodiment of the present invention;
[0016] Figure 3 A flowchart of another data processing method provided in an embodiment of the present invention;
[0017] Figure 4 This is a schematic diagram of the structure of a data processing device provided in an embodiment of the present invention;
[0018] Figure 5 This is a schematic diagram of the structure of another data processing device provided in an embodiment of the present invention;
[0019] Figure 6 This is a schematic diagram of the structure of an electronic device that implements the data processing method of the present invention. Detailed Implementation
[0020] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and not intended to limit it. Furthermore, it should be noted that, for ease of description, the accompanying drawings show only the parts relevant to the present invention, and not all of the structures.
[0021] Figure 1 This is a flowchart of a data processing method provided in an embodiment of the present invention. This embodiment is applicable to situations where a client and a server communicate. The method can be executed by a data processing device. In this embodiment, the method is executed by the server and specifically includes the following steps:
[0022] S110. Obtain multiple business elements corresponding to the business request.
[0023] In this embodiment, the business request is sent by the client. The business request can be based on any protocol, such as Hypertext Transfer Protocol Secure (HTTPS), Hypertext Transfer Protocol (HTTP), or Transmission Control Protocol (TCP). Since this embodiment applies to client-side data submission to the server via a form, the specific business request could be a request to retrieve a dropdown list or a checkbox. The business element can be the form content, generated by the server.
[0024] S120. Generate random labels corresponding to multiple business elements and establish the correspondence between business elements and random labels.
[0025] The random label can be understood as a unique identifier composed of the server's IP address, the server's current timestamp, and a random number. The random label is generated by the server. The correspondence can be one-to-one.
[0026] Optionally, the method for generating random labels corresponding to multiple business elements can be: obtaining server address information, current timestamp information, and random numbers; and generating random labels for each business element based on the server address information, current timestamp information, and random numbers.
[0027] The server address information can be the server's IP address, and the random number can be any number of digits and any number of digits. For example, the random label can be "1b4fa3ad55743782faa6cd43f2b84".
[0028] Optionally, the method for generating random labels for each business element based on server address information, current timestamp information, and random numbers can be as follows: divide multiple business elements into private business elements and public business elements; for private business elements, generate random labels corresponding to the private business elements based on server address information, current timestamp information, and random numbers; for public business elements, determine whether the previous random label of the public business element has expired; if it has not expired, use the previous random label as the random label corresponding to the public business element; if the previous random label has expired, generate random labels corresponding to the public business element based on server address information, current timestamp information, and random numbers.
[0029] Private business elements can be understood as options unique to the user, such as "payment account" and "receiving account," while public business elements can be understood as options shared by all users, such as "account opening branch."
[0030] It should be noted that for private business elements, a random label is generated based on the server address information, the current timestamp information, and a random number. Each private business element has a different random label, and even for the same private business element, the generated random label will be different each time.
[0031] For common business elements, within the same time period, a random tag is generated corresponding to the same common business element based on the server address information, the current timestamp information, and a random number. This embodiment does not limit the time period; it can be every 5 minutes. For example, different users may generate the same random tag (e.g., branch A) for the same common business element within the same time period of 8:30-8:35 on the same day: 5a0a830a5c8b3df40010522d2ebbb9db. However, the random tags generated by the server will be different in different time periods. Therefore, for common business elements, it is determined whether the previous random tag for the common business element has expired. If it has not expired, the previous random tag is used as the random tag corresponding to the common business element; if the previous random tag has expired, a new random tag is generated based on the server address information, the current timestamp information, and a random number, meaning the common business element uses a new random tag.
[0032] In this embodiment, business elements are divided into private business elements and public business elements, thereby dividing random tags into private random tags and public random tags. This allows multiple users to share a single public random tag within the same time period through the client, effectively reducing the number of random tags cached on the server, alleviating server pressure, shortening response time, and optimizing performance.
[0033] Optionally, after establishing the correspondence between business elements and random tags, the method also includes: caching the correspondence between business elements and random tags, and setting the expiration time of the correspondence.
[0034] The expiration time can be understood as the deadline. In this embodiment, the business elements, random tags, and the correspondence between business elements and random tags are cached to facilitate the subsequent retrieval of the corresponding business element from the cache based on the random tag sent by the client. For example, each random tag and business element is in one-to-one correspondence, and an expiration time for the correspondence is set, as shown in Table 1.
[0035] Table 1. Business elements, random tags, and expiration times of server-side caching.
[0036]
[0037]
[0038] Optionally, after caching the correspondence between business elements and random tags, the method further includes: determining whether the correspondence has expired based on the expiration time; if it has expired, the correspondence is cleared from the cache.
[0039] Specifically, the expiration time of random tags can be retrieved from the server's cache in real time or at set intervals. This expiration time is compared with the server's current time. If the expiration time has expired, the correspondence between the business element and the random tag is considered invalid, and the corresponding random tag is cleared. The set interval can be 5 minutes, but this embodiment does not impose a limitation. This embodiment, by judging the expiration time and clearing expired correspondences (i.e., clearing expired random tags), maintains the random tags in the cache, further improving the security of random tags and thus enhancing the security of data communication.
[0040] S130. Send the corresponding relationship to the client so that the user can select at least one random tag through the client.
[0041] Specifically, each business element and each random tag are sent to the client one by one, so that the user can select one or more business elements through the client and receive the random tag corresponding to that business element returned by the client.
[0042] S140. Receive at least one random tag returned by the client, and determine at least one business element corresponding to the at least one random tag based on the correspondence, so as to obtain information corresponding to at least one business element.
[0043] Specifically, based on one or more business elements selected by the user, the client sends one or more corresponding random tags to the server. The server receives one or more random tags returned by the client and retrieves one or more corresponding business elements from the cache based on the random tags.
[0044] It should be noted that after receiving the random tag returned by the client, the system retrieves the corresponding business element from the cache. If the same random tag does not exist in the cache, it indicates that the data communication has expired or the random tag has been tampered with, and an exception message is sent to the client, terminating the data processing. If the system successfully retrieves the corresponding business element from the cache, data processing continues.
[0045] It's important to note that when a random tag sent by the client to the server is intercepted or tampered with, to a third party, the random tag is merely a string of characters and cannot provide any useful information. Even if the random tag is tampered with, the server can promptly identify the anomaly and terminate data processing by comparing it with cached data, effectively preventing third-party attacks.
[0046] The technical solution of this embodiment obtains multiple business elements corresponding to a business request; wherein the business request is sent by a client; generates random tags corresponding to multiple business elements respectively, and establishes a correspondence between business elements and random tags; sends the correspondence to the client, allowing the user to select at least one random tag through the client; receives at least one random tag returned by the client, and determines at least one business element corresponding to at least one random tag based on the correspondence, thereby obtaining information corresponding to at least one business element. This embodiment, by accepting random tags sent by the client and determining the business element corresponding to the random tags according to the correspondence, effectively prevents third-party attacks or tampering and unauthorized access during data communication between the client and the server, ensuring data transmission security and reducing data communication risks. Furthermore, this solution can be used as an additional supplement to communication based on protocols such as HTTPS, HTTP, and TCP, effectively preventing third-party attacks.
[0047] Figure 2 The flowchart illustrates another data processing method provided in this embodiment of the invention. This embodiment is applicable to situations where a client and a server communicate. The method can be executed by a data processing device. In this embodiment, the method is executed by the client and specifically includes the following steps:
[0048] S210. Send a business request to the server so that the server can establish a correspondence between business elements and random tags based on the business request.
[0049] Specifically, the client sends a request to the server to retrieve the dropdown list.
[0050] S220: Receive the correspondence between business elements and random tags returned by the server.
[0051] Specifically, it accepts the business elements and corresponding random tags returned by the server.
[0052] S230: Receive at least one business element selected by the user as the target business element.
[0053] S240. Send the random tag corresponding to the target business element to the server so that the server can obtain the corresponding information based on the received random tag.
[0054] It should be noted that the user selects the corresponding business element through the client. The client accepts the selected business element and sends the corresponding random tag to the server so that the server can perform the corresponding data processing and retrieve the business element corresponding to the random tag from the cache (equivalent to the server retrieving the user-selected business element from the cache), thus completing the data processing.
[0055] In this embodiment, by receiving the correspondence between business elements and random tags returned by the server and sending the random tags corresponding to the business elements selected by the user to the server, when the client and the server communicate with each other, since the client sends random tags to the server, it can effectively prevent third-party attacks or tampering, prevent unauthorized access, ensure the security of data transmission, and reduce the risk of data communication.
[0056] Figure 3 A flowchart of another data processing method provided in an embodiment of the present invention specifically includes the following steps:
[0057] S310, The client sends a business request to the server.
[0058] S320: The server accepts business requests and obtains multiple business elements corresponding to the business requests.
[0059] S330: The server generates multiple random labels corresponding to various business elements, establishes a correspondence between business elements and random labels, and sends the correspondence to the client.
[0060] S340. The client receives the correspondence between the business elements and random tags returned by the server.
[0061] S350: The client receives at least one business element selected by the user as the target business element.
[0062] S360: The client sends the random tags corresponding to the target business elements to the server.
[0063] S370. The server receives at least one random tag returned by the client and determines at least one business element corresponding to the at least one random tag based on the correspondence, so as to obtain information corresponding to at least one business element.
[0064] In this embodiment, the use of random tags for data communication between the client and the server can effectively prevent third-party attacks or tampering, prevent unauthorized access, ensure data transmission security, and reduce data communication risks.
[0065] Figure 4 This is a schematic diagram of a data processing device provided in an embodiment of the present invention. Figure 4As shown, the device is executed by the server and includes: a business element acquisition module 401, a random tag generation module 402, a correspondence sending module 403, and a random tag receiving module 404.
[0066] The business element acquisition module 401 is used to acquire multiple business elements corresponding to a business request; wherein, the business request is sent by the client.
[0067] The random label generation module 402 is used to generate random labels corresponding to the multiple business elements respectively, and to establish the correspondence between the business elements and the random labels;
[0068] The correspondence sending module 403 is used to send the correspondence to the client, so that the user can select at least one random tag through the client;
[0069] The random tag receiving module 404 is used to receive at least one random tag returned by the client, and determine at least one business element corresponding to the at least one random tag based on the correspondence, so as to obtain information corresponding to the at least one business element.
[0070] Optionally, the random tag generation module is specifically used to: obtain server address information, current timestamp information, and random number; and generate random tags for each business element based on the server address information, current timestamp information, and random number.
[0071] Optionally, the random tag generation module is further configured to: divide the multiple business elements into private business elements and public business elements; for the private business elements, generate a random tag corresponding to the private business elements based on the server address information, the current timestamp information, and a random number; for the public business elements, determine whether the previous random tag of the public business elements has expired; if it has not expired, use the previous random tag as the random tag corresponding to the public business elements; if the previous random tag has expired, generate a random tag corresponding to the public business elements based on the server address information, the current timestamp information, and a random number.
[0072] Optionally, the device further includes a caching module, which is used to cache the correspondence between the business elements and the random tags, and set the expiration time of the correspondence.
[0073] Optionally, the device further includes a clearing module, which is used to determine whether the correspondence has expired based on the expiration time; if it has expired, the correspondence is cleared from the cache.
[0074] Figure 5 This is a schematic diagram of another data processing device provided in an embodiment of the present invention. Figure 5 As shown, the device is executed by the client and includes: a service request sending module 501, a correspondence receiving module 502, a service element receiving module 503, and a random tag sending module 504.
[0075] The business request sending module 501 is used to send a business request to the server, so that the server can establish a correspondence between business elements and random tags based on the business request.
[0076] The correspondence receiving module 502 is used to receive the correspondence between business elements and random tags returned by the server;
[0077] The business element receiving module 503 is used to receive at least one business element selected by the user as the target business element.
[0078] The random tag sending module 504 is used to send the random tag corresponding to the target business element to the server, so that the server can obtain the corresponding information based on the received random tag.
[0079] The above-described apparatus can execute the methods provided in all the foregoing embodiments of the present invention, and has the corresponding functional modules and beneficial effects for executing the above methods. Technical details not described in detail in this embodiment can be found in the methods provided in all the foregoing embodiments of the present invention.
[0080] Figure 6 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0081] like Figure 6As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0082] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0083] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as method data processing.
[0084] In some embodiments, the method data processing may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or mounted on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the method data processing described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform method data processing by any other suitable means (e.g., by means of firmware).
[0085] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0086] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0087] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0088] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0089] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0090] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0091] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0092] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A data processing method, characterized in that, The method is executed by the server and includes: Obtain multiple business elements corresponding to a business request; wherein, the business request is sent by the client; Generate random labels corresponding to the multiple business elements respectively, and establish the correspondence between the business elements and the random labels; The correspondence is sent to the client, enabling the user to select at least one random tag through the client; Receive at least one random tag returned by the client, and determine at least one business element corresponding to the at least one random tag based on the correspondence, so as to obtain information corresponding to the at least one business element; The step of generating random labels corresponding to the plurality of business elements includes: Get the server address information, current timestamp information, and random number; The multiple business elements are divided into private business elements and public business elements; the private business elements are options unique to each user; the public business elements are options shared by all users. For the private business element, a random label corresponding to the private business element is generated based on the server address information, the current timestamp information, and a random number. For the public business element, determine whether the previous random tag of the public business element has expired; If it has not expired, the previous random tag will be used as the random tag corresponding to the public business element; If the previous random tag has expired, a random tag corresponding to the public business element is generated based on the server address information, the current timestamp information, and the random number.
2. The method according to claim 1, characterized in that, After establishing the correspondence between the business elements and the random tags, the method further includes: The correspondence between the business elements and the random tags is cached, and an expiration time for the correspondence is set.
3. The method according to claim 2, characterized in that, After caching the correspondence between the business elements and the random tags, the method further includes: Determine whether the corresponding relationship has expired based on the expiration time; If it expires, the corresponding relationship will be cleared from the cache.
4. A data processing method, characterized in that, The method is executed by the client and includes: Send a business request to the server, so that the server can establish a correspondence between business elements and random tags based on the business request; Receive the correspondence between business elements and random tags returned by the server; Receive at least one business element selected by the user as the target business element; The random tags corresponding to the target business elements are sent to the server, so that the server can obtain the corresponding information based on the received random tags; The server establishes a correspondence between business elements and random tags based on the business request, including: Retrieve server address information, current timestamp information, and random number; Multiple business elements are divided into private business elements and public business elements; the private business elements are options unique to each user; the public business elements are options shared by all users. For the private business element, a random label corresponding to the private business element is generated based on the server address information, the current timestamp information, and a random number. For the public business element, determine whether the previous random tag of the public business element has expired; If it has not expired, the previous random tag will be used as the random tag corresponding to the public business element; If the previous random tag has expired, a random tag corresponding to the public business element is generated based on the server address information, the current timestamp information, and the random number. Establish the correspondence between the business elements and the random tags.
5. A data processing apparatus, characterized in that, The device is executed by the server and includes: The business element acquisition module is used to acquire multiple business elements corresponding to a business request; wherein, the business request is sent by the client. A random tag generation module is used to generate random tags corresponding to the multiple business elements respectively, and to establish a correspondence between the business elements and the random tags; The correspondence sending module is used to send the correspondence to the client, so that the user can select at least one random tag through the client; A random tag receiving module is used to receive at least one random tag returned by the client, and determine at least one business element corresponding to the at least one random tag based on the correspondence, so as to obtain information corresponding to the at least one business element; Specifically, the random tag generation module is used to: obtain server address information, current timestamp information, and random number; and generate random tags corresponding to each business element based on the server address information, current timestamp information, and random number. The random tag generation module is further configured to: divide the multiple business elements into private business elements and public business elements; the private business elements are options unique to each user; the public business elements are options shared by all users; For the private business element, a random label corresponding to the private business element is generated based on the server address information, the current timestamp information, and a random number. For the public business element, determine whether the previous random tag of the public business element has expired; if it has not expired, use the previous random tag as the random tag corresponding to the public business element; if the previous random tag has expired, generate the random tag corresponding to the public business element based on the server address information, the current timestamp information and the random number.
6. A data processing apparatus, characterized in that, The device is executed by the client and includes: The business request sending module is used to send business requests to the server, so that the server can establish a correspondence between business elements and random tags based on the business requests; The mapping relationship receiving module is used to receive the mapping relationship between business elements and random tags returned by the server; The business element receiving module is used to receive at least one business element selected by the user as the target business element. The random tag sending module is used to send random tags corresponding to the target business element to the server, so that the server can obtain the corresponding information based on the received random tags; The server establishes a correspondence between business elements and random tags based on the business request, including: Retrieve server address information, current timestamp information, and random number; Multiple business elements are divided into private business elements and public business elements; the private business elements are options unique to each user; the public business elements are options shared by all users. For the private business element, a random label corresponding to the private business element is generated based on the server address information, the current timestamp information, and a random number. For the public business element, determine whether the previous random tag of the public business element has expired; If it has not expired, the previous random tag will be used as the random tag corresponding to the public business element; If the previous random tag has expired, a random tag corresponding to the public business element is generated based on the server address information, the current timestamp information, and the random number. Establish the correspondence between the business elements and the random tags.
7. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the data processing method according to any one of claims 1-4.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the data processing method according to any one of claims 1-4.