CN113570394A - Data processing method and device and computer readable storage medium - Google Patents
Data processing method and device and computer readable storage medium Download PDFInfo
- Publication number
- CN113570394A CN113570394A CN202110084722.XA CN202110084722A CN113570394A CN 113570394 A CN113570394 A CN 113570394A CN 202110084722 A CN202110084722 A CN 202110084722A CN 113570394 A CN113570394 A CN 113570394A
- Authority
- CN
- China
- Prior art keywords
- script
- data
- execution
- target
- scripts
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0201—Market modelling; Market analysis; Collecting market data
- G06Q30/0206—Price or cost determination based on market factors
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/455—Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
- G06F9/45504—Abstract machines for programme code execution, e.g. Java virtual machine [JVM], interpreters, emulators
- G06F9/45508—Runtime interpretation or emulation, e g. emulator loops, bytecode interpretation
- G06F9/45512—Command shells
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Business, Economics & Management (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Entrepreneurship & Innovation (AREA)
- General Physics & Mathematics (AREA)
- Game Theory and Decision Science (AREA)
- General Business, Economics & Management (AREA)
- Marketing (AREA)
- Economics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application discloses a data processing method, a data processing device and a computer readable storage medium, wherein the method comprises the following steps: acquiring a data configuration request which is submitted by a terminal device and aims at a target cost accounting service, wherein the data configuration request comprises first life time and correction data, and the first life time and the correction data are input through a data management page displayed on the terminal device; determining a target script according to the correction data and a plurality of scripts corresponding to the target cost accounting service; and executing the target script according to the first validity time and the correction data so as to adjust the historical cost calculation result of the target cost accounting service. In the embodiment of the application, the efficiency and the accuracy of adjusting the historical cost calculation result can be improved by utilizing the big data processing technology based on artificial intelligence.
Description
Technical Field
The present application relates to the field of computer technologies, and in particular, to a data processing method and apparatus, and a computer-readable storage medium.
Background
The cost management system may implement a settlement of historical data, such as a calculation of historical costs, which typically involves an adjustment of the historical cost calculation results in order to evaluate the impact of different calculation logics on the cost calculation results.
Currently, the adjustment of the historical cost calculation result is to inform a developer of data to be corrected by a product manager, and then the developer corrects underlying basic data and executes data scripts one by one according to the corresponding required data, so as to obtain a new historical cost calculation result. The process needs to be manually executed by a developer, and needs to execute scripts in full, when the time span of historical settlement data is long, for example, data of half a year is settled, and a corresponding data generation script is generated monthly, the developer needs to manually execute the corresponding script 6 times, which may cause problems of errors, incomplete data calculation, coverage of existing correct data, and the like, and therefore, how to improve the efficiency and accuracy of adjustment of the historical cost calculation result becomes a technical problem to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device and a computer readable storage medium, which can improve the efficiency and accuracy of adjustment of historical cost calculation results.
In one aspect, the present application discloses a data processing method, including:
acquiring a data configuration request which is submitted by a terminal device and aims at a target cost accounting service, wherein the data configuration request comprises first life time and correction data, the first life time and the correction data are input through a data management page displayed on the terminal device, and the correction data comprise one or more of a correction value of an added field, a value of a newly added field and a field to be deleted;
determining a target script according to the correction data and a plurality of scripts corresponding to the target cost accounting service;
and executing the target script according to the first effective time and the correction data so as to adjust the historical cost calculation result of the target cost accounting service.
In one aspect, the present application discloses a data processing method, including:
responding to a data configuration instruction aiming at the target cost accounting service, and displaying a data management page;
acquiring first life time and correction data input through the data management page, wherein the correction data comprise one or more of correction values of added fields, values of added fields and fields to be deleted;
and sending a data configuration request of the target cost accounting service to a data processing device, wherein the data configuration request comprises the first life time and the correction data, and the data configuration request is used for instructing the data processing device to determine a target script according to the correction data and execute the target script according to the first life time and the correction data so as to adjust a historical cost calculation result of the target cost accounting service.
In one aspect, the present application discloses a data processing apparatus, which includes:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a data configuration request which is submitted by a terminal device and aims at a target cost accounting service, the data configuration request comprises first effective time and correction data, the first effective time and the correction data are input through a data management page displayed on the terminal device, and the correction data comprise one or more of a correction value of an added field, a value of a newly added field and a field to be deleted;
the determining unit is used for determining a target script according to the correction data and a plurality of scripts corresponding to the target cost accounting service;
and the processing unit is used for executing the target script according to the first valid time and the correction data so as to adjust the historical cost calculation result of the target cost accounting service.
In one aspect, the present application discloses a data processing apparatus, which includes:
the display unit is used for responding to a data configuration instruction aiming at the target cost accounting service and displaying a data management page;
the acquisition unit is used for acquiring first life time and correction data input through the data management page, wherein the correction data comprises one or more of a correction numerical value of an added field, a numerical value of a newly added field and a field to be deleted;
a sending unit, configured to send a data configuration request of the target cost accounting service to a data processing device, where the data configuration request includes the first lifetime and the correction data, and the data configuration request is used to instruct the data processing device to determine a target script according to the correction data, and execute the target script according to the first lifetime and the correction data, so as to adjust a historical cost calculation result of the target cost accounting service.
An embodiment of the present application discloses a data processing device, which includes a memory and a processor: the memory for storing a computer program; the processor runs the computer program to realize the data processing method.
An embodiment of the present application discloses a terminal device in one aspect, where the terminal device includes a memory and a processor: the memory for storing a computer program; the processor runs the computer program to realize the data processing method.
In one aspect, an embodiment of the present invention discloses a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program executes the data processing method.
An aspect of an embodiment of the present application discloses a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the data processing method.
In the embodiment of the application, the data processing equipment acquires a data configuration request which is submitted by the terminal equipment and aims at a target cost accounting service, wherein the data configuration request comprises first life time and correction data, the first life time and the correction data are input through a data management page displayed on the terminal equipment, and the correction data comprise one or more of a correction value of an added field, a value of a newly added field and a field to be deleted; determining a target script according to the correction data and a plurality of scripts corresponding to the target cost accounting service; and executing the target script according to the first validity time and the correction data so as to adjust the historical cost calculation result of the target cost accounting service. In the embodiment of the application, the target script needing to be executed is determined through the data processing equipment, and the condition of executing omission is avoided, so that the efficiency of adjusting the historical cost calculation result is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a data processing method disclosed in an embodiment of the present application;
FIG. 2 is a block diagram of a data processing system according to an embodiment of the present disclosure;
FIG. 3 is a schematic flow chart diagram of another data processing method disclosed in the embodiments of the present application;
FIG. 4 is a schematic flow chart diagram illustrating yet another data processing method disclosed in an embodiment of the present application;
FIG. 5 is a schematic flow chart diagram illustrating yet another data processing method disclosed in an embodiment of the present application;
FIG. 6 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of another data processing apparatus according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a computer device disclosed in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The cost management system, in short, means that an enterprise performs a series of management on cost accounting, cost analysis, cost decision, cost control, and the like. The cost management system is a system which brings the contents into the system and provides functions of inquiry, modification, audit and the like for enterprise employees, thereby reducing waste, ensuring the scientificity of decision and really improving enterprise benefits. Data of the cost management system generally needs to be obtained from various different sub-business systems, then relevant data integration is carried out, then operations such as splitting of different dimensions are carried out on the relevant data, relevant integration is carried out according to different requirements, and then the relevant integration is displayed.
The data processing method is mainly used for adjusting historical data in the cost management system. Since the cost management system is associated with data of many other business systems, there are usually many scripts for calculating data, and the processing logic is also extremely complex. When the historical data is settled, adjustment of the historical cost calculation result is usually involved, and data correction needs to be performed from the bottommost basic data, and the corrected data includes data such as calculation cost unit price, apportioned cost ratio, basic usage and the like transmitted from upstream to the cost management system. The adjustment method for the historical cost calculation result can automatically adjust the historical cost calculation result only by configuring the data effective period and the relevant correction data by a product manager.
As shown in fig. 1, after determining that a historical cost calculation result needs to be performed, first, a related product manager logs in a front-end page corresponding to the data processing device, and configures an effective data validity period and related correction data according to logic to be corrected in the data management page; then the configured data is sent to a data processing device (system), the system automatically calculates the effective time period according to the configured data, and automatically determines the script to be executed according to the field corresponding to the corrected data; finally, the system automatically splits the effective time period and determines the execution sequence of the scripts to be executed according to the correction data, so that the automatic adjustment of the historical cost calculation result is realized, and compared with the method that developers manually correct the underlying basic data and manually execute the scripts one by one according to the corresponding required data, the method and the system do not need the developers to intervene in the generation operation of the related data, so that the workload of the developers is reduced; meanwhile, all scripts generated by the data are scripts which need to adjust and correct the data in the relevant time period and are automatically executed according to the time period in which the configured data calculation is valid after the product personnel configure, the scripts do not need to be manually executed by corresponding developers, the possibility of errors of the relevant scripts is reduced, meanwhile, only the relevant scripts which need to adjust and correct the data need to be executed, the relevant scripts do not need to be executed in full, the consumed time is less, and the problems that the calculated data are incomplete and the existing correct data are covered do not exist.
The data processing method provided by the embodiment of the application further relates to a cloud technology and a cloud application, wherein the cloud technology comprises cloud storage and a database, and the cloud application comprises artificial intelligence cloud service, specifically:
cloud Technology refers to a hosting Technology for unifying resources of hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data. Based on the general names of network technology, information technology, integration technology, management platform technology, application technology and the like applied in the cloud computing business model, a resource pool can be formed and used as required, and the cloud computing business model is flexible and convenient. Cloud computing technology will become an important support. Background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture-like websites and more web portals. With the high development and application of the internet industry, each article may have its own identification mark and needs to be transmitted to a background system for logic processing, data in different levels are processed separately, and various industrial data need strong system background support and can only be realized through cloud computing.
A distributed Cloud Storage (hereinafter, referred to as a Storage system) refers to a Storage system that integrates a large number of Storage devices (Storage devices are also referred to as Storage nodes) of different types in a network through application software or an application interface to cooperatively work by using functions such as cluster application, grid technology, and a distributed Storage file system, and provides a data Storage function and a service access function to the outside.
At present, a storage method of a storage system is as follows: logical volumes are created, and when created, each logical volume is allocated physical storage space, which may be the disk composition of a certain storage device or of several storage devices. The client stores data on a certain logical volume, that is, the data is stored on a file system, the file system divides the data into a plurality of parts, each part is an object, the object not only contains the data but also contains additional information such as data Identification (ID), the file system writes each object into a physical storage space of the logical volume, and the file system records storage location information of each object, so that when the client requests to access the data, the file system can allow the client to access the data according to the storage location information of each object.
The process of allocating physical storage space for the logical volume by the storage system specifically includes: physical storage space is divided in advance into stripes according to a group of capacity measures of objects stored in a logical volume (the measures often have a large margin with respect to the capacity of the actual objects to be stored) and Redundant Array of Independent Disks (RAID), and one logical volume can be understood as one stripe, thereby allocating physical storage space to the logical volume.
Database (Database), which can be regarded as an electronic file cabinet in short, a place for storing electronic files, a user can add, query, update, delete, etc. to data in files. A "database" is a collection of data that is stored together in a manner that can be shared by multiple users, has as little redundancy as possible, and is independent of the application.
A Database Management System (DBMS) is a computer software System designed for managing a Database, and generally has basic functions such as storage, interception, security assurance, and backup. The database management system may be classified according to the database model it supports, such as relational, XML (Extensible Markup Language); or classified according to the type of computer supported, e.g., server cluster, mobile phone; or sorted according to the Query Language used, such as SQL (Structured Query Language), XQuery, or sorted according to performance impulse emphasis, such as max size, maximum operating speed, or other sorting.
An artificial intelligence cloud Service is also commonly referred to as AIaaS (AI as a Service, chinese). The method is a service mode of an artificial intelligence platform, and particularly, the AIaaS platform splits several types of common AI services and provides independent or packaged services at a cloud. This service model is similar to the one opened in an AI theme mall: all developers can access one or more artificial intelligence services provided by the platform through an API (application programming interface) interface, and part of the qualified developers can also use the AI framework and AI infrastructure provided by the platform to deploy and operate and maintain own dedicated cloud artificial intelligence services.
The scheme provided by the embodiment of the present application is explained by combining the cloud technology related to the embodiment of the present application:
the data processing equipment acquires a data configuration request which is submitted by the terminal equipment and aims at the target cost accounting service, wherein the data configuration request comprises first effective time and correction data, the first effective time and the correction data are input through a data management page displayed on the terminal equipment, and the correction data comprise one or more of correction values of added fields, values of newly added fields and fields to be deleted; the data processing equipment determines a target script according to the correction data and a plurality of scripts corresponding to the target cost accounting service (the plurality of scripts relate to cloud technologies such as cloud storage and a database); and executing the target script according to the first validity time and the correction data so as to adjust the historical cost calculation result of the target cost accounting service. The target script is executed through the data processing equipment, developers do not need to execute the whole script, consumed time is short, and adjustment of the historical cost calculation result can be achieved more quickly.
Referring to fig. 2, fig. 2 is a schematic architecture diagram of a data processing system disclosed in an embodiment of the present application, and as shown in fig. 2, an architecture diagram 200 of the data processing system may include a first terminal device 201, a data processing device 202, and at least one second terminal device 203, where the first terminal device 201, the data processing device 202, and the second terminal device 203 may implement communication connection therebetween.
In a possible implementation manner, the first terminal device 201 may be understood as a configuration terminal, the second terminal device 203 may be understood as an inquiry terminal, and the first terminal device 201 and the second terminal device 203 may be, but are not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, a smart speaker, a smart watch, a smart car, and the like; the data processing device 202 may be specifically a server, which may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a network service, cloud communication, middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform.
In one possible implementation, the first terminal device 201 is mainly configured to: responding to a data configuration instruction aiming at the target cost accounting service, and displaying a data management page; acquiring first life time and correction data input through a data management page, wherein the correction data comprise one or more of correction values of added fields, values of newly added fields and fields to be deleted; and sending a data configuration request of the target cost accounting service to the data processing device 202, wherein the data configuration request comprises first life time and correction data, and the data configuration request is used for instructing the data processing device 202 to determine a target script according to the correction data and execute the target script according to the first life time and the correction data so as to adjust the historical cost calculation result of the target cost accounting service. The product management personnel can carry out flexible data configuration through the data management page without manual configuration by developers, thereby reducing the workload of the developers.
In one possible implementation, the data processing device 202 is primarily configured to: acquiring a data configuration request for a target cost accounting service, which is submitted by a first terminal device 201, wherein the data configuration request includes first lifetime and correction data, the first lifetime and the correction data are input through a data management page displayed on the first terminal device 201, and the correction data includes one or more of a correction value of an added field, a value of a newly added field and a field to be deleted; determining a target script according to the correction data and a plurality of scripts corresponding to the target cost accounting service; and executing the target script according to the first validity time and the correction data so as to adjust the historical cost calculation result of the target cost accounting service. The target script is executed through the data processing equipment, developers do not need to execute the full-amount script, consumed time is short, and adjustment of the historical cost calculation result can be achieved more quickly, so that the efficiency and the accuracy of adjustment of the historical cost calculation result are improved.
The second terminal device 203 is mainly used for querying, that is, different product managers query the historical cost calculation results of different cost accounting services in real time.
Further, the first terminal device 201 and the second terminal device 203 may also be a handheld device, a vehicle-mounted device, a wearable device, or a computing device of a wireless communication function. Illustratively, the mobile phone can be a mobile phone (mobile phone), a tablet computer or a computer with wireless transceiving function; but also Virtual Reality (VR) terminal equipment, Augmented Reality (AR) terminal equipment, wireless terminal equipment in industrial control, wireless terminal equipment in unmanned driving, wireless terminal equipment in telemedicine, wireless terminal equipment in smart grid, wireless terminal equipment in smart city (smart city), wireless terminal equipment in smart home (smart home), etc.; it may also be an apparatus, such as a system-on-chip, capable of supporting the terminal device to implement the function, which may be installed in the terminal device.
Based on the data processing system, an embodiment of the present invention provides a data processing method, please refer to fig. 3, and fig. 3 is a flowchart illustrating another data processing method disclosed in the embodiment of the present application, where the data processing method may be executed by a data processing device, and the data processing device may be a server, and specifically, the data processing device may be the data processing device 202 indicated in fig. 2. The data processing method mainly comprises the following steps:
s301, the data processing device obtains a data configuration request which is submitted by the terminal device and aims at the target cost accounting service, wherein the data configuration request comprises first life time and correction data.
The cost accounting business specifically refers to the adjustment of the historical cost calculation result of the product, so as to be beneficial to the benefit of the subsequent product. The target cost accounting service may refer to a service for accounting the total cost of a certain product, and the target cost accounting service may also refer to a service for accounting a certain cost (such as direct cost, indirect cost, etc.) of a target product. The data processing device can be associated with a plurality of products, and the data processing device can also process cost accounting services of the plurality of products at the same time.
The data configuration request is input by a product manager through a data management page displayed on the terminal device, the data configuration request may include first lifetime and correction data, and the correction data may include one or more of a correction value of an added field, a value of a newly added field, and a field to be deleted, that is, the product manager may correct a plurality of values at the same time. Specifically, the first lifetime refers to a time node, i.e., a deadline for execution of the target cost accounting service. For example, the configured first lifetime may be "12 months and 31 days 2020". For another example, in the cost calculation, for the correction value of the added field, the added field may be a unit price field, and the correction value may be changed from "a" to "B"; for the numerical value of the added field, namely the field is not existed in the original cost calculation, the added field is added by the product manager for adjusting the historical cost calculation result, and the added field is self-defined by the product manager; for the field to be deleted, namely the field is used in the original cost calculation, but the field is not needed when the historical cost calculation result is adjusted, so that the field can be deleted by a product manager.
In one possible implementation, after the configuration of the data management interface is completed, the product manager reports the configuration to the data processing device, and the data processing device compares the newly configured data with the original data to obtain configuration data including the first lifetime and the corrected data.
S302, the data processing equipment determines a target script according to the correction data and a plurality of scripts corresponding to the target cost accounting service.
The script is an executable file written according to a certain format by using a specific descriptive language. In general, a script is equivalent to a command line, and different execution results can be output according to different input data.
In a possible implementation manner, the data processing device needs to determine a target script to be executed from a plurality of scripts corresponding to the target cost accounting service, the data processing device only needs to determine and execute the script associated with the correction data according to the correction data, and the script unrelated to the correction data does not need to be executed again, so that the execution of a whole amount of scripts is avoided, the condition that original correct data is not covered is ensured, a certain time is saved, and the efficiency of script execution is ensured.
Optionally, if the correction data corresponds to the correction value of the added field, the data processing apparatus finds the script corresponding to the added field from the original multiple scripts, and uses the scripts as the target scripts. For example, if the scripts used to obtain the historical cost calculation result of the original target cost calculation service are the first to nth scripts, and the scripts corresponding to the added fields are M of the first to nth scripts, the M scripts are used as target scripts, where M is smaller than N.
Optionally, if the modified data corresponds to the value of the newly added field, the data processing device may search, in the database, scripts corresponding to the newly added field (the scripts are not used in the original historical cost result calculation, but there may be corresponding scripts because the field exists), and use the scripts as target scripts. For example, if the scripts used to obtain the historical cost calculation results of the original target cost calculation service are the first to nth scripts, but none of the scripts associated with the newly added field is in the N scripts, the data processing device needs to obtain the script associated with the newly added field from the database, and use the script associated with the newly added field as the target script, while the execution results of the original first to nth scripts are unchanged.
Optionally, if the corrected data corresponds to the field to be deleted, the data processing device may search the database for scripts corresponding to the field to be deleted, and use the scripts as target scripts. For example, if the scripts used to obtain the historical cost calculation result of the original target cost calculation service are the first to nth scripts and the scripts associated with the fields to be deleted are X scripts, the X scripts obtained are used as target scripts.
S303, the data processing equipment executes the target script according to the first life time and the correction data so as to adjust the historical cost calculation result of the target cost accounting service.
In a possible implementation manner, after determining the target script, the data processing device further needs to determine an execution policy of the target script, specifically: the data processing device acquires a script execution data structure, the script execution data structure comprises a corresponding relation of priority between fields and scripts, and then determines an execution strategy of a target script according to the first lifetime and the script execution data structure, wherein the execution strategy comprises one or two of execution times and execution sequence. Further, the data processing apparatus executes the target script based on the execution policy and the revision data.
When the number of the target scripts is more than one, the data processing device determines the execution times and the execution sequence of each script in the target scripts so as to obtain the execution result.
In the implementation of the application, the data processing equipment acquires a data configuration request which is submitted by the terminal equipment and aims at the target cost accounting service, wherein the data configuration request comprises first life time and correction data, the first life time and the correction data are input through a data management page displayed on the terminal equipment, and the correction data comprise one or more of a correction value of an added field, a value of a newly added field and a field to be deleted; determining a target script according to the correction data and a plurality of scripts corresponding to the target cost accounting service; and executing the target script according to the first validity time and the correction data so as to adjust the historical cost calculation result of the target cost accounting service. In the embodiment of the application, the target script needing to be executed is determined through the data processing equipment, and the condition of executing omission is avoided, so that the efficiency of adjusting the historical cost calculation result is improved.
With reference to the data management system and fig. 3, an embodiment of the present invention provides another data processing method, and as shown in fig. 4, is a schematic flow chart of another data processing method disclosed in an embodiment of the present application. The data processing method mainly comprises the following steps:
s401, the data processing equipment acquires a data configuration request which is submitted by the terminal equipment and aims at the target cost accounting service, wherein the data configuration request comprises first life time and correction data.
S402, the data processing equipment determines a target script according to the correction data and a plurality of scripts corresponding to the target cost accounting service.
Step S401 to step S402 have already been described in detail in the embodiment corresponding to fig. 3, and are not described again here. Steps S403 to S404 describe a determination process of the execution policy of the target script.
And S403, the data processing equipment acquires the recorded second effective time, and determines the execution times of each script in the target script according to the first effective time, the second effective time and the script execution rule.
Step S403 describes how the data processing apparatus determines the number of times of execution of each script. In a possible implementation manner, the data processing device first obtains the recorded second validation time, where the second validation time may be recorded in the database or may be recorded in the data processing device of the terminal device. Then, an effective time period is determined according to the first effective time and the second effective time, specifically according to a difference value between the first effective time and the second effective time, where the effective time period refers to an execution time period of a target script corresponding to the target cost accounting service. For example, if the first effective time (i.e., the effective period of the present configuration) is 10/1/2020, and the second effective time (the effective period of the last configuration) is 4/1/2020, the effective time period is 6 months.
Further, the data processing equipment determines the execution times of each script in the target script according to the effective time period and the script execution rule. The script execution rules include execution cycles of the scripts, the execution cycles include but are not limited to daily execution, weekly execution, monthly execution, quarterly execution, and the like, the script execution rules may be original execution rules (i.e., execution rules of original scripts corresponding to the target cost accounting service), or may be reset by product managers, and the execution rules of each script may be the same or different. For example, if the effective time period of the ith script in the target script is 6 months and the script execution rule of the ith script is executed according to months, it can be determined that the execution time of the ith script is 6 times, that is, the ith script needs to be executed once in the first month to the sixth month. Correspondingly, the execution times of the jth script in the target script may also be 6 times, and specifically, are determined according to the validation time period and the script execution rule.
S404, the data processing equipment acquires the script execution data structure and determines the execution sequence among all scripts in the target script according to the script execution data structure.
Step S404 describes how the data processing apparatus determines the execution order of the respective scripts. The script execution data structure records a correspondence between the priority of the field and the priority of the script, where one field corresponds to one priority, or multiple fields simultaneously correspond to one priority, and specifically, the correspondence may be as shown in table one:
watch 1
Field(s) | Priority level |
Field 1, field 2 | 1 |
Field 3, field 4, field 5 | 2 |
… | … |
Field N | m |
The priority corresponding to the field 1 and the field 2 is 1, the priority corresponding to the field 3, the field 4 and the field 5 is 2, the priority corresponding to the field N is m, the priority corresponding to the field 1 is the highest, and the priority corresponding to the field m is the lowest.
In a possible implementation manner, the data processing device first obtains the script execution data structure, and then determines the priority of each script in the target script according to the priority relationship between the field included in the execution data structure and the script, so as to determine the execution sequence of each script, without manually determining the execution sequence of the script, thereby increasing the execution rate of the script.
S405, the data processing device executes each script in the target script according to the execution sequence among the scripts, the execution times of each script and the correction data, and records the actual execution times of each script.
In a possible implementation manner, after the data processing device determines the target execution script, the execution sequence among the scripts, and the execution times of each script, each script in the target script is executed by using the correction data, and the actual execution times of each script is recorded.
If the target script includes multiple scripts and the execution times of each script are the same, in this case, the data processing device may execute the scripts corresponding to the second execution sequence after the scripts corresponding to the first execution sequence are executed, or may execute all the target scripts once for the first time and execute all the target scripts once for the second time.
For example, the number of the target scripts is three, which are respectively a script a, a script b, and a script c, where the script a is a first execution sequence, the script b is a second execution sequence, and the script c is a third execution sequence, and the execution times of the script a, the script b, and the script c are all 3 times, and then the script b and the script c may be executed 3 times first; the script a, the script b and the script c may be executed for the first time, and the script a, the script b and the script c may be executed for the second time and the third time.
If the target script includes multiple scripts and the execution times of each script are the same, in this case, the data processing device needs to execute the scripts for corresponding times according to the execution sequence of the scripts.
For example, the number of target scripts is three, which are respectively a script a, a script b, and a script c, where the script a is a first execution sequence, the script b is a second execution sequence, the script c is a third execution sequence, the effective time period of the third execution sequence is 3 months, the execution frequency of the script a is 12 times (execution by week), the execution frequency of the script b is 3 times (execution by month), the execution frequency of the script c is 1 time (execution by quarter), and then the data processing device needs to execute the script a 4 times in the first month, and execute the script b once after the first month; in the second month, executing the script a for 4 times, and executing the script b once again until the end of the second month; in the third month, the script a is executed 4 times, and by the end of the third month, the script b is executed once and the script c is executed once. Thus, script a, script b, and script c are executed a corresponding number of times.
And S406, when the recorded actual execution times of the first script reaches the execution times of the first script included in the execution strategy, stopping the execution of the first script by the data processing equipment.
The first script is any one of the target scripts. In the process of automatically executing the target script by the data processing device, whether to stop executing the script is determined by recording the actual execution times of each script.
S407, the data processing device obtains the execution result of the target script and obtains the historical execution result of other scripts except the target script in the plurality of scripts corresponding to the target cost accounting service.
After the data processing equipment finishes executing each target script, the execution result of each script of the target script is firstly obtained, meanwhile, the historical execution results of other scripts except the target script in the plurality of scripts corresponding to the target cost accounting service are obtained, and the historical execution results are not changed, so that the data corresponding to the scripts are not changed, the execution is not needed, and the data can be directly called. In an actual application scenario, a product manager may query the historical execution result and may query the execution result of the target script.
And S408, the data processing equipment obtains the historical cost calculation result after the target cost accounting service is adjusted according to the execution result of the target script and the historical execution result of other scripts.
In a possible implementation manner, the data processing device calculates the obtained execution result of the target script and the historical execution results of other scripts to obtain a historical cost calculation result after the target cost accounting service is adjusted.
For example, if y is a + b + c, where a and b are the execution results of the target script, and c are the historical execution results of other scripts, then y is the historical cost calculation result after the target cost accounting service is adjusted.
In the embodiment of the application, the data processing equipment determines the target script, the execution times of the target script and the execution sequence in sequence according to the configuration data request, so that the target script is executed. The process is automatically executed by the data processing equipment, and developers do not need to manually operate, so that automatic adjustment is realized, the adjustment rate of historical cost calculation results is improved, and the execution of the target script is completed by the data processing equipment, so that the accuracy of the execution results can be improved to a certain extent.
In conjunction with a data management system, an embodiment of the present invention provides another data processing method, as shown in fig. 5, which is a flowchart illustrating another data processing method disclosed in the embodiment of the present application, where the data processing method is executed by a terminal device, and specifically, the terminal device specifically corresponds to the first terminal device 201 described above. The data processing method may include the steps of:
s501, the terminal device responds to a data configuration instruction aiming at the target cost accounting service and displays a data management page.
The data management page comprises a target cost accounting service, a display area and a configuration area of the effective time, and further comprises a data display area, and product management personnel can configure the correction data and the effective time in the interface.
In a possible implementation manner, the data configuration instruction may specifically refer to an instruction for a product manager to configure for the target cost service in a data management page, for example, an option in a data management interface. And the terminal equipment responds to the data configuration instruction and displays a data management page on an interface of the terminal. The configuration data displayed on the data management page includes first life time and correction data corresponding to the target cost accounting service. The data configuration of the product manager on the data management page is based on a data correction logic, and the data correction logic can be modified by the product manager to meet customer requirements or adjusted by the product manager to achieve greater benefit of the product.
S502, the terminal device obtains first life time and correction data input by the data management page.
In a possible implementation manner, after the data configuration on the data management page is completed and after the product manager reports (stores), the terminal device may synchronously acquire the first lifetime and the correction data in the data management page, so that the terminal device may generate a data configuration request related to the target cost accounting service according to the first lifetime and the correction data, where the request is for adjusting a historical cost calculation result of the target cost accounting service. The correction data comprises one or more of a correction value of an added field, a value of a newly added field and a field to be deleted.
S503, the terminal device sends a data configuration request of the target cost accounting service to the data processing device.
In a possible implementation manner, after the terminal device generates a data configuration request for the target cost accounting service, the data configuration request is sent to the data management platform. The data processing device determines a target script according to the correction data included in the data configuration request, and executes the target script according to the first effective time and the correction data included in the data configuration request to adjust the historical cost calculation result of the target cost accounting service.
In the embodiment of the application, the terminal equipment responds to a data configuration instruction aiming at the target cost accounting service and displays a data management page; acquiring first life time and correction data input through a data management page, wherein the correction data comprise one or more of correction values of added fields, values of newly added fields and fields to be deleted; and sending a data configuration request of the target cost accounting service to the data processing equipment, wherein the data configuration request comprises first life time and correction data, so that the data processing equipment determines a target script according to the correction data and executes the target script according to the first life time and the correction data to adjust a historical cost calculation result of the target cost accounting service. The method mainly explains that the configuration of data realized by a user on a data management interface of the terminal equipment reduces the addition of parameters manually performed by developers in the past, thereby saving the time of the developers, and meanwhile, product managers can also flexibly change the parameters, thereby realizing the adjustment of the historical cost calculation result more quickly.
In conjunction with the above-described embodiments, the present application discloses a data processing apparatus, and as shown in fig. 6, the data processing apparatus 600 may include: the obtaining unit 601, the determining unit 602, and the processing unit 603 are specifically configured to:
an obtaining unit 601, configured to obtain a data configuration request for a target cost accounting service, where the data configuration request includes first lifetime and correction data, the first lifetime and the correction data are input through a data management page displayed on a terminal device, and the correction data includes one or more of a correction value of an added field, a value of a newly added field, and a field to be deleted;
a determining unit 602, configured to determine a target script according to the correction data and multiple scripts corresponding to the target cost accounting service;
a processing unit 603, configured to execute the target script according to the first lifetime and the correction data, so as to adjust a historical cost calculation result of the target cost accounting service.
In a possible implementation manner, the processing unit 603 executes the target script according to the first lifetime and the revision data, so as to:
acquiring a script execution data structure, wherein the script execution data structure comprises a corresponding relation of priority between fields and scripts;
determining an execution strategy of the target script according to the first lifetime and the script execution data structure, wherein the execution strategy comprises one or two of execution times and execution sequence;
and executing each script in the target scripts according to the execution strategy and the correction data.
In a possible implementation manner, the determining unit 602 determines, according to the first lifetime and the script execution data structure, an execution policy of the target script, so as to:
acquiring a second recorded effective time;
determining the execution times of each script in the target script according to the first effective time, the second effective time and a script execution rule;
and determining the execution sequence among all scripts in the target script according to the script execution data structure.
In a possible implementation manner, the determining unit 602 determines, according to the first effective time, the second effective time, and a script execution rule, the number of times of execution of each script in the target script, so as to:
determining an effective time period according to the first effective time and the second effective time;
and determining the execution times of each script in the target script according to the effective time period and a script execution rule, wherein the script execution rule comprises the execution period of the script.
In a possible implementation manner, the determining unit 602 determines, according to the script execution data structure, an execution sequence between scripts in the target script, and is configured to:
determining the execution priority of each script in the target script according to the field included by the correction data and the script execution data structure;
and determining the execution sequence among all scripts in the target script according to the execution priority.
In a possible implementation manner, the processing unit 603 executes each script in the target scripts according to the execution policy and the modification data, including:
acquiring an execution sequence among all scripts included in the execution strategy and the execution times of all the scripts;
executing each script in the target script according to the execution sequence among the scripts, the execution times of the scripts and the correction data, and recording the actual execution times of the scripts;
and stopping executing the first script when the recorded actual execution times of the first script reaches the execution times of the first script included in the execution strategy, wherein the first script is any one of the scripts.
In a possible implementation manner, the obtaining unit 601 is further configured to obtain an execution result of the target script; obtaining historical execution results of scripts except the target script in a plurality of scripts corresponding to the target cost accounting service;
the determining unit 602 is further configured to obtain a historical cost calculation result after the target cost accounting service is adjusted according to the execution result of the target script and the historical execution result of the other scripts.
In this embodiment, the obtaining unit 601 obtains a data configuration request for a target cost accounting service, where the data configuration request includes first lifetime and correction data, the first lifetime and the correction data are input through a data management page displayed on a terminal device, and the correction data includes one or more of a correction value of an added field, a value of a newly added field, and a field to be deleted; the determining unit 602 determines a target script according to the plurality of scripts corresponding to the correction data and the target cost accounting service; the processing unit 603 executes the target script according to the first lifetime and the correction data to adjust a historical cost calculation result of the target cost accounting service. In the embodiment of the application, the target script is executed in an automatic mode, a developer is not required to manually transmit parameters, the full execution of the script is not required, the conditions of missed execution and the covering of original correct data are avoided, and therefore the efficiency and the accuracy of adjusting the historical cost calculation result are improved.
In conjunction with the above-described embodiments, the present application discloses another data processing apparatus, and as shown in fig. 7, the data processing apparatus 700 may include: the display unit 701, the obtaining unit 702, and the sending unit 703 are specifically configured to:
a display unit 701, configured to display a data management page in response to a data configuration instruction for a target cost accounting service;
an obtaining unit 702, configured to obtain a first lifetime and correction data input through the data management page, where the correction data includes one or more of a correction value of an added field, a value of a newly added field, and a field to be deleted;
a sending unit 703, configured to send a data configuration request of the target cost accounting service to a data processing device, where the data configuration request includes the first lifetime and the correction data, and the data configuration request is used to instruct the data processing device to determine a target script according to the correction data, and execute the target script according to the first lifetime and the correction data, so as to adjust a historical cost calculation result of the target cost accounting service.
In the embodiment of the present application, the display unit 701 displays a data management page in response to a data configuration instruction for a target cost accounting service; the obtaining unit 702 obtains a first lifetime and correction data input through the data management page, where the correction data includes one or more of a correction value of an added field, a value of a newly added field, and a field to be deleted; the sending unit 703 sends a data configuration request of the target cost accounting service to the data processing device. According to the data management method and device, product managers can flexibly configure data through the data management page, developers do not need to manually configure the data, and therefore the workload of the developers is reduced.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a computer device disclosed in an embodiment of the present application, where the computer device 800 may implement steps executed by a data management device and steps executed by a terminal device, and the computer device 800 at least includes a processor 801, a memory 802, and a communication device 803. The processor 801, the memory 802, and the communication device 803 may be connected by a bus or other means. The communication device 803 is used for transmitting and receiving data. The memory 802 may comprise a computer-readable storage medium, the memory 802 for storing a computer program comprising computer instructions, the processor 801 for executing the computer instructions stored by the memory 802. The processor 801 (or CPU) is a computing core and a control core of the computer device 800, and is adapted to implement one or more computer instructions, and specifically to load and execute the one or more computer instructions so as to implement corresponding method flows or corresponding functions.
The embodiment of the present application also discloses a computer readable storage medium (Memory), which is a Memory device in the computer device 800 and is used for storing programs and data. It is understood that the memory 802 herein may comprise both built-in storage media in the computer device 800 and, of course, extended storage media supported by the computer device 800. The computer-readable storage medium provides storage space that stores an operating system for the computer device 800. Also stored in the memory space are one or more computer instructions, which may be one or more computer programs (including program code), suitable for loading and execution by the processor 801. Here, the Memory 802 may be a high-speed RAM Memory, or may be a Non-Volatile Memory (Non-Volatile Memory), such as at least one disk Memory; and optionally at least one computer readable storage medium located remotely from the processor 801 as previously described.
In one implementation, the computer device 800 may be the first terminal device 201 in the data processing system shown in FIG. 2; the memory 802 has first computer instructions stored therein; the first computer instructions stored in the memory 802 are loaded and executed by the processor 801 to implement the corresponding steps in the method embodiment shown in fig. 5; in a specific implementation, the first computer instructions in the memory 802 are loaded by the processor 801 and perform the following steps:
responding to a data configuration instruction aiming at the target cost accounting service, and displaying a data management page;
acquiring first life time and correction data input through the data management page, wherein the correction data comprise one or more of correction values of added fields, values of added fields and fields to be deleted;
and the data configuration request is used for instructing the data processing equipment to determine a target script according to the correction data and execute the target script according to the first life time and the correction data so as to adjust the historical cost calculation result of the target cost accounting service.
In one implementation, computer device 800 may also be data processing device 202 in the data processing system shown in FIG. 2; the memory 800 has stored therein first computer instructions; the first computer instructions stored in the memory 802 are loaded and executed by the processor 801 to implement the corresponding steps in the method embodiments shown in fig. 3 and 4; in a specific implementation, the first computer instructions in the memory 802 are loaded by the processor 801 and perform the following steps:
acquiring a data configuration request which is submitted by a terminal device and aims at a target cost accounting service, wherein the data configuration request comprises first life time and correction data, the first life time and the correction data are input through a data management page displayed on the terminal device, and the correction data comprise one or more of a correction value of an added field, a value of a newly added field and a field to be deleted;
determining a target script according to the correction data and a plurality of scripts corresponding to the target cost accounting service;
and executing the target script according to the first effective time and the correction data so as to adjust the historical cost calculation result of the target cost accounting service.
In one possible implementation, the processor 801 executes the target script according to the first lifetime and the revision data to:
acquiring a script execution data structure, wherein the script execution data structure comprises a corresponding relation of priority between fields and scripts;
determining an execution strategy of the target script according to the first lifetime and the script execution data structure, wherein the execution strategy comprises one or two of execution times and execution sequence;
and executing each script in the target scripts according to the execution strategy and the correction data.
In one possible implementation, the processor 801 determines, according to the first lifetime and the script execution data structure, an execution policy of the target script, for:
acquiring a second recorded effective time;
determining the execution times of each script in the target script according to the first effective time, the second effective time and a script execution rule;
and determining the execution sequence among all scripts in the target script according to the script execution data structure.
In a possible implementation manner, the processor 801 determines, according to the first effective time, the second effective time, and a script execution rule, the number of times of execution of each script in the target script, so as to:
determining an effective time period according to the first effective time and the second effective time;
and determining the execution times of each script in the target script according to the effective time period and a script execution rule, wherein the script execution rule comprises the execution period of the script.
In one possible implementation manner, the processor 801 determines, according to the script execution data structure, an execution sequence between scripts in the target script, so as to:
determining the execution priority of each script in the target script according to the field included by the correction data and the script execution data structure;
and determining the execution sequence among all scripts in the target script according to the execution priority.
In one possible implementation manner, the processor 801 executes each script in the target scripts according to the execution policy and the modification data, including:
acquiring an execution sequence among all scripts included in the execution strategy and the execution times of all the scripts;
executing each script in the target script according to the execution sequence among the scripts, the execution times of the scripts and the correction data, and recording the actual execution times of the scripts;
and stopping executing the first script when the recorded actual execution times of the first script reaches the execution times of the first script included in the execution strategy, wherein the first script is any one of the scripts.
In one possible implementation manner, the processor 801 is further configured to:
acquiring an execution result of the target script; obtaining historical execution results of scripts except the target script in a plurality of scripts corresponding to the target cost accounting service;
and obtaining a historical cost calculation result after the target cost accounting service is adjusted according to the execution result of the target script and the historical execution results of the other scripts.
In this embodiment, the processor 801 obtains a data configuration request for a target cost accounting service, which is submitted by a terminal device, where the data configuration request includes first lifetime and correction data, the first lifetime and the correction data are input through a data management page displayed on the terminal device, and the correction data includes one or more of a correction value of an added field, a value of a newly added field, and a field to be deleted; determining a target script according to the correction data and a plurality of scripts corresponding to the target cost accounting service; and executing the target script according to the first validity time and the correction data so as to adjust the historical cost calculation result of the target cost accounting service. In the embodiment of the application, the target script is executed in an automatic mode, a developer is not required to manually transmit parameters, the full execution of the script is not required, the conditions of missed execution and the covering of original correct data are avoided, and therefore the efficiency and the accuracy of adjusting the historical cost calculation result are improved.
According to an aspect of the application, a computer program product or a computer program is also disclosed, comprising computer instructions, which are stored in a computer readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and executes the computer instruction, so that the computer device can execute the method in the embodiment corresponding to the flowcharts in fig. 3, 4, and 5, which will not be described herein again.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the above-described modules is merely a logical division, and other divisions may be realized in practice, for example, a plurality of modules or components may be combined or integrated into another system, or some features may be omitted, or not executed.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A data processing method applied to a data processing apparatus, the method comprising:
acquiring a data configuration request which is submitted by a terminal device and aims at a target cost accounting service, wherein the data configuration request comprises first life time and correction data, the first life time and the correction data are input through a data management page displayed on the terminal device, and the correction data comprise one or more of a correction value of an added field, a value of a newly added field and a field to be deleted;
determining a target script according to the correction data and a plurality of scripts corresponding to the target cost accounting service;
and executing the target script according to the first effective time and the correction data so as to adjust the historical cost calculation result of the target cost accounting service.
2. The method of claim 1, wherein executing the target script according to the first lifetime and the rework data comprises:
acquiring a script execution data structure, wherein the script execution data structure comprises a corresponding relation of priority between fields and scripts;
determining an execution strategy of the target script according to the first lifetime and the script execution data structure, wherein the execution strategy comprises one or two of execution times and execution sequence;
and executing each script in the target scripts according to the execution strategy and the correction data.
3. The method of claim 2, wherein determining the execution policy of the target script based on the first lifetime and the script execution data structure comprises:
acquiring a second recorded effective time;
determining the execution times of each script in the target script according to the first effective time, the second effective time and a script execution rule;
and determining the execution sequence among all scripts in the target script according to the script execution data structure.
4. The method according to claim 3, wherein the determining the number of times of executing each script in the target script according to the first effective time, the second effective time and a script execution rule comprises:
determining an effective time period according to the first effective time and the second effective time;
and determining the execution times of each script in the target script according to the effective time period and a script execution rule, wherein the script execution rule comprises the execution period of the script.
5. The method according to claim 3, wherein the determining an execution order among the scripts in the target script according to the script execution data structure comprises:
determining the execution priority of each script in the target script according to the field included by the correction data and the script execution data structure;
and determining the execution sequence among all scripts in the target script according to the execution priority.
6. The method of claim 2, wherein executing each of the target scripts according to the execution policy and the revision data comprises:
acquiring an execution sequence among all scripts included in the execution strategy and the execution times of all the scripts;
executing each script in the target script according to the execution sequence among the scripts, the execution times of the scripts and the correction data, and recording the actual execution times of the scripts;
and stopping executing the first script when the recorded actual execution times of the first script reaches the execution times of the first script included in the execution strategy, wherein the first script is any one of the scripts.
7. The method of claim 1, wherein after the executing the target script according to the first lifetime and the rework data, the method further comprises:
acquiring an execution result of the target script;
obtaining historical execution results of scripts except the target script in a plurality of scripts corresponding to the target cost accounting service;
and obtaining a historical cost calculation result after the target cost accounting service is adjusted according to the execution result of the target script and the historical execution results of the other scripts.
8. A data processing method is applied to a terminal device, and comprises the following steps:
responding to a data configuration instruction aiming at the target cost accounting service, and displaying a data management page;
acquiring first life time and correction data input through the data management page, wherein the correction data comprise one or more of correction values of added fields, values of added fields and fields to be deleted;
and sending a data configuration request of the target cost accounting service to a data processing device, wherein the data configuration request comprises the first life time and the correction data, and the data configuration request is used for instructing the data processing device to determine a target script according to the correction data and execute the target script according to the first life time and the correction data so as to adjust a historical cost calculation result of the target cost accounting service.
9. A data processing apparatus, characterized in that the data processing apparatus comprises:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a data configuration request which is submitted by a terminal device and aims at a target cost accounting service, the data configuration request comprises first effective time and correction data, the first effective time and the correction data are input through a data management page displayed on the terminal device, and the correction data comprise one or more of a correction value of an added field, a value of a newly added field and a field to be deleted;
the determining unit is used for determining a target script according to the correction data and a plurality of scripts corresponding to the target cost accounting service;
and the processing unit is used for executing the target script according to the first valid time and the correction data so as to adjust the historical cost calculation result of the target cost accounting service.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program comprising program instructions that, when executed by a processor, cause the processor to perform the data processing method of any one of claims 1-7 or the data processing method of claim 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110084722.XA CN113570394A (en) | 2021-01-21 | 2021-01-21 | Data processing method and device and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110084722.XA CN113570394A (en) | 2021-01-21 | 2021-01-21 | Data processing method and device and computer readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113570394A true CN113570394A (en) | 2021-10-29 |
Family
ID=78161014
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110084722.XA Pending CN113570394A (en) | 2021-01-21 | 2021-01-21 | Data processing method and device and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113570394A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114896073A (en) * | 2022-06-02 | 2022-08-12 | 北京自如信息科技有限公司 | Data allocation processing method, device and system |
CN118195669A (en) * | 2024-05-15 | 2024-06-14 | 航天云网数据研究院(广东)有限公司 | Cost data accounting method applied to food and beverage based on identification analysis |
-
2021
- 2021-01-21 CN CN202110084722.XA patent/CN113570394A/en active Pending
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114896073A (en) * | 2022-06-02 | 2022-08-12 | 北京自如信息科技有限公司 | Data allocation processing method, device and system |
CN114896073B (en) * | 2022-06-02 | 2024-09-24 | 北京自如信息科技有限公司 | Data allocation processing method, device and system |
CN118195669A (en) * | 2024-05-15 | 2024-06-14 | 航天云网数据研究院(广东)有限公司 | Cost data accounting method applied to food and beverage based on identification analysis |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9927992B2 (en) | Segmented database migration | |
US7734648B2 (en) | Update manager for database system | |
CN109840144B (en) | Information service scheduling method and system for cross-mechanism batch service request | |
CN111427971B (en) | Business modeling method, device, system and medium for computer system | |
US20090307651A1 (en) | Computing Platform for Structured Data Processing | |
US10007682B2 (en) | Dynamically maintaining data structures driven by heterogeneous clients in a distributed data collection system | |
CN103544153A (en) | Data updating method and system based on database | |
CN111858615A (en) | Database table generation method, system, computer system and readable storage medium | |
US10554750B2 (en) | Data sharing in a cloud | |
CN113570394A (en) | Data processing method and device and computer readable storage medium | |
US10642530B2 (en) | Global occupancy aggregator for global garbage collection scheduling | |
CN115335821A (en) | Offloading statistics collection | |
US20150310390A1 (en) | Aggregation and workflow engines for managing project information | |
US10558502B2 (en) | Software application runtime having dynamic evaluation functions and parameters | |
CN115984022A (en) | Unified account checking method and device for distributed payment system | |
US11416264B2 (en) | Software component configuration alignment | |
CN115617480A (en) | Task scheduling method, device and system and storage medium | |
US20230025504A1 (en) | Querying development toolchain work items in batches | |
CN107909460B (en) | Position synchronization method, device, data center and storage medium | |
CN112785230A (en) | Warehouse entry list generation method and system, computer equipment and storage medium | |
CN113377604A (en) | Data processing method, device, equipment and storage medium | |
CN113672200A (en) | Microservice processing method and device, storage medium and electronic equipment | |
US9412083B2 (en) | Aggregation and workflow engines for managing project information | |
CN117956019A (en) | Data processing method, device, equipment and storage medium | |
US20240256330A1 (en) | Supply chain resilience in task networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |