Data processing method and apparatus and electronic device
By constructing a complete data processing chain in data processing, including verification, integration, association and summary processing, the problems of low data processing efficiency and poor flexibility in the existing technology are solved, and efficient and flexible data processing is achieved.
Patent Information
- Application Number
- PCT/CN2024/086525
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-14
- Filing Date
- 2024-04-08
- Publication Date
- 2024-10-17
AI Technical Summary
It is difficult to achieve efficient and flexible data processing in data processing with existing technologies. Especially in enterprise data processing scenarios, data processing efficiency is low and it is difficult to meet flexible processing needs.
Provide a data processing method and device, including a verification unit, a processing unit and a feedback unit. By performing verification, integration processing, correlation processing, summary processing and storage processing of business data, a complete system from the business system to the data application side is constructed. Data processing chain improves the efficiency and flexibility of data processing.
It realizes efficient data processing from business systems to data applications, enhances the flexibility and applicability of data processing, and meets the various needs of enterprise data processing.
Smart Images

Figure CN2024086525_17102024_PF_FP_ABST
Abstract
Description
Data processing method, device and electronic equipment
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on and claims priority to an application filed in China with application number 202310402072.8 and filing date April 14, 2023. The disclosed content of the Chinese application is hereby introduced as a whole into this application. Technical Field
[0003] The present disclosure relates to the field of data processing technology, and in particular to a data processing method, device, and electronic device. Background Art
[0004] With the development of the data age, enterprises are faced with a vast amount of data. Some of this data may be used internally, some externally, and some for other purposes. Therefore, enterprises often deploy corresponding data processing systems to process this large amount of data.
[0005] Summary of the Invention
[0006] This disclosure section is provided to briefly introduce concepts that will be described in detail in the detailed description section below. This disclosure section is not intended to identify key features or essential features of the claimed technical solution, nor is it intended to limit the scope of the claimed technical solution.
[0007] In a first aspect, an embodiment of the present disclosure provides a data processing method, comprising: in response to receiving business data sent by a business system, verifying the business data; in response to determining that the business data verification has passed, processing the business data to obtain processed business data; wherein the processing method of the business data includes: at least one of integrated processing, associated processing, summary processing and storage processing; in response to receiving a data acquisition instruction, feeding back the processed business data.
[0008] In a second aspect, an embodiment of the present disclosure provides a data processing device, comprising: a verification unit for verifying the business data in response to receiving business data sent by a business system; a processing unit for processing the business data in response to determining that the business data has passed the verification, to obtain processed business data; wherein the processing method of the business data includes: at least one of integrated processing, associated processing, summary processing and storage processing; and a feedback unit for feeding back the processed business data in response to receiving a data acquisition instruction.
[0009] In a third aspect, an embodiment of the present disclosure provides an electronic device comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method as described in the first aspect.
[0010] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the data processing method as described in the first aspect.
[0011] In a fifth aspect, an embodiment of the present disclosure provides a computer program, comprising: instructions, which, when executed by a processor, cause the processor to execute the data processing method as described in the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
[0013] FIG1 is a flow chart of an embodiment of a data processing method according to the present disclosure;
[0014] 2A-2B are flowcharts of implementation of the data processing method according to the present disclosure in application scenarios;
[0015] FIG3 is a schematic structural diagram of an embodiment of a data processing device according to the present disclosure;
[0016] FIG4 is an exemplary system architecture in which the data processing method according to an embodiment of the present disclosure may be applied;
[0017] FIG5 is a schematic diagram of a basic structure of an electronic device provided according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0018] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0019] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0020] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0021] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0022] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0023] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0024] The data processing solutions provided by the embodiments of the present disclosure can be applied to various data processing scenarios, such as enterprise data processing scenarios. Besides enterprises, other organizations or institutions with similar data processing scenarios can also adopt the data processing solutions provided by the embodiments of the present disclosure, without limitation.
[0025] In these data processing scenarios, data push is involved. Data push can be understood as pushing data to the corresponding data application. In some embodiments, the data application may be the data processor, that is, a local application. In other embodiments, the data application may be an external data application.
[0026] These data processing scenarios also involve business systems. Business systems can be understood as the source of data, providing large amounts of business data to be processed. In an enterprise's data processing scenario, this business system may be the enterprise's own business system or a third-party business system with which the enterprise has a data transmission relationship.
[0027] In some embodiments, the business system includes but is not limited to systems related to project application, approval, procurement, contract and other businesses.
[0028] Therefore, in these data processing scenarios, the data transmission chain can be: from the business system to the data processing system, and then from the data processing system to the data application party.
[0029] In related technologies, business data is processed and visualized on a regular basis according to user-defined data acquisition and processing rules. This data processing method relies on data acquisition and processing rules, which not only has low data processing efficiency, but also makes it difficult to achieve flexible data processing and meet corresponding data processing needs.
[0030] Based on this, the embodiments of the present disclosure provide a data processing solution that builds a complete data processing chain from the business system to the data application party to efficiently process data; and, it incorporates a variety of flexible data processing methods, no longer relying on fixed data acquisition and processing rules, thereby improving the flexibility of data processing.
[0031] Please refer to Figure 1, which shows a flow chart of an embodiment of a data processing method according to the present disclosure. The data processing method can be applied to a terminal device. As shown in Figure 1, the data processing method includes steps 101 to 103.
[0032] Step 101: In response to receiving business data sent by a business system, verify the business data.
[0033] In some embodiments, verification of business data includes verification at the business system level and verification at the business data level.
[0034] Verification at the business system level may include: verifying at least one of the compliance and legality of the business system.
[0035] Verification at the business data level may include: verifying at least one of the integrity, correctness, and security of the business data.
[0036] As an optional verification method, step 101 includes: verifying the identity information of the business system to obtain an identity information verification result; and determining a verification result of the business data based on the identity information verification result.
[0037] In some embodiments, the identity information of the business system is compared with a preset identity information database. If the identity information of the business system exists in the preset identity information database, the identity information verification result is verification passed; if the identity information of the business system does not exist in the preset identity information database, the identity information verification result is verification failed.
[0038] In some embodiments, if the identity information verification result is passed, the business data can be verified again, and the final verification result is determined based on the further verification result; if the identity information verification result is failed, the verification result of the business data is determined to be failed.
[0039] As another optional business data verification method, step 101 includes: verifying the business data according to signature information corresponding to the business data and the key of the business system.
[0040] In some embodiments, the business system is a pre-registered business system; the key of the business system is issued to the business system when the business system is registered.
[0041] Correspondingly, the data processing method further includes: receiving a registration request from the business system; determining a key of the business system based on the registration request, and issuing the key of the business system to the business system.
[0042] In some embodiments, the registration request may include at least one of identity information, a key generation algorithm, etc., so that the system can determine the corresponding service system key according to the registration request.
[0043] Therefore, for each business system, before transmitting data to the data processing system, it needs to be registered in the data processing system. After registration, the data processing system will issue a key to the business system. The subsequent business system can use the key to sign the data, so that the data processing system can use the signature information of the data to verify the business data.
[0044] In some embodiments, when a business system generates data, the data is processed into a fixed format, such as JSON (JavaScript Object Notation) format; and the data is signed based on the key obtained during registration.
[0045] In some embodiments, when a key is used to sign data, it can be generated based on information such as the identity information of the business system and the timestamp of the business data.
[0046] As an optional implementation, the signature is expressed as: sign = S (appSecret + timestamp + bizParams), where S represents the encryption algorithm used by the data processing system, such as the SHA (Secure Hash Algorithm); appSecret represents the key; timestamp represents the timestamp; and bizParams represents the business data.
[0047] In some embodiments, the business data is verified based on the signature information and the key of the business system. The mature signature verification technology in the field can be referred to and will not be introduced in detail here.
[0048] Thus, the process of generating business data may include: specifying the business data in JSON format; signing the business data according to the key of the business system, and generating signature information corresponding to the business data.
[0049] In some embodiments, the business system transmits data to the data processing system through a message queue or a preset interface.
[0050] As an optional implementation, the data processing method further includes: obtaining a snapshot identifier corresponding to the business data; obtaining corresponding data snapshot row data from the database according to the snapshot identifier; and preprocessing the data snapshot row data.
[0051] The preprocessing may include: deserializing the data snapshot row data and parsing the corresponding form header and form row.
[0052] In some embodiments, after business data verification passes, the business data can be stored in a snapshot table in the database, and the ID of the snapshot row can be sent to the corresponding processing module via a message queue, so that the corresponding processing module can quickly find the data based on the ID and process it. For example, the snapshot ID is received from the message queue, the corresponding data snapshot row is retrieved from the database, the stored data is deserialized, and the corresponding form header and form row are parsed.
[0053] In other embodiments, other data storage methods may also be used to facilitate subsequent data processing.
[0054] In some embodiments, if the business data verification fails, the business data is stored in an error table for subsequent review or tracing.
[0055] Step 102: In response to determining that the business data verification has passed, the business data is processed to obtain processed business data. The business data processing method includes at least one of: integration processing, association processing, summary processing, and storage processing.
[0056] In some embodiments, the business data processing method includes: integration processing, association processing, summary processing, and storage processing in sequence.
[0057] Therefore, when processing business data, first perform integration processing, then perform association processing based on the integrated processed data; then perform summary processing based on the associated processed data; and finally perform storage processing based on the summarized processed data.
[0058] In other embodiments, other data processing methods may be adopted according to actual data processing requirements, such as: performing integration processing and storage processing in sequence; performing association processing and storage processing in sequence; performing summary processing and storage processing in sequence, etc.
[0059] As an optional implementation manner, the integration processing process of the business data includes: according to each data item in the business data, storing the data of each data item as data under the corresponding data item in a preset database.
[0060] In some embodiments, the integration process may store relevant information of the data pushed by the business system as table records in the database according to the table rows.
[0061] Therefore, each business data item can be stored in the corresponding data item in the pre-set database. For example, project data can be stored in the project data table; approval data can be stored in the approval data table. This allows the integration of scattered data into corresponding data items, facilitating subsequent data flow and making it easier to search for this data, thus improving data processing efficiency to a certain extent.
[0062] As an optional implementation, the association processing process of business data includes: determining the items corresponding to the business data; determining the association relationship between the business data based on the association relationship between the items corresponding to the business data, and recording the association relationship between the business data.
[0063] In some embodiments, multiple projects may be set up in a data processing system, and based on the association relationship between business data, these data may be associated with these multiple projects.
[0064] In some embodiments, the business data may correspond to a project identifier, and the project identifier may represent the project corresponding to the business data.
[0065] In some embodiments, the project identifier corresponding to the business data may be determined based on the business system to which the business data belongs.
[0066] In some embodiments, the items corresponding to the business data have corresponding preset item identifiers, and items belonging to the same preset item identifier have an association relationship.
[0067] Therefore, the preset project identifiers of the projects corresponding to the business data can be compared. If they are the same, it can be determined that there is an association relationship between the compared objects.
[0068] In other embodiments, the association relationship between projects and the association relationship between the corresponding business data may be preset; and then the association relationship between the business data may be determined based on the corresponding relationship between the current association relationship between projects and the preset association relationship.
[0069] As an optional implementation, the business data aggregation process includes: determining the projects corresponding to the business data, and determining the project information corresponding to the business data; determining the budget of the projects corresponding to the business data based on the association relationship between the projects corresponding to the business data and the project information corresponding to the business data; and aggregating the budgets of the projects corresponding to the business data.
[0070] The determination of the items corresponding to the business data may refer to the introduction of the aforementioned embodiment.
[0071] In some embodiments, the project information corresponding to the business data includes information related to the project budget, such as budget occupancy information.
[0072] In some embodiments, if multiple business data items belong to the same project, the total budget of the same project is related to the budgets of the multiple business data items. Therefore, the budget of the project corresponding to the business data item needs to be determined in combination with the association relationship between the projects corresponding to the business data item.
[0073] Furthermore, after determining the budgets of the projects corresponding to the business data, the budgets of the projects corresponding to the business data are summarized to determine the total budget corresponding to the business data.
[0074] In some embodiments, the association processing and aggregation processing of business data can be implemented together. For ease of understanding, examples are given below in combination with actual scenarios.
[0075] Scenario description: Project establishment system A, purchase application 1 (a type of business data), which requires contract application 1 (another type of business data); therefore, there is an association between purchase application 1 and contract application 1.
[0076] The logic for data association is as follows: When the business system pushes data, the project establishment system number is passed to associate the two data types. In this example, the project establishment system number for both Purchase Requisition 1 and Contract Requisition 1 is A.
[0077] Budget occupancy summary logic: The project system has a budget of 1,000, of which 500 is occupied by the purchase application and 200 by the contract. Since the project numbers are linked during the push phase, the total occupancy can be calculated, which is 700.
[0078] In some embodiments, the budget usage may also change, and the change logic includes:
[0079] Example 1: For example, at time 1, the system updates the budget to 700. At time 2, the business system withdraws purchase requisition 1 to free up the budget. 700 - 500 = 200, and the total budget occupied by the project system is 200.
[0080] Example 2: Purchase application 1 (occupies 500) and contract application 1 (occupies 500) are the same budget expenditure. Due to relevant requirements, separate application forms were created. In fact, there is no need to double-count one of them. It is necessary to filter the occupancy of one of them. The total occupancy of project system A is 500.
[0081] Example 3: For example, at time 1, the push will update the occupied amount to 700. At time 2, the business system adjusts the amount of project application 1 to 400. At this time, 400+200=600 is recalculated, and the total amount occupied by the project system is 600.
[0082] Based on this aggregated information, project amount utilization data can be determined. This utilization data includes an overview of project amount utilization and detailed information. The overview includes information such as utilization rate, utilized amount, remaining amount, and the total number of documents included in the project utilization. The detailed information includes information such as the business system to which the document belongs, document type, document number, document status, bill of lading date, utilized amount, and utilization rate.
[0083] The data storage processing may include: classified storage, storage sorted by budget occupancy, etc.; or directly storing in a corresponding database (such as a summary table) and other processing methods.
[0084] Step 103: In response to receiving the data acquisition instruction, the processed business data is fed back.
[0085] In some embodiments, the data acquisition instruction may be a data acquisition instruction initiated locally or a data acquisition instruction initiated by a third party, which is not limited here.
[0086] In some embodiments, the processed business data is fed back via a preset data transmission interface, which is different from the data transmission interface corresponding to the aforementioned business system.
[0087] Further referring to FIG. 2A , which is an implementation flow of the data processing solution provided in an embodiment of the present disclosure, FIG. 2A involves a business system 201 , including: a project establishment system, a procurement system, and a contract system.
[0088] The business system 201 can push business data to the data processing system 202 through a message queue or a data transmission interface; after completing the data verification, the data processing system 202 transmits the data to the corresponding data processing module through the message queue to achieve: data preprocessing, data integration processing, data association processing and data aggregation processing.
[0089] Finally, the data processing system 202 can also transmit data to the data application party 203 through the data transmission interface, thereby realizing data query and export, etc.
[0090] In some embodiments, please refer to Figure 2B, the data processing system 202 includes: an interaction module 2020 and a processing module 2022, the interaction module 2020 is used to interact with the business system 201 and the data application party 203; the processing module 2022 is used to execute the processing of various data involved in the data processing system 202.
[0091] Furthermore, in step 101, the business data sent by the business system 201 is received by the interaction module 2020, and then the business data is verified by the processing module 2022. Next, step 102 is executed by the processing module 2022. Next, in step 103, the interaction module 2020 receives a data acquisition instruction sent by the data application 203. The processing module 2022 feeds the corresponding data back to the interaction module 2020, which then transmits the data to the data application 203.
[0092] In the embodiment of the present disclosure, the data transmission method between the interaction module 2020 and the data application party 203 and the business system 201 can be an interface, message queue, etc.; the data transmission method between the interaction module 2020 and the processing module 2022 can be an internal message queue.
[0093] In some embodiments, the processing module 2022 is configured to verify the business data according to the signature information corresponding to the business data and the key of the business system 201 .
[0094] In some embodiments, during the registration process of the business system 201: the registration request of the business system 201 is received through the interaction module 2020, and then the key of the business system 201 is determined based on the registration request through the processing module 2022, and then the key of the business system 201 is sent to the business system 201 through the interaction module 2020.
[0095] In some embodiments, the processing module 2022 is configured to: store the data of each data item in the business data as data under the corresponding data item in the preset database.
[0096] In some embodiments, the processing module 2022 is configured to: determine the items corresponding to the business data; determine the association relationship between the business data based on the association relationship between the items corresponding to the business data, and record the association relationship between the business data.
[0097] In some embodiments, the processing module 2022 is configured to: determine the projects corresponding to the business data, and determine the project information corresponding to the business data; determine the budget of the projects corresponding to the business data based on the association relationship between the projects corresponding to the business data and the project information corresponding to the business data; and summarize the budgets of the projects corresponding to the business data.
[0098] In some embodiments, the interaction module 2020 is configured to feed back processed business data through a preset data transmission interface.
[0099] In some embodiments, the business system 201 specifies the business data in JSON format, signs the business data using the key of the business system 201, and generates signature information corresponding to the business data. The signature information and the business data are then sent to the interaction module 2020 together.
[0100] In some embodiments, the processing module 2022 is configured to: obtain a snapshot identifier corresponding to the business data; obtain corresponding data snapshot row data from the database according to the snapshot identifier; and pre-process the data snapshot row data.
[0101] In the above embodiment, the specific implementation methods involved in the interaction module 2020, the processing module 2022 and the business system 201 can be found in the introduction of the above method embodiment, and will not be repeated here.
[0102] Therefore, the data processing solution provided by the embodiment of the present disclosure takes into account that a large amount of enterprise data comes from the business system, so the data processing process is started based on the data of the business system. On the one hand, the business data based on the business system is first verified, and after the verification is passed, the corresponding processing method is started; and after the processing, the business data processed based on the data acquisition request feedback is realized, realizing a complete data processing chain from the business system (data source) to the data application party, and improving the efficiency of data processing. On the other hand, the data processing method includes at least one of integrated processing, associated processing, summary processing and storage processing, which can realize various flexible processing of data, so that the processed data can be better applied, improve the flexibility of data processing, and then improve the applicability of data.
[0103] With further reference to FIG3 , as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a data processing device. This device embodiment corresponds to the data processing method embodiment shown in FIG1 , and the device can be specifically applied to various electronic devices.
[0104] As shown in Figure 3, the data processing device of this embodiment includes: a verification unit 301, which is used to verify the business data in response to receiving the business data sent by the business system; a processing unit 302, which is used to process the business data in response to determining that the business data verification has passed, and obtain processed business data; wherein the processing method of the business data includes: at least one of: integrated processing, associated processing, summary processing and storage processing; a feedback unit 303, which is used to feedback the processed business data in response to receiving a data acquisition instruction.
[0105] In some embodiments, the verification unit 301 is further configured to: verify the identity information of the business system to obtain an identity information verification result; and determine a verification result of the business data according to the identity information verification result.
[0106] In some embodiments, the verification unit 301 is further configured to verify the business data according to signature information corresponding to the business data and a key of the business system.
[0107] In some embodiments, the verification unit 301 is further configured to: receive a registration request from the business system; determine a key of the business system based on the registration request, and issue the key of the business system to the business system.
[0108] In some embodiments, the integration processing of the business data includes: according to each data item in the business data, storing the data of each data item as data under the corresponding data item in a preset database.
[0109] In some embodiments, the association processing process of the business data includes: determining the items corresponding to the business data; determining the association relationship between the business data based on the association relationship between the items corresponding to the business data, and recording the association relationship between the business data.
[0110] In some embodiments, the items corresponding to the business data have corresponding preset item identifiers, and items belonging to the same preset item identifier have an association relationship.
[0111] In some embodiments, the summary processing process of the business data includes: determining the projects corresponding to the business data, and determining the project information corresponding to the business data; determining the budget of the projects corresponding to the business data based on the association relationship between the projects corresponding to the business data and the project information corresponding to the business data; and summarizing the budgets of the projects corresponding to the business data.
[0112] In some embodiments, the feedback unit 303 is further configured to: feed back the processed business data via a preset data transmission interface.
[0113] In some embodiments, the process of generating business data includes: specifying the business data as a json format; signing the business data according to the key of the business system, and generating signature information corresponding to the business data.
[0114] In some embodiments, the processing unit 302 is further configured to: obtain a snapshot identifier corresponding to the business data; obtain corresponding data snapshot row data from a database according to the snapshot identifier; and pre-process the data snapshot row data.
[0115] In some embodiments, the preprocessing includes: deserializing the data snapshot row data and parsing out corresponding form headers and form rows.
[0116] Please refer to FIG. 4 , which shows an exemplary system architecture in which the data processing method according to an embodiment of the present disclosure can be applied.
[0117] As shown in Figure 4, the system architecture may include terminal devices 401, 402, and 403, a network 404, and a server 405. The network 404 may be used as a medium to provide a communication link between the terminal devices 401, 402, and 403 and the server 405. The network 404 may include various connection types, such as wired or wireless communication links or fiber optic cables.
[0118] Terminal devices 401, 402, and 403 can interact with server 405 via network 404 to receive or send messages, etc. Various client applications can be installed on terminal devices 401, 402, and 403, such as web browser applications, search applications, and news and information applications. The client applications in terminal devices 401, 402, and 403 can receive user instructions and perform corresponding functions based on the user instructions, such as adding corresponding information to the message based on the user's instructions.
[0119] Terminal devices 401, 402, and 403 can be hardware or software. When terminal devices 401, 402, and 403 are hardware, they can be various electronic devices with display screens and support web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) players, laptop computers, and desktop computers, etc. When terminal devices 401, 402, and 403 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, software or software modules used to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0120] The server 405 may be a server that provides various services, such as receiving information acquisition requests sent by the terminal devices 401, 402, and 403, acquiring display information corresponding to the information acquisition requests through various means according to the information acquisition requests, and sending relevant data of the display information to the terminal devices 401, 402, and 403.
[0121] It should be noted that the data processing method provided in the embodiment of the present disclosure can be executed by a terminal device, and accordingly, the data processing device can be set in the terminal devices 401, 402, and 403. In addition, the data processing method provided in the embodiment of the present disclosure can also be executed by the server 405, and accordingly, the data processing device can be set in the server 405.
[0122] It should be understood that the number of terminal devices, networks, and servers in Figure 4 is merely illustrative and any number of terminal devices, networks, and servers may be provided as required.
[0123] Reference is now made to FIG5 , which illustrates a schematic diagram of the structure of an electronic device (e.g., the terminal device or server in FIG4 ) suitable for implementing an embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. The electronic device illustrated in FIG5 is merely an example and should not limit the functionality and scope of use of the embodiments of the present disclosure.
[0124] As shown in Figure 5, the electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. Various programs and data required for the operation of the electronic device 500 are also stored in the RAM 503. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0125] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although FIG. 5 illustrates an electronic device having various devices, it should be understood that not all of the illustrated devices are required to be implemented or present. More or fewer devices may alternatively be implemented or present.
[0126] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 509, or installed from the storage device 508, or installed from the ROM 502. When the computer program is executed by the processing device 501, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0127] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but 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 may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, 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 disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0128] In some embodiments, the client and server can communicate using any currently known or later developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or later developed network.
[0129] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0130] The above-mentioned computer-readable medium carries one or more programs. When the above-mentioned one or more programs are executed by the electronic device, the electronic device: in response to receiving business data sent by the business system, verifies the business data; in response to determining that the business data verification passes, processes the business data to obtain processed business data; wherein the processing method of the business data includes: at least one of: integrated processing, associated processing, summary processing and storage processing; in response to receiving a data acquisition instruction, feeds back the processed business data.
[0131] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0132] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0133] The units involved in the embodiments described in this disclosure may be implemented by software or hardware. The name of a unit does not necessarily limit the unit itself. For example, the verification unit 301 may also be described as a "unit for verifying the business data."
[0134] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0135] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, 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 foregoing.
[0136] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0137] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0138] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A data processing method, comprising: In response to receiving the business data sent by the business system, verifying the business data; In response to determining that the business data has passed verification, the business data is processed to obtain processed business data; wherein the processing method of the business data includes: at least one of integration processing, association processing, summary processing, and storage processing; In response to receiving the data acquisition instruction, the processed business data is fed back.
2. The data processing method according to claim 1, wherein: The verifying of the business data includes: Verifying the identity information of the business system to obtain an identity information verification result; The verification result of the business data is determined according to the verification result of the identity information.
3. The data processing method according to claim 1 or 2, wherein: The verifying of the business data includes: The business data is verified according to the signature information corresponding to the business data and the key of the business system.
4. The data processing method according to claim 3, further comprising: Receiving a registration request from the business system; A key of the business system is determined based on the registration request, and the key of the business system is issued to the business system.
5. The data processing method according to any one of claims 1 to 4, wherein: The integrated processing of the business data includes: According to each data item in the business data, the data of each data item is stored as data under the corresponding data item in a preset database.
6. The data processing method according to any one of claims 1 to 5, wherein: The association processing of the business data includes: Determining the project corresponding to the business data; The association relationship between the business data is determined according to the association relationship between the items corresponding to the business data, and the association relationship between the business data is recorded.
7. The data processing method according to claim 6, wherein: The items corresponding to the business data have corresponding preset item identifiers, and items belonging to the same preset item identifier have an association relationship.
8. The data processing method according to any one of claims 1 to 7, wherein: The business data aggregation processing includes: Determining the project corresponding to the business data, and determining the project information corresponding to the business data; determining a budget for the project corresponding to the business data based on the association relationship between the projects corresponding to the business data and the project information corresponding to the business data; The budgets of the projects corresponding to the business data are summarized and processed.
9. The data processing method according to any one of claims 1 to 8, wherein: The feedback of the processed business data includes: The processed business data is fed back via a preset data transmission interface.
10. The data processing method according to any one of claims 1 to 9, further comprising: Specify the business data in JSON format; The business data is signed according to the key of the business system to generate signature information corresponding to the business data.
11. The data processing method according to any one of claims 1 to 10, further comprising: Obtaining a snapshot identifier corresponding to the business data; Acquire corresponding data snapshot row data from the database according to the snapshot identifier; The data snapshot row data is preprocessed.
12. The data processing method according to claim 11, wherein: The preprocessing of the data snapshot row data includes: deserializing the data snapshot row data and parsing out corresponding form headers and form rows.
13. A data processing device, wherein: include: a verification unit, configured to verify the business data in response to receiving the business data sent by the business system; a processing unit configured to, in response to determining that the business data has passed verification, process the business data to obtain processed business data; wherein the processing method of the business data includes at least one of: integration processing, association processing, summary processing, and storage processing; The feedback unit is configured to feed back the processed business data in response to receiving a data acquisition instruction.
14. An electronic device, wherein: include: one or more processors; a 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 data processing method according to any one of claims 1 to 12.
15. A computer-readable medium having a computer program stored thereon, wherein: When the program is executed by a processor, the data processing method according to any one of claims 1 to 12 is implemented.
16. A computer program comprising: Instructions, when executed by a processor, cause the processor to perform the data processing method according to any one of claims 1 to 12.
Citation Information
Patent Citations
Social security finance and accounting management and control system
CN105243519A
Data operation system
CN105357250A
Data processing method and device, equipment, medium and program product
CN113377772A
Data transmission method, device, equipment and medium
CN115834729A
Data processing method and device and electronic equipment
CN116450631A
Cited By
Real-time summarization method and device of detail data, electronic equipment and storage medium
CN120278662A
