Task distribution method, device, equipment and storage medium
By storing preset template data information in the blockchain, adjusting and filling the data information to be distributed to match the preset template, the problem of cumbersome process of re-task distribution in the existing technology is solved, and efficient task distribution and template expansion are achieved sex.
Patent Information
- Application Number
- CN202010926971.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-03
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2040-09-03
AI Technical Summary
The existing technology requires a series of cumbersome processes to be carried out again when distributing tasks again, affecting the efficiency of distributing tasks.
By storing preset template data information in the blockchain, when the attribute parameter information of the data to be distributed is inconsistent with the preset template data information, the preset template data information is adjusted to match the data to be distributed, and the adjusted data is adjusted Fill in the template and distribute the content.
Directly obtain the differences between the two distributions and modify them according to the differences, avoiding the cumbersome process required for each distribution, significantly improving the efficiency of task distribution, and improving the scalability of templates.
Smart Images

Figure CN112070479B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a task distribution method, device, equipment and storage medium. Background Art
[0002] In the general task distribution process, a series of processes are required, such as distribution, reassignment, reporting, submission and review. That is, the data uploaded by the user, such as the content of the Excel table, is used as a template through the online task flow, and a data period is selected for task distribution, and the data is distributed to the corresponding department for data reporting and collection. However, when the selected data period has been distributed, the reported data will be cleared when it is distributed again, and a series of processes need to be collected again, which affects the efficiency of task distribution.
[0003] The above contents are only used to assist in understanding the technical solution of the present invention and do not constitute an admission that the above contents are prior art. Summary of the invention
[0004] The main purpose of the present invention is to provide a task distribution method, device, equipment and storage medium, aiming to solve the technical problem that a series of cumbersome processes need to be carried out again when redistributing tasks in the prior art, which affects the efficiency of task distribution.
[0005] To achieve the above object, the present invention provides a task distribution method, which comprises the following steps:
[0006] Obtaining a task distribution instruction, and extracting the data information to be distributed in the task distribution instruction;
[0007] Searching for corresponding preset template data information according to the data information to be distributed, wherein the preset template data information is stored in the blockchain;
[0008] Extracting attribute parameter information of the data information to be distributed, and comparing the attribute parameter information of the data information to be distributed with the attribute parameter information in the preset template data information;
[0009] When the attribute parameter information of the data information to be distributed is inconsistent with the attribute parameter information in the preset template data information, the attribute parameter information in the preset template data information is adjusted to the attribute parameter information of the data information to be distributed, so as to obtain the adjusted preset template attribute information;
[0010] Acquire data content information in the data information to be distributed, fill the data content information into the adjusted preset template attribute information, and obtain adjusted preset template data information;
[0011] The adjusted preset template data information is distributed.
[0012] Preferably, before the step of searching for corresponding preset template data information according to the data information to be distributed, the method further includes:
[0013] Obtain historical distribution data information stored on the distribution platform;
[0014] Comparing the data information to be distributed with the historical distributed data information to determine whether the data information to be distributed is stored on the distribution platform;
[0015] When the data information to be distributed is stored on the distribution platform, the step of searching for corresponding preset template data information according to the data information to be distributed is performed.
[0016] Preferably, the step of searching for corresponding preset template data information according to the data information to be distributed includes:
[0017] Extracting data information from the data information to be distributed;
[0018] Encode the data information by using a preset algorithm to obtain coded information, and use the coded information as data period information;
[0019] The corresponding preset template data information is searched according to the data period information.
[0020] Preferably, the step of acquiring data content information in the data information to be distributed, filling the data content information into the adjusted preset template attribute information, and obtaining the adjusted preset template data information includes:
[0021] Acquire data content information in the data information to be distributed, and determine whether the data content information exists in the adjusted preset template attribute information;
[0022] When the data content information is not stored in the adjusted preset template attribute information, the data content information is filled into the adjusted preset template attribute information to obtain the adjusted preset template data information.
[0023] Preferably, the step of acquiring data content information in the data information to be distributed, filling the data content information into the adjusted preset template attribute information, and obtaining the adjusted preset template data information includes:
[0024] Acquire data content information in the data information to be distributed, and compare the data content information of the data information to be distributed with the data content information in the preset template data information;
[0025] When the data content information of the data information to be distributed is inconsistent with the data content information in the preset template data information, the data content information in the preset template data information is adjusted to the data content information of the data information to be distributed to obtain the adjusted preset template data information.
[0026] Preferably, after the step of acquiring the data content information in the data information to be distributed, filling the data content information into the adjusted preset template attribute information, and obtaining the adjusted preset template data information, the step further includes:
[0027] Acquire modification instruction information, and extract attribute adjustment information in the modification instruction information;
[0028] Adjust the attribute information in the adjusted preset template data information according to the attribute adjustment information to obtain the first target template data information;
[0029] Accordingly, the step of distributing the adjusted preset template data information includes:
[0030] Distribute the first target template data information.
[0031] Preferably,
[0032] After the step of acquiring the data content information in the data information to be distributed, and filling the data content information into the adjusted preset template attribute information, and obtaining the adjusted preset template data information, the method further includes:
[0033] Acquire modification instruction information, and extract data adjustment information in the modification instruction information;
[0034] Adjust the data information in the adjusted preset template data information according to the data adjustment information to obtain second target template data information;
[0035] Accordingly, the step of distributing the adjusted preset template data information includes:
[0036] Distribute the second target template data information.
[0037] In addition, to achieve the above object, the present invention also proposes a task distribution device, the task distribution device comprising:
[0038] An acquisition module is used to acquire a task distribution instruction and extract the data information to be distributed in the task distribution instruction;
[0039] A search module, used to search for corresponding preset template data information according to the data information to be distributed, wherein the preset template data information is stored in the blockchain;
[0040] A comparison module, used for extracting the attribute parameter information of the data information to be distributed, and comparing the attribute parameter information of the data information to be distributed with the attribute parameter information in the preset template data information;
[0041] An adjustment module, configured to adjust the attribute parameter information in the preset template data information to the attribute parameter information of the data information to be distributed, to obtain adjusted attribute information of the preset template, when the attribute parameter information of the data information to be distributed is inconsistent with the attribute parameter information in the preset template data information;
[0042] An adding module, used for acquiring data content information in the data information to be distributed, filling the data content information into the adjusted preset template attribute information, and obtaining the adjusted preset template data information;
[0043] The distribution module is used to distribute the adjusted preset template data information.
[0044] In addition, to achieve the above-mentioned purpose, the present invention also proposes a task distribution device, which includes: a memory, a processor, and a task distribution program stored in the memory and executable on the processor, wherein the task distribution program is configured to implement the steps of the task distribution method described above.
[0045] In addition, to achieve the above object, the present invention also proposes a storage medium, wherein a task distribution program is stored on the storage medium, and when the task distribution program is executed by the processor, the steps of the task distribution method described above are implemented.
[0046] The present invention compares the template with the preset template data information that has been distributed when distributing the task again. When the attribute parameter information of the data information to be distributed is inconsistent with the attribute parameter information in the preset template data information, the attribute parameter information in the preset template data information is adjusted to the attribute parameter information of the data information to be distributed, and the adjusted preset template attribute information is obtained; the data content information in the data information to be distributed is obtained, and the data content information is filled into the adjusted preset template attribute information to obtain the adjusted preset template data information; and the adjusted preset template data information is distributed. The difference between the two distributions can be directly obtained, and then the differences are modified. Compared with the existing distribution, each distribution needs to go through a series of processes such as distribution, reassignment, filling, submission, and review, the present invention does not need to go through a cumbersome process, and the efficiency of the task distribution is greatly improved. At the same time, the extensibility of the template is greatly improved, thereby saving a lot of time for business personnel, and the work efficiency can also be significantly improved. The technical problem that the existing technology needs to go through a series of cumbersome processes again when distributing tasks again, which affects the efficiency of task distribution, is solved. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] Figure 1 It is a schematic diagram of the structure of a device in a hardware operating environment involved in an embodiment of the present invention;
[0048] Figure 2 It is a flowchart of the first embodiment of the task distribution method of the present invention;
[0049] Figure 3 A schematic diagram of distribution modification information in an embodiment of a task distribution method of the present invention;
[0050] Figure 4 It is a flowchart of a second embodiment of the task distribution method of the present invention;
[0051] Figure 5 A schematic diagram of a flow chart of a third embodiment of a task distribution method of the present invention;
[0052] Figure 6 It is a structural block diagram of the first embodiment of the task distribution device of the present invention.
[0053] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0054] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0055] Reference Figure 1 , Figure 1 The figure is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention.
[0056] like Figure 1As shown, the device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0057] Those skilled in the art will understand that Figure 1 The structure shown in the figure does not constitute a limitation of the device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0058] like Figure 1 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module and a task distribution program.
[0059] exist Figure 1 In the device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the device of the present invention can be set in the device, and the device calls the task distribution program stored in the memory 1005 through the processor 1001, and executes the task distribution method provided by the embodiment of the present invention.
[0060] The embodiment of the present invention provides a task distribution method, referring to Figure 2 , Figure 2 It is a flowchart of the first embodiment of the task distribution method of the present invention.
[0061] In this embodiment, the task distribution method includes the following steps:
[0062] Step S10: Obtain a task distribution instruction, and extract the data information to be distributed in the task distribution instruction.
[0063] It should be noted that the execution subject of the method of this embodiment may be a task distribution device. The task distribution instruction may be a task distribution instruction generated after operating through a task distribution interface, or may be a task distribution instruction triggered according to task requirements. This embodiment does not limit this. In this embodiment, the task distribution instruction generated by operating through a task distribution interface is used as an example for description.
[0064] In this embodiment, the data information to be distributed may include data attribute information and corresponding processing department information. For example, the data attribute information may include the responsible department, reporting department, and operation, and the processing department information may include the office and duct department, etc.
[0065] It can be understood that, when data is generally distributed, the corresponding basic distribution template is selected for distribution according to the data information to be distributed, and the data information to be distributed is obtained based on the distribution content on the basis of the basic distribution template. However, when the data is redistributed, the basic distribution template will first clear the data, and then fill the redistributed content into the basic distribution template for distribution. In this case, even if the redistributed content is the same as the content distributed last time, the process of re-filling the basic distribution template with the distribution content must be carried out again, which leads to a decrease in the efficiency of task distribution. This embodiment is mainly used in scenarios where multiple tasks are distributed for the same data.
[0066] Step S20: searching for corresponding preset template data information according to the data information to be distributed, wherein the preset template data information is stored in the blockchain.
[0067] It is easy to understand that, in this embodiment, the preset template data information is the saved and distributed template data information, and the preset template data information may include data attribute information and corresponding data content information.
[0068] In a specific implementation, the data issue information in the data information to be distributed is extracted, and the corresponding preset template data information is searched according to the data issue information, wherein the data issue information can be encoded by a preset algorithm to obtain unique encoding information, and the encoding information is used as the data issue information. The data issue information can also be obtained by other means, which is not limited in this embodiment. The data issue information can be used to achieve effective identification with other data.
[0069] It should be emphasized that in order to further ensure the privacy and security of the above-mentioned preset template data information, the above-mentioned preset template data information can also be stored in a node of a blockchain.
[0070] Step S30: extracting the attribute parameter information of the data information to be distributed, and comparing the attribute parameter information of the data information to be distributed with the attribute parameter information in the preset template data information.
[0071] It should be noted that the attribute parameter information is the data content corresponding to the attribute information. For example, the data content corresponding to the responsible department is the office, and the data content corresponding to the data information currently to be distributed is the actuarial department. That is, by comparing the office with the actuarial department, it is found that there is a difference between the two, thereby realizing the identification of difference information.
[0072] It is understandable that in a specific implementation, when the same data period is distributed twice, under what circumstances, the template data corresponding to the two distributions are generally not much different. Usually, it is the responsible reporting department or responsible department that modifies one or more data. Relatively speaking, most of the template data corresponding to the two distributions will not change. Therefore, the preset template data information is modified by comparing the differences, and indicators are collected for the changed data. Compared with the existing direct coverage and re-reporting and collection process, this can greatly save reporting time and ensure the consistency of the reported data.
[0073] Step S40: When the attribute parameter information of the data information to be distributed is inconsistent with the attribute parameter information in the preset template data information, the attribute parameter information in the preset template data information is adjusted to the attribute parameter information of the data information to be distributed, so as to obtain the adjusted preset template attribute information.
[0074] It should be understood that in the specific implementation, the template data of the preset template data information is modified by finding the frequently modified fields and comparing the differences between the frequently modified fields in the two distribution processes during distribution. The database is designed, including parameter tables: data period, indicator name, reporting department and responsible department, and reporting tables: data period, indicator name, reporting department, responsible department and parameter id (used to associate parameter tables) and other special fields.
[0075] In this embodiment, indicators are collected for the changed data, and when distributing, the responsible department and the reporting department of the same indicator are compared based on the data period to see whether there are any differences between the two distributions. If there are any differences, the places where the differences exist are obtained, and only the places where the differences exist are displayed on the template data page, and the places where no differences exist are not modified. At the same time, the data displayed on the page allows users to choose whether to modify it, thereby achieving flexibility in distribution, which greatly shortens the cumbersome process of the online task flow.
[0076] In this embodiment, due to multiple task distributions under the same data period, the difference between the two data distributed under the data period is compared, the reported data results are retained, and only the differences are displayed on the template data page. The user can see the differences between the template data distributed twice, and the user can choose whether to modify the differences. If modifications are required, only the differences need to be modified, and the indicator collection process is carried out again for the changed data. This can save users a lot of time and energy.
[0077] Step S50: obtaining data content information in the data information to be distributed, and filling the data content information into the adjusted preset template attribute information to obtain the adjusted preset template data information.
[0078] It should be noted that the adjusted preset template data information includes not only the attribute information in the template, but also the data content information. Figure 3 ,For example Figure 3 The modified responsible department and the modified reporting department are obtained, so as to obtain the difference between the distribution template corresponding to the current distribution data and the pre-stored distribution template, and then only the template attributes of the difference part are processed to obtain the data content in the data information to be distributed, such as the actuarial department and the air duct department, and the actuarial department is filled in the modified responsible department, and the air duct department is filled in the modified reporting department, so as to generate new preset template data information, that is, the adjusted preset template data information.
[0079] In this embodiment, it is also possible to determine whether corresponding data information is stored in the adjusted preset template attribute information. When data content information is stored in the adjusted preset template attribute information, the data content information is replaced with the adjusted preset template attribute information; when data content information is not stored in the adjusted preset template attribute information, the data content information is filled into the adjusted preset template attribute information, thereby realizing flexible processing of template data.
[0080] In a specific implementation, the adjusted preset template attribute information also includes modification information, through which the data content information or attribute information can be flexibly adjusted according to user needs. Specifically, modification instruction information is obtained, the attribute adjustment information and data adjustment information in the modification instruction information are extracted, the attribute information in the adjusted preset template data information is adjusted according to the attribute adjustment information, and the data content information in the adjusted preset template data information is adjusted according to the data adjustment information.
[0081] Step S60: Distribute the adjusted preset template data information.
[0082] It should be noted that by comparing the template with the data already distributed in the current data period during distribution, the difference between the two distributions can be found directly, and then modifications can be made to different places. There is no need to go through the process of task distribution, deletion of data under the current data period, deletion of related files, distribution and reassignment, filling in, submission for review and approval for each distribution. This greatly improves the scalability of the template, thereby saving a lot of time for business personnel and significantly improving work efficiency.
[0083] This embodiment obtains a task distribution instruction and extracts the data information to be distributed in the task distribution instruction; searches for the corresponding preset template data information according to the data information to be distributed, wherein the preset template data information is stored in the blockchain; extracts the attribute parameter information of the data information to be distributed, and compares the attribute parameter information of the data information to be distributed with the attribute parameter information in the preset template data information; when the attribute parameter information of the data information to be distributed is inconsistent with the attribute parameter information in the preset template data information, the attribute parameter information in the preset template data information is adjusted to the attribute parameter information of the data information to be distributed, so as to obtain the adjusted preset template attribute information; obtains the data content information in the data information to be distributed, fills the data content information into the adjusted preset template attribute information, so as to obtain the adjusted preset template data information; and distributes the adjusted preset template data information. The difference between the two distributions can be directly obtained, and then the differences can be modified. Compared with the existing distribution, each distribution needs to go through a series of processes such as distribution, re-distribution, filling, submission and review, the second task distribution does not need to go through a cumbersome process, and the efficiency of the second task distribution is greatly improved. At the same time, the scalability of the template has been greatly improved, which also saves a lot of time for business personnel and significantly improves work efficiency. It solves the technical problem that the existing technology needs to go through a series of cumbersome processes again when distributing tasks again, which affects the efficiency of task distribution.
[0084] refer to Figure 4 , Figure 4 Schematic diagram of the second embodiment of the method of the present invention.
[0085] Based on the above first embodiment, in this embodiment, step S20 includes:
[0086] Step S201: extracting data information from the data information to be distributed.
[0087] It should be noted that, in a specific implementation, the data period information in the data information to be distributed can be extracted, and the corresponding preset template data information can be searched according to the data period information.
[0088] In this embodiment, the data information to be distributed may include data attribute information and corresponding processing department information, for example, the data attribute information may include a responsible department, a reporting department, and an operation, etc., and the processing department information may include an office and a duct department, etc. Extracting the data information from the data information to be distributed may be extracting the data attribute information from the data information to be distributed.
[0089] Step S202: Encode the data information using a preset algorithm to obtain coded information, and use the coded information as data phase information.
[0090] It is easy to understand that the data issue information can be obtained by encoding the data information in the data information to be distributed through a preset algorithm to obtain unique coding information, and the coding information is used as the data issue information, or the data issue information can be obtained by other means, which is not limited in this embodiment. The data issue information can be effectively identified with other data. The data attribute information can be encoded through a preset algorithm to obtain coding information, and the coding information is used as the data issue information.
[0091] Step S203: searching for corresponding preset template data information according to the data period information.
[0092] It should be noted that the data information to be distributed can be compared with the distribution data already stored on the distribution platform to determine whether the data information to be distributed is stored on the distribution platform. When the data information to be distributed is stored on the distribution platform, the step of searching for the corresponding preset template data information according to the data information to be distributed is executed. When the data information to be distributed is not stored on the distribution platform, the data information to be distributed is refilled.
[0093] Since this embodiment is mainly used for multiple task distribution of the same data, when distributing data belonging to the same attribute, it is no longer necessary to re-fill the data through the template and then distribute it, but to directly process it on the original template, thereby improving data efficiency. In a specific implementation, it is possible to determine whether the data already exists based on the selected data period information, and if the data exists, it is determined whether there is a difference between the two distributions, so that only the difference part needs to be processed.
[0094] This embodiment extracts the data information from the data information to be distributed; encodes the data information through a preset algorithm to obtain the encoded information, and uses the encoded information as the data period information; and searches for the corresponding preset template data information according to the data period information. In a specific implementation, it is possible to determine whether the data already exists based on the selected data period information. If the data exists, it is then determined whether there is a difference between the two distributions, so that only the difference needs to be processed. Compared with the existing distribution, each distribution needs to go through a series of processes such as distribution, reassignment, filling, submission and review, etc., without going through cumbersome processes, the efficiency of re-task distribution is greatly improved, and the scalability of the template is greatly improved, thereby saving a lot of time for business personnel and significantly improving work efficiency. It solves the technical problem that the existing technology needs to go through a series of cumbersome processes again when distributing tasks again, which affects the efficiency of task distribution.
[0095] refer to Figure 5 , Figure 5 Schematic diagram of the process of the third embodiment of the method of the present invention.
[0096] Based on the above embodiments, in this embodiment, after step S50, the following steps are further included:
[0097] Step S501: Acquire modification instruction information, and extract attribute adjustment information from the modification instruction information.
[0098] It should be noted that manual modification can be performed according to user needs to achieve more flexible data distribution. The modification instruction information input by the user is obtained, and the attribute adjustment information in the modification instruction information is extracted. Among them, the modification instruction information input by the user may include attribute adjustment information, data adjustment information and other information according to actual input, which is limited in this embodiment.
[0099] Step S502: adjusting the attribute information in the adjusted preset template data information according to the attribute adjustment information to obtain first target template data information.
[0100] It is understandable that, according to the user-defined attribute adjustment information, the attribute information in the adjusted preset template data information can be adjusted to obtain the first target template data information. It is also possible to adjust the data information in the adjusted preset template data information according to the user-defined data adjustment information to obtain the second target template data information.
[0101] Accordingly, step S60 includes:
[0102] S601: Distribute the first target template data information.
[0103] It is easy to understand that, according to the user-defined attribute adjustment information, the attribute information in the adjusted preset template data information can be adjusted to obtain the first target template data information, and the first target template data information is distributed. If the modification instruction information input by the user includes data adjustment information, the data information in the adjusted preset template data information can be adjusted according to the user-defined data adjustment information to obtain the second target template data information, and the second target template data information is distributed.
[0104] It should be noted that modification instruction information can also be obtained, and the modification instruction information input by the user includes attribute adjustment information and data adjustment information, and the attribute adjustment information and data adjustment information in the modification instruction information are extracted; the data information in the adjusted preset template data information is adjusted according to the attribute adjustment information; the data information in the adjusted preset template data information is adjusted according to the data adjustment information, and finally the target template data information is obtained; accordingly, the step of distributing the adjusted preset template data information may include: distributing the target template data information.
[0105] In this embodiment, by acquiring modification instruction information, the attribute adjustment information in the modification instruction information is extracted; according to the attribute adjustment information, the attribute information in the adjusted preset template data information is adjusted to obtain the first target template data information; accordingly, the step of distributing the adjusted preset template data information includes: distributing the first target template data information. Modification instruction information can also be acquired to extract data adjustment information in the modification instruction information; according to the data adjustment information, the data information in the adjusted preset template data information is adjusted to obtain the second target template data information; accordingly, the step of distributing the adjusted preset template data information can include: distributing the second target template data information. This embodiment can be manually modified according to user needs, thereby achieving more flexible data distribution.
[0106] In addition, an embodiment of the present invention further provides a storage medium, on which a task distribution program is stored. When the task distribution program is executed by a processor, the steps of the task distribution method described above are implemented.
[0107] Reference Figure 6 , Figure 6 It is a structural block diagram of the first embodiment of the task distribution device of the present invention.
[0108] like Figure 6 As shown, the task distribution device proposed in the embodiment of the present invention includes:
[0109] The acquisition module 10 is used to acquire the task distribution instruction and extract the data information to be distributed in the task distribution instruction.
[0110] It should be noted that the execution subject of the method of this embodiment may be a task distribution device. The task distribution instruction may be a task distribution instruction generated after operating through a task distribution interface, or may be a task distribution instruction triggered according to task requirements. This embodiment does not limit this. In this embodiment, the task distribution instruction generated by operating through a task distribution interface is used as an example for description.
[0111] In this embodiment, the data information to be distributed may include data attribute information and corresponding processing department information. For example, the data attribute information may include the responsible department, reporting department, and operation, and the processing department information may include the office and duct department, etc.
[0112] It can be understood that, when data is generally distributed, the corresponding basic distribution template is selected for distribution according to the data information to be distributed, and the data information to be distributed is obtained based on the distribution content on the basis of the basic distribution template. However, when the data is redistributed, the basic distribution template will first clear the data, and then fill the redistributed content into the basic distribution template for distribution. In this case, even if the redistributed content is the same as the content distributed last time, the process of re-filling the basic distribution template with the distribution content must be carried out again, which leads to a decrease in the efficiency of task distribution. This embodiment is mainly used in scenarios where multiple tasks are distributed for the same data.
[0113] The search module 20 is used to search for corresponding preset template data information according to the data information to be distributed, wherein the preset template data information is stored in the blockchain.
[0114] It is easy to understand that, in this embodiment, the preset template data information is the saved and distributed template data information, and the preset template data information may include data attribute information and corresponding data content information.
[0115] In a specific implementation, the data issue information in the data information to be distributed is extracted, and the corresponding preset template data information is searched according to the data issue information, wherein the data issue information can be encoded by a preset algorithm to obtain unique encoding information, and the encoding information is used as the data issue information. The data issue information can also be obtained by other means, which is not limited in this embodiment. The data issue information can be used to achieve effective identification with other data.
[0116] It should be emphasized that in order to further ensure the privacy and security of the above-mentioned preset template data information, the above-mentioned preset template data information can also be stored in a node of a blockchain.
[0117] The comparison module 30 is used to extract the attribute parameter information of the data information to be distributed, and compare the attribute parameter information of the data information to be distributed with the attribute parameter information in the preset template data information.
[0118] It should be noted that the attribute parameter information is the data content corresponding to the attribute information. For example, the data content corresponding to the responsible department is the office, and the data content corresponding to the data information currently to be distributed is the actuarial department. That is, by comparing the office with the actuarial department, it is found that there is a difference between the two, thereby realizing the identification of difference information.
[0119] It is understandable that in a specific implementation, when the same data period is distributed twice, under what circumstances, the template data corresponding to the two distributions are generally not much different. Usually, it is the responsible reporting department or responsible department that modifies one or more data. Relatively speaking, most of the template data corresponding to the two distributions will not change. Therefore, the preset template data information is modified by comparing the differences, and indicators are collected for the changed data. Compared with the existing direct coverage and re-reporting and collection process, this can greatly save reporting time and ensure the consistency of the reported data.
[0120] The adjustment module 40 is used to adjust the attribute parameter information in the preset template data information to the attribute parameter information of the data information to be distributed, so as to obtain the adjusted preset template attribute information when the attribute parameter information of the data information to be distributed is inconsistent with the attribute parameter information in the preset template data information.
[0121] It should be understood that in the specific implementation, the template data of the preset template data information is modified by finding the frequently modified fields and comparing the differences between the frequently modified fields in the two distribution processes during distribution. The database is designed, including parameter tables: data period, indicator name, reporting department and responsible department, and reporting tables: data period, indicator name, reporting department, responsible department and parameter id (used to associate parameter tables) and other special fields.
[0122] In this embodiment, indicators are collected for the changed data, and when distributing, the responsible department and the reporting department of the same indicator are compared based on the data period to see whether there are any differences between the two distributions. If there are any differences, the places where the differences exist are obtained, and only the places where the differences exist are displayed on the template data page, and the places where no differences exist are not modified. At the same time, the data displayed on the page allows users to choose whether to modify it, thereby achieving flexibility in distribution, which greatly shortens the cumbersome process of the online task flow.
[0123] In this embodiment, due to multiple task distributions under the same data period, the difference between the two data distributed under the data period is compared, the reported data results are retained, and only the differences are displayed on the template data page. The user can see the differences between the template data distributed twice, and the user can choose whether to modify the differences. If modifications are required, only the differences need to be modified, and the indicator collection process is carried out again for the changed data. This can save users a lot of time and energy.
[0124] The adding module 50 is used to obtain data content information in the data information to be distributed, fill the data content information into the adjusted preset template attribute information, and obtain the adjusted preset template data information.
[0125] It should be noted that the adjusted preset template data information includes not only the attribute information in the template, but also the data content information. Figure 3 ,For example Figure 3 The modified responsible department and the modified reporting department are obtained, so as to obtain the difference between the distribution template corresponding to the current distribution data and the pre-stored distribution template, and then only the template attributes of the difference part are processed to obtain the data content in the data information to be distributed, such as the actuarial department and the air duct department, and the actuarial department is filled in the modified responsible department, and the air duct department is filled in the modified reporting department, so as to generate new preset template data information, that is, the adjusted preset template data information.
[0126] In this embodiment, it is also possible to determine whether corresponding data information is stored in the adjusted preset template attribute information. When data content information is stored in the adjusted preset template attribute information, the data content information is replaced with the adjusted preset template attribute information; when data content information is not stored in the adjusted preset template attribute information, the data content information is filled into the adjusted preset template attribute information, thereby realizing flexible processing of template data.
[0127] In a specific implementation, the adjusted preset template attribute information also includes modification information, through which the data content information or attribute information can be flexibly adjusted according to user needs. Specifically, modification instruction information is obtained, the attribute adjustment information and data adjustment information in the modification instruction information are extracted, the attribute information in the adjusted preset template data information is adjusted according to the attribute adjustment information, and the data content information in the adjusted preset template data information is adjusted according to the data adjustment information.
[0128] The distribution module 60 is used to distribute the adjusted preset template data information.
[0129] It should be noted that by comparing the template with the data already distributed in the current data period during distribution, the difference between the two distributions can be found directly, and then modifications can be made to different places. There is no need to go through the process of task distribution, deletion of data under the current data period, deletion of related files, distribution and reassignment, filling in, submission for review and approval for each distribution. This greatly improves the scalability of the template, thereby saving a lot of time for business personnel and significantly improving work efficiency.
[0130] In this embodiment, the acquisition module 10 is used to acquire the task distribution instruction and extract the data information to be distributed in the task distribution instruction; the search module 20 is used to search for the corresponding preset template data information according to the data information to be distributed, wherein the preset template data information is stored in the blockchain; the comparison module 30 is used to extract the attribute parameter information of the data information to be distributed, and compare the attribute parameter information of the data information to be distributed with the attribute parameter information in the preset template data information; the adjustment module 40 is used to adjust the attribute parameter information in the preset template data information to the attribute parameter information of the data information to be distributed when the attribute parameter information of the data information to be distributed is inconsistent with the attribute parameter information in the preset template data information, so as to obtain the adjusted preset template attribute information; the adding module 50 is used to acquire the data content information in the data information to be distributed, fill the data content information into the adjusted preset template attribute information, and obtain the adjusted preset template data information; the distribution module 60 is used to distribute the adjusted preset template data information. The difference between the two distributions can be directly obtained, and then the differences can be modified. Compared with the existing distribution, each distribution needs to go through a series of processes such as distribution, re-distribution, filling, submission and review, the present invention does not need to go through a cumbersome process, and the efficiency of the second task distribution is greatly improved. At the same time, the scalability of the template has been greatly improved, which also saves a lot of time for business personnel and significantly improves work efficiency. It solves the technical problem that the existing technology needs to go through a series of cumbersome processes again when distributing tasks again, which affects the efficiency of task distribution.
[0131] Based on the above-mentioned first embodiment of the task distribution device of the present invention, a second embodiment of the task distribution device of the present invention is proposed.
[0132] In this embodiment, the task distribution device further includes a history comparison module; wherein,
[0133] The historical comparison module is used to obtain historical distribution data information stored on the distribution platform; compare the data information to be distributed with the historical distribution data information to determine whether the data information to be distributed is stored on the distribution platform; when the data information to be distributed is stored on the distribution platform, execute the step of searching for the corresponding preset template data information according to the data information to be distributed.
[0134] Furthermore, the search module 20 is also used to extract data information from the data information to be distributed; encode the data information through a preset algorithm to obtain the encoded information, and use the encoded information as data period information; and search for corresponding preset template data information according to the data period information.
[0135] Furthermore, the adding module 50 is also used to obtain data content information in the data information to be distributed, and determine whether the data content information is stored in the adjusted preset template attribute information; when the data content information is not stored in the adjusted preset template attribute information, the data content information is filled into the adjusted preset template attribute information to obtain the adjusted preset template data information.
[0136] Furthermore, the adding module 50 is also used to obtain data content information in the data information to be distributed, and compare the data content information of the data information to be distributed with the data content information in the preset template data information; when the data content information of the data information to be distributed is inconsistent with the data content information in the preset template data information, the data content information in the preset template data information is adjusted to the data content information of the data information to be distributed, so as to obtain the adjusted preset template data information.
[0137] Furthermore, the task distribution device also includes a modification module; the modification module is used to obtain modification instruction information and extract attribute adjustment information in the modification instruction information; adjust the attribute information in the adjusted preset template data information according to the attribute adjustment information to obtain the first target template data information; accordingly, the step of distributing the adjusted preset template data information includes: distributing the first target template data information.
[0138] Furthermore, the modification module is also used to obtain modification instruction information and extract data adjustment information in the modification instruction information; adjust the data information in the adjusted preset template data information according to the data adjustment information to obtain second target template data information; accordingly, the step of distributing the adjusted preset template data information includes: distributing the second target template data information.
[0139] This embodiment can directly obtain the difference between the two distributions, and then make modifications based on the differences. Compared with the existing distribution, each distribution needs to go through a series of processes such as distribution, reassignment, filling, submission, and review, the present invention does not need to go through a cumbersome process to distribute tasks again, and the efficiency of the task distribution is greatly improved. At the same time, the scalability of the template is greatly improved, which also saves a lot of time for business personnel and significantly improves work efficiency. It solves the technical problem that the existing technology needs to go through a series of cumbersome processes again when distributing tasks again, which affects the efficiency of task distribution.
[0140] Other embodiments or specific implementations of the task distribution device of the present invention can refer to the above-mentioned task distribution method embodiments, which will not be described in detail here.
[0141] The blockchain referred to in this invention is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.
[0142] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0143] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0144] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.
[0145] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A task distribution method, characterized in that: The task distribution method comprises: Obtaining a task distribution instruction, and extracting the data information to be distributed in the task distribution instruction; Searching for corresponding preset template data information according to the data information to be distributed, wherein the preset template data information is stored in the blockchain; Extracting attribute parameter information of the data information to be distributed, and comparing the attribute parameter information of the data information to be distributed with the attribute parameter information in the preset template data information; When the attribute parameter information of the data information to be distributed is inconsistent with the attribute parameter information in the preset template data information, the attribute parameter information in the preset template data information is adjusted to the attribute parameter information of the data information to be distributed, so as to obtain the adjusted preset template attribute information; Acquire data content information in the data information to be distributed, fill the data content information into the adjusted preset template attribute information, and obtain adjusted preset template data information; Distributing the adjusted preset template data information; The step of acquiring data content information in the data information to be distributed, filling the data content information into the adjusted preset template attribute information, and obtaining the adjusted preset template data information includes: Acquire data content information in the data information to be distributed, and determine whether the data content information exists in the adjusted preset template attribute information; When the data content information is not stored in the adjusted preset template attribute information, the data content information is filled into the adjusted preset template attribute information to obtain the adjusted preset template data information; Comparing the data content information of the data information to be distributed with the data content information in the preset template data information; When the data content information of the data information to be distributed is inconsistent with the data content information in the preset template data information, the data content information in the preset template data information is adjusted to the data content information of the data information to be distributed to obtain the adjusted preset template data information.
2. The task distribution method according to claim 1, characterized in that: Before the step of searching for corresponding preset template data information according to the data information to be distributed, the method further includes: Obtain historical distribution data information stored on the distribution platform; Comparing the data information to be distributed with the historical distributed data information to determine whether the data information to be distributed is stored on the distribution platform; When the data information to be distributed is stored on the distribution platform, the step of searching for corresponding preset template data information according to the data information to be distributed is performed.
3. The task distribution method according to claim 2, characterized in that: The step of searching for corresponding preset template data information according to the data information to be distributed includes: Extracting data information from the data information to be distributed; Encode the data information by using a preset algorithm to obtain coded information, and use the coded information as data period information; The corresponding preset template data information is searched according to the data period information.
4. The task distribution method according to any one of claims 1 to 3, characterized in that: After the step of acquiring the data content information in the data information to be distributed, and filling the data content information into the adjusted preset template attribute information, and obtaining the adjusted preset template data information, the method further includes: Acquire modification instruction information, and extract attribute adjustment information in the modification instruction information; Adjust the attribute information in the adjusted preset template data information according to the attribute adjustment information to obtain the first target template data information; Accordingly, the step of distributing the adjusted preset template data information includes: Distribute the first target template data information.
5. The task distribution method according to any one of claims 1 to 3, characterized in that: After the step of acquiring the data content information in the data information to be distributed, and filling the data content information into the adjusted preset template attribute information, and obtaining the adjusted preset template data information, the method further includes: Acquire modification instruction information, and extract data adjustment information in the modification instruction information; Adjust the data information in the adjusted preset template data information according to the data adjustment information to obtain second target template data information; Accordingly, the step of distributing the adjusted preset template data information includes: Distribute the second target template data information.
6. A task distribution device, characterized in that: The task distribution device comprises: An acquisition module is used to acquire a task distribution instruction and extract the data information to be distributed in the task distribution instruction; A search module, used to search for corresponding preset template data information according to the data information to be distributed, wherein the preset template data information is stored in the blockchain; A comparison module, used for extracting the attribute parameter information of the data information to be distributed, and comparing the attribute parameter information of the data information to be distributed with the attribute parameter information in the preset template data information; An adjustment module, configured to adjust the attribute parameter information in the preset template data information to the attribute parameter information of the data information to be distributed, to obtain adjusted attribute information of the preset template, when the attribute parameter information of the data information to be distributed is inconsistent with the attribute parameter information in the preset template data information; An adding module, used for acquiring data content information in the data information to be distributed, filling the data content information into the adjusted preset template attribute information, and obtaining the adjusted preset template data information; A distribution module, used for distributing the adjusted preset template data information; The adding module is further used to obtain the data content information in the data information to be distributed, and determine whether the data content information exists in the adjusted preset template attribute information; when the data content information does not exist in the adjusted preset template attribute information, fill the data content information into the adjusted preset template attribute information to obtain the adjusted preset template data information; compare the data content information of the data information to be distributed with the data content information in the preset template data information; when the data content information of the data information to be distributed is inconsistent with the data content information in the preset template data information, adjust the data content information in the preset template data information to the data content information of the data information to be distributed, and obtain the adjusted preset template data information.
7. A task distribution device, characterized in that: The task distribution device comprises: a memory, a processor, and a task distribution program stored in the memory and executable on the processor, wherein the task distribution program is configured to implement the steps of the task distribution method according to any one of claims 1 to 5.
8. A storage medium, characterized in that: The storage medium stores a task distribution program, and when the task distribution program is executed by the processor, the steps of the task distribution method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Report data entry method and terminal equipment
CN110765750A
Multi-multi-template management system and method therefor and multi-multi-template management program
JP2003150584A