Business data collection method and device, equipment and storage medium
By receiving task type and configuration information, and generating templates that are adapted to different scenarios, the problems of high cost and poor flexibility in data collection template development in the existing technology are solved, and flexible and efficient data collection is achieved.
Patent Information
- Application Number
- CN202411167003.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-23
- Publication Date
- 2024-12-17
AI Technical Summary
In the prior art, enterprises need to develop data collection templates separately for different business scenarios, resulting in high costs and poor flexibility, and being unable to adapt to the needs of different data reporting scenarios.
By receiving task type and configuration information for filling out tasks, sending rendering attribute information to the target user terminal, generating forms or form templates that are suitable for different scenarios, and obtaining and integrating service data feedback from users, realizing the flexibility and efficiency of data collection.
It effectively reduces development costs, improves the flexibility of data collection, adapts to the needs of different business scenarios, reduces the demand for targeted development, and improves the efficiency and accuracy of data collection.
Smart Images

Figure CN119150831A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information technology, and in particular to a business data collection method, device, equipment and storage medium. Background Art
[0002] The enterprise's internal data warehouse or data lake gathers all the data within the enterprise. The business department conducts independent analysis of the collected data to provide a basis for business decisions.
[0003] In the known technology, for enterprises like banks, the data collected in their data warehouses or data lakes involve data generated by different business scenarios. At this time, it is often necessary to develop corresponding collection templates separately to collect data generated by the corresponding business scenarios for subsequent analysis and processing.
[0004] In the above process, developing corresponding collection templates for different business scenarios requires a large cost and is unable to collect data flexibly. Summary of the invention
[0005] The present application provides a business data collection method, device, equipment and storage medium to improve the flexibility of data collection to adapt to different data reporting scenarios.
[0006] In a first aspect, the present application provides a method for collecting business data, comprising:
[0007] Receive the task type and configuration information of any reporting task, wherein the configuration information includes task field information and field type information;
[0008] Based on the task type and the configuration information, sending rendering attribute information to a terminal of at least one first target user; the rendering attribute information is used to generate a first template or a second template at the terminal of the first target user;
[0009] Acquire first service data fed back by each of the first target users based on the first template or the second template;
[0010] The first business data are fused to obtain the second business data of the reporting task.
[0011] In a possible design, sending rendering attribute information to a terminal of at least one first target user based on the task type and the configuration information includes:
[0012] If the task type indicates that the reporting task is any one of the preset tasks, first rendering attribute information is sent to a terminal of at least one first target user; the first rendering attribute information is used to generate the first template on the terminal of the first target user based on the configuration information, and the first template is a table template;
[0013] If the task type indicates that the reporting task is not any of the preset tasks, second rendering attribute information is sent to a terminal of at least one first target user; the second rendering attribute information is used to generate the first template or the second template on the terminal of the first target user based on the configuration information, and the second template is a form template.
[0014] In one possible design, the method further includes:
[0015] receiving a template conversion instruction fed back by the first target user;
[0016] If the terminal of the first target user generates the first template based on the second rendering attribute information, the first template is converted into the second template in response to the template conversion instruction, and the second template is filled based on the reported data of the first target user;
[0017] If the terminal of the first target user generates the second template based on the second rendering attribute information, the terminal converts the second template into the first template in response to the template conversion instruction, and fills the first template based on the reported data;
[0018] If the terminal of the first target user generates the first template based on the first rendering attribute information, the terminal responds to the template conversion instruction and feeds back prompt information indicating that conversion is not allowed to the first target user.
[0019] In a possible design, the configuration information further includes review rules and filling in an intermediate table; and the obtaining of the first business data fed back by each of the first target users based on the first template or the second template includes:
[0020] Acquire intermediate data fed back by each of the first target users based on the first template or the second template, and store the intermediate data in the reporting intermediate table;
[0021] For any intermediate data in the reported intermediate table, the intermediate data is sent to a terminal of a second target user indicated by the review rule, and the second target user is used to review the intermediate data;
[0022] Receive the review opinion fed back by the second target user, and feed back the first business data according to the review opinion.
[0023] In a possible design, the configuration information further includes a reporting target table; and the fusing of the first business data to obtain the second business data of the reporting task includes:
[0024] For data corresponding to any field in each of the first business data, obtaining an operation type of the data, where the operation type includes adding, modifying, and deleting;
[0025] The data in each of the first business data are classified according to the operation type, and each type of data is fused separately to obtain the second business data, and the second business data is updated to the reporting target table in the database.
[0026] In a possible design, the configuration information also includes user authority information; and the method further includes:
[0027] When a query request fed back by the first target user through the query area in the first template or the second template is obtained, the data source indicated by the user authority information is fed back to the first target user; the query area is obtained based on the task field information and the field type information.
[0028] In a possible design, the configuration information also includes field guide information, receiving the task type and configuration information of any reporting task, including:
[0029] When the task type, task field information and field type information input by the task reporting person are obtained, intelligent guidance information is recommended to the task reporting person according to the task type; the intelligent guidance information is used to guide the first target user to report the reporting task;
[0030] Receive the field guidance information fed back by the task reporting personnel based on the intelligent guidance information to obtain the configuration information of the reporting task.
[0031] In a possible design, the configuration information further includes publishing rules and reporting objects; and the sending of rendering attribute information to a terminal of at least one first target user includes:
[0032] According to the publishing rule, the rendering attribute information is sent to a terminal of at least one first target user indicated by the publishing object; the publishing rule is used to indicate at least one publishing time.
[0033] In a second aspect, the present application provides a business data collection device, including: a receiving module, used to receive a task type and configuration information of any reporting task, wherein the configuration information includes task field information and field type information;
[0034] A sending module, configured to send rendering attribute information to a terminal of at least one first target user based on the task type and the configuration information; the rendering attribute information is used to generate a first template or a second template at the terminal of the first target user;
[0035] An acquisition module, used for acquiring first service data fed back by each of the first target users based on the first template or the second template;
[0036] A fusion module is used to fuse the first business data to obtain the second business data of the reporting task.
[0037] In a third aspect, an embodiment of the present application provides an electronic device, comprising: at least one processor and a memory; the memory stores computer execution instructions; the at least one processor executes the computer execution instructions stored in the memory, so that the at least one processor executes the business data collection method described in the first aspect and various possible designs of the first aspect.
[0038] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer execution instructions are stored. When a processor executes the computer execution instructions, the business data collection method described in the first aspect and various possible designs of the first aspect is implemented.
[0039] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program. When the computer program is executed by a processor, it implements the business data collection method described in the first aspect and various possible designs of the first aspect.
[0040] The business data collection method, device, equipment and storage medium provided by the present application, wherein the business data collection method is executed by any electronic device. In the method of the present application, the electronic device receives the task type and configuration information of any reporting task, and sends rendering attribute information to at least one first target user's terminal based on the task type and configuration information to generate a first template or a second template at the first target user's terminal. Further, the electronic device can obtain the first business data fed back by each first target user based on the first template or the second template, and perform fusion processing on the first business data fed back by each first target user. Through the method of the present application, the electronic device can generate the first template or the second template at the first target user's terminal according to the task type and configuration information of the reporting task, so as to adapt to data collection in different scenarios, without the need to develop templates suitable for each scenario separately, thereby effectively saving development costs on the one hand, and on the other hand, being able to generate the first template or the second template at the first target user's terminal according to the task type, thereby improving the flexibility of data collection. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0042] Figure 1 This is an application scenario diagram of the business data collection method applicable to the embodiment of the present application;
[0043] Figure 2A The process of the business data collection method provided in the embodiment of the present application Figure 1 ;
[0044] Figure 2B A schematic diagram of an operation interface of an administrator terminal provided in an embodiment of the present application;
[0045] Figure 3A Flow chart 2 of the business data collection method provided in the embodiment of the present application;
[0046] Figure 3B A schematic diagram of an operation interface of a terminal of a first target user provided in an embodiment of the present application;
[0047] Figure 4 Flow chart 3 of the business data collection method provided in the embodiment of the present application;
[0048] Figure 5 A schematic diagram of the structure of a business data collection device provided in an embodiment of the present application;
[0049] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0050] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0051] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0052] In the technical solution of this application, the collection, storage, use, processing, transmission, provision and disclosure of information such as financial data or user data involved shall comply with the provisions of relevant laws and regulations and shall not violate public order and good morals.
[0053] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0054] The data warehouse or data lake within an enterprise gathers all the data within the enterprise. The business department conducts independent analysis on the modeled and organized data to provide a basis for business decisions. In order to make accurate business decisions based on the corresponding data, it is necessary to ensure that comprehensive and accurate data can be obtained from the data warehouse or data lake for analysis, which requires that the data collected in the data warehouse or data lake is comprehensive and accurate.
[0055] In the known technology, the data stored within the enterprise involves data generated by different business scenarios. At this time, the enterprise generally develops a collection template corresponding to each business scenario to collect the data generated in the business scenario for subsequent analysis and processing. For example, for an enterprise like a bank, it involves the collection of different types of transaction data, different types of account opening data, and workload data of internal employees.
[0056] Using the above traditional development method, separate development for different needs not only requires a large cost, but also has a long project implementation cycle and a low code reuse rate, which is not conducive to flexible data collection.
[0057] Therefore, the present application provides a business data collection method, device, equipment and storage medium for reducing development costs and improving the flexibility of data collection. Specifically, in the present application, flexible configuration of data reporting tasks is realized according to needs, and reporting templates are flexibly provided to the reporter according to the task type, thereby reducing application development costs on the one hand and ensuring the flexibility of data collection on the other.
[0058] It can be understood that the method of the present application is applicable to any data collection scenario. Figure 1 is an application scenario diagram of the business data collection method applicable to the embodiment of the present application, such as Figure 1 As shown, the method of the present application is applicable to the data collection scenario of a bank. The bank service end sometimes needs to collect data by having business personnel report data, and store the collected data in a data warehouse or data lake. It is understandable that the bank service end specifically refers to the bank server, and different business personnel report data through the corresponding business personnel terminal.
[0059] Specifically, the method of the present application is executed by a bank server. The bank server is in communication connection with the business personnel terminal. For any reporting task, the bank server sends rendering attribute information to the corresponding business personnel terminal based on its corresponding task type and configuration information. When the business personnel terminal receives the rendering attribute information, it generates a first template or a second template based on the rendering attribute information, and the business personnel reports the data through the generated first template or second template. The business personnel terminal feeds back the data received through the first template or the second template to the bank server. The bank server integrates the data received from different business personnel terminals and stores it in a data warehouse or a data lake.
[0060] Optional, such as Figure 1 As shown, the bank also includes an administrator terminal, which interacts with the bank server and sends the task type and configuration information of the reporting task to the bank server, so that the bank server sends rendering attribute information to the corresponding business personnel terminal based on the task type and configuration information.
[0061] Through the method of this application, bank managers do not need to develop separate reporting templates for each type of reporting task, which can effectively save costs. In addition, for reporting tasks of different task types, the bank server can generate the corresponding first template or second template on the corresponding business personnel terminal for the business personnel to flexibly collect data, thereby improving the flexibility of data collection.
[0062] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings. It is worth noting that the methods of the following embodiments are described using the data collection scenario of a bank as an example.
[0063] The present application provides a method for collecting business data. Figure 2A The process of the business data collection method provided in the embodiment of the present application Figure 1 .like Figure 2A As shown, the business data collection method includes:
[0064] S201, receiving the task type and configuration information of any reporting task.
[0065] The configuration information includes task field information and field type information.
[0066] It is understandable that the task type and configuration information are obtained from the manager terminal within the bank. The manager fills in the task type and configuration information of the reporting task through the manager terminal and sends it to the bank server.
[0067] In this embodiment, the task type is specifically used to indicate the type of data to be collected, for example, it can be to collect card activation data at a specified time, or it can be to collect information about visiting users at a specified time, or it can be to collect transaction data of a specified time and type. It is understandable that some of these different types of reporting tasks require reporting of a large amount of data, and some require offline collection through interaction with users.
[0068] In this embodiment, the task field information included in the configuration information is specifically used to indicate the reporting fields included in the reporting task, that is, the fields used to indicate the task information. For example, the task name field, the data source field, the table field, etc. The field type information is used to indicate the properties of the corresponding reporting field, and is used to indicate the properties of the reporting field. For example, the field display name, display order, query condition input method, field length, whether it is required, whether it is unique, whether it can be added, default value, control type, etc.
[0069] For example, taking the reporting scenario of "credit asset transfer relationship" as an example, the main configuration contents are shown in Table 1 below:
[0070] Table 1 Configuration information table of credit asset transfer relationship
[0071]
[0072]
[0073] S202: Send rendering attribute information to a terminal of at least one first target user based on the task type and the configuration information.
[0074] The rendering attribute information is used to generate a first template or a second template on a terminal of a first target user.
[0075] Specifically, in this embodiment, the bank server determines to obtain the first template or the second template according to the task type. Furthermore, the bank server sends corresponding rendering attribute information to the terminal of at least one first target user based on the task type and configuration information to generate the first template or the second template on the corresponding terminal.
[0076] It is understandable that the configuration information should also include information indicating the filling-in personnel of the first target user, and the bank server can determine to send corresponding rendering attribute information to at least one terminal of the first target user based on the configuration information. It should be understood that for the data collection scenario of the bank, the terminal of the first target user is the business personnel terminal mentioned in the above content.
[0077] It should be understood that when the first target user's terminal receives the rendering attribute information, it can render the target user's operation interface based on the rendering attribute information to obtain the first template or the second template. Exemplarily, the process of the first target user's terminal obtaining the first template or the second template according to the rendering attribute information may include:
[0078] Arrange the report fields in descending order of display values; when the field type information of a task field indicates that its control type is text, the first target user's terminal displays the task field as a text input box; when the field type information of a task field indicates that its control type is time, the first target user's terminal displays the task field as a time selection control; when the field type information of a task field indicates that its control type is code, the first target user's terminal displays the task field as a drop-down box control, and the value in the drop-down box is obtained from the code table according to the code type query; when the field type information of a task field indicates that its control type is context, according to the context type, obtain the filling from the user login information, such as "user position organization number" and other information; according to whether the list display attribute is displayed, the field is displayed or hidden on the first target user's terminal; if the required attribute of a task field is yes, a required check is dynamically added to the task field on the first target user's terminal; if the unmodifiable attribute of a task field is yes, the task field is set to an uneditable state on the first target user's terminal.
[0079] S203: Acquire first service data fed back by each first target user based on the first template or the second template.
[0080] S204, performing integration processing on each first business data to obtain second business data for the reporting task.
[0081] It is understandable that for any reporting task, sometimes multiple first target users are required to report it. For example, if the data of stored-value card processing within a specified time is to be collected, each business person responsible for processing stored-value cards needs to report the data they process, so as to conduct comprehensive collection.
[0082] It is understandable that the bank server determines to make the first target user's terminal generate the first template or the second template according to the task type of the above filling task. Further, the bank server obtains the first business data fed back by each first target user through the first template or the second template provided by the first target user's terminal.
[0083] Furthermore, the bank server performs integration processing on the received multiple first business data to obtain the second business data of the current reporting task.
[0084] In the method of this embodiment, for different reporting tasks, the bank server can generate a corresponding first template or a second template on the terminal of the corresponding first target user based on the task type and configuration information, so as to collect the data reported by the first target user. The bank server can receive the first business data fed back by each first target user through the terminal of the first target user, and perform fusion processing on each first business data to obtain the second business data.
[0085] Through the method of this embodiment, the bank server can flexibly enable the terminal of the corresponding first target user to generate a first template or a second template based on the task type and configuration information, so as to obtain data of reporting tasks of different task types, without the need to develop separate reporting tasks of different task types in a targeted manner, thereby effectively saving costs and ensuring the flexibility of data collection.
[0086] As an example, Figure 2B This is a schematic diagram of an operation interface of an administrator terminal provided in an embodiment of the present application. Figure 2B As shown, the manager creates a reporting task on the manager page, and configures the task type and configuration information of the reporting task on the reporting task page. It can be understood that the rectangular box shown in the figure is an area that the manager can fill.
[0087] In one possible design, Figure 3A Flowchart 2 of the business data collection method provided by the embodiment of the present application. Based on the above embodiment, this embodiment further describes in detail the method of determining rendering attribute information and the conversion method between the first template and the second template. Figure 3A As shown, the method of this embodiment includes the following steps:
[0088] S301: If the task type indicates that the reporting task is any one of the preset tasks, first rendering attribute information is sent to a terminal of at least one first target user.
[0089] The first rendering attribute information is used to generate a first template on a terminal of a first target user based on the configuration information, and the first template is a table template.
[0090] In this embodiment, the first template is a table template, specifically an Excel online table template. It is understandable that the Excel online table template is suitable for data reporting scenarios such as large data volume and offline. Therefore, in this embodiment, the preset tasks include reporting tasks with large data volume, offline reporting tasks, etc. In actual applications, the preset tasks may also include reporting tasks of other task types, ensuring that any reporting task of a task type in the preset tasks can only be applied to the Excel online table template.
[0091] Based on this setting, when the task type indicates that the reporting task is any of the preset tasks, the bank server sends first rendering attribute information for instructing the generation of a first template at the terminal of at least one first target user to enable the terminal of the first target user to generate a corresponding first template for collecting data for any reporting task among the preset tasks.
[0092] S302: If the task type indicates that the reported task is not any of the preset tasks, second rendering attribute information is sent to a terminal of at least one first target user.
[0093] The second rendering attribute information is used to generate a first template or a second template on a terminal of the first target user based on the configuration information, and the second template is a form template.
[0094] In this embodiment, the second template is a form template. It is understandable that the form template is applicable to any task except the preset task. Based on this setting, when the task type of the current reporting task indicates that the reporting task is not any of the preset tasks, the bank server sends the second rendering attribute information for instructing the terminal of the first target user to generate the second template to the terminal of at least one first target user, so that the terminal of the first target user generates the corresponding second template for collecting data of the reporting task.
[0095] It can be understood that, for any task type of filling task, the bank server can send the first rendering attribute information to the terminal of the corresponding first target user, so that it generates the corresponding first template.
[0096] Optionally, in actual applications, for reporting tasks that can collect data through both the first template and the second template, the bank server can send a template selection instruction to the terminal of the corresponding first target user, and obtain the target template fed back by the terminal of the first target user based on the template selection instruction, so as to feed back to the terminal of the first target user target rendering attribute information used to instruct the terminal of the first target user to generate the target template.
[0097] Through this setting, a corresponding target template can be generated on the terminal of the first target user based on the usage habits of the first target user, thereby improving the flexibility of data collection and being conducive to improving user experience.
[0098] S303: Receive a template conversion instruction fed back by the first target user.
[0099] In this embodiment, when the bank server enables the terminal of the first target user to generate the first template or the second template, it can provide the first target user with a template conversion function through the corresponding template. Specifically, for a reporting task that can collect data through both the first template and the second template, the bank server enables its corresponding rendering attribute information to include control information for generating a preset conversion plug-in. Based on the control information, the terminal of the first target user can generate a preset conversion plug-in in the corresponding template. The first target user clicks the preset conversion plug-in on the terminal of the first target user to feedback the template conversion instruction to the bank server.
[0100] Through this setting, the first target user can flexibly switch templates on the first target user terminal to adapt to different application habits.
[0101] S304: If the terminal of the first target user generates a first template based on the second rendering attribute information, the first template is converted into a second template in response to the template conversion instruction, and the second template is filled based on the reported data of the first target user.
[0102] S305: If the terminal of the first target user generates a second template based on the second rendering attribute information, the second template is converted into the first template in response to the template conversion instruction, and the first template is filled based on the reported data.
[0103] S306: If the terminal of the first target user generates the first template based on the first rendering attribute information, then in response to the template conversion instruction, a prompt message indicating that conversion is not allowed is fed back to the first target user.
[0104] In this embodiment, when the bank server receives the template switching instruction, if the terminal of the first target user currently generates the first template, it determines whether the terminal of the first target user generates the first template based on the first rendering attribute information or the second rendering attribute information. If it is generated based on the second rendering attribute information, it responds to the template switching instruction to switch to the second template and fills the second template based on the reported data of the first target user. If it is generated based on the first rendering attribute information, it responds to the template switching instruction to feedback a prompt message that the conversion is not allowed to the first target user.
[0105] When the second template is currently generated by the terminal of the first target user, the bank server responds to the template switching instruction to convert the second template into the first template, and fills the first template based on the reported data.
[0106] In the method of this embodiment, for reporting tasks that can be reported through both the first template and the second template, the first target user can switch templates at will on the first target user's terminal, thereby improving the flexibility of data reporting.
[0107] Optionally, in actual applications, for reporting tasks that can only be performed through the first template, the rendering attribute information sent by the bank server to the corresponding first target user may not include control information, that is, the preset conversion plug-in is not displayed in the first template provided by the terminal of the first target user at this time, thereby avoiding receiving template switching instructions when the template cannot be converted, thereby reducing the number of instruction transmissions.
[0108] As an example, Figure 3B This is a schematic diagram of the operation interface of the terminal of the first target user provided in the embodiment of the present application. Figure 3B As shown, when the first target user's terminal generates a first template based on corresponding rendering attribute information, the first template includes a preset conversion plug-in. When the first target user clicks the preset conversion plug-in, the first target user's terminal switches from the first template to the second template.
[0109] In one possible design, Figure 4 Flowchart 3 of the business data collection method provided in the embodiment of the present application. Based on the above embodiment, this embodiment further defines the configuration information and further describes in detail the method of collecting data. Specifically, Figure 4 As shown, the following steps are included:
[0110] S401, obtaining intermediate data fed back by each first target user based on the first template or the second template, and storing the intermediate data in a filling intermediate table.
[0111] S402: For any intermediate data in the intermediate table, the intermediate data is sent to the terminal of the second target user indicated by the audit rule.
[0112] The second target user is used to review the intermediate data.
[0113] It is understandable that in some data reporting scenarios, the data reported by the first target user needs to be transferred to the corresponding reviewers, who will review it to confirm the accuracy of the data.
[0114] Therefore, in this embodiment, the configuration information also includes the review rules and the filling intermediate table. When the bank server obtains the first business data fed back by each first target user based on the first template or the second template, it first obtains the intermediate data fed back by each first target user based on the first template or the second template, and stores the intermediate data in the filling intermediate table.
[0115] Furthermore, for the intermediate data in the intermediate table, the bank server sends the intermediate data to the terminal of the second target user indicated by the audit rule when receiving any intermediate data according to the audit rule, so that the second target user can review it. It can be understood that one piece of intermediate data corresponds to one piece of data reported by the first target user through the corresponding template.
[0116] S403, receiving the review opinion fed back by the second target user, and feeding back the first business data according to the review opinion.
[0117] In this embodiment, the bank server receives the review opinion fed back by the second target user through the second target user's terminal, and feeds back the first business data according to the review opinion. Specifically, if the review opinion is that the review is passed, the intermediate data is directly used as the first business data fed back by the first target user. If the review opinion is that the review is not passed, the review opinion is fed back to the first target user, and the modified data fed back by the first target user through the first target user's terminal is received. It can be understood that the modified data is obtained based on the intermediate data.
[0118] In this embodiment, when the bank server receives the modification data, it executes the process of sending the modification data to the corresponding second target user's terminal, so that the second target user can review it at the second target user's terminal and give feedback on the review.
[0119] It is understandable that when the review opinion is still not passed, the bank server repeats the above process until it receives a review opinion that the review is passed, and then feeds back the first business data based on the review opinion.
[0120] The above settings can help improve the accuracy of the data finally collected, which will help the corresponding services within the bank to make accurate decisions.
[0121] S404: For data corresponding to any field in each first business data, obtain an operation type of the data.
[0122] The operation types include adding, modifying, and deleting.
[0123] S405, classifying the data in each first business data according to the operation type, performing fusion processing on each type of data to obtain second business data, and updating the second business data to the reporting target table in the database.
[0124] In this embodiment, for any reporting task, when the bank server receives the first business data reported by each first target user through the first target user's terminal, it obtains the operation type of the data for the data corresponding to any field in the first business data, further classifies the data in each first business data according to the operation type, performs fusion processing on each type of data respectively, obtains the second business data, and updates the reporting target table according to the second business data.
[0125] Specifically, for any reporting task, the bank server assigns the same batch number parameter to the first business data submitted by each first target user corresponding to the current reporting task through the first target user's terminal. Based on this setting, the bank server obtains the first business data with the same batch number parameter, and splices all newly added type data into insert statements, splices all modified type data into update statements, and splices all deleted type data into delete statements according to the data operation type, and completes the data storage by executing these statements.
[0126] It can be understood that the first target user enters new data in a blank row of the first template or the second template. At the same time, the row of data can be organized into objects to be submitted in the key-value pair format of "field English name": "field value" and added to the array of objects to be submitted dataList. At this time, the operation type of the data will be automatically judged as "new type".
[0127] The first target user selects data in the first template or the second template to modify, and the row changes to the editing state according to the field configuration attributes. The first target user modifies the data in the row according to the field rules. At the same time, the data in this row can be organized into objects to be submitted in the key-value pair format of "field English name": "field value" and added to the array of objects to be submitted dataList. At this time, the operation type of the data will be automatically judged as: "modification type".
[0128] When the first target user selects data to delete in the first template or the second template, the terminal of the first target user can gray out the background of the row of data and add a strikethrough to indicate deletion. At the same time, the row of data can be organized into objects to be submitted in the key-value pair format of "field English name": "field value" and added to the array of objects to be submitted dataList. At this time, the operation type of the data will be automatically determined as: "delete".
[0129] It can be understood that the intermediate data sent by the bank server to the terminal of the second target user includes the data in the dataList array.
[0130] Optionally, in this embodiment, when the first target user fills in data through the first template or the second template in the first target user's terminal, the bank server automatically determines the data operation type and then feeds back a confirmation instruction to the corresponding first target user's terminal in the form of a pop-up window, so that the first target user can confirm.
[0131] Through the method provided in this embodiment, the first business data reported by different first target users can be accurately and quickly integrated, thereby facilitating the acquisition of accurate and comprehensive second business data for use in subsequent services.
[0132] In a possible design, the configuration information also includes user authority information. When a query request fed back by the first target user through the query area in the first template or the second template is obtained, the data source indicated by the user authority information is fed back to the first target user; the query area is obtained based on the task field information and the field type information.
[0133] It is understandable that in actual applications, there are some scenarios where it is necessary to correct previously reported data or other data in the data warehouse. At this time, the bank server enables the first template or the second template generated by the first target user to associate the corresponding other data. For example, in the regulatory reporting scenario, business personnel need to correct or fill in the reported data before submitting it to the regulatory agency. In the data migration scenario, business personnel need to confirm the correctness of the data during the migration and conversion process. Business personnel need to check the corresponding data and modify the correctness status of the data, or evaluate the data.
[0134] For the above scenario, the configuration information received by the bank server can enable the first template or the second template generated by the terminal of the corresponding first target user to include a query area. When receiving the search request feedback from the first target user, the bank server feedbacks the data source indicated by the user authority information to the terminal of the first target user for the first target user to query.
[0135] Through the above settings, the first target user can easily obtain the data needed for reference when filling in data. At the same time, the data that can be displayed to the first target user is limited by user authority information, thereby ensuring data security.
[0136] In a possible design, the configuration information also includes field guide information. In this embodiment, the task type and configuration information of any reporting task are received, specifically including:
[0137] When the task type, task field information and field type information input by the task reporting personnel are obtained, intelligent guidance information is recommended to the task reporting personnel according to the task type; the intelligent guidance information is used to guide the first target user to fill in the reporting task;
[0138] The task reporting personnel receive field guidance information based on the intelligent guidance information feedback to obtain the configuration information of the reporting task.
[0139] It is understandable that the intelligent guidance information includes the filling specifications of the corresponding task fields, relevant terms and other information, which is used to guide the reporter to perform standardized filling.
[0140] In this embodiment, when the bank server receives the task type, task field information and field type information filled in by the task reporting personnel through the corresponding terminal, it recommends intelligent guidance information to the task reporting personnel based on the task type, so that the task reporting personnel can select field guidance information from the recommended intelligent guidance information and feedback to the bank server.
[0141] The bank server also sends the received field guidance information as configuration information to the terminal of the first target user, so that the terminal of the first target user displays the field recommendation information in the corresponding area of each field in the first template or the second template to improve the standardization of the data reporting of the first target user. At the same time, the field guidance information is conducive to improving the reporting efficiency of the first target user.
[0142] In a possible design, the configuration information also includes publishing rules and reporting objects. In this embodiment, sending rendering attribute information to a terminal of at least one first target user includes:
[0143] According to the publishing rule, the rendering attribute information is sent to a terminal of at least one first target user indicated by the publishing object; the publishing rule is used to indicate at least one publishing time.
[0144] It is understandable that in actual applications, there are scenarios where the same template is required to be used to collect data periodically. Therefore, in this embodiment, the publishing rule is used to indicate at least one publishing time.
[0145] In this embodiment, the bank server sends rendering attribute information to the terminal of at least one first target user indicated by the reporting object at at least one publishing time according to the publishing rules and reporting objects included in the configuration information, so as to generate a first template or a second template at the terminal of the first target user for collecting data.
[0146] Through the method of this embodiment, it is possible to support periodic configuration of data collection tasks and minimize the dependency of business reporting items on periodic process logic.
[0147] The present application embodiment provides a business data collection device, Figure 5 This is a schematic diagram of the structure of the business data collection device provided in the embodiment of the present application. Figure 5 As shown, the business data collection device includes: a receiving module 51, a sending module 52, an acquisition module 53 and a fusion module 54;
[0148] The receiving module 51 is used to receive the task type and configuration information of any reporting task, and the configuration information includes task field information and field type information;
[0149] A sending module 52 is used to send rendering attribute information to at least one first target user's terminal based on the task type and the configuration information; the rendering attribute information is used to generate a first template or a second template at the first target user's terminal;
[0150] An acquisition module 53 is used to acquire first service data fed back by each first target user based on the first template or the second template;
[0151] The fusion module 54 is used to perform fusion processing on each first business data to obtain the second business data of the reporting task.
[0152] In some embodiments, the sending module 52 is specifically used for:
[0153] If the task type indicates that the reporting task is any of the preset tasks, first rendering attribute information is sent to a terminal of at least one first target user; the first rendering attribute information is used to generate a first template on the terminal of the first target user based on the configuration information, and the first template is a table template;
[0154] If the task type indicates that the reporting task is not any of the preset tasks, second rendering attribute information is sent to a terminal of at least one first target user; the second rendering attribute information is used to generate a first template or a second template on the terminal of the first target user based on the configuration information, and the second template is a form template.
[0155] In some embodiments, the device further includes a conversion module (not shown in the figure), the conversion module is used to:
[0156] receiving a template conversion instruction fed back by a first target user;
[0157] If the terminal of the first target user generates the first template based on the second rendering attribute information, the first template is converted into the second template in response to the template conversion instruction, and the second template is filled based on the reported data of the first target user;
[0158] If the terminal of the first target user generates a second template based on the second rendering attribute information, the second template is converted into the first template in response to the template conversion instruction, and the first template is filled based on the reported data;
[0159] If the terminal of the first target user generates the first template based on the first rendering attribute information, the terminal responds to the template conversion instruction and feeds back prompt information indicating that the conversion is not allowed to the first target user.
[0160] In some embodiments, the acquisition module 53 is specifically used to:
[0161] The configuration information also includes review rules and filling in the intermediate table; obtaining the intermediate data fed back by each first target user based on the first template or the second template, and storing the intermediate data in the filling in the intermediate table;
[0162] For any intermediate data in the intermediate table, the intermediate data is sent to the terminal of the second target user indicated by the review rule, and the second target user is used to review the intermediate data;
[0163] Receive the review opinion fed back by the second target user, and feed back the first business data according to the review opinion.
[0164] In some embodiments, the fusion module 54 is specifically used to:
[0165] The configuration information also includes filling in the target table; for the data corresponding to any field in each first business data, obtaining the operation type of the data, the operation type includes adding, modifying, and deleting;
[0166] The data in each first business data is classified according to the operation type, and each type of data is fused and processed to obtain the second business data, and the second business data is updated to the target table in the database.
[0167] In some embodiments, the acquisition module 53 is further used to:
[0168] The configuration information also includes user authority information; when a query request fed back by the first target user through the query area in the first template or the second template is obtained, the data source indicated by the user authority information is fed back to the first target user; the query area is obtained based on the task field information and the field type information.
[0169] In some embodiments, the receiving module 51 is specifically used for:
[0170] When the task type, task field information and field type information input by the task reporting personnel are obtained, intelligent guidance information is recommended to the task reporting personnel according to the task type; the intelligent guidance information is used to guide the first target user to fill in the reporting task;
[0171] The task reporting personnel receive field guidance information based on the intelligent guidance information feedback to obtain the configuration information of the reporting task.
[0172] In some embodiments, the sending module 52 is specifically used for:
[0173] According to the publishing rule, the rendering attribute information is sent to a terminal of at least one first target user indicated by the publishing object; the publishing rule is used to indicate at least one publishing time.
[0174] The business data collection device provided in the embodiment of the present application can be used to execute the technical solution of the business data collection method in the above embodiment. Its implementation principle and technical effect are similar and will not be repeated here.
[0175] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the fusion module 54 can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The function of the above fusion module 54. The implementation of other modules is similar. In addition, these modules can be fully or partially integrated together, or they can be implemented independently. The processing element here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0176] Figure 6 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 6 As shown, the electronic device may include: a transceiver 61 , a processor 62 , and a memory 63 .
[0177] The processor 62 executes the computer execution instructions stored in the memory, so that the processor 62 executes the scheme in the above embodiment. The processor 62 can be a general-purpose processor, including a central processing unit CPU, a network processor (NP), etc.; it can also be a digital signal processor DSP, an application-specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
[0178] The memory 63 is connected to the processor 62 via a system bus and completes communication between them. The memory 63 is used to store computer program instructions.
[0179] The transceiver 61 may be used to obtain tasks to be executed and configuration information of the tasks to be executed.
[0180] The system bus can be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The system bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus. The transceiver is used to realize the communication between the database access device and other computers (such as clients, read-write libraries, and read-only libraries). The memory may include random access memory (RAM) and may also include non-volatile memory.
[0181] The electronic device provided in the embodiment of the present application may be the server in the above embodiment.
[0182] An embodiment of the present application also provides a chip for running instructions, which is used to execute the technical solution of the business data collection method in the above embodiment.
[0183] An embodiment of the present application further provides a computer-readable storage medium, in which computer instructions are stored. When the computer instructions are executed on a computer, the computer executes the technical solution of the business data collection method of the above embodiment.
[0184] An embodiment of the present application also provides a computer program product, which includes a computer program stored in a computer-readable storage medium. At least one processor can read the computer program from the computer-readable storage medium. When at least one processor executes the computer program, it can implement the technical solution of the business data collection method in the above embodiment.
[0185] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0186] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to implement the solution of this embodiment.
[0187] In addition, each functional module in each embodiment of the present application can be integrated into one processing unit, or each module can exist physically separately, or two or more modules can be integrated into one unit. The above-mentioned module-composed unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
[0188] The above-mentioned integrated module implemented in the form of a software function module can be stored in a computer-readable storage medium. The above-mentioned software function module is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor to perform some steps of the methods of various embodiments of the present application.
[0189] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the invention may be directly implemented as being executed by a hardware processor, or may be implemented by a combination of hardware and software modules in the processor.
[0190] The memory may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk memory, and may also be a USB flash drive, a mobile hard disk, a read-only memory, a magnetic disk or an optical disk, etc.
[0191] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of the present application is not limited to only one bus or one type of bus.
[0192] The above storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The storage medium can be any available medium that can be accessed by a general or special purpose computer.
[0193] An exemplary storage medium is coupled to a processor so that the processor can read information from the storage medium and write information to the storage medium. Of course, the storage medium can also be a component of the processor. The processor and the storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the storage medium can also exist as discrete components in an electronic control unit or a main control device.
[0194] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0195] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for collecting business data, characterized in that: Applied to the server, the method includes: Receive the task type and configuration information of any reporting task, wherein the configuration information includes task field information and field type information; Based on the task type and the configuration information, sending rendering attribute information to a terminal of at least one first target user; the rendering attribute information is used to generate a first template or a second template at the terminal of the first target user; Acquire first service data fed back by each of the first target users based on the first template or the second template; The first business data are fused to obtain the second business data of the reporting task.
2. The method according to claim 1, characterized in that: The sending rendering attribute information to a terminal of at least one first target user based on the task type and the configuration information includes: If the task type indicates that the reporting task is any one of the preset tasks, first rendering attribute information is sent to a terminal of at least one first target user; the first rendering attribute information is used to generate the first template on the terminal of the first target user based on the configuration information, and the first template is a table template; If the task type indicates that the reporting task is not any of the preset tasks, second rendering attribute information is sent to a terminal of at least one first target user; the second rendering attribute information is used to generate the first template or the second template on the terminal of the first target user based on the configuration information, and the second template is a form template.
3. The method according to claim 2, characterized in that The method further comprises: receiving a template conversion instruction fed back by the first target user; If the terminal of the first target user generates the first template based on the second rendering attribute information, the first template is converted into the second template in response to the template conversion instruction, and the second template is filled based on the reported data of the first target user; If the terminal of the first target user generates the second template based on the second rendering attribute information, the terminal converts the second template into the first template in response to the template conversion instruction, and fills the first template based on the reported data; If the terminal of the first target user generates the first template based on the first rendering attribute information, the terminal responds to the template conversion instruction and feeds back prompt information indicating that conversion is not allowed to the first target user.
4. The method according to any one of claims 1 to 3, characterized in that: The configuration information also includes review rules and filling in an intermediate table; the obtaining of the first business data fed back by each of the first target users based on the first template or the second template includes: Acquire intermediate data fed back by each of the first target users based on the first template or the second template, and store the intermediate data in the reporting intermediate table; For any intermediate data in the reported intermediate table, the intermediate data is sent to a terminal of a second target user indicated by the review rule, and the second target user is used to review the intermediate data; Receive the review opinion fed back by the second target user, and feed back the first business data according to the review opinion.
5. The method according to any one of claims 1 to 3, characterized in that: The configuration information also includes a reporting target table; the fusion processing of each of the first business data to obtain the second business data of the reporting task includes: For data corresponding to any field in each of the first business data, obtaining an operation type of the data, where the operation type includes adding, modifying, and deleting; The data in each of the first business data are classified according to the operation type, and each type of data is fused separately to obtain the second business data, and the second business data is updated to the reporting target table in the database.
6. The method according to any one of claims 1 to 3, characterized in that: The configuration information also includes user authority information; the method also includes: When a query request fed back by the first target user through the query area in the first template or the second template is obtained, the data source indicated by the user authority information is fed back to the first target user; the query area is obtained based on the task field information and the field type information.
7. The method according to any one of claims 1 to 3, characterized in that: The configuration information also includes field guide information, receiving the task type and configuration information of any reporting task, including: When the task type, task field information and field type information input by the task reporting person are obtained, intelligent guidance information is recommended to the task reporting person according to the task type; the intelligent guidance information is used to guide the first target user to report the reporting task; Receive the field guidance information fed back by the task reporting personnel based on the intelligent guidance information to obtain the configuration information of the reporting task.
8. The method according to any one of claims 1 to 3, characterized in that: The configuration information also includes publishing rules and reporting objects; the sending of rendering attribute information to a terminal of at least one first target user includes: According to the publishing rule, the rendering attribute information is sent to a terminal of at least one first target user indicated by the publishing object; the publishing rule is used to indicate at least one publishing time.
9. A business data collection device, characterized in that: include: A receiving module, used to receive the task type and configuration information of any reporting task, wherein the configuration information includes task field information and field type information; A sending module, configured to send rendering attribute information to a terminal of at least one first target user based on the task type and the configuration information; The rendering attribute information is used to generate a first template or a second template on a terminal of the first target user; An acquisition module, used for acquiring first service data fed back by each of the first target users based on the first template or the second template; A fusion module is used to fuse the first business data to obtain the second business data of the reporting task.
10. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 8 when executed by a processor.
12. A computer program product, characterized in that The invention comprises a computer program, which implements the method according to any one of claims 1 to 8 when being executed by a processor.
