CN112686628A - Data approval and generation method and device, electronic equipment and readable storage medium - Google Patents

Data approval and generation method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN112686628A
CN112686628A CN202011577824.7A CN202011577824A CN112686628A CN 112686628 A CN112686628 A CN 112686628A CN 202011577824 A CN202011577824 A CN 202011577824A CN 112686628 A CN112686628 A CN 112686628A
Authority
CN
China
Prior art keywords
data
user
target data
identification information
screened
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
Application number
CN202011577824.7A
Other languages
Chinese (zh)
Inventor
张春荣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CCB Finetech Co Ltd
Original Assignee
CCB Finetech Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by CCB Finetech Co Ltd filed Critical CCB Finetech Co Ltd
Priority to CN202011577824.7A priority Critical patent/CN112686628A/en
Publication of CN112686628A publication Critical patent/CN112686628A/en
Pending legal-status Critical Current

Links

Images

Abstract

The embodiment of the application provides a method and a device for approving and generating data, electronic equipment and a readable storage medium. The method comprises the following steps: when a query command of a first user is detected, determining the post related information of the first user and the circulation identification information of the first user, which are carried in the query command; and determining target data associated with the first user from the to-be-audited data based on the post related information and the circulation identification information and based on the first association relation and the second association relation so that the first user can carry out approval operation on the target data associated with the first user. In the scheme, the target data is determined through the first incidence relation and the second incidence relation, when the examination and approval positions and the circulation sequence during examination and approval are adjusted, the first incidence relation and the second incidence relation can be adjusted, the examination and approval positions and the circulation sequence during examination and approval are conveniently adjusted, the adjustment flexibility is good, and the actual use requirements can be met.

Description

Data approval and generation method and device, electronic equipment and readable storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for approving and generating data, an electronic device, and a readable storage medium.
Background
In order to ensure the security of transactions in financial institutions (such as banks, etc.), a sanction list is generally set, and business data is screened in each business scene according to the sanction name list, but the screening only through the sanction list cannot ensure hundreds of correctness, so that the screened business data generally needs to be manually approved. When manual approval is carried out, a plurality of posts can be set according to actual requirements, a circulation sequence during approval is set, and workers of all the posts carry out manual approval in sequence according to the circulation sequence.
In actual use, because the approval posts in each business scene and the circulation sequence during approval may be frequently adjusted, the scheme for realizing manual approval in the prior art has poor flexibility when adjusting the approval posts and the circulation sequence during approval, so that the adjustment is inconvenient, and the actual use requirements cannot be met.
Disclosure of Invention
The present application aims to solve at least one of the above technical drawbacks. The technical scheme adopted by the application is as follows:
in a first aspect, an embodiment of the present application provides a method for approving data, where the method includes:
when a query command of a first user is detected, determining the post related information of the first user and the circulation identification information of the first user, which are carried in the query command;
and determining target data associated with the first user from the to-be-audited data based on the post related information and the circulation identification information and based on a first association relation and a second association relation, so that the first user can approve the target data associated with the first user, the first association relation is the association relation between the post related information and the target data, the second association relation is the association relation between the circulation identification information and the target data, and the to-be-audited data comprises the post related information and the circulation identification information.
Optionally, the first and second associative relations are stored in a preconfigured first database table.
Optionally, the method further includes:
when a first modification command for the first incidence relation and the second incidence relation is received, the first database table is modified based on the first modification instruction.
Optionally, when it is detected that the approval operation of the first user on the target data associated with the first user is completed, if the target data associated with the first user is preconfigured with the circulation policy, the method further includes:
the flow identification information in the target data associated with the first user is updated based on the flow policy.
Optionally, the preconfigured flow policy is stored in a preconfigured second database table.
Optionally, the flow policy specifies flow identification information of the second user, and the updating of the flow identification information in the target data associated with the first user based on the flow policy includes:
and updating the circulation identification information in the target data associated with the first user into the circulation identification information of the second user.
Optionally, the method further includes:
when a second modification command to the flow policy is received, modifying the second database table based on the second modification instruction.
Optionally, determining the pending data comprises:
when business data to be screened are received, determining whether the business data to be screened belong to blacklist data;
and if so, generating the data to be screened based on the data to be screened.
Optionally, the method further includes:
and determining the data of the specified service field of the target data associated with the first user as display data, splicing the display data, and providing the spliced display data for the first user.
Optionally, the method further includes:
and when an approval ending instruction of the target data associated with the first user is detected, removing the target data associated with the first user from the to-be-approved data.
Optionally, after removing the target data associated with the first user from the pending data, the method further includes:
target data associated with the first user is determined to be approved data.
In a second aspect, an embodiment of the present application provides a data generation method, where the method includes:
when business data to be screened are received, determining whether the business data to be screened belong to blacklist data;
and if the target data belongs to the target data, generating the to-be-screened data in a preset format based on the to-be-screened data, wherein the to-be-screened data comprises post related information and circulation identification information, the post related information and the circulation identification information are used for determining the target data from the to-be-screened data based on a first incidence relation and a second incidence relation, the first incidence relation is the incidence relation between the post related information and the target data, and the second incidence relation is the incidence relation between the circulation identification information and the target data.
In a third aspect, an embodiment of the present application provides an apparatus for approving data, where the apparatus includes:
the query command receiving module is used for determining the post related information of the first user and the circulation identification information of the first user, which are carried in the query command, when the query command of the first user is detected;
and the target data determining module is used for determining target data associated with the first user from the to-be-audited data based on the post related information and the circulation identification information and based on a first association relation and a second association relation, so that the first user can approve the target data associated with the first user, the first association relation is the association relation between the post related information and the target data, the second association relation is the association relation between the circulation identification information and the target data, and the to-be-audited data comprises the post related information and the circulation identification information.
Optionally, the first and second associative relations are stored in a preconfigured first database table.
Optionally, the apparatus further comprises:
and the database table modification module is used for modifying the first database table based on the first modification instruction when receiving a first modification command for the first incidence relation and the second incidence relation.
Optionally, the apparatus further comprises:
the flow identification updating module is used for updating flow identification information in the target data associated with the first user based on the flow strategy if the target data associated with the first user is pre-configured with the flow strategy when the examination and approval operation of the first user on the target data associated with the first user is detected to be completed.
Optionally, the preconfigured flow policy is stored in a preconfigured second database table.
Optionally, the flow policy specifies flow identification information of the second user, and the flow identification updating module is specifically configured to, when updating the flow identification information in the target data associated with the first user based on the flow policy:
and updating the circulation identification information in the target data associated with the first user into the circulation identification information of the second user.
Optionally, the database table modification module is further configured to:
when a second modification command to the flow policy is received, modifying the second database table based on the second modification instruction.
Optionally, when determining the to-be-reviewed data, the target data determining module is specifically configured to:
when business data to be screened are received, determining whether the business data to be screened belong to blacklist data;
and if so, generating the data to be screened based on the data to be screened.
Optionally, the apparatus further comprises:
and the data display module is used for determining the data of the specified service field of the target data associated with the first user as display data, splicing the display data and providing the spliced display data for the first user.
Optionally, the apparatus further comprises:
and the pending data removing module is used for removing the target data associated with the first user from the pending data when an approval ending instruction of the target data associated with the first user is detected.
Optionally, the apparatus further comprises:
and the approved data determining module is used for determining the target data associated with the first user as approved data after removing the target data associated with the first user from the pending data.
In a fourth aspect, an embodiment of the present application provides an apparatus for generating data, where the apparatus includes:
the blacklist module is used for determining whether the business data to be screened belongs to blacklist data or not when the business data to be screened is received;
and the data generation module is used for generating the to-be-screened data in a preset format based on the to-be-screened data when the to-be-screened business data belongs to the blacklist data, wherein the to-be-screened data comprises post related information and circulation identification information, the post related information and the circulation identification information are used for determining target data from the to-be-screened data based on a first incidence relation and a second incidence relation, the first incidence relation is the incidence relation between the post related information and the target data, and the second incidence relation is the incidence relation between the circulation identification information and the target data.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: a processor and a memory;
a memory for storing operating instructions;
a processor configured to perform the method as shown in any implementation of the first aspect or any implementation of the second aspect of the present application by calling an operation instruction.
In a sixth aspect, embodiments of the present application provide a computer-readable storage medium on which a computer program is stored, which when executed by a processor, implements the method shown in any of the embodiments of the first aspect or any of the embodiments of the second aspect of the present application.
The technical scheme provided by the embodiment of the application has the following beneficial effects:
according to the scheme provided by the embodiment of the application, when the query command of the first user is detected, the post related information of the first user and the circulation identification information of the first user, which are carried in the query command, are determined, so that the target data associated with the first user is determined from the to-be-audited data based on the post related information and the circulation identification information and based on the first association relation and the second association relation, and the first user can approve the target data associated with the first user. In the scheme, the target data is determined through the first incidence relation and the second incidence relation, when the examination and approval positions and the circulation sequence during examination and approval are adjusted, the first incidence relation and the second incidence relation can be adjusted, the examination and approval positions and the circulation sequence during examination and approval are conveniently adjusted, the adjustment flexibility is good, and the actual use requirements can be met.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments of the present application will be briefly described below.
Fig. 1 is a schematic flowchart of a data approval method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart illustrating query of target data according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart illustrating a process of performing approval transfer on target data in a specific embodiment according to an implementation of the present application;
fig. 4 is a schematic flowchart of a data generation method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus for approving data according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a data generation apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present invention.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element or intervening elements may also be present. Further, "connected" or "coupled" as used herein may include wirelessly connected or wirelessly coupled. As used herein, the term "and/or" includes all or any element and all combinations of one or more of the associated listed items.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
There are many business scenarios in financial institutions such as banks, such as international settlement, trade financing, and foreign exchange clearing. In actual use, a service scenario may change, and if a service scenario is newly added, an approval post and a circulation sequence during approval in the service scenario need to be configured. The approval posts may also be changed, for example, a part of the approval posts is added or deleted, and the circulation sequence also needs to be adjusted accordingly.
In the prior art, one way to implement the flow approval of the service data is to add a flag bit in the service data and specify a corresponding relationship between the flag bit and the post, so that the worker can only inquire the service data of the flag bit corresponding to the post of the worker and manually approve the service data, and after the manual approval is completed, the flag bit needs to be updated to correspond to the next approval post, thereby implementing the flow approval of the service data.
As an example, the corresponding relationship between the flag bits and the positions in the prior art is shown in table 1:
TABLE 1
Figure BDA0002863868850000071
In the existing method, when a worker queries data in the background in the system, the worker carries the post information of the current user, and the corresponding data can be queried only by finding the corresponding flag bit mapping according to the current post information in the background program. In this way, some special processing for the approval flow needs to be implemented by program code. If the set initial review post is not approved, the whole process is ended, the circulation review is ended, and the result is notified to the corresponding service system, all the processing logics need to be realized by program codes and cannot be configured, and if a plurality of review posts are added in the original post, the corresponding flag bit information needs to be added, and the corresponding post and the flag bit mapping needs to be added in the codes.
In the prior art, another way to implement the flow approval of the service data is to add a post information field in the service data, so that a worker can only inquire the service data including the post information corresponding to the worker. After the manual approval is completed, the post information field needs to be updated to the next approval post, so that the business data can be transferred and approved. In this way, when the approval positions and the circulation sequence during approval are adjusted, the corresponding program codes also need to be changed.
Therefore, in the scheme for realizing manual approval provided in the prior art, corresponding program codes need to be modified when adjusting the approval post and the circulation sequence during approval, which results in poor adjustment flexibility.
In addition, the scheme provided in the prior art cannot effectively distinguish the data to be audited and the audited data, and is not convenient for counting the data to be audited.
The method, the device, the electronic device and the readable storage medium for approving and generating data provided by the embodiment of the application aim to solve at least one of the above technical problems in the prior art.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 1 shows a schematic flowchart of a data approval method provided in an embodiment of the present application, and as shown in fig. 1, the method mainly includes:
step S110: when a query command of a first user is detected, determining the post related information of the first user and the circulation identification information of the first user, which are carried in the query command;
step S120: and determining target data associated with the first user from the to-be-audited data based on the post related information and the circulation identification information and based on a first association relation and a second association relation, so that the first user can approve the target data associated with the first user, the first association relation is the association relation between the post related information and the target data, the second association relation is the association relation between the circulation identification information and the target data, and the to-be-audited data comprises the post related information and the circulation identification information.
In the embodiment of the application, the pending data may be business data screened according to a sanction list and possibly having a transaction risk. The pending data can be added with the position related information and the circulation identification information.
In the implementation of the application, the post related information may include a post number, a mechanism number and a role number, a user name, and the like. The transfer identification information may be used to identify the approval posts of the data, and as an example, the manual approval of each post worker on the data may be defined as a task, and the transfer identification information may be a task number.
In this embodiment, the first user may be a worker on the approval station, and the first user may query the data approved by the first user by initiating a query command.
In the implementation of the application, the query command may carry the post related information of the first user and the circulation identification information of the first user, so that the target data related to the first user is determined from the to-be-audited data based on the first association relationship and the second association relationship. Specifically, the data including the position related information of the first user and the circulation identification information of the first user may be queried in the pending data, and determined as the target data associated with the first user.
In the embodiment of the application, when the target data associated with the first user is queried, the first user may approve operations of the target data associated with the first user.
Because the target data is searched through the post related information and the circulation identification information according to the first incidence relation and the second incidence relation, when the examination and approval post and the circulation sequence during examination and approval are required to be adjusted, the examination and approval post and the circulation sequence during examination and approval can be dynamically adjusted by adjusting the first incidence relation and the second incidence relation, and the examination and approval post and the circulation sequence during examination and approval are more flexible.
According to the method provided by the embodiment of the application, when the query command of the first user is detected, the post related information of the first user and the circulation identification information of the first user, which are carried in the query command, are determined, so that the target data associated with the first user is determined from the to-be-audited data based on the post related information and the circulation identification information and based on the first association relation and the second association relation, and the first user can approve the target data associated with the first user. In the scheme, the target data is determined through the first incidence relation and the second incidence relation, when the examination and approval positions and the circulation sequence during examination and approval are adjusted, the first incidence relation and the second incidence relation can be adjusted, the examination and approval positions and the circulation sequence during examination and approval are conveniently adjusted, the adjustment flexibility is good, and the actual use requirements can be met.
In an optional manner of the embodiment of the present application, the first association relationship and the second association relationship are stored in a preconfigured first database table.
In the embodiment of the present application, the first association relationship and the second association relationship may be stored in the form of a first database table.
As one example, a first database table may be as shown in table 2:
TABLE 2
Business process template coding Task sequence number Task name
WHT001 WHT001T01 Beginning to examine post
WHT001 WHT001T02 Review post
WHT001 WHT001T03 Row leader examination and approval post
The service flow template codes are identifications of corresponding service scenes, the task sequence numbers are circulation identification information, and the task names are post related information.
In an optional manner of the embodiment of the present application, the method further includes:
when a first modification command for the first incidence relation and the second incidence relation is received, the first database table is modified based on the first modification instruction.
In this embodiment of the application, when the approval post and the flow sequence during approval are adjusted, the first association relationship and the second association relationship may be modified, specifically, a first modification command may be submitted, and the content in the first database table may be modified according to the first modification command.
In an optional manner of the embodiment of the present application, when it is detected that an approval operation of a first user on target data associated with the first user is completed, if the target data associated with the first user is preconfigured with a flow policy, the method further includes:
the flow identification information in the target data associated with the first user is updated based on the flow policy.
In the embodiment of the application, when the target data needs to be examined and approved for circulation among a plurality of posts, a circulation strategy can be configured for the target data in advance, so that the target data are examined and approved in sequence according to a circulation sequence.
In this embodiment, the second user may be the user next post in the streaming order from the first user.
The flow strategy specifies the updating mode of the flow identification information, namely the flow identification information corresponding to the current approval post is updated to the flow identification information of the next post in the flow sequence.
In an optional manner of the embodiment of the present application, the preconfigured flow policy is stored in a preconfigured second database table.
In the embodiment of the application, the circulation policy can be stored in the form of a second database table.
As an example, the second database table may be as shown in table 3:
TABLE 3
Figure BDA0002863868850000111
The business process template is coded into an identifier of a corresponding business scene, the circulation identifier information comprises a starting task serial number and a next task serial number, when the next task serial number is END, the circulation examination and approval can be considered to be completed, and an examination and approval result can be obtained at the moment, namely the examination and approval is passed or the examination and approval is not passed.
In an optional manner of the embodiment of the present application, the flow policy specifies flow identification information of the second user, and the updating of the flow identification information in the target data associated with the first user based on the flow policy includes:
and updating the circulation identification information in the target data associated with the first user into the circulation identification information of the second user.
In the embodiment of the application, the circulation identification information corresponding to each post in the circulation sequence is specified in the circulation strategy, so that when the circulation identification information is updated, the circulation identification information corresponding to the current approval post can be updated to the circulation identification information of the next post in the circulation sequence.
In an optional manner of the embodiment of the present application, the method further includes:
when a second modification command to the flow policy is received, modifying the second database table based on the second modification instruction.
In the embodiment of the application, the flow strategy is stored in the second database table, so that when the flow strategy needs to be adjusted, the content in the second database table can be modified without modifying program codes, and the convenience of adjustment is improved.
As an example, the "next task sequence number" field in Table 3 may be modified.
In an optional manner of the embodiment of the present application, determining pending data includes:
when business data to be screened are received, determining whether the business data to be screened belong to blacklist data;
and if so, generating the data to be screened based on the data to be screened.
In the embodiment of the application, the blacklist data, that is, the data in the sanction list, may be screened for the service data to be screened based on the blacklist data, and the screened data may be converted into the data to be reviewed.
In the embodiment of the application, when the data to be screened is converted into the data to be reviewed, the post related information and the circulation identification information can be added.
In an optional manner of the embodiment of the present application, the method further includes:
and determining the data of the specified service field of the target data associated with the first user as display data, splicing the display data, and providing the spliced display data for the first user.
In the embodiment of the application, after the target data associated with the first user is found out, the specified fields in the target data can be determined as the display data, and the display data is spliced and then displayed to the first user, so that the first user can perform manual approval operation.
In an optional manner of the embodiment of the present application, the method further includes:
and when an approval ending instruction of the target data associated with the first user is detected, removing the target data associated with the first user from the to-be-approved data.
In the embodiment of the application, when the target data associated with the first user is approved by the first user, the first user may submit an approval ending instruction, and then the approved target data may be removed from the pending data.
As one example, a to-be-approved data table may be maintained to facilitate queries on the to-be-approved data.
In an optional manner of this embodiment of the present application, after removing the target data associated with the first user from the pending data, the method further includes:
target data associated with the first user is determined to be approved data.
In the embodiment of the application, after the target data associated with the first user is approved, the approved target data is determined as approved data. As one example, an approved data table may be maintained.
As an example, fig. 2 is a schematic flow chart illustrating a query on target data in a specific embodiment provided in the present application.
As shown in fig. 2, the service information is sent to a screening program for screening, and if blacklist data is hit, the process engine creates a process instance, where the process instance refers to data that needs to be circulated in the process engine, and mainly includes 3 pieces of table information: the system comprises a task proxy step detail information table, a task transacted step detail table and a process example basic information table, wherein the process example basic information table comprises all service data information of the first two tables, the task proxy table and the task transacted table both have information corresponding to a previous process person and information corresponding to a next process person, and the information comprises information such as a post number of an executor, a mechanism number and a role number, and an executor name.
When a user logs in a foreground system and clicks for query, the user can carry information such as posts, roles and the like to the background for query, wherein the post information can be used as a part of authority control, data which can be processed and checked can be queried in a proxy table according to the post information of the user, and field information required by assembly foreground display in a business table is returned to the foreground for display according to the association of the table.
As an example, fig. 3 is a schematic flowchart illustrating a process of performing approval circulation on target data in a specific embodiment provided in this application.
As shown in fig. 3, when the user performs the approval, the approval result is submitted, including passing, returning, and the like, and when the user clicks the corresponding page buttons, the information such as the post and the mechanism of the user is also carried to the background for processing. The background process engine can complete the current task, simultaneously read the former post and the state flow configuration table in real time, finish the state or update the information of the next process according to the configuration information, and at the moment, the approval personnel of the next post logs in to inquire the corresponding data information to be processed.
According to the scheme provided by the embodiment of the application, the post information can be dynamically configured and the post process can be dynamically configured, when the approval process needs to be modified, the program code does not need to be modified, only the data of the table needs to be modified, and the approval process can be conveniently adjusted.
Fig. 4 shows a schematic flow diagram of a data generation method provided in an embodiment of the present application, and as shown in fig. 4, the method mainly includes:
step S210: when business data to be screened are received, determining whether the business data to be screened belong to blacklist data;
step S220: and if the target data belongs to the target data, generating the to-be-screened data in a preset format based on the to-be-screened data, wherein the to-be-screened data comprises post related information and circulation identification information, the post related information and the circulation identification information are used for determining the target data from the to-be-screened data based on a first incidence relation and a second incidence relation, the first incidence relation is the incidence relation between the post related information and the target data, and the second incidence relation is the incidence relation between the circulation identification information and the target data.
In the embodiment of the application, when the business data to be screened is subjected to security screening, whether the business data to be screened belongs to the blacklist data or not can be determined, and the screened data can be converted into the data to be audited.
In the embodiment of the application, the pending data in the predetermined format may be added with the post related information and the circulation identification information.
In this embodiment, the post related information may include a post number, a mechanism number and a role number, a user name, and the like. The transfer identification information may be used to identify the approval posts of the data, and as an example, the manual approval of each post worker on the data may be defined as a task, and the transfer identification information may be a task number.
In the embodiment of the application, a first association relationship and a second association relationship may be preconfigured, where the first association relationship is an association relationship between the post related information and the target data, and the second association relationship is an association relationship between the flow identifier information and the target data. Therefore, when the target data of the user is queried, the target data associated with the user can be determined from the to-be-audited data based on the post related information and the circulation identification information of the user and based on the first association relation and the second association relation. Specifically, data including the post related information of the user and the circulation identification information of the user may be queried in the pending data, and determined as the target data associated with the user.
According to the method provided by the embodiment of the application, when the business data to be screened is received, whether the business data to be screened belongs to the blacklist data or not is determined, when the business data to be screened belongs to the blacklist data, the data to be audited in a preset format is generated based on the business data to be screened, and the data to be audited comprises the post related information and the circulation identification information. The method and the device have the advantages that the post related information and the circulation identification information are added to the to-be-approved data generated based on the scheme, a foundation is provided for determining the target data related to the user from the to-be-approved data based on the post related information and the circulation identification information and based on the first incidence relation and the second incidence relation, when the circulation sequence of the approval post and the approval is adjusted, the method and the device can be realized by adjusting the first incidence relation and the second incidence relation, the approval post and the circulation sequence of the approval are conveniently adjusted, the adjustment flexibility is good, and the actual use requirements can be met.
Based on the same principle as the method shown in fig. 1, fig. 5 shows a schematic structural diagram of an approval apparatus for data provided by an embodiment of the present application, and as shown in fig. 5, the approval apparatus 30 for data may include:
a query command receiving module 310, configured to determine, when a query command of a first user is detected, position related information of the first user and flow identification information of the first user, which are carried in the query command;
the target data determining module 320 is configured to determine, based on the post related information and the circulation identification information, target data associated with the first user from the to-be-audited data, so that the first user performs an approval operation on the target data associated with the first user, where the first association is an association between the post related information and the target data, the second association is an association between the circulation identification information and the target data, and the to-be-audited data includes the post related information and the circulation identification information.
Optionally, the first and second associative relations are stored in a preconfigured first database table.
Optionally, the apparatus further comprises:
and the database table modification module is used for modifying the first database table based on the first modification instruction when receiving a first modification command for the first incidence relation and the second incidence relation.
Optionally, the apparatus further comprises:
the flow identification updating module is used for updating flow identification information in the target data associated with the first user based on the flow strategy if the target data associated with the first user is pre-configured with the flow strategy when the examination and approval operation of the first user on the target data associated with the first user is detected to be completed.
Optionally, the preconfigured flow policy is stored in a preconfigured second database table.
Optionally, the flow policy specifies flow identification information of the second user, and the flow identification updating module is specifically configured to, when updating the flow identification information in the target data associated with the first user based on the flow policy:
and updating the circulation identification information in the target data associated with the first user into the circulation identification information of the second user.
Optionally, the database table modification module is further configured to:
when a second modification command to the flow policy is received, modifying the second database table based on the second modification instruction.
Optionally, when determining the to-be-reviewed data, the target data determining module is specifically configured to:
when business data to be screened are received, determining whether the business data to be screened belong to blacklist data;
and if so, generating the data to be screened based on the data to be screened.
Optionally, the apparatus further comprises:
and the data display module is used for determining the data of the specified service field of the target data associated with the first user as display data, splicing the display data and providing the spliced display data for the first user.
Optionally, the apparatus further comprises:
and the pending data removing module is used for removing the target data associated with the first user from the pending data when an approval ending instruction of the target data associated with the first user is detected.
Optionally, the apparatus further comprises:
and the approved data determining module is used for determining the target data associated with the first user as approved data after removing the target data associated with the first user from the pending data.
It is understood that the above modules of the data approval apparatus in the present embodiment have functions of implementing the corresponding steps of the data approval method in the embodiment shown in fig. 1. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above. The modules can be software and/or hardware, and each module can be implemented independently or by integrating a plurality of modules. For the functional description of each module of the data approval apparatus, reference may be specifically made to the corresponding description of the data approval method in the embodiment shown in fig. 1, and details are not repeated here.
Based on the same principle as the method shown in fig. 4, fig. 6 shows a schematic structural diagram of a data generation apparatus provided in an embodiment of the present application, and as shown in fig. 6, the data generation apparatus 40 may include:
the blacklist module 410 is configured to determine whether the service data to be screened belongs to blacklist data when the service data to be screened is received;
the data generating module 420 is configured to generate, when the service data to be screened belongs to the blacklist data, to-be-screened data in a predetermined format based on the to-be-screened data, where the to-be-screened data includes post related information and circulation identification information, and the post related information and the circulation identification information are used to determine target data from the to-be-screened data based on a first association relationship and a second association relationship, where the first association relationship is an association relationship between the post related information and the target data, and the second association relationship is an association relationship between the circulation identification information and the target data.
According to the device provided by the embodiment of the application, when the business data to be screened is received, whether the business data to be screened belongs to the blacklist data or not is determined, when the business data to be screened belongs to the blacklist data, the data to be audited in a preset format is generated based on the business data to be screened, and the data to be audited comprises the post related information and the circulation identification information. The method and the device have the advantages that the post related information and the circulation identification information are added to the to-be-approved data generated based on the scheme, a foundation is provided for determining the target data related to the user from the to-be-approved data based on the post related information and the circulation identification information and based on the first incidence relation and the second incidence relation, when the circulation sequence of the approval post and the approval is adjusted, the method and the device can be realized by adjusting the first incidence relation and the second incidence relation, the approval post and the circulation sequence of the approval are conveniently adjusted, the adjustment flexibility is good, and the actual use requirements can be met.
It is to be understood that the above modules of the data generation apparatus in the present embodiment have functions of implementing the corresponding steps of the data generation method in the embodiment shown in fig. 4. The function can be realized by hardware, and can also be realized by executing corresponding software by hardware. The hardware or software includes one or more modules corresponding to the functions described above. The modules can be software and/or hardware, and each module can be implemented independently or by integrating a plurality of modules. For the functional description of each module of the data generation apparatus, reference may be specifically made to the corresponding description of the data generation method in the embodiment shown in fig. 4, and details are not repeated here.
The embodiment of the application provides an electronic device, which comprises a processor and a memory;
a memory for storing operating instructions;
and the processor is used for executing the method provided by any embodiment of the application by calling the operation instruction.
As an example, fig. 7 shows a schematic structural diagram of an electronic device to which an embodiment of the present application is applicable, and as shown in fig. 7, the electronic device 2000 includes: a processor 2001 and a memory 2003. Wherein the processor 2001 is coupled to a memory 2003, such as via a bus 2002. Optionally, the electronic device 2000 may also include a transceiver 2004. It should be noted that the transceiver 2004 is not limited to one in practical applications, and the structure of the electronic device 2000 is not limited to the embodiment of the present application.
The processor 2001 is applied to the embodiment of the present application to implement the method shown in the above method embodiment. The transceiver 2004 may include a receiver and a transmitter, and the transceiver 2004 is applied to the embodiments of the present application to implement the functions of the electronic device of the embodiments of the present application to communicate with other devices when executed.
The Processor 2001 may be a CPU (Central Processing Unit), general Processor, DSP (Digital Signal Processor), ASIC (Application Specific Integrated Circuit), FPGA (Field Programmable Gate Array) or other Programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor 2001 may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs and microprocessors, and the like.
Bus 2002 may include a path that conveys information between the aforementioned components. The bus 2002 may be a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like. The bus 2002 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 7, but this is not intended to represent only one bus or type of bus.
The Memory 2003 may be a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical Disc storage, optical Disc storage (including Compact Disc, laser Disc, optical Disc, digital versatile Disc, blu-ray Disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to these.
Optionally, the memory 2003 is used for storing application program code for performing the disclosed aspects, and is controlled in execution by the processor 2001. The processor 2001 is used to execute the application program code stored in the memory 2003 to implement the methods provided in any of the embodiments of the present application.
The electronic device provided by the embodiment of the application is applicable to any embodiment of the method, and is not described herein again.
Compared with the prior art, when a query command of a first user is detected, the post related information of the first user and the circulation identification information of the first user, which are carried in the query command, are determined, so that target data associated with the first user are determined from the to-be-audited data based on the post related information and the circulation identification information and based on the first incidence relation and the second incidence relation, and the first user can approve the target data associated with the first user. In the scheme, the target data is determined through the first incidence relation and the second incidence relation, when the examination and approval positions and the circulation sequence during examination and approval are adjusted, the first incidence relation and the second incidence relation can be adjusted, the examination and approval positions and the circulation sequence during examination and approval are conveniently adjusted, the adjustment flexibility is good, and the actual use requirements can be met.
The present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the method shown in the above method embodiments.
The computer-readable storage medium provided in the embodiments of the present application is applicable to any of the embodiments of the foregoing method, and is not described herein again.
Compared with the prior art, when a query command of a first user is detected, the post related information of the first user and the circulation identification information of the first user, which are carried in the query command, are determined, so that target data associated with the first user are determined from the to-be-audited data based on the post related information and the circulation identification information and based on the first incidence relation and the second incidence relation, and the first user can approve the target data associated with the first user. In the scheme, the target data is determined through the first incidence relation and the second incidence relation, when the examination and approval positions and the circulation sequence during examination and approval are adjusted, the first incidence relation and the second incidence relation can be adjusted, the examination and approval positions and the circulation sequence during examination and approval are conveniently adjusted, the adjustment flexibility is good, and the actual use requirements can be met.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and may be performed in other orders unless explicitly stated herein. Moreover, at least a portion of the steps in the flow chart of the figure may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of other steps.
The foregoing is only a partial embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (16)

1. A method of approving data, comprising:
when a query command of a first user is detected, determining the post related information of the first user and the circulation identification information of the first user, which are carried in the query command;
and determining target data associated with the first user from the to-be-audited data based on the post related information and the circulation identification information and based on a first association relationship and a second association relationship, so that the first user can approve the target data associated with the first user, wherein the first association relationship is the association relationship between the post related information and the target data, the second association relationship is the association relationship between the circulation identification information and the target data, and the to-be-audited data comprises the post related information and the circulation identification information.
2. The method of claim 1, wherein the first incidence relation and the second incidence relation are stored in a preconfigured first database table.
3. The method of claim 2, further comprising:
when a first modification command for a first incidence relation and the second incidence relation is received, modifying the first database table based on the first modification instruction.
4. The method of any one of claims 1-3, wherein upon detecting completion of an approval operation by the first user on target data associated with the first user, if the target data associated with the first user is preconfigured with a flow policy, the method further comprises:
updating the flow identification information in the target data associated with the first user based on the flow policy.
5. The method of claim 4, wherein the preconfigured flow policy is stored in a preconfigured second database table.
6. The method of claim 4, wherein the flow policy specifies flow identification information of a second user, and wherein updating the flow identification information in the target data associated with the first user based on the flow policy comprises:
updating the circulation identification information in the target data associated with the first user to the circulation identification information of the second user.
7. The method of claim 4, further comprising:
when a second modification command to the flow policy is received, modifying the second database table based on the second modification instruction.
8. The method of claim 1, wherein determining the pending data comprises:
when business data to be screened are received, determining whether the business data to be screened belong to blacklist data;
and if so, generating the data to be screened based on the data to be screened.
9. The method of claim 1, further comprising:
and determining the data of the specified business field of the target data associated with the first user as display data, splicing the display data, and providing the spliced display data for the first user.
10. The method of claim 1, further comprising:
when an approval ending instruction of the target data associated with the first user is detected, removing the target data associated with the first user from the to-be-approved data.
11. The method of claim 10, wherein after removing target data associated with the first user from the pending data, the method further comprises:
determining target data associated with the first user as approved data.
12. A method of generating data, comprising:
when business data to be screened are received, determining whether the business data to be screened belong to blacklist data;
and if the target data belongs to the target data, generating the to-be-screened data in a preset format based on the to-be-screened data, wherein the to-be-screened data comprises post related information and circulation identification information, the post related information and the circulation identification information are used for determining the target data from the to-be-screened data based on a first incidence relation and a second incidence relation, the first incidence relation is the incidence relation between the post related information and the target data, and the second incidence relation is the incidence relation between the circulation identification information and the target data.
13. An apparatus for approving data, comprising:
a query command receiving module, configured to determine, when a query command of a first user is detected, position related information of the first user and flow identification information of the first user, which are carried in the query command;
and the target data determining module is used for determining target data associated with the first user from the to-be-audited data based on the post related information and the circulation identification information and based on a first association relationship and a second association relationship so that the first user can approve the target data associated with the first user, the first association relationship is the association relationship between the post related information and the target data, the second association relationship is the association relationship between the circulation identification information and the target data, and the to-be-audited data comprises the post related information and the circulation identification information.
14. An apparatus for generating data, comprising:
the blacklist module is used for determining whether the service data to be screened belongs to blacklist data or not when the service data to be screened is received;
the data generating module is configured to generate to-be-screened data in a predetermined format based on the to-be-screened data when the to-be-screened business data belongs to blacklist data, where the to-be-screened data includes post related information and circulation identification information, and the post related information and the circulation identification information are used to determine target data from the to-be-screened data based on a first association relationship and a second association relationship, where the first association relationship is an association relationship between the post related information and the target data, and the second association relationship is an association relationship between the circulation identification information and the target data.
15. An electronic device comprising a processor and a memory;
the memory is used for storing operation instructions;
the processor is used for executing the method of any one of claims 1-12 by calling the operation instruction.
16. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when being executed by a processor, carries out the method of any one of claims 1-12.
CN202011577824.7A 2020-12-28 2020-12-28 Data approval and generation method and device, electronic equipment and readable storage medium Pending CN112686628A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011577824.7A CN112686628A (en) 2020-12-28 2020-12-28 Data approval and generation method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011577824.7A CN112686628A (en) 2020-12-28 2020-12-28 Data approval and generation method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
CN112686628A true CN112686628A (en) 2021-04-20

Family

ID=75452490

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011577824.7A Pending CN112686628A (en) 2020-12-28 2020-12-28 Data approval and generation method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN112686628A (en)

Similar Documents

Publication Publication Date Title
CN111221726A (en) Test data generation method and device, storage medium and intelligent equipment
CN110060139B (en) Accounting processing method and device
CN110941488A (en) Task processing method, device, equipment and storage medium
CN112860953A (en) Data importing method, device, equipment and storage medium of graph database
CN111445340A (en) Method and device for estimating value of financial product, electronic equipment and readable storage medium
WO2021129005A1 (en) Blockchain state change-based transaction tracking method and device
CN112860802A (en) Database operation statement processing method and device and electronic equipment
CN112686628A (en) Data approval and generation method and device, electronic equipment and readable storage medium
CN111506784B (en) Asset creditor matching method, device, computer equipment and storage medium
US11449499B1 (en) System and method for retrieving data
CN114721943A (en) Method and device for determining test range
CN111291019B (en) Similarity discrimination method and device for data model
CN113822704A (en) Method and device for calculating discount cost, electronic equipment and readable storage medium
CN111915420A (en) Label creating method and device, electronic equipment and computer readable storage medium
CN112907365A (en) Transaction data detection method, device and equipment
CN111815272A (en) Application auditing method and device, electronic equipment and storage medium
CN110517010A (en) A kind of data processing method, system and storage medium
CN114924982A (en) Data comparison test method based on artificial intelligence and related equipment
CN112667659B (en) Feature processing method and related equipment
CN112508387B (en) Case final book examination method, device and equipment
CN116703505A (en) Order information judging method and device
CN116090979A (en) Method and device for generating configuration management application form
CN117557367A (en) Method, device, terminal and storage medium for identifying centralized newspaper
CN112199413A (en) Service request execution method, device, electronic equipment and storage medium
CN117290445A (en) Data processing method, device, equipment and medium applied to item data synchronization

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