CN114218240A - Data changing method, device, equipment, medium and program product - Google Patents
Data changing method, device, equipment, medium and program product Download PDFInfo
- Publication number
- CN114218240A CN114218240A CN202111546142.4A CN202111546142A CN114218240A CN 114218240 A CN114218240 A CN 114218240A CN 202111546142 A CN202111546142 A CN 202111546142A CN 114218240 A CN114218240 A CN 114218240A
- Authority
- CN
- China
- Prior art keywords
- information item
- change
- data
- information
- alteration
- 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
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present disclosure provides a data change method, which can be applied to the technical field of databases or the financial field. The data change method comprises the steps of obtaining a data change request instruction, wherein the data change request instruction comprises a data source identifier and a data change type identifier; acquiring information item data based on the data source identification; calling a change configuration model based on the data change type identification, wherein the change configuration model is established based on a preset information item model; and acquiring data change information based on the change configuration model and the information item data, wherein the change configuration model is dynamically adjusted based on business rules. The present disclosure also provides a data alteration apparatus, a device, a storage medium, and a program product.
Description
Technical Field
The present disclosure relates to the field of finance or the field of databases, and more particularly, to a data change method, apparatus, device, medium, and program product.
Background
When data is changed, there is often a process of changing data based on different business scenarios, and in order to match with a business scenario, information items required for data change are usually written into a change method in a hard coding manner. For example, in the process of asset value change in a banking system, there are a variety of different business scenarios in which different value information items need to be changed. In the process of changing the asset value data, it is common to change the necessary information items in a hard-coded manner when processing the corresponding service. The method can cause serious coupling of business and logic, the meaning of a business scene is not clear, a large amount of complex calculation and temporary storage are generated at the same time, the system efficiency is influenced, meanwhile, troubles are caused to the calculation and the change, and the interpretability of data is insufficient. Moreover, operations such as hard-code reissue version deployment and the like are required to be modified for the scene with the changed service scene change information, so that the degree of automation is low, the configurability is poor, and the future maintenance is inconvenient.
Disclosure of Invention
In view of the foregoing, the present disclosure provides a configurable data change method, apparatus, device, medium, and program product.
According to a first aspect of the present disclosure, there is provided a data alteration method including: acquiring a data change request instruction, wherein the data change request instruction comprises a data source identifier and a data change type identifier; acquiring information item data based on the data source identification; calling a change configuration model based on the data change type identification, wherein the change configuration model is established based on a preset information item model; and acquiring data change information based on the change configuration model and the information item data, wherein the change configuration model is dynamically adjusted based on business rules.
According to the embodiment of the disclosure, the preset information item model comprises M information item change types, the change configuration model comprises information items and information item change types, wherein the number of the information items is Q, each information item corresponds to N information item change types, M and Q are integers greater than or equal to 1, N satisfies 1 ≤ N ≤ M, and N is an integer.
According to an embodiment of the present disclosure, the dynamically adjusting the change configuration model based on the business rules includes: and adjusting at least one of the information items or the information item change types contained in the change configuration model based on the business rules.
According to an embodiment of the present disclosure, the information item change type includes at least after the target data is changed.
According to an embodiment of the present disclosure, the information item change type further includes at least one of before original data change, after original data change, original data change value, before target data change, and target data change value.
According to an embodiment of the present disclosure, the change configuration model further includes a data change type identifier, an information item to be changed, an information item change subtype, an information item change method, and an information item change value, where the information item change subtype is a subset of the information item change type, and the information item change value is associated with the information item change method and the information item data.
According to an embodiment of the present disclosure, altering the configuration model further comprises: an information item alteration auxiliary item, the information item alteration auxiliary item including at least one of an information item alteration scenario and an information item alteration check, the information item alteration auxiliary item being associated with an information item to be altered.
According to an embodiment of the present disclosure, said obtaining data change information based on said change configuration model and said information item data comprises: matching the information item to be changed based on the data change type identification; matching the information item change subtype based on the information item to be changed; matching the information item alteration method based on the information item alteration subtype; acquiring the information item change value based on the information item change method and the information item data; and acquiring data change information based on the information item change value.
According to an embodiment of the present disclosure, after matching the information item alteration subtype based on the information item to be altered, the method further includes: matching the information item alteration auxiliary item based on the information item alteration subtype; and matching the information item changing method based on the information item changing auxiliary item, wherein the information item changing auxiliary item comprises at least one of an information item changing scene and an information item changing check, and the information item changing auxiliary item is associated with an information item to be changed.
A second aspect of the present disclosure provides a data alteration apparatus including: the first acquisition module is configured to acquire a data change request instruction, wherein the request instruction comprises a data source identifier and a data change type identifier; the second acquisition module is configured to acquire the information item data based on the data source identification; the calling module is configured to call a change configuration model based on the data change type identifier, wherein the change configuration model is established based on an information item model, and the information item model comprises an information item change type; and a third acquisition module configured to acquire data alteration information based on the alteration configuration model and the information item data.
According to an embodiment of the present disclosure, the third obtaining module further includes: the first processing submodule is configured to match the information item to be changed based on the data change type identifier; a second processing submodule configured to match an information item alteration subtype based on the information item to be altered; a third processing sub-module configured to match an information item alteration method based on the information item alteration subtype; the fourth processing submodule is configured to obtain an information item change value based on the information item change method and the information item data; and the acquisition submodule is configured to acquire data change information based on the information item change value.
A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the above-described method.
A fourth aspect of the present disclosure also provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to perform the above-described method.
A fifth aspect of the disclosure also provides a computer program product comprising a computer program which, when executed by a processor, implements the above method.
Drawings
The foregoing and other objects, features and advantages of the disclosure will be apparent from the following description of embodiments of the disclosure, which proceeds with reference to the accompanying drawings, in which:
fig. 1 schematically shows an application scenario diagram of a data change method and apparatus according to an embodiment of the present disclosure.
FIG. 2 schematically shows a flow chart of a data alteration method according to an embodiment of the present disclosure.
Fig. 3 schematically shows a flowchart of a method of obtaining data change information according to an embodiment of the present disclosure.
FIG. 4 schematically illustrates a flow chart of a method of obtaining data change information according to further embodiments of the present disclosure.
Fig. 5 schematically shows a block diagram of a data alteration apparatus according to an embodiment of the present disclosure.
Fig. 6 schematically shows a block diagram of a third obtaining module according to an embodiment of the present disclosure.
Fig. 7 schematically shows a block diagram of an electronic device adapted to implement a data alteration method according to an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is illustrative only and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It is noted that the terms used herein should be interpreted as having a meaning that is consistent with the context of this specification and should not be interpreted in an idealized or overly formal sense.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a construction is intended in the sense one having skill in the art would understand the convention (e.g., "a system having at least one of A, B and C" would include but not be limited to systems that have a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
It should be noted that the data modification method, apparatus, device, medium, and program product provided in the embodiments of the present disclosure may be applied to database technologies in terms of data modification, and may also be applied to various fields other than database technologies, such as financial fields and the like. The application fields of the data change method, device, equipment, medium and program product provided by the embodiment of the disclosure are not limited.
In the technical scheme of the disclosure, the data acquisition, collection, storage, use, processing, transmission, provision, disclosure, application and other processing are all in accordance with the regulations of relevant laws and regulations, necessary security measures are taken, and the public order and good custom are not violated.
An embodiment of the present disclosure provides a data change method, including: acquiring a data change request instruction, wherein the data change request instruction comprises a data source identifier and a data change type identifier; acquiring information item data based on the data source identification; calling a change configuration model based on the data change type identification, wherein the change configuration model is established based on a preset information item model; and acquiring data change information based on the change configuration model and the information item data, wherein the change configuration model is dynamically adjusted based on business rules.
Fig. 1 schematically shows an application scenario diagram of a data change method and apparatus according to an embodiment of the present disclosure.
As shown in fig. 1, the application scenario 100 according to this embodiment may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 101, 102, 103 to interact with the server 105 via the network 104 to receive or send messages or the like. The terminal devices 101, 102, 103 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 101, 102, 103 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 105 may be a server providing various services, such as a background management server (for example only) providing support for websites browsed by users using the terminal devices 101, 102, 103. The background management server may analyze and perform other processing on the received data such as the user request, and feed back a processing result (e.g., a webpage, information, or data obtained or generated according to the user request) to the terminal device.
It should be noted that the data alteration method provided by the embodiment of the present disclosure may be generally executed by the server 105. Accordingly, the data modification apparatus provided by the embodiment of the present disclosure may be generally disposed in the server 105. The data change method provided by the embodiment of the present disclosure may also be executed by a server or a server cluster that is different from the server 105 and is capable of communicating with the terminal devices 101, 102, 103 and/or the server 105. Accordingly, the data changing device provided in the embodiment of the present disclosure may also be disposed in a server or a server cluster different from the server 105 and capable of communicating with the terminal devices 101, 102, 103 and/or the server 105.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The data alteration method according to the embodiment of the present disclosure will be described in detail below with reference to fig. 2 to 4 based on the scenario described in fig. 1.
FIG. 2 schematically shows a flow chart of a data alteration method according to an embodiment of the present disclosure.
As shown in fig. 2, the data change method of this embodiment includes operations S210 to S240.
In operation S210, a data change request instruction is acquired.
In operation S220, information item data is acquired based on the data source identification.
According to the embodiment of the disclosure, the data change request instruction can be acquired based on the upstream service system. In a typical data change process, the upstream service system completes the approval of the data change related service, and then sends a data change request instruction based on the approval result. It is understood that a unique identifier may be preset on the basis of each upstream service system, and the identifier may serve as a data source identifier, and further, the data change request instruction may include the data source identifier to acquire service data from the corresponding upstream service system, so as to enable specific numerical processing of data change, such as acquisition of information item numerical values. For example, for a banking system, a typical upstream business system may include an asset procurement system, an asset daily management system, an asset retirement handling system, and the like. Accordingly, a unique code corresponding to the upstream traffic system may be set, for example: the system comprises an asset purchasing system-F1, an asset daily management system-F2 and an asset scrapping processing system-F3.
It is understood that the data change request may further include a data change type identifier, and a corresponding data change method, such as a change configuration model, may be invoked according to the data change type identifier. For example, for an asset value change transaction of a banking system, the data change type may include adding (creating) an asset, transferring the asset, preparing a reduced asset value, adjusting the depreciation of the asset, adjusting the original asset value, and the like, and accordingly, it may be set as follows: newly added (created) asset-T1, asset transfer-T2, asset derate prepare-T3, asset depreciation adjust-T4, asset original value adjust-T5, and so on. It is understood that the data change type may further include a plurality of sub-types, for example, the asset transfer may include different situations such as intra-organization transfer, extra-organization transfer, and the like, and accordingly, each data change sub-type may be further provided with a unique identifier and correspond to a unique data change method. Therefore, the data change type identification can be flexibly adjusted and set based on whether the data change subtype exists or not, can be a single identification, and can also contain a main identification and a sub identification so as to meet different data analysis requirements. Different data change types may be associated with different information items, for example, a data change type is an asset-residual rate adjustment, and the associated information item includes an original value and a residual value. Information item data, such as asset raw value data and asset residual value data, may be obtained by associating data source identifiers with corresponding upstream business systems.
In operation S230, a change configuration model is invoked based on the data change type identification.
According to the embodiment of the disclosure, the change configuration model can be established based on a preset information item model, and the change configuration model can be dynamically adjusted based on a business rule. By introducing a preset invariable information item model, the information item change state is abstracted so as to be suitable for efficient data change processing. And further, a configurable change configuration model which can be dynamically adjusted based on business rules is established through the information item model, so that the change of the information items of different business scenes can be flexibly coped with, the data transmission and processing overhead is reduced, and the processing efficiency is improved.
According to the embodiment of the disclosure, the preset information item model comprises M information item change types, the change configuration model comprises information items and information item change types, wherein the number of the information items is Q, each information item corresponds to N information item change types, M and Q are integers greater than or equal to 1, N satisfies 1 ≤ N ≤ M, and N is an integer.
According to a specific embodiment of the present disclosure, a change state type that may be involved may be abstracted to an information item change type based on a change state preset information item model in which the information item may exist. It is understood that the information item change type may at least include a specific value after the target data is changed, that is, after the information item is changed.
In some specific embodiments, the information item change type may further include at least one of a before original data change, an after original data change, an original data change value, an before target data change, and a target data change value. For example, in asset value change of a banking system, when the data change type relates to asset original value adjustment, the original value information item may be related, and correspondingly, the original value information item may relate to at least one information item change type of target data before change, target data after change and target data change value; as another example, in asset value change in a banking system, when the data change type relates to asset transfer, there may be two broad categories of an original asset management entity and an existing asset management entity. The method comprises the steps that an original asset management main body is used as an original data main body, a current asset management main body is used as a target data main body, and three information item change types including before original data change, after original data change and original data change value can exist for the original asset management main body after asset transfer; for the existing asset management body, three information item change types including before target data change, after target data change and target data change value can exist. In some specific embodiments, in order to improve the applicability of the information item model, all information item change types that may be involved in the data change transaction may be configured in the information item model when the information item model is preset. It will be appreciated that different information items may be involved for different types of data changes and different types of information item changes may be established based on the information items, for example, in asset value changes in banking systems, when a data change type relates to asset original value adjustment, an original value information item may be involved without a residual value information item, when an information item is original value, the type of information item change it may involve at least one of before target data change and after target data change, but may not involve before original data change, after original data change, and original data change value since there is no change by the asset management entity. In another aspect, the change configuration model can be established based on the information item model. Wherein the change configuration model is associated with a data change type, different data change types may set different change configuration models, which may contain different information items and information item change types corresponding to each information item. Information items suitable for the current change configuration model and information item change types can be extracted based on the established information item model to enhance the interpretability of data changes.
In the embodiment of the disclosure, at least one of the information items or the information item change types included in the change configuration model can be adjusted based on the business rules, so as to dynamically adjust the change configuration model based on the business rules. It will be appreciated that different data change types may have different business rules, and that business rules may be associated with information items and information item change types to which the current data change type relates. When the business rule changes, the change of the type and the number of the information items and the type and the number of the information item change types corresponding to the information items can be involved. For example, in the original asset value adjustment of an asset value change transaction of a banking system, an original change configuration model only relates to original value information items and target data after change. After the business rule is adjusted, two information item change types of before target data change and target data change value need to be newly added in the change configuration model. At this time, only the corresponding data change type is extracted from the information item model and added to the configuration change model, and the asset value change method does not need to be hard-coded again. It is understood that the information item model and the change configuration model can be established in the form of a data table to facilitate the addition, deletion and modification.
In some specific embodiments, the change configuration model may further include a data change type identifier, an information item to be changed, an information item change subtype, an information item change method, and an information item change value. It will be appreciated that the change configuration model is associated with a particular data change type, which may include a particular information item to be changed that corresponds to a particular information item change subtype, where the information item change subtype is a subset of the information item change types set in the information item model. In some specific examples, the subset may be equal to the full set of information item change types. Further, for a specific information item alteration subtype, an information item alteration method may be corresponded. The information item change value may comprise a numeric value and a non-numeric value. The information item change value may be associated with an information item change method. In some examples, the default value may be preset based on an information item change method, for example, in an asset value change transaction of a banking system, when the data change type relates to asset transfer, the information item may include scrapping, and for the scrapping information item, the change method may include presetting the default value to be N, and if it is determined that scrapping is required, updating the default value to be Y. It can be understood that the information item change value may also be associated with information item data, for example, in an asset transfer class data change across an organization, the information item may further include an asset original value, for an existing asset management subject, the original value information item value may be changed to the existing original value of the asset, and a specific value may be obtained based on a preset change method based on information item data acquired from an upstream service system.
According to a specific embodiment of the present disclosure, changing the configuration model may further include: an information item alteration assist item, which may include at least one of an information item alteration scenario and an information item alteration check. The information item alteration auxiliary item may be associated with an information item to be altered. The information item change scenario may be a description of a state of change of an information item when the information item is changed. The information item change check may be to verify whether a change is required before the change to ensure correctness of the change, corresponding to a particular information item. For example, when an item of obsolete information of a change subtype is involved in a cross-facility asset transfer, its changed state may include modification, addition, etc. For the original asset management party, the state of the scrapped information item can be updated to Y from a default value N, and the state is modified; for the existing asset management party, the state of the scrapped information item can be a default value N, and the state is newly increased. It can be understood that it is important to determine whether the asset has a residual value before scrapping, and thus, when the scrapping information item of the original asset management side needs to be changed, the information item change check is required, and when the scrapping information item of the current asset management side is related, the information item change check is not required. As another example, when an original-value information item of a change subtype is involved in a cross-organizational asset transfer, its information item change scenario may contain modifications, additions, and the like. For the original asset management party, the state of the original value information item can be updated to 0 from the original value numerical value, and then the state is modified; for the existing asset management party, the original value information item status may be null (flow value), and the status is new. It can be understood that, since the original value information item includes a specific numerical value, no matter the original asset manager or the current asset manager, the verification is required before the information item is changed.
In operation S240, data change information is acquired based on the change configuration model and the information item data.
Fig. 3 schematically shows a flowchart of a method of obtaining data change information according to an embodiment of the present disclosure.
As shown in fig. 3, the data change method of this embodiment includes operations S310 to S350.
In operation S310, an information item to be changed is matched based on the data change type identification.
In operation S320, the subtype is changed based on the information item matching information item to be changed.
In operation S330, a subtype-matching information item changing method is changed based on the information item.
In operation S340, an information item change value is acquired based on the information item change method and the information item data.
In operation S350, data change information is acquired based on the information item change value.
According to an embodiment of the present disclosure, after a change configuration model is constructed based on a preset information item model, data change information may be acquired based on the change configuration model and information item data.
The corresponding information item to be changed can be matched based on the data change type identification agreed by the upstream service system and the data change system. Then, the sub-type of the information item to be changed is matched with the corresponding information item change sub-type based on the information item to be changed. Then, the corresponding information item change method can be matched based on the information item change subtype, and a specific information item change value can be obtained according to the information item change method and the information item data. Thus, the data change information can be acquired based on the information item change value. The data change information may include an information item change value, or may include final data change information obtained by further processing according to the information item change value. It is understood that the data change information may also include intermediate information in the data change process. A typical example is that in an asset value change transaction of a banking system, information item change values can be generated for a user to query, and an accounting entry and a transaction history can be generated based on the information item change values.
In the method of acquiring data change information according to another embodiment, when the change configuration model further includes an information item change auxiliary item, between operation S320 and operation S340, operation S410 to operation S420 may replace operation S330.
FIG. 4 schematically illustrates a flow chart of a method of obtaining data change information according to further embodiments of the present disclosure.
As shown in fig. 4, in operation S410, an auxiliary item is changed based on an information item change subtype matching information item.
In operation S420, an auxiliary item matching information item changing method is changed based on the information item.
According to an embodiment of the present disclosure, when the change configuration model further includes an information item change auxiliary item associated with the information item to be changed, for example, at least one of an information item change scenario and an information item change check, since execution of the information item change method may depend on the information item change auxiliary item, the information item change auxiliary item may be matched based on the information item change subtype, and then the information item change method may be matched according to the information item change auxiliary item. For example, when an original-value information item of a change subtype is involved in a cross-facility asset transfer, its information item change scenario may contain modifications, additions, and the like. Different information item changing methods can be respectively associated with the modified scene and the newly added scene. On the other hand, because the original value information item contains a specific numerical value, in order to facilitate accurate calculation, information item change verification can be carried out, and a corresponding information item change method is associated under the condition that verification is not wrong.
According to the data change method provided by the embodiment of the disclosure, the information item model is abstracted, the complex and changeable data changes are uniformly processed into the information item change types, the dynamically adjustable change configuration model is configured according to the data change types, the configurable information items are provided in the change configuration model by using the information item model, the information item changes can be flexibly and efficiently completed according to different service scenes, the interpretability of the data changes is enhanced, the decoupling of services and logics is realized, the expenses of data storage, calculation and transmission are reduced, the efficiency of data processing is improved, and the data change method is convenient for later maintenance.
Based on the data change method, the disclosure also provides a data change device. The apparatus will be described in detail below with reference to fig. 5.
Fig. 5 schematically shows a block diagram of a data alteration apparatus according to an embodiment of the present disclosure.
As shown in fig. 5, the data modification apparatus 500 of this embodiment includes a first obtaining module 510, a second obtaining module 520, a calling module 530, and a third obtaining module 540.
The first obtaining module 510 is configured to obtain a data change request instruction, where the request instruction includes a data source identifier and a data change type identifier.
The second retrieving module 520 is configured to retrieve information item data based on the data source identification.
The calling module 530 is configured to call a change configuration model based on the data change type identification, wherein the change configuration model is built based on an information item model that contains an information item change type.
The third obtaining module 540 is configured to obtain data change information based on the change configuration model and the information item data.
Fig. 6 schematically shows a block diagram of a third obtaining module according to an embodiment of the present disclosure.
As shown in fig. 6, the third obtaining module 540 of this embodiment further includes a first processing sub-module 5401, a second processing sub-module 5402, a third processing sub-module 5403, a fourth processing sub-module 5404, and an acquisition sub-module 5405.
Wherein the first processing submodule 5401 is configured to identify and match the information item to be changed based on the data change type.
The second processing submodule 5402 is configured to match an information item alteration subtype based on said information item to be altered.
The third processing submodule 5403 is configured to match an information item alteration method based on the information item alteration subtype.
The fourth processing submodule 5404 is configured to obtain an information item change value based on the information item change method and the information item data.
The collection submodule 5405 is configured to obtain data change information based on the information item change value.
According to the embodiment of the present disclosure, any plurality of the first obtaining module 510, the second obtaining module 520, the calling module 530, the third obtaining module 540, the first processing sub-module 5401, the second processing sub-module 5402, the third processing sub-module 5403, the fourth processing sub-module 5404, and the collecting sub-module 5405 may be combined into one module to be implemented, or any one of the modules may be split into a plurality of modules. Alternatively, at least part of the functionality of one or more of these modules may be combined with at least part of the functionality of the other modules and implemented in one module. According to the embodiment of the present disclosure, at least one of the first obtaining module 510, the second obtaining module 520, the invoking module 530, the third obtaining module 540, the first processing submodule 5401, the second processing submodule 5402, the third processing submodule 5403, the fourth processing submodule 5404, and the collecting submodule 5405 may be at least partially implemented as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented by hardware or firmware such as any other reasonable manner of integrating or packaging a circuit, or implemented by any one of three implementation manners of software, hardware, and firmware, or by a suitable combination of any of them. Alternatively, at least one of the first obtaining module 510, the second obtaining module 520, the calling module 530, the third obtaining module 540, the first processing sub-module 5401, the second processing sub-module 5402, the third processing sub-module 5403, the fourth processing sub-module 5404, and the collecting sub-module 5405 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.
Fig. 7 schematically shows a block diagram of an electronic device adapted to implement a data alteration method according to an embodiment of the present disclosure.
As shown in fig. 7, an electronic apparatus 900 according to an embodiment of the present disclosure includes a processor 901 which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage portion 908 into a Random Access Memory (RAM) 903. Processor 901 may comprise, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or associated chipset, and/or a special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), among others. The processor 901 may also include on-board memory for caching purposes. The processor 901 may comprise a single processing unit or a plurality of processing units for performing the different actions of the method flows according to embodiments of the present disclosure.
In the RAM 903, various programs and data necessary for the operation of the electronic apparatus 900 are stored. The processor 901, the ROM 902, and the RAM 903 are connected to each other through a bus 904. The processor 901 performs various operations of the method flows according to the embodiments of the present disclosure by executing programs in the ROM 902 and/or the RAM 903. Note that the programs may also be stored in one or more memories other than the ROM 902 and the RAM 903. The processor 901 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
The present disclosure also provides a computer-readable storage medium, which may be contained in the apparatus/device/system described in the above embodiments; or may exist separately and not be assembled into the device/apparatus/system. The computer-readable storage medium carries one or more programs which, when executed, implement the method according to an embodiment of the disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, which may include, for example but is not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. For example, according to embodiments of the present disclosure, a computer-readable storage medium may include the ROM 902 and/or the RAM 903 described above and/or one or more memories other than the ROM 902 and the RAM 903.
Embodiments of the present disclosure also include a computer program product comprising a computer program containing program code for performing the method illustrated in the flow chart. When the computer program product runs in a computer system, the program code is used for causing the computer system to realize the method provided by the embodiment of the disclosure.
The computer program performs the above-described functions defined in the system/apparatus of the embodiments of the present disclosure when executed by the processor 901. The systems, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In one embodiment, the computer program may be hosted on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed in the form of a signal on a network medium, and downloaded and installed through the communication section 909 and/or installed from the removable medium 911. The computer program containing program code may be transmitted using any suitable network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 909, and/or installed from the removable medium 911. The computer program, when executed by the processor 901, performs the above-described functions defined in the system of the embodiment of the present disclosure. The systems, devices, apparatuses, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the present disclosure.
In accordance with embodiments of the present disclosure, program code for executing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, these computer programs may be implemented using high level procedural and/or object oriented programming languages, and/or assembly/machine languages. The programming language includes, but is not limited to, programming languages such as Java, C + +, python, the "C" language, or the like. The program code may execute entirely on the user computing device, partly on the user device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
Those skilled in the art will appreciate that various combinations and/or combinations of features recited in the various embodiments and/or claims of the present disclosure can be made, even if such combinations or combinations are not expressly recited in the present disclosure. In particular, various combinations and/or combinations of the features recited in the various embodiments and/or claims of the present disclosure may be made without departing from the spirit or teaching of the present disclosure. All such combinations and/or associations are within the scope of the present disclosure.
The embodiments of the present disclosure have been described above. However, these examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described separately above, this does not mean that the measures in the embodiments cannot be used in advantageous combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be devised by those skilled in the art without departing from the scope of the present disclosure, and such alternatives and modifications are intended to be within the scope of the present disclosure.
Claims (14)
1. A method of data alteration, comprising:
acquiring a data change request instruction, wherein the data change request instruction comprises a data source identifier and a data change type identifier;
acquiring information item data based on the data source identification;
calling a change configuration model based on the data change type identification, wherein the change configuration model is established based on a preset information item model; and
and acquiring data change information based on the change configuration model and the information item data, wherein the change configuration model is dynamically adjusted based on business rules.
2. The method of claim 1, wherein the preset information item model comprises M information item change types, the change configuration model comprises information items and information item change types, wherein the number of the information items is Q, each information item corresponds to N information item change types, M and Q are integers greater than or equal to 1, N satisfies 1 ≦ N ≦ M, and N is an integer.
3. The method of claim 2, wherein the changing configuration model dynamically adjusts based on business rules comprises:
and adjusting at least one of the information items or the information item change types contained in the change configuration model based on the business rules.
4. The method of claim 2, wherein the information item change type includes at least a target data changed.
5. The method of claim 2, wherein the information item change type further comprises at least one of a prior original data change, a subsequent original data change, an original data change value, a prior target data change, and a target data change value.
6. The method of claim 2, wherein the change configuration model further comprises a data change type identifier, an information item to be changed, an information item change subtype, an information item change method, and an information item change value, wherein the information item change subtype is a subset of the information item change type, and the information item change value is associated with the information item change method and the information item data.
7. The method of claim 6, wherein said altering a configuration model further comprises: an information item alteration auxiliary item, the information item alteration auxiliary item including at least one of an information item alteration scenario and an information item alteration check, the information item alteration auxiliary item being associated with an information item to be altered.
8. The method of claim 6, wherein the obtaining data change information based on the change configuration model and the information item data comprises:
matching the information item to be changed based on the data change type identification;
matching the information item change subtype based on the information item to be changed;
matching the information item alteration method based on the information item alteration subtype;
acquiring the information item change value based on the information item change method and the information item data; and
and acquiring data change information based on the information item change value.
9. The method of claim 8, wherein upon matching the information item alteration subtype based on the information item to be altered, the method further comprises:
matching the information item alteration auxiliary item based on the information item alteration subtype; and
matching the information item alteration method based on the information item alteration auxiliary item,
the information item change auxiliary item comprises at least one of an information item change scene and an information item change check, and the information item change auxiliary item is associated with an information item to be changed.
10. A data modification apparatus, comprising:
the data modification system comprises a first acquisition module, a second acquisition module and a data modification module, wherein the first acquisition module is configured to acquire a data modification request instruction, and the request instruction comprises a data source identifier and a data modification type identifier;
the second acquisition module is configured to acquire the information item data based on the data source identification;
the calling module is configured to call a change configuration model based on the data change type identifier, wherein the change configuration model is established based on an information item model, and the information item model comprises an information item change type; and
a third obtaining module configured to obtain data change information based on the change configuration model and the information item data.
11. The apparatus of claim 10, wherein the third obtaining means further comprises:
the first processing submodule is configured to match the information item to be changed based on the data change type identifier;
a second processing submodule configured to match an information item alteration subtype based on the information item to be altered;
a third processing sub-module configured to match an information item alteration method based on the information item alteration subtype;
the fourth processing submodule is configured to obtain an information item change value based on the information item change method and the information item data; and
and the acquisition submodule is configured to acquire data change information based on the information item change value.
12. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to perform the method of any of claims 1-9.
13. A computer readable storage medium having stored thereon executable instructions which, when executed by a processor, cause the processor to perform the method of any one of claims 1 to 9.
14. A computer program product comprising a computer program which, when executed by a processor, implements a method according to any one of claims 1 to 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111546142.4A CN114218240A (en) | 2021-12-16 | 2021-12-16 | Data changing method, device, equipment, medium and program product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111546142.4A CN114218240A (en) | 2021-12-16 | 2021-12-16 | Data changing method, device, equipment, medium and program product |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114218240A true CN114218240A (en) | 2022-03-22 |
Family
ID=80703205
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111546142.4A Pending CN114218240A (en) | 2021-12-16 | 2021-12-16 | Data changing method, device, equipment, medium and program product |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114218240A (en) |
-
2021
- 2021-12-16 CN CN202111546142.4A patent/CN114218240A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111427971B (en) | Business modeling method, device, system and medium for computer system | |
CN107862425B (en) | Wind control data acquisition method, device and system and readable storage medium | |
CN113507419B (en) | Training method of traffic distribution model, traffic distribution method and device | |
CN115587575A (en) | Data table creation method, target data query method, device and equipment | |
CN111639119B (en) | Customer information query method and equipment in back money laundering system | |
CN115965474A (en) | Service processing method, device, equipment and storage medium | |
CN116932214A (en) | Instruction sending method and device, electronic equipment and computer storage medium | |
CN115689570A (en) | Business information risk identification method, device, equipment and medium | |
CN114881739A (en) | Order event processing method and device, electronic equipment and storage medium | |
CN114218240A (en) | Data changing method, device, equipment, medium and program product | |
CN114218254A (en) | Report generation method, device, equipment and storage medium | |
CN113448578A (en) | Page data processing method, processing system, electronic device and readable storage medium | |
CN114969059B (en) | Method and device for generating order information, electronic equipment and storage medium | |
CN114285743B (en) | Method, device, electronic equipment and storage medium for updating configuration information | |
CN116089411A (en) | Data checking method, device, equipment and storage medium | |
CN116226240A (en) | Business data display method and device, electronic equipment and storage medium | |
CN117395314A (en) | Request processing method, request processing device, electronic equipment and storage medium | |
CN114266547A (en) | Method, device, equipment, medium and program product for identifying business processing strategy | |
CN116414600A (en) | Data automatic checking method, device, equipment and storage medium | |
CN118296023A (en) | Data comparison method, device, equipment, medium and program product | |
CN113393319A (en) | Asset securitization data processing method and device, electronic equipment and medium | |
CN117493443A (en) | Data processing method and device, electronic equipment and readable storage medium | |
CN114138834A (en) | Message processing method, device, equipment, storage medium and program product | |
CN114240220A (en) | Government affair data processing method, device, equipment, medium and program product | |
CN117911158A (en) | Data processing method, device, equipment and storage medium |
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 |