Data processing method and device

By performing data version number determination and business expansion on the client side, and using client-side data processing tools to generate data to be displayed, the problem of excessive server load was solved, system performance was improved, and the update process was simplified.

CN121387345APending Publication Date: 2026-01-23BEIJING JINGDONG TUOXIAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410993114.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2026-01-23

AI Technical Summary

Technical Problem

In existing technologies, excessive load on the server side during data processing can affect system performance, potentially causing malfunctions and reducing business efficiency.

Method used

After determining the data version number on the client side, the client-side data processing tools are used to expand the business information, generate data to be displayed, and send it to the business logic layer, reducing the processing pressure on the server side.

Benefits of technology

By processing data on the client side, the load on the server side is reduced, system performance is improved, and the normal operation of business processes is ensured. Furthermore, by updating data through server-side scripts, tool versions can be updated without manual intervention, thus reducing process complexity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121387345A_ABST
    Figure CN121387345A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and device, and relates to the technical field of computers. A specific embodiment of the method comprises the steps of obtaining a version number and service information sent by a server, judging a client data processing tool version based on the version number, if the version number and the version number are consistent, expanding the service information according to a client data processing tool to obtain to-be-displayed data, and displaying the to-be-displayed data according to the to-be-displayed data. And displaying the business logic layer based on the to-be-displayed data. According to the embodiment, the processing flow of the data at the client and the expansion flow of the business data are realized, the data processing pressure of the server is reduced, the system crash is avoided, and the business processing performance of the system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, and in particular, to a data processing method and device. BACKGROUND

[0002] In a network application, a client needs to receive data from a server when processing a service, and the data is processed in a service logic layer. In order to meet the needs of some services, the received data needs to be processed to meet the service requirements or improve the system performance. In the existing scheme, the processing of the data is often completed in the server, and the server bears a large load pressure, which seriously affects the system performance, and even causes system failure and reduces the efficiency of related services. SUMMARY

[0003] Therefore, the embodiments of the present application provide a data processing method, which can reduce the pressure of the server and improve the system performance.

[0004] To achieve the above object, according to a first aspect of the embodiments of the present application, a data processing method is provided, comprising:

[0005] receiving a version number and service information sent by a server;

[0006] determining whether the version number is consistent with a version number of a client data processing tool, to obtain a determination result;

[0007] when the determination result is consistent, expanding the service of the service information through the client data processing tool, to obtain to-be-displayed data;

[0008] sending the to-be-displayed data to a service logic layer, to perform data display based on the to-be-displayed data through the service logic layer.

[0009] Optionally, the method further comprises:

[0010] when the determination result is inconsistent, obtaining target script data from the server based on the version number;

[0011] updating the client data processing tool based on the target script data;

[0012] expanding the service of the service information through the updated client data processing tool, to obtain corresponding to-be-displayed data;

[0013] sending the corresponding to-be-displayed data to a service logic layer, to perform data display based on the corresponding to-be-displayed data through the service logic layer.

[0014] Optionally, the updating of the client data processing tool based on the target script data comprises:

[0015] loading the target script data through a data processing tool engine to obtain loading data;

[0016] updating the client data processing tool based on the loading data.

[0017] Optionally, when the judgment result is consistent, the business information is expanded through the client data processing tool to obtain to-be-displayed data, including:

[0018] determining a target field, a target field value and associated data of the target field value based on the business information;

[0019] expanding the target field value and the associated data of the target field value based on the target field to obtain to-be-displayed data.

[0020] According to a second aspect of an embodiment of the present application, a data processing apparatus is provided, including:

[0021] a receiving module configured to receive a version number and business information sent by a server;

[0022] a judging module configured to judge whether the version number and a version number of a client data processing tool are consistent to obtain a judgment result;

[0023] an expanding module configured to, when the judgment result is consistent, expand the business information through the client data processing tool to obtain to-be-displayed data;

[0024] a sending module configured to send the to-be-displayed data to a business logic layer to perform data display based on the to-be-displayed data through the business logic layer.

[0025] Optionally, the apparatus further includes:

[0026] an obtaining module configured to, when the judgment result is inconsistent, obtain target script data from the server based on the version number;

[0027] an updating module configured to update the client data processing tool based on the target script data;

[0028] the expanding module is configured to expand the business information through the updated client data processing tool to obtain corresponding to-be-displayed data;

[0029] the sending module is further configured to send the corresponding to-be-displayed data to the business logic layer to perform data display based on the corresponding to-be-displayed data through the business logic layer.

[0030] Optionally, the updating module is configured to update the client data processing tool based on the target script data, and the updating comprises:

[0031] The loading module is configured to load the target script data by the data processing tool engine to obtain loading data.

[0032] The updating module is configured to update the client data processing tool based on the loading data.

[0033] Optionally, the expanding module is configured to, when the determination result is consistent, perform business expansion on the business information by the client data processing tool to obtain to-be-displayed data, and the expanding comprises:

[0034] The determining module is configured to determine a target field, a target field value, and associated data of the target field value based on the business information.

[0035] The expanding module is configured to perform business expansion on the target field value and the associated data of the target field value based on the target field to obtain to-be-displayed data.

[0036] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising:

[0037] one or more processors; and a storage configured to store one or more programs,

[0038] When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided by the first aspect of the embodiment of the present application.

[0039] According to a fourth aspect of an embodiment of the present application, a computer readable medium is provided, which stores a computer program, and the program is executed by a processor to implement the method provided by the first aspect of the embodiment of the present application.

[0040] According to a fifth aspect of an embodiment of the present application, a computer program product is provided, comprising a computer program, and the computer program is executed by a processor to implement the method of the first aspect of the embodiment of the present application.

[0041] The above-mentioned embodiment of the present application has the following advantages or beneficial effects: by receiving the version number and the business information sent by the server, the version of the data processing tool is determined, if the two versions are consistent, the business expansion is performed on the obtained business information by the data processing tool to obtain corresponding to-be-displayed data, and the to-be-displayed data is sent to the business expansion logic for display, so that the data processing is performed on the client by the data processing tool, the system performance is provided, and the normal processing of the system business is ensured. BRIEF DESCRIPTION OF DRAWINGS

[0042] Figure 1 is a schematic diagram of the main flow of a method of data processing according to an embodiment of the application;

[0043] Figure 2 is a schematic diagram of the main modules of an apparatus of data processing according to an embodiment of the application;

[0044] Figure 3 is an exemplary system architecture diagram in which embodiments of the application can be applied;

[0045] Figure 4 is a structural schematic diagram of a computer system of a terminal device or a server suitable for being used to implement embodiments of the application. DETAILED DESCRIPTION

[0046] Exemplary embodiments of the present application are described herein with reference to the accompanying drawings, which are meant to be exemplary and not limiting in nature. Therefore, it should be recognized that many modifications can be made to the embodiments described herein while still obtaining a range of benefits within the scope and spirit of the application. Furthermore, for the purpose of clarity and a concise description, descriptions of well-known functions and constructions can be omitted so as to not unnecessarily obscure the application.

[0047] It should be noted that in the technical solutions of the present disclosure, the collection, collection, updating, analysis, processing, use, transmission, storage, etc. of user personal information involved in the technical solutions comply with relevant laws and regulations, are used for legal purposes, and do not violate public order and good customs. Necessary measures are taken to prevent illegal access to user personal information data, and the security of user personal information, network security and national security are maintained.

[0048] Figure 1 is a schematic diagram of the main flow of a method of data processing according to an embodiment of the application, as shown in Figure 1 , comprising:

[0049] Step S101, receiving the version number and service information sent by the server.

[0050] The version number of the client data processing tool and the service information that needs to be processed are received by the server. Among them, the version of the client data processing tool is the same as the version of the client software; the client data processing tool can be a written JavaScript script.

[0051] Step S102, determining whether the version number and the version number of the client data processing tool are consistent, obtaining a determination result.

[0052] The obtained version number and the version number of the data processing tool stored in the client are compared to determine whether they are the same. If the data processing tool is not stored in the client, the corresponding version number is empty.

[0053] In step S103, when the determination result is consistent, the business information is expanded by the data processing tool of the client to obtain the to-be-displayed data.

[0054] When the determination result is that the two version numbers are consistent, it is determined that the data processing tool stored in the client is the latest version of the tool updated by the server, and the business expansion operation of the business information is implemented by the data processing tool to obtain the corresponding to-be-displayed data.

[0055] Optionally, the business expansion operation of the business information can include expanding the fields of the business information, for example, the original business information includes field 1 and field 2, and the expanded business information includes field 1, field 2 and field 3; expanding the associated data corresponding to the fields, for example, the original business information includes field 1-value 1, and the expanded business information includes field 1-value 1-picture 1.

[0056] In step S104, the to-be-displayed data is sent to the business logic layer, so that the business logic layer performs data display based on the to-be-displayed data.

[0057] The generated to-be-displayed data is sent to the business logic layer of the client, so that the business logic layer performs data display on the data according to the business requirement. Specifically, according to the business request, the target data in the to-be-displayed data is determined and displayed.

[0058] According to the data processing method provided in the embodiment of the application, when the version of the data processing tool of the client meets the condition, the obtained business information is expanded by the data processing tool on the client side, and the expanded to-be-displayed data is sent to the business logic layer, so that the processing of the business data on the client side is implemented, the pressure of the data processing on the server side is reduced, the performance of the system is greatly improved, and the normal operation of the business process is ensured.

[0059] Optionally, the method further comprises: when the judgment result is inconsistent, obtaining target script data from the server based on the version number; updating the client data processing tool based on the target script data; performing business expansion on the business information through the updated client data processing tool to obtain corresponding to-be-displayed data; and sending the corresponding to-be-displayed data to the business logic layer to perform data display based on the corresponding to-be-displayed data through the business logic layer. When the judgment result is inconsistent, that is, there is no stored data processing tool in the client or the stored data processing version is lower than the obtained version number, the target script data corresponding to the version number is obtained from the server, and the target script data is the latest version of the data processing tool version of the server. The data processing tool is updated according to the obtained target script data. The business information is expanded through the updated data processing tool to obtain to-be-displayed data. The to-be-displayed data is sent to the business logic layer for data display.

[0060] Optionally, the script update corresponds to client software update. For example, the initial script of the client is APP 1.0, the field gender is 1 or 0, the updated version is APP 2.0, the field gender is 2, and the business expansion is realized through script update.

[0061] Optionally, before obtaining the target script data, a request is sent to the server to request a JavaScript script, and if the request is successful, the target script data of the latest version of the data processing tool sent by the server is obtained; and if the request fails, the script is processed at home using a preset installation package in the client to obtain script data corresponding to the installation package.

[0062] Optionally, updating the client data processing tool based on the target script data comprises: loading the target script data through a data processing tool engine to obtain loading data; and updating the client data processing tool based on the loading data. After obtaining the target script data returned by the server, the script data is loaded through a JavaScript engine (V8 engine, QuickJs engine, Rhino engine, JavaScriptCore engine, etc.), and the data processing tool is updated according to the loaded data.

[0063] The implementation process of the JavaScript script includes that a user uploads a written JavaScript script containing a data processing method to a JavaScript script management center of a server, the server issues script data to the client after receiving the request of the client, if the request is successful, the client loads the script data through a JavaScript engine to obtain the data processing tool, and if the request fails, the client loads the script data locally. The local script data is a JavaScript script built in the client software, the built-in script is not updated, and the updated script data is intelligently obtained through the server.

[0064] Optionally, when the judgment result is consistent, the business information is expanded through the client data processing tool to obtain the to-be-displayed data, including: determining a target field, a target field value and associated data of the target field value based on the business information; and expanding the target field value and the associated data of the target field value based on the target field to obtain the to-be-displayed data. When the data processing tool is used for business expansion, the fields in the business data can be expanded, or the associated data of the fields can be expanded. First, the target field, the target field value and the associated data of the target field value are determined based on the obtained business information, and the determined data is used for business expansion, which can include expansion of the field value, expansion of the associated data and the like. For example, the business information is gender data, including a gender field, the data before expansion is the gender field, and the corresponding enumeration value is: 0-female, 1-male, no gender picture; based on the obtained data processing tool, the data after expansion is the gender field, and the corresponding enumeration value is: 0-female, 1-male, 2-unknown, and the corresponding gender picture.

[0065] According to the data processing method provided in the embodiment of the application, the obtained business information can be expanded through the data processing tool on the client side, and the expanded to-be-displayed data is sent to the business logic layer, so that the business data is processed on the client side, the pressure on the server is reduced, system crashes are avoided, the performance of the system is greatly improved, and the normal operation of the business process is ensured. In addition, the data processing tool can be updated without being issued by updating the script data of the server and issuing the updated tool version to the client, so that the process complexity is reduced and the performance of the system in processing business is improved.

[0066] The data processing method is described by taking the user gender displayed on the APP user personal information page as an example, and specifically includes: the personal information page requests a getUserInfo interface to obtain user information. After the client receives the service data from the server, the input parameter of the request, the service data returned by the server and the App public parameter are transmitted to the corresponding getUserInfo method of the JavaScript processing layer, in the JavaScript method, the business data is expanded through the gender field returned by the server. The gender image: genderImage and the gender text: genderText fields are dynamically expanded in the data returned by the server, and the two fields do not need to be processed by the upper business logic layer and can be directly used for display. Meanwhile, the server only needs to store the enumeration value of the user gender: 0: female, 1: male, 2: unknown. It is not necessary to store the gender image, gender text and other useless fields. The JavaScript processing layer is the data processing tool layer.

[0067] Figure 2 is a schematic diagram of the main flow of the data processing apparatus 200 according to the embodiment of the application, as shown in Figure 2 , including:

[0068] The receiving module 201 is configured to receive the version number and the service information sent by the server.

[0069] The judging module 202 is configured to judge whether the version number and the version number of the client data processing tool are consistent, to obtain a judgment result.

[0070] The expanding module 203 is configured to, when the judgment result is consistent, expand the service information through the client data processing tool to obtain the data to be displayed.

[0071] The sending module 204 is configured to send the data to be displayed to the business logic layer, so that the business logic layer performs data display based on the data to be displayed.

[0072] According to the data processing apparatus provided by the embodiment of the application, when the version of the client data processing tool meets the condition, the obtained service information is expanded through the data processing tool on the client side, and the expanded data to be displayed is sent to the business logic layer, so that the processing of the service data on the client side is realized, the pressure of the data processing on the server side is reduced, the performance of the system is greatly improved, and the normal operation of the business process is ensured.

[0073] Optionally, the apparatus further includes:

[0074] The obtaining module 205 is configured to, when the judgment result is inconsistent, obtain target script data from the server based on the version number.

[0075] The updating module 206 is configured to update the client data processing tool based on the target script data.

[0076] The expanding module 203 is configured to expand the business information based on the updated client data processing tool to obtain corresponding to-be-displayed data.

[0077] The sending module 204 is configured to send the corresponding to-be-displayed data to the business logic layer, so that the business logic layer displays data based on the corresponding to-be-displayed data.

[0078] Optionally, the updating module 206 is configured to update the client data processing tool based on the target script data, and the updating comprises:

[0079] The loading module 207 is configured to load the target script data by using the data processing tool engine to obtain loading data.

[0080] The updating module 206 is configured to update the client data processing tool based on the loading data.

[0081] Optionally, the expanding module 203 is configured to expand the business information based on the client data processing tool to obtain to-be-displayed data when the determination result is consistent, and the expanding comprises:

[0082] The determining module 208 is configured to determine a target field, a target field value and associated data of the target field value based on the business information.

[0083] The expanding module 203 is configured to expand the target field value and the associated data of the target field value based on the target field to obtain the to-be-displayed data.

[0084] According to the data processing apparatus provided by the embodiment of the present application, the business information obtained can be expanded by the data processing tool on the client side, and the expanded to-be-displayed data is sent to the business logic layer, so that the business data is processed on the client side, the pressure on the server is reduced, the system is prevented from collapsing, the performance of the system is greatly improved, and the normal operation of the business process is ensured. In addition, the data processing tool can be updated without being sent by updating the script data on the server and sending the updated tool version to the client, the complexity of the process is reduced, and the performance of the system in processing the business is improved.

[0085] Figure 3 An exemplary system architecture 300 of the data processing method or the data processing apparatus to which the embodiment of the present application can be applied is shown.

[0086] As Figure 3As shown, the system architecture 300 can include terminal devices 301, 302, 303, a network 304 and a server 305. The network 304 is a medium for providing communication links between the terminal devices 301, 302, 303 and the server 305. The network 304 can include various connection types, such as wired, wireless communication links or fiber optic cables, etc.

[0087] The users can use the terminal devices 301, 302, 303 to interact with the server 305 through the network 304 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 301, 302, 303, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0088] The terminal devices 301, 302, 303 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers and desktop computers, etc.

[0089] The server 305 can be a server providing various services, such as a background management server providing support for shopping websites browsed by users using the terminal devices 301, 302, 303. The background management server can analyze and process received service processing requests and other data, and feed back the processing results (such as extension data, service data - only as examples) to the terminal devices.

[0090] It should be noted that the data processing method provided by the embodiments of the present application is generally executed by the server 305, and accordingly, the data processing apparatus is generally provided in the server 305.

[0091] It should be understood that Figure 3 The number of terminal devices, networks and servers in the system architecture 300 is only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers.

[0092] The following refers to Figure 4 which shows a structural schematic diagram of a computer system 400 of a terminal device suitable for implementing the embodiments of the present application. Figure 4 The terminal device shown is only an example and should not bring any limitation to the functions and use range of the embodiments of the present application.

[0093] As Figure 4As shown, the computer system 400 includes a central processing unit (CPU) 401 which can perform various appropriate actions and processes in accordance with programs stored in a read only memory (ROM) 402 or programs loaded from the storage section 408 into a random access memory (RAM) 403. In the RAM 403, various programs and data required for the operation of the system 400 are also stored. The CPU 401, the ROM 402, and the RAM 403 are connected to each other through a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0094] Connected to the I / O interface 405 are an input section 406 including a keyboard, a mouse, etc.; an output section 407 including a display such as a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 408 including a hard disk, etc.; and a communication section 409 including a network interface card such as a LAN card, a modem, etc. The communication section 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as necessary. A removable media 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is attached to the drive 410 as necessary, so that a computer program read therefrom is installed into the storage section 408 as necessary.

[0095] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program in accordance with the embodiments disclosed herein. For example, the embodiments disclosed herein include a computer program product comprising a computer program carried on a computer readable medium, the computer program containing program code for executing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via the communication section 409 and / or installed from the removable media 411. When the computer program is executed by the central processing unit (CPU) 401, the above-described functions defined in the system of the present invention are performed.

[0096] It should be noted that the computer-readable medium shown in the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or component, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device or component. In the present application, the computer-readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to an electromagnetic signal, an optical signal or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, which can send, propagate or transmit a program for use by or in conjunction with an instruction execution system, device or component. The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0097] The flowcharts and block diagrams in the drawings illustrate the possible implementation architectures, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowcharts or block diagrams can represent a module, a program segment, or a portion of code that contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in different orders than that shown in the figures. For example, two blocks that are shown in succession can actually be executed substantially concurrently, or they can sometimes be executed in reverse order, depending on the functionality involved. It should also be noted that each block in the block diagrams or flowcharts, and combinations of blocks in the block diagrams or flowcharts, can be implemented by a dedicated hardware-based system that performs specified functions or operations, or can be implemented by a combination of special-purpose hardware and computer instructions.

[0098] The modules described in the embodiments of the present application can be implemented in the form of software or in the form of hardware. The described modules can also be arranged in a processor, for example, a processor can be described as including a receiving module, a judging module, an expanding module and a sending module. In some cases, the names of the modules do not constitute a limitation on the modules themselves, for example, the receiving module can also be described as a "module for receiving the version number and the service information sent by the server".

[0099] As another aspect, the present application also provides a computer readable medium, which can be included in the device described in the above embodiments, or can exist independently without being assembled into the device. The computer readable medium carries one or more programs, which, when executed by the device, cause the device to include:

[0100] receive the version number and the service information sent by the server;

[0101] judge whether the version number is consistent with the version number of the client data processing tool, and obtain a judgment result;

[0102] when the judgment result is consistent, expand the service information through the client data processing tool to obtain to-be-displayed data;

[0103] send the to-be-displayed data to the service logic layer, so that the service logic layer performs data display based on the to-be-displayed data.

[0104] According to the technical scheme of the embodiments of the present application, the service side pressure is reduced, the system performance is improved, and the system processing capacity is improved.

[0105] As another aspect, the present application also provides a computer program product, which includes a computer program, and the computer program is executed by a processor to implement the above data processing method.

[0106] The above specific embodiments do not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made depending on design requirements and other factors. Any modification, equivalent replacement and improvement made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. A data processing method, characterized in that, include: Receive version number and business information sent by the server; Determine whether the version number matches the version number of the client data processing tool, and obtain the determination result; When the judgment result is consistent, the business information is expanded through the client data processing tool to obtain the data to be displayed. The data to be displayed is sent to the business logic layer so that the business logic layer can display the data based on the data to be displayed.

2. The method according to claim 1, characterized in that, The method further includes: When the judgment result is inconsistent, the target script data is obtained from the server based on the version number; The client-side data processing tool is updated based on the target script data; The updated client-side data processing tools are used to expand the business information and obtain the corresponding data to be displayed. The corresponding data to be displayed is sent to the business logic layer so that the business logic layer can display the data based on the corresponding data to be displayed.

3. The method according to claim 2, wherein updating the client data processing tool based on the target script data comprises: The target script data is loaded using a data processing tool engine to obtain the loaded data; The client-side data processing tool is updated based on the loaded data.

4. The method according to claim 1, characterized in that, When the judgment result is consistent, the business information is expanded using the client data processing tool to obtain the data to be displayed, including: Based on the business information, determine the target field, the target field value, and the associated data of the target field value; Based on the target field, business expansion is performed on the target field value and the associated data of the target field value to obtain the data to be displayed.

5. A data processing apparatus, characterized in that, include: The receiving module is used to receive version numbers and business information sent by the server. The judgment module is used to determine whether the version number and the version number of the client data processing tool are consistent, and to obtain the judgment result; The extension module is used to extend the business information through the client data processing tool when the judgment result is consistent, so as to obtain the data to be displayed. The sending module is used to send the data to be displayed to the business logic layer so that the business logic layer can display the data based on the data to be displayed.

6. The apparatus according to claim 5, characterized in that, The device further includes: The acquisition module is used to acquire target script data from the server based on the version number when the judgment result is inconsistent. The update module is used to update the client data processing tool based on the target script data; The expansion module is used to expand the business information using the updated client data processing tool to obtain the corresponding data to be displayed. The sending module is further configured to send the corresponding data to be displayed to the business logic layer, so that the business logic layer can display the data based on the corresponding data to be displayed.

7. The apparatus according to claim 6, characterized in that, The update module is used to update the client data processing tool based on the target script data, including: The loading module is used to load the target script data through the data processing tool engine to obtain the loaded data; The update module is used to update the client data processing tool based on the loaded data.

8. The apparatus according to claim 5, characterized in that, The expansion module is used to expand the business information through the client data processing tool when the judgment result is consistent, to obtain the data to be displayed, including: The determination module is used to determine the target field, the target field value, and the associated data of the target field value based on the business information. The expansion module is used to expand the business based on the target field value and the associated data of the target field value to obtain the data to be displayed.

9. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-4.

10. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-4.

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1-4.