Business processing device, processing method and readable storage medium
By performing modular processing of document functions in the business processing device, and using interactive units and metadata units to generate document application models, the complexity and repetition of document processing in the traditional development model is solved, and efficient and flexible business document generation is achieved.
Patent Information
- Application Number
- CN202011422169.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-08
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2040-12-08
AI Technical Summary
Traditional development models have problems of duplication, complexity and time-consuming when dealing with various documents, especially because the core functions of documents are similar, but the fields and specific functions are different.
A business processing device is proposed, which extracts the core functions of documents through interactive units, module component units, metadata units and application publishing units, performs modular processing, and creates a metadata model through preset business function modules and business fields to generate a document application model.
The configurable function of business documents is realized, which reduces development complexity and repetition, improves development efficiency, and can generate various types of documents according to different business needs.
Smart Images

Figure CN112540988B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of enterprise intelligent technology, and in particular to a business processing device, a business processing method, and a readable storage medium. Background Art
[0002] In the actual operation of an enterprise, there are various documents, such as vehicle application forms, financial reimbursement forms, equipment purchase orders, etc. For different documents, the traditional development model is to develop different applications, which consumes a lot of manpower and material resources. For a variety of documents, except for different fields, the core functions are similar, such as adding, deleting, modifying, importing and exporting, printing, attachments, approval flow, business flow interacting with other documents, etc. For the similarity of core functions, the traditional development solution is complex, repetitive, time-consuming and labor-intensive. Summary of the invention
[0003] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
[0004] To this end, one aspect of the present invention is to provide a service processing device.
[0005] Another aspect of the present invention is to provide a service processing method.
[0006] Another aspect of the present invention provides a readable storage medium.
[0007] In view of this, according to one aspect of the present invention, a business processing device is proposed, including: an interaction unit, used to receive preset business function modules and business information configured by a user, the business information including business fields; a module component unit, used to retrieve the preset business function modules from a database; a metadata unit, used to create a metadata model based on the preset business function modules and business fields; and an application publishing unit, used to generate a document application model based on the metadata model.
[0008] The business processing device provided by the present invention includes an interaction unit, a module component unit, a metadata unit and an application publishing unit. The interaction unit responds to the user's operation to perform the interaction processing between the front and back ends. Specifically, the interaction unit receives the preset business function module and business information configured by the user, wherein the preset business function module is to abstract the business function according to the actual business of the document, and abstract out specific modules, each module has only one separate function, and the modules are completely consistent in structure except for the different functions. Each module independently determines whether it is an independent module, whether it has a dependent and mutually exclusive relationship with other modules. In addition, the business information includes business fields, and the business fields are fields added by the user according to the actual business. The preset business function module configured by the user is retrieved from the database through the module component unit, and the preset business function module and the business field are parsed through the metadata unit, so as to obtain the association relationship between the business function data and different business function data, so as to create a metadata model. The application publishing unit publishes the metadata model as a document application model, and the document application model has the function of the selected function module. When the user uses it, the data will be parsed from the document application model and displayed in a specific interface, that is, a specific document. The business processing device provided by the present invention modularizes the business by extracting the core functions of the document, and realizes the configurable function of the business document through the configuration of the interactive unit, the module component unit, the application publishing unit, the metadata unit and the preset business function modules, thereby realizing the intelligence of the overall device, generating various documents through different modules, and making up for the duplication and time-consuming aspects of traditional development solutions.
[0009] After the document entity is standardized and the functions are modularized, the device no longer executes specific business, but executes standard module actions on standard documents. However, for business personnel, various businesses are executed, which can replace a large number of business documents and greatly meet the needs of business personnel.
[0010] The service processing device according to the present invention may also have the following technical features:
[0011] In the above technical solution, the preset business function module includes a basic function module, and any one of the following or a combination thereof: an import and export module, an attachment function module, a printing function module, an approval flow function module, and a business flow function module.
[0012] In this technical solution, the core functions of the document are extracted, and the business is modularized into the following standard function modules: basic function module, import and export module, attachment function module, printing function module, approval flow function module, business flow function module, but not limited to these. Among them, the basic function module contains the most basic functions of a document operation, so this module is selected by default and cannot be cancelled.
[0013] Among them, a standard function module includes function fields and function units. Function fields are business fields necessary to implement the function, and each field is a standard field. Function units include function buttons and preset events. Function units not only provide corresponding functions during the execution of the module, but also cooperate with metadata units, application publishing units, and module component units to process related function fields.
[0014] In addition, a standard function module also includes function configuration, that is, some other configurations required to realize the function.
[0015] In any of the above technical solutions, the interaction unit is further used to receive business data configured by the user; the application publishing unit is further used to generate a document according to the document application model and the business data.
[0016] In this technical solution, when a user uses a document, the interaction unit receives the business data configured by the user, that is, the data corresponding to each business field. For example, if the person who makes the reimbursement is Xiao Wang, the person who makes the reimbursement is the business field, and Xiao Wang is the business data. The application publishing unit generates the actual document according to the document application model and the business data. The technical solution of the present invention selects the business function module to be used, adds business fields, publishes metadata, and publishes applications through the front-end page, thereby obtaining a document with the function of the selected business function module, and based on this, configures the business data, performs operations on the business data, and stores the operation data, thereby obtaining the actual document.
[0017] In any of the above technical solutions, the business processing device also includes: a data storage unit; a metadata unit, which is also used to generate a corresponding database table according to the metadata model; a data storage unit, which is used to store the database table in the database, and store the business data in the database table.
[0018] In this technical solution, the business processing device also includes a data storage unit. The interaction module is responsible for transmitting data to the background, and the data storage unit receives the data and performs data storage operations. When the metadata unit generates a corresponding database table according to the metadata model, the data storage unit stores the database table in the database. When the interaction unit transmits the business data to the background, the data storage unit receives the business data and stores it in the database table accordingly. Among them, the database table includes at least one table related to the business. Through the technical solution of the present invention, the business documents configured by the user can be stored, so that the configurable business documents support the functions of adding, deleting, checking and modifying, which greatly facilitates the use of business personnel.
[0019] In any of the above technical solutions, the service processing device further includes: a field unit, which is used to convert the service field into a standard field based on preset standard field attributes.
[0020] In this technical solution, the carrier of the business is the document, and the basis of the document is the field. To break the business meaning of all fields, the fields must be standardized. Standard fields can be created arbitrarily, and the processing and use of standard fields are completely consistent. Fields can be intelligently connected, and the fields connected together are business documents. Standard fields are specified by field units, and a unified value assignment function is provided for standard fields. Specifically, the field unit converts business fields into standard fields by presetting standard field attributes. Through the technical solution of the present invention, the core functions of the business are extracted, the business is standardized and modularized, and the configurable function of the business document is realized through the module component unit, application publishing unit, metadata unit, field unit, combined with data unit, interaction unit, and preset business function module, thereby realizing the wisdom of the overall device, and generating various documents through different modules to make up for the repetitive and time-consuming aspects of traditional development solutions.
[0021] In any of the above technical solutions, the preset standard field attributes include attribute name, display name, type, and any of the following items or combinations thereof: type style, field type, field name, whether it can be empty, precision, length, maximum value, minimum value, reference name, description, and multilingual field.
[0022] In this technical solution, each field does not necessarily have all the attributes, but the attributes of each field are within the above attributes. Among them, the core attributes are attribute name, display name, and type. The field name and field type will be assigned to the field according to the attribute name and type.
[0023] In any of the above technical solutions, the business information also includes the business type; the step of the application publishing unit generating a document application model according to the metadata model specifically includes: determining the corresponding preset rules according to the business type; generating the document application model according to the preset rules and the metadata model.
[0024] In this technical solution, the business information configured by the user includes business fields and business types. Business types include document types such as vehicle application forms, financial reimbursement forms, equipment purchase forms, etc. By determining the business type, the corresponding preset rules are determined. The preset rules mainly include storage structure rules of the document application model, and also include menu code generation rules, etc. The document application model is generated by the preset rules and metadata model corresponding to the business type. Through the technical solution of the present invention, the corresponding business document is intelligently created according to the actual business of the document, and it contains corresponding core functions, which can be widely used in the actual production of enterprises.
[0025] According to another aspect of the present invention, a business processing method is proposed, including: receiving preset business function modules and business information configured by a user, the business information including business fields; retrieving the preset business function modules from a database; creating a metadata model based on the preset business function modules and business fields; and generating a document application model based on the metadata model.
[0026] In this technical solution, the preset business function module and business information configured by the user are received, wherein the preset business function module is based on the actual business of the document, the function of the business is abstracted, and a specific module is abstracted. Each module has only one separate function, and the modules are completely consistent in structure except for the different functions. Each module independently determines whether it is an independent module, whether it has a dependent and mutually exclusive relationship with other modules. In addition, the business information includes business fields, and the business fields are fields added by the user according to the actual business. The preset business function module configured by the user is retrieved from the database, and the preset business function module and the business field are parsed, so as to obtain the association relationship between the business function data and different business function data, so as to create a metadata model, and publish the metadata model as a document application model, and the document application model has the function of the selected function module. When the user uses it, the data will be parsed from the document application model and displayed in a specific interface, that is, a specific document. The business processing method provided by the present invention modularizes the business by extracting the core functions of the document, and generates various documents through configurable functions, thereby making up for the repetitive and time-consuming aspects of the traditional development solution.
[0027] In the above technical solution, the business processing method also includes: receiving business data configured by a user; and generating a document according to the document application model and the business data.
[0028] In this technical solution, when a user uses a document, it is displayed on the front-end interface according to the document application model selected by the user, and the business data configured by the user is received, that is, the data corresponding to each business field. For example, the person who makes the reimbursement is Xiao Wang, the person who makes the reimbursement is the business field, and Xiao Wang is the business data. The actual document is generated according to the document application model and the business data. The technical solution of the present invention selects the business function module to be used, adds business fields, publishes metadata, and publishes applications through the front-end page, thereby obtaining a document with the function of the selected business function module, and based on this, configures the business data, performs operations on the business data, and stores the operation data, thereby obtaining the actual document.
[0029] In any of the above technical solutions, the business processing method also includes: generating a corresponding database table according to the metadata model; storing the database table in a database, and storing the business data in the database table.
[0030] In this technical solution, a corresponding database table is generated according to the metadata model, and the database table is stored in the database. When the front-end interface receives the business data configured by the user and transmits it to the back-end, the business data is stored in the database table accordingly. Among them, the database table includes at least one table related to the business. Through the technical solution of the present invention, the business documents configured by the user can be stored, so that the configurable business documents support the functions of adding, deleting, checking and modifying, which greatly facilitates the use of business personnel.
[0031] In any of the above technical solutions, the business information also includes the business type; the step of generating a document application model based on the metadata model specifically includes: determining the corresponding preset rules based on the business type; generating the document application model based on the preset rules and the metadata model.
[0032] In this technical solution, the business information configured by the user includes business fields and business types. Business types include document types such as vehicle application forms, financial reimbursement forms, equipment purchase forms, etc. By determining the business type, the corresponding preset rules are determined. The preset rules mainly include storage structure rules of the document application model, and also include menu code generation rules, etc. The document application model is generated by the preset rules and metadata model corresponding to the business type. Through the technical solution of the present invention, the corresponding business document is intelligently created according to the actual business of the document, and it contains corresponding core functions, which can be widely used in the actual production of enterprises.
[0033] According to another aspect of the present invention, a readable storage medium is provided, on which a program is stored, and when the program is executed by a processor, a business processing method as described in any of the above technical solutions is implemented.
[0034] The readable storage medium provided by the present invention implements the steps of the business processing method of any of the above-mentioned technical solutions when the program is executed by the processor, so the readable storage medium includes all the beneficial effects of the business processing method of any of the above-mentioned technical solutions.
[0035] Additional aspects and advantages of the present invention will become apparent from the following description or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0037] Figure 1 A schematic block diagram showing a service processing device according to an embodiment of the present invention is shown;
[0038] Figure 2 A schematic block diagram showing a service processing device according to another embodiment of the present invention;
[0039] Figure 3 A schematic diagram showing a flow chart of a business processing method according to an embodiment of the present invention;
[0040] Figure 4 A schematic diagram showing a flow chart of a business processing method according to another embodiment of the present invention;
[0041] Figure 5 A schematic diagram showing a flow chart of a business processing method according to another embodiment of the present invention;
[0042] Figure 6 A schematic diagram showing a flow chart of a business processing method according to another embodiment of the present invention;
[0043] Figure 7 A schematic diagram showing the overall architecture of a service processing device according to a specific embodiment of the present invention is shown;
[0044] Figure 8 A schematic diagram showing the architecture of a configuration platform of a service processing device according to a specific embodiment of the present invention;
[0045] Fig. 9 A schematic diagram showing the properties of a standard field according to a specific embodiment of the present invention is shown;
[0046] Fig.10 A schematic diagram showing a preset business function module of a specific embodiment of the present invention
[0047] Fig.11 A schematic diagram showing the architecture of an operating platform of a service processing device according to a specific embodiment of the present invention;
[0048] Fig.12 A schematic diagram showing a functional unit of a specific embodiment of the present invention is shown;
[0049] Fig.13 A schematic diagram showing the creation of a business document according to a specific embodiment of the present invention is shown. DETAILED DESCRIPTION
[0050] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.
[0051] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0052] According to an embodiment of one aspect of the present invention, a service processing device is provided.
[0053] Embodiment 1, Figure 1 FIG. 1 is a schematic block diagram of a service processing device 100 according to an embodiment of the present invention. The service processing device 100 includes:
[0054] The interaction unit 102 is used to receive the preset business function module and business information configured by the user, where the business information includes a business field;
[0055] The module component unit 104 is used to retrieve the preset business function module from the database;
[0056] The metadata unit 106 is used to create a metadata model according to preset business function modules and business fields;
[0057] The application publishing unit 108 is used to generate a document application model according to the metadata model.
[0058] The business processing device provided by the embodiment of the present invention includes an interaction unit 102, a module component unit 104, a metadata unit 106 and an application publishing unit 108. The interaction unit 102 responds to the user's operation to perform the interaction processing between the front and back ends. Specifically, the interaction unit 102 receives the preset business function module and business information configured by the user, wherein the preset business function module is to abstract the business function according to the actual business of the document, and abstract out specific modules, each module has only one separate function, and the modules are completely consistent in structure except for the different functions. Each module independently determines whether it is an independent module, whether it has a dependent and mutually exclusive relationship with other modules. In addition, the business information includes business fields, and the business fields are fields added by the user according to the actual business. The preset business function module configured by the user is retrieved from the database through the module component unit 104, and the preset business function module and the business field are parsed through the metadata unit 106, so as to obtain the association relationship between the business function data and different business function data, so as to create a metadata model. The application publishing unit 108 publishes the metadata model as a document application model, and the document application model has the function of the selected function module. When the user uses it, the data will be parsed from the document application model and displayed in a specific interface, that is, a specific document. The business processing device provided by the present invention modularizes the business by extracting the core functions of the document, and realizes the configurable function of the business document through the business function modules configured and preset by the interaction unit 102, the module component unit 104, the application publishing unit 108, and the metadata unit 106, thereby realizing the wisdom of the overall device, generating various documents through different modules, and making up for the duplication and time-consuming of traditional development solutions.
[0059] After the document entity is standardized and the functions are modularized in this embodiment, the device no longer executes specific business, but executes standard module actions on standard documents. However, for business personnel, various businesses are executed, which can replace a large number of business documents and greatly meet the needs of business personnel.
[0060] In the above embodiment, the preset business function module includes a basic function module, and any one of the following items or a combination thereof: an import and export module, an attachment function module, a printing function module, an approval flow function module, and a business flow function module.
[0061] In this embodiment, the core functions of the document are extracted, and the business is modularized into the following standard function modules: basic function module, import and export module, attachment function module, printing function module, approval flow function module, business flow function module, but not limited to this. Among them, the basic function module contains the most basic functions of a document operation, so this module is the default selection and cannot be cancelled. In addition, a standard function module includes function fields and function units. The function field is the business field necessary to realize the function, and each field is a standard field. The function unit includes function buttons and preset events. The function unit not only provides corresponding functions during the execution of the module, but also cooperates with the metadata unit, application publishing unit, and module component unit to process related function fields.
[0062] In the above embodiment, the interaction unit 102 is further used to receive business data configured by the user; the application publishing unit 108 is further used to generate a document according to the document application model and the business data.
[0063] In this embodiment, when the user uses the document, the interaction unit 102 receives the business data configured by the user, that is, the data corresponding to each business field. For example, if the person who makes the reimbursement is Xiao Wang, the person who makes the reimbursement is the business field, and Xiao Wang is the business data. The application publishing unit 108 generates the actual document according to the document application model and the business data. In the embodiment of the present invention, through the front-end page, the business function module to be used is selected, the business field is added, the metadata is published, and the application is published, so as to obtain the document with the function of the selected business function module, and based on this, the business data is configured, the business data is calculated and the calculation data is stored, so as to obtain the actual document.
[0064] In any of the above embodiments, the business processing device also includes: a data storage unit 110; a metadata unit 106, which is also used to generate a corresponding database table according to the metadata model; the data storage unit 110 is used to store the database table in the database, and store the business data in the database table.
[0065] In this embodiment, the business processing device also includes a data storage unit 110. The interaction module is responsible for transmitting data to the background, and the data storage unit 110 receives the data and performs data storage operations. After the metadata unit 106 generates a corresponding database table according to the metadata model, the data storage unit 110 stores the database table in the database. When the interaction unit transmits the business data to the background, the data storage unit 110 receives the business data and stores it in the database table accordingly. Among them, the database table includes at least one table related to the business. Through the embodiments of the present invention, the business documents configured by the user can be stored, so that the configurable business documents support the functions of adding, deleting, checking and modifying, which greatly facilitates the use of business personnel.
[0066] Embodiment 2: Figure 2 A schematic block diagram of a service processing device 200 according to another embodiment of the present invention is shown. The service processing device includes:
[0067] The interaction unit 202 is used to receive the preset business function module and business information configured by the user, and receive the business data configured by the user, wherein the business information includes a business field;
[0068] The module component unit 204 is used to retrieve the preset business function module from the database;
[0069] The metadata unit 206 is used to create a metadata model according to preset business function modules and business fields;
[0070] An application publishing unit 208, used to generate a document application model according to the metadata model, generate a document according to the document application model and business data, and also to generate a corresponding database table according to the metadata model;
[0071] The data storage unit 210 is used to store the database table in the database, and store the business data in the database table;
[0072] The field unit 212 is used to convert the business field into a standard field based on preset standard field attributes.
[0073] In this embodiment, the carrier of the business is the document, and the basis of the document is the field. To break the business meaning of all fields, the fields must be standardized. Standard fields can be created arbitrarily, and the processing and use of standard fields are completely consistent. Fields can be intelligently connected, and the fields connected together are business documents. The standard fields are specified by the field unit 212, and a unified value assignment function is provided for the standard fields. The field unit 212 converts the business fields into standard fields by presetting standard field attributes. Through the embodiment of the present invention, the core functions of the business are extracted, the business is standardized and modularized, and the configurable function of the business document is realized through the module component unit 204, the application publishing unit 208, the metadata unit 206, and the field unit 212, combined with the data unit, the interaction unit 202, and the preset business function module, thereby realizing the wisdom of the overall device, and generating various documents through different modules to make up for the repetitive and time-consuming aspects of the traditional development solution.
[0074] In the above embodiment, the preset standard field attributes include attribute name, display name, type, and any one of the following items or a combination thereof: type style, field type, field name, whether it can be empty, precision, length, maximum value, minimum value, reference name, description, and multilingual field.
[0075] In this embodiment, each field does not necessarily have all the attributes, but the attributes of each field are within the above attributes. Among them, the core attributes are attribute name, display name, and type. The field name and field type will be assigned to the field according to the attribute name and type.
[0076] In any of the above embodiments, the business information also includes the business type; the step of the application publishing unit 208 generating a document application model according to the metadata model specifically includes: determining the corresponding preset rules according to the business type; generating the document application model according to the preset rules and the metadata model.
[0077] In this embodiment, the business information configured by the user includes business fields and business types. Business types include document types such as vehicle application forms, financial reimbursement forms, equipment purchase forms, etc. By determining the business type, the corresponding preset rules are determined. The preset rules mainly include storage structure rules of the document application model, and also include menu code generation rules, etc. The document application model is generated by the preset rules and metadata model corresponding to the business type. Through the embodiments of the present invention, the corresponding business documents are intelligently created according to the actual business of the document, and the corresponding core functions are included, which can be widely used in the actual production of enterprises.
[0078] According to an embodiment of another aspect of the present invention, a service processing method is provided.
[0079] Embodiment 3, Figure 3A schematic diagram of a process flow of a service processing method according to an embodiment of the present invention is shown. The service processing method includes:
[0080] Step 302, receiving a preset business function module and business information configured by a user, where the business information includes a business field;
[0081] Step 304, retrieve the preset business function module from the database;
[0082] Step 306, creating a metadata model according to the preset business function modules and business fields;
[0083] Step 308: Generate a document application model based on the metadata model.
[0084] The business processing method provided by the embodiment of the present invention receives the preset business function module and business information configured by the user, wherein the preset business function module is based on the actual business of the document, abstracts the function of the business, and abstracts out specific modules, each module has only one single function, and the modules are completely consistent in structure except for the different functions. Each module independently determines whether it is an independent module, whether it has a dependent and mutually exclusive relationship with other modules. In addition, the business information includes business fields, and the business fields are fields added by the user according to the actual business. The preset business function module configured by the user is retrieved from the database, and the preset business function module and the business field are parsed, so as to obtain the association relationship between the business function data and different business function data, so as to create a metadata model, and publish the metadata model as a document application model, and the document application model has the function of the selected function module. When the user uses it, the data will be parsed from the document application model and displayed in a specific interface, that is, a specific document. The business processing method provided by the present invention modularizes the business by extracting the core functions of the document, and generates various documents through configurable functions, thereby making up for the repetitive and time-consuming aspects of the traditional development solution.
[0085] Embodiment 4: Figure 4 A schematic flow chart of a service processing method according to another embodiment of the present invention is shown. The service processing method includes:
[0086] Step 402, receiving a preset business function module and business information configured by a user, where the business information includes a business field;
[0087] Step 404, converting the business field into a standard field according to the preset standard field attributes; and retrieving the preset business function module from the database;
[0088] Step 406, creating a metadata model according to the preset business function modules and standard fields;
[0089] Step 408, generating a document application model according to the metadata model;
[0090] Step 410: receiving the business data configured by the user, and generating a document according to the document application model and the business data.
[0091] In this embodiment, when a user uses a document, it is displayed on the front-end interface according to the document application model selected by the user, and the business data configured by the user is received, that is, the data corresponding to each business field. For example, if the person who makes the reimbursement is Xiao Wang, the person who makes the reimbursement is the business field, and Xiao Wang is the business data. The actual document is generated according to the document application model and the business data. In the embodiment of the present invention, through the front-end page, the business function module to be used is selected, the business field is added, the metadata is published, and the application is published, so as to obtain a document with the function of the selected business function module, and based on this, the business data is configured, the business data is calculated and the calculation data is stored, so as to obtain the actual document.
[0092] Embodiment 5, Figure 5 A schematic diagram of a process flow of a service processing method according to another embodiment of the present invention is shown. The service processing method includes:
[0093] Step 502, generating a corresponding database table according to the metadata model;
[0094] Step 514: store the database table in the database, and store the business data in the database table.
[0095] In this embodiment, a corresponding database table is generated according to the metadata model, and the database table is stored in the database. When the front-end interface receives the business data configured by the user and transmits it to the back-end, the business data is stored in the database table accordingly. Among them, the database table includes at least one table related to the business. Through the embodiment of the present invention, the business documents configured by the user can be stored, so that the configurable business documents support the functions of adding, deleting, checking and modifying, which greatly facilitates the use of business personnel.
[0096] Embodiment 6, Figure 6 A schematic flow chart of a service processing method according to another embodiment of the present invention is shown. The service processing method includes:
[0097] Step 602, receiving a preset service function module and service information configured by a user, wherein the service information includes a service field and a service type;
[0098] Step 604, retrieve the preset business function module from the database;
[0099] Step 606, creating a metadata model according to the preset business function modules and business fields;
[0100] Step 608, determining the corresponding preset rules according to the business type; generating a document application model according to the preset rules and the metadata model;
[0101] Step 610: Receive business data configured by the user, and generate a document according to the document application model and the business data.
[0102] In this embodiment, the business information configured by the user includes business fields and business types. Business types include document types such as vehicle application forms, financial reimbursement forms, equipment purchase forms, etc. By determining the business type, the corresponding preset rules are determined. The preset rules mainly include storage structure rules of the document application model, and also include menu code generation rules, etc. The document application model is generated by the preset rules and metadata model corresponding to the business type. Through the embodiments of the present invention, the corresponding business documents are intelligently created according to the actual business of the document, and the corresponding core functions are included, which can be widely used in the actual production of enterprises. Specific embodiments
[0104] A service processing device is provided. Figure 7 FIG. 2 is a schematic diagram showing the overall architecture of a service processing device according to a specific embodiment of the present invention. Figure 7 As shown, the business processing device based on modular configuration can be generally divided into a configuration platform and an operation platform. The business document is configured through the configuration platform, and the configuration data is stored in the database to generate the corresponding business document database table. During the use of the document, the customer configuration data is parsed through the operation platform, and the operation of the business document is realized through different processing engine combinations.
[0105] Figure 8 FIG. 1 is a schematic diagram showing the architecture of a configuration platform of a service processing device according to a specific embodiment of the present invention. Figure 8 As shown, the core functions of the configuration platform are module component engine (module component unit), application publishing engine (application publishing unit), field engine (field unit), metadata engine (metadata unit), combined data engine (data storage unit), interaction engine (interaction unit), preset module components (preset business function modules) including basic function modules, import and export function modules, attachment function modules, printing function modules, approval flow function modules and business flow function modules, to realize the configurable functions of business documents.
[0106] Through the front-end page configuration, select the module components you need to use, add standard fields, publish metadata, and publish applications. The system will calculate the data operated by the user and store the calculated data.
[0107] Front-end page configuration, providing interface display and human-computer interaction capabilities.
[0108] The interaction engine responds to user operations and performs interaction processing between the foreground and the background.
[0109] Field engine, the field engine specifies standard fields and provides unified value assignment functions for standard fields.
[0110] Fig. 9 FIG. 2 shows a schematic diagram of the properties of a standard field of a specific embodiment of the present invention. Fig. 9 As shown, the standard field contains 14 standard attributes (preset standard field attributes), which are attribute name, display name, type style, type, field type, field name, whether it can be empty, precision, length, maximum value, minimum value, reference name, description, and multilingual field.
[0111] Field Name: Database field name.
[0112] Field Type: Database field type.
[0113] Attribute name: FieldEncoding.
[0114] Display name: Displays the actual meaning of the business field.
[0115] Type style: basic type or reference type; reference type is a complex type based on actual business needs.
[0116] Type: specific type; basic types include integer, string, Boolean, time, date, date and time, value, amount, multilingual text, image type, BLOB, CLOB, and conversion rate.
[0117] Reference Name: The reference name required by the reference type.
[0118] Length: The width that the field occupies when displayed in the foreground.
[0119] Precision: The precision of the numeric type can be set.
[0120] Not every field has all the attributes, but the attributes of every field are within these 14 attributes. The processing and usage of standard fields are consistent. The core attributes are attribute name, display name, and type. The field name and field type are automatically assigned according to the attribute name and type.
[0121] The metadata engine publishes metadata and creates database tables by parsing user configuration items.
[0122] The application publishing engine, combined with the data processed by the metadata engine and the user-configured data, generates the content required by the functional node according to certain rules, and calls the interface function provided by the module component processor to process the business application-level business data related to the module component.
[0123] The module component engine provides module component parsing and calling functions.
[0124] Module components, module components specify standard functional modules. A standard functional module includes functional fields, functional engines and functional configurations. The specific structure is as follows Fig.10 .
[0125] Function field: A field necessary to implement the function. Each field is a standard field. The basic function module includes a scope field. It specifies which document the function module acts on. This ensures that after the device generates many business documents, the function module acts on specific business documents.
[0126] Function configuration: some other configurations required to implement the function. This item may or may not be required according to the needs of the function module.
[0127] Function engine: not only provides corresponding functions during the execution of the module, but also cooperates with the metadata engine, application publishing engine, and module component engine to process related functional fields.
[0128] Fig.11 FIG. 1 is a schematic diagram showing the architecture of an operating platform of a service processing device according to a specific embodiment of the present invention. Fig.11 As shown, the operating platform, the core functions are module component engine (module component unit), field engine (field unit), data engine (data storage unit), interaction engine (interaction unit), preset module components (preset business function modules) including basic function modules, import and export function modules, attachment function modules, printing function modules, approval flow function modules and business flow function modules, to realize the functional support of the operating state of the configured business documents.
[0129] Front-end interface configuration:
[0130] By parsing the parameters of the front-end interface processor, page display, operation interaction and other functions are performed.
[0131] Interaction Engine:
[0132] Provides the data required for interface loading and display, and provides the corresponding interface for operation interaction functions.
[0133] Field Engine:
[0134] Provide unified value retrieval and assignment functions for each standard field.
[0135] Module component engine:
[0136] Provides parsing and calling functions for module components.
[0137] Module components:
[0138] Each standard module contains a function engine (functional unit) that implements the functions of the module.
[0139] Fig.12 The schematic diagram of the functional unit of a specific embodiment of the present invention is shown. The functional engine is divided into two parts, namely, the function button and the preset event, as shown in the above figure. The event corresponding to the function button provides the main function of the functional module, and for the two special actions of saving and deleting, the before and after events of the action are preset respectively.
[0140] For various documents, six functional modules are abstracted, namely basic functional module, attachment functional module, printing functional module, import and export functional module, approval flow functional module, and business flow functional module. The basic functional module can exist independently, and other functional modules are dependent on the basic functional module. For specific businesses, more modules can be abstracted, and the functions provided by each functional module are as follows:
[0141] The basic function module contains core standard fields and basic add, delete, modify and query functions.
[0142] The attachment function module provides the functions of uploading and downloading attachments.
[0143] The print function module provides print functions.
[0144] The import and export function module provides the function of batch import or export data.
[0145] The approval flow function module provides document approval capabilities and can configure approval flows to circulate documents.
[0146] The business flow function module provides interaction between upstream and downstream documents, completing the functions of pushing and pulling orders.
[0147] Fig.13 A schematic diagram of intelligently creating a business document according to a specific embodiment of the present invention is shown. Among them, business personnel only need to add business fields and select business function modules according to actual business needs to complete the creation of business documents. This device will intelligently add all fields in the form of rule standard fields, and intelligently generate specific documents through the metadata engine and application publishing engine. At the same time, the document has the functions of the selected function module. The operating platform parses the metadata model and application model published by the metadata engine and the application publishing engine, displays the document to the user, and responds to the user's operations.
[0148] According to an embodiment of still another aspect of the present invention, a readable storage medium is provided, on which a program is stored, and when the program is executed by a processor, a service processing method as in any of the above embodiments is implemented.
[0149] The readable storage medium provided by the embodiment of the present invention implements the steps of the business processing method of any of the above embodiments when the program is executed by the processor. Therefore, the readable storage medium includes all the beneficial effects of the business processing method of any of the above embodiments.
[0150] The characteristic of the present invention is intelligence, and the basis of intelligence is standardization and modularization. The present invention does not adopt the method of simulating human brain intelligence, and has no central processing mechanism, but standardizes and modularizes the business, and embodies intelligence in standard components and modules.
[0151] The present invention standardizes the document entity and modularizes the functions. For this device, what is executed is no longer a specific business, but the standard module action is executed on the standard document. However, for the business personnel, various businesses are executed, which can replace a large number of business documents and greatly meet the needs of the business personnel.
[0152] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance unless otherwise clearly specified and limited; the terms "connection", "installation", "fixation" and the like should be understood in a broad sense, for example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0153] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0154] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A service processing device, characterized in that: include: An interaction unit, configured to receive, in response to a user operation, a preset service function module and service information configured by the user, and further configured to receive service data configured by the user, wherein the service information includes a service field, and the service data is data corresponding to the service field; A module component unit, used to retrieve the preset business function module from a database; A metadata unit, used to create a metadata model according to the preset business function module and the business field; An application publishing unit, used to generate a document application model according to the metadata model, and also used to generate a document according to the document application model and the business data; The preset business function modules include basic function modules, and any one of the following or a combination thereof: import and export module, attachment function module, printing function module, approval flow function module, and business flow function module.
2. The service processing device according to claim 1, characterized in that: Also includes: Data storage unit; The metadata unit is further used to generate a corresponding database table according to the metadata model; The data storage unit is used to store the database table in the database, and store the business data in the database table.
3. The service processing device according to claim 1, characterized in that: Also includes: The field unit is used to convert the business field into a standard field based on preset standard field attributes.
4. The service processing device according to any one of claims 1 to 3, characterized in that: The business information also includes business type; The step of the application publishing unit generating a document application model according to the metadata model specifically includes: Determine a corresponding preset rule according to the business type; The document application model is generated according to the preset rules and the metadata model.
5. A business processing method, characterized in that: include: In response to the user's operation, receiving the preset business function module and business information configured by the user, and receiving the business data configured by the user, wherein the business information includes a business field, and the business data is data corresponding to the business field; Retrieving the preset business function module from the database; Creating a metadata model according to the preset business function module and the business field; Generate a document application model according to the metadata model, and generate a document according to the document application model and the business data; The preset business function modules include basic function modules, and any one of the following or a combination thereof: import and export module, attachment function module, printing function module, approval flow function module, and business flow function module.
6. The service processing method according to claim 5, characterized in that: Also includes: Generate a corresponding database table according to the metadata model; The database table is stored in the database, and the business data is stored in the database table.
7. The service processing method according to claim 5 or 6, characterized in that: The business information also includes business type; The step of generating a document application model according to the metadata model specifically includes: Determine a corresponding preset rule according to the business type; The document application model is generated according to the preset rules and the metadata model.
8. A readable storage medium having a program stored thereon, characterized in that: When the program is executed by a processor, the business processing method according to any one of claims 5 to 7 is implemented.
Citation Information
Patent Citations
Business receipt generating method and system
CN108132923A