CN116166667A - Document field information carrying method, device, equipment and storage medium - Google Patents

Document field information carrying method, device, equipment and storage medium Download PDF

Info

Publication number
CN116166667A
CN116166667A CN202310172034.8A CN202310172034A CN116166667A CN 116166667 A CN116166667 A CN 116166667A CN 202310172034 A CN202310172034 A CN 202310172034A CN 116166667 A CN116166667 A CN 116166667A
Authority
CN
China
Prior art keywords
carrying
bill
field
triggering
document
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310172034.8A
Other languages
Chinese (zh)
Inventor
何俊超
刘晓辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jindiyun Technology Co ltd
Original Assignee
Jindiyun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jindiyun Technology Co ltd filed Critical Jindiyun Technology Co ltd
Priority to CN202310172034.8A priority Critical patent/CN116166667A/en
Publication of CN116166667A publication Critical patent/CN116166667A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The application relates to a method, a device, equipment and a storage medium for carrying bill field information, and relates to the technical field of bill data processing. The method comprises the following steps: determining a configured first carrying scheme; associating a preconfigured field carrying plug-in with a first triggering operation for a first triggering document; and under the condition that the first triggering bill is triggered to execute the first triggering operation, carrying the first carrying field information to the second bill through the field carrying plug-in according to the first carrying scheme. The method can greatly reduce the limitation of carrying the bill field information. The present invention is applicable to enterprise management systems, such as enterprise resource planning systems (Enterprise Resource Planning, ERP), customer relationship management systems (Customer Relationship Management, CRM), OA systems, and the like.

Description

Document field information carrying method, device, equipment and storage medium
Technical Field
The present invention relates to the field of document data processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for carrying document field information.
Background
In current enterprise resource planning systems (Enterprise Resource Planning, EPR), many documents are required for recording business processes. As the personalized demands of users for documents increase, it is common to add identical fields to multiple documents.
Currently, field information carrying between different documents is usually realized by manually modifying a system code. However, this approach requires specialized technical developers to implement, and thus has significant limitations.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a method, apparatus, device, and storage medium for carrying document field information, which can reduce limitations.
In a first aspect, the present application provides a method for carrying document field information. The method comprises the following steps:
determining a configured first carrying scheme; a first trigger bill is arranged in the first carrying scheme, and in the first carrying scheme, a source bill is set to be a first bill, and a target bill is set to be a second bill; the first triggering bill is a bill acted by the first triggering operation; the first triggering operation is an operation for triggering carrying of first carrying field information in the first bill to the second bill;
associating a preconfigured field carrying plug-in with a first triggering operation for a first triggering document; the field carrying plug-in is an executable program for realizing automatic carrying of the bill field;
and under the condition that the first triggering bill is triggered to execute the first triggering operation, carrying the first carrying field information to the second bill through the field carrying plug-in according to the first carrying scheme.
In a second aspect, the present application further provides a device for carrying document field information. The device comprises:
the scheme determining module is used for determining a configured first carrying scheme; a first trigger bill is arranged in the first carrying scheme, and in the first carrying scheme, a source bill is set to be a first bill, and a target bill is set to be a second bill; the first triggering bill is a bill acted by the first triggering operation; the first triggering operation is an operation for triggering carrying of first carrying field information in the first bill to the second bill;
the plug-in association module is used for associating the preconfigured field carrying plug-in with a first triggering operation aiming at a first triggering bill; the field carrying plug-in is an executable program for realizing automatic carrying of the bill field;
and the information carrying module is used for carrying the first carrying field information to the second bill through the field carrying plug-in unit according to the first carrying scheme under the condition that the first triggering bill is triggered to execute the first triggering operation.
In some embodiments, the carrying device for the document field information further includes a carrying field information determining module, where the carrying field information determining module is configured to obtain a customized extension field information in response to a field extension operation performed on the first document in the document configuration interface, and determine the customized extension field information as the first carrying field information; or the method is used for responding to the field selection operation of the first bill in the bill configuration interface, and determining first carrying field information based on the bill fields selected from the bill fields of the first bill.
In some embodiments, the first carrying scheme further comprises carrying conditions; the carrying condition characterizes a field association relationship between the first document and the second document. The information carrying module is further configured to, when the first triggering document is triggered to execute the first triggering operation, carry the first carrying field information to the second document through the field carrying plug-in if the carrying condition is satisfied.
In some embodiments, the carrying device of the document field information of the present application further includes a carrying condition determining module, where the carrying condition determining module is configured to obtain an associated field in response to a field selection operation for a public document field in the document configuration interface; the public bill field is a bill field existing in both the first bill and the second bill; and determining the carrying condition according to the association field.
In some embodiments, the carrying device of the document field information further includes a script construction module, where the script construction module is configured to parse metadata of the first document and the second document through the field carrying plug-in to construct a first script corresponding to the associated field; the first script is a script for judging a field association relationship between the first document and the second document. The carrying device for the bill field information further comprises a condition judging module, wherein the condition judging module is used for executing the first script to judge whether the carrying condition is met or not under the condition that the first trigger bill is triggered to execute the triggering operation.
In some embodiments, the plug-in association module is further configured to write a program plug-in path of the plug-in carried by a field into metadata corresponding to the first trigger operation in metadata of the first trigger document, and obtain updated metadata. The information carrying module is further used for analyzing the updated metadata to obtain a field carrying plug-in unit under the condition that the first triggering bill is triggered to execute the first triggering operation; and carrying the first carried field information to the second bill according to the first carrying scheme through the field carrying plug-in.
In some embodiments, the plug-in association module is further configured to load extension metadata corresponding to the first trigger document; the metadata is expanded, and the metadata is data obtained by performing two-way expansion on the metadata of the first trigger bill; analyzing the extended metadata to determine metadata corresponding to the first triggering operation; and writing the program plug-in path of the field carrying plug-in into the metadata corresponding to the first trigger operation to obtain updated metadata.
In some embodiments, the information carrying module is further configured to generate a corresponding second script according to the first carrying scheme through the field carrying plug-in, and execute the second script through the field carrying plug-in to carry the first carrying field information to the second document.
In some embodiments, the first trigger document is configured as a first document, and the scheme determination module is further configured to determine a configured second carrying scheme; a second triggering bill is arranged in the second carrying scheme, and the second triggering bill is set to be a third bill; the source bill is set as a second bill, and the target bill is set as a first bill; and a field carrying plug-in is associated with a second triggering operation corresponding to the second triggering bill. The information carrying module is further configured to carry, when the second trigger document is triggered to execute the second trigger operation, second carrying field information in the second document to the first document according to a second carrying scheme through a field carrying plug-in associated with the second trigger operation corresponding to the second trigger document.
In a third aspect, the present application further provides a computer device, where the computer device includes a memory and a processor, where the memory stores a computer program, and the processor implements steps in the method for carrying document field information described above when executing the computer program.
In a fourth aspect, the present application further provides a computer readable storage medium, where a computer program is stored, where the computer program when executed by a processor implements the steps in the method for carrying document field information described above.
In a fifth aspect, the present application further provides a computer program product, where the computer program product includes a computer program, and the computer program when executed by a processor implements the steps in the method for carrying document field information.
The method, the device, the computer equipment, the storage medium and the computer program product for carrying the bill field information determine a configured first carrying scheme; a first triggering bill acted by a first triggering operation is arranged in the first carrying scheme, and in the first carrying scheme, a source bill is set as a first bill, and a target bill is set as a second bill; the first triggering operation is an operation for triggering carrying of first carrying field information in the first bill to the second bill; associating a preconfigured field carrying plug-in for realizing automatic carrying of the document field with a first triggering operation aiming at a first triggering document; under the condition that the first triggering bill is triggered to execute the first triggering operation, the field carrying plug-in unit carries the first carrying field information to the second bill according to the first carrying scheme, so that the automatic carrying function of the field information can be realized in a mode that the field carrying plug-in unit associated with the first triggering operation executes the automatic carrying logic without professional technical developers, and the limitation is greatly reduced.
Drawings
FIG. 1 is a flow chart of a method for carrying document field information in some embodiments;
FIG. 2 is a diagram of relationships between documents in some embodiments;
FIG. 3 is a flow chart illustrating a method for carrying document field information in other embodiments;
FIG. 4 is a block diagram of an apparatus for carrying document field information in some embodiments;
FIG. 5 is an internal block diagram of a computer device in some embodiments;
fig. 6 is an internal structural view of the computer device in other embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
In some embodiments, as shown in fig. 1, a method for carrying document field information is provided, where this embodiment is applied to a computer device for illustration, it is to be understood that the computer device may be a server or a terminal, and the method may be implemented by the server or the terminal separately, or may be implemented by interaction between the server and the terminal. In this embodiment, the method includes, but is not limited to, the steps of:
Step 102, determining a configured first carrying scheme.
The method comprises the steps that a first triggering bill is arranged in a first carrying scheme, a source bill is set to be a first bill, and a target bill is set to be a second bill in the first carrying scheme; the first triggering bill is a bill acted by the first triggering operation; the first triggering operation is an operation for triggering carrying of the first carrying field information in the first document to the second document. It will be appreciated that the first carried field information may include a document field that needs to be carried from a source document to a target document, and may include a document field and a field value that need to be carried from a source document to a target document. For example, assuming that the source document includes a document field a and a document field B, and the source document needs to carry the document field a to the target document, the corresponding first carrying field information may include only the document field a, and may also include the document field a and a field value corresponding to the document field a.
The source bill refers to a bill for initiating field carrying, namely a sender carried by the field; target document refers to a document that carries a field to where, i.e., the recipient that the field carries.
In some embodiments, the first triggering operation includes at least one of a save operation, a commit operation, an audit operation, or a de-audit operation. The storage operation refers to the operation of storing the bill on the management system by a user, the submitting operation refers to the operation of submitting the bill on the management system by the user, the checking operation refers to the operation of checking the bill on the management system by the user, and the anti-checking operation refers to the process of returning the checked bill to the user submitting the bill for modification under the condition of failure of checking the bill.
In some embodiments, the present application designs a front-end interface for a user to configure the carrying relationship between documents in the interface to form a first carrying scheme. The method mainly relates to the contents of source receipts, target receipts, first trigger operations, configuration fields, carrying conditions and the like. The configuration field refers to a corresponding mapping relation between bill fields in a source bill and a target bill. The trigger document can be a source document, a target document or a document of any third party in the same product, and the application is not particularly limited.
In some embodiments, according to a first trigger document selected by a user in a front-end interface, all trigger operations are parsed, and a pull-down list is generated according to all parsed trigger operations, so that the user can select one of the trigger operations from the pull-down list, and the first trigger operation is obtained.
In some embodiments, the matching fields may be document bodies, which may include source document objects, target document objects, and matching fields for source and target documents. It can be understood that, under the condition that the user adds the custom extension fields on the first bill and the second bill, the product automatically generates the metadata of the two-way expansion at this time, only the metadata of the expansion can be analyzed at this time, for example, the extensible markup language (Extensible Markup Language, XML) file of the metadata of the expansion is subjected to structural analysis, the custom extension fields are analyzed, and then the drop-down list corresponding to the matching fields of the source bill and the target bill in the front-end interface is bound for the user to select. For example, the first bill is an asset change bill, the second bill is an asset card, and the asset change bill, the card bill body, the card code=the asset card, the card code, that is, the card code in the entry of the card bill body on the asset change bill can be matched with the code field of the asset card itself. It should be noted that different document fields have different types, such as text type, amount type, basic data, etc.
In some embodiments, the process of parsing extended metadata requires support for formula fetching, handling relationships between different documents, and constraints on fields.
Specifically, the computer device may directly obtain the preconfigured first carrying scheme, or the computer device may provide an interface for configuring the carrying scheme for the user, and after the user configures the first carrying scheme on the interface, the computer device may obtain the first carrying scheme configured on the interface by the user.
Step 104, associating the preconfigured field carrying plug-in with a first triggering operation for a first triggering document.
The field carrying plug-in is an executable program for realizing automatic carrying of the document field.
Specifically, the computer equipment analyzes metadata corresponding to the first trigger bill, and associates a preconfigured field carrying plug-in into the metadata corresponding to the first trigger operation for the first trigger bill, so as to realize the automatic carrying function of the bill field through the associated field carrying plug-in.
In some embodiments, the computer device may further parse metadata corresponding to the first trigger document, and inject a preconfigured field carrying plug-in into metadata corresponding to a first trigger operation for the first trigger document, so as to trigger the field carrying plug-in to be executed through the first trigger operation, thereby implementing an automatic carrying function of the document field.
It should be noted that, in order not to directly modify metadata of a management system running in a computer device, an extension mechanism is used in the present application to extend metadata of the management system, so metadata corresponding to a first trigger document may be extended metadata, that is, metadata of the first trigger document may be data obtained by two-way extension.
And step 106, carrying the first carrying field information to the second bill through the field carrying plug-in according to the first carrying scheme under the condition that the first triggering bill is triggered to execute the first triggering operation.
Specifically, after the computer device associates the field carrying plug-in with the first triggering operation for the first triggering document, if the user performs the first triggering operation in the first triggering document, the field carrying plug-in can be triggered to run, so that a database script matched with the first carrying scheme is automatically constructed and executed through the field carrying plug-in, and the purpose of automatic carrying is achieved.
In some embodiments, as shown in fig. 2, the management system includes N different documents such as a document a and a document B, where the document a and the document B may not have any relationship, and when a user wants to implement field carrying between multiple documents, a field carrying plug-in may automatically carry a source field in the document a to the document B, so that the source field is matched with a target field in the document B. Similarly, the source field in the bill B can be automatically carried into the N bill through the field carrying plug-in, so that the source field is matched with the target field in the N bill, and the automatic carrying process of the field is completed.
The carrying method of the bill field information comprises the steps of determining a configured first carrying scheme; a first triggering bill acted by a first triggering operation is arranged in the first carrying scheme, and in the first carrying scheme, a source bill is set as a first bill, and a target bill is set as a second bill; the first triggering operation is an operation for triggering carrying of first carrying field information in the first bill to the second bill; associating a preconfigured field carrying plug-in for realizing automatic carrying of the document field with a first triggering operation aiming at a first triggering document; under the condition that the first triggering bill is triggered to execute the first triggering operation, the field carrying plug-in unit carries the first carrying field information to the second bill according to the first carrying scheme, so that the automatic carrying function of the field information can be realized in a mode that the field carrying plug-in unit associated with the first triggering operation executes the automatic carrying logic without professional technical developers, and the limitation is greatly reduced.
In some embodiments, the method for carrying document field information in the present application further includes any one of the following processes: responding to field expansion operation performed on a first bill in a bill configuration interface, obtaining self-defined expansion field information, and determining the self-defined expansion field information as first carried field information; in response to a field selection operation for a first document in the document configuration interface, determining first carried field information based on a document field selected from among the document fields of the first document.
The document configuration interface refers to a front-end interface provided by computer equipment and used for configuring a carrying scheme for a user. The field expansion operation refers to the operation of customizing new fields and field information in a bill to obtain customized expansion field information. The field selection operation refers to an operation of selecting an existing document field in the first document.
Specifically, the user may perform a field expansion operation on the first document in the document configuration interface provided by the computer device, and the computer device obtains the customized expansion field information in response to the field expansion operation performed on the first document in the document configuration interface by the user. Or, the user can perform a field selection operation on the first document in the document configuration interface provided by the computer device, and the computer device responds to the field selection operation on the first document in the document configuration interface by the user, and obtains the first carrying field information based on the field information of the selected document field in the document fields of the first document, so that the user can determine the carrying field by performing a custom expansion on the fields which are not in the document and directly selecting the original fields in the document, and obtain the corresponding first carrying field information, thereby being capable of meeting diversified carrying field configuration requirements.
In some embodiments, the first carrying scheme further comprises carrying conditions; the carrying condition characterizes a field association relationship between the first document and the second document. Step 106 specifically includes, but is not limited to, including: and under the condition that the first triggering bill is triggered to execute the first triggering operation, if the carrying condition is met, carrying the first carrying field information to the second bill through the field carrying plug-in.
Specifically, when a user performs a first triggering operation in a first triggering bill, that is, when the first triggering bill is triggered to perform the first triggering operation, if a carrying condition is met, the computer equipment can carry the first carrying field information to a second bill through the field carrying plug-in unit; if the carrying condition is not satisfied, the computer equipment does not execute the automatic carrying processing of the follow-up document field. Therefore, after the fact that the first bill and the second bill meet a certain association relation is determined, the automatic carrying processing of the bill field can be guaranteed to be normally executed in the follow-up process.
In some embodiments, the method for carrying the document field information specifically further includes, but is not limited to, including: responding to a field selection operation aiming at a public bill field in a bill configuration interface to obtain an associated field; and determining the carrying condition according to the association field.
Wherein the public document field is a document field that exists in both the first document and the second document. For example, the field a and the field B exist in the first document, and the field B and the field C exist in the second document, and since the field B is a field existing in both the first document and the second document, the field B can be determined as a public document field.
Specifically, in the case that the public document field of the first document and the public document field of the second document are only one, the user may perform a field selection operation on the displayed one public document field in the document configuration interface, and the computer device determines the public document field selected by the user as an associated field and determines the carrying condition according to the associated field. Under the condition that the number of the public bill fields of the first bill and the second bill is multiple, a user can perform field selection operation on the displayed multiple public bill fields in the bill configuration interface, and the computer equipment determines the public bill fields selected by the user as associated fields and determines carrying conditions according to the associated fields, so that configuration requirements of diversified associated fields and carrying conditions can be met.
In some embodiments, the method for carrying the document field information specifically further includes, but is not limited to, including: analyzing metadata of the first bill and the second bill through the field carrying plug-in unit so as to construct a first script corresponding to the associated field; and under the condition that the first trigger bill is triggered to execute the trigger operation, executing the first script to judge whether the carrying condition is met.
The first script is used for judging the field association relation between the first bill and the second bill. In some embodiments, the first script may be a structured query language (Structured Query Language, SQL) script for determining field associations between the first document and the second document.
Specifically, the computer equipment directly analyzes the metadata XML files of the first bill and the second bill, analyzes all standard bill fields, dynamically constructs scripts corresponding to the associated fields, and obtains a first script. Then, in the case that the first trigger document is subjected to the triggering operation, the computer device executes the first script to determine whether the carrying condition is satisfied.
In some implementations, the first script may be an SQL script corresponding to the associated field. For example, the pseudocode of the first script fragment may be: … on card. Fnumber=change. Fnumber and card. Fdedepart=change. Fdedepart. The card can be a master table of an asset card, change is a master table of an asset change list, fmumber is an asset code, and fdepartment is a use department.
In some embodiments, step 104 specifically includes, but is not limited to including: and writing the program plug-in path of the plug-in carried by the field into metadata corresponding to the first triggering operation in the metadata of the first triggering bill to obtain updated metadata. Step 106 specifically includes, but is not limited to, including: under the condition that the first triggering bill is triggered to execute the first triggering operation, analyzing the updated metadata to obtain a field carrying plug-in; and carrying the first carried field information to the second bill according to the first carrying scheme through the field carrying plug-in.
The program plug-in path refers to a path of a code file corresponding to a field carrying plug-in.
Specifically, the computer device determines a program plug-in path of the plug-in carried by the field, and writes the program plug-in path into metadata corresponding to the first trigger operation in the first trigger document to obtain updated metadata. Under the condition that the first triggering bill is triggered to execute the first triggering operation, the computer equipment analyzes the updated metadata to obtain a field carrying plug-in unit, and carries the first carrying field into the second bill according to the first carrying scheme through the analyzed field carrying plug-in unit, so that the automatic carrying of the bill field is realized.
In some embodiments, the step of writing the field carrying the program plug-in path of the plug-in to the metadata corresponding to the first triggering operation in the metadata of the first triggering document, and obtaining updated metadata specifically includes, but is not limited to, including: loading extension metadata corresponding to the first trigger bill; analyzing the extended metadata to determine metadata corresponding to the first triggering operation; and writing the program plug-in path of the field carrying plug-in into the metadata corresponding to the first trigger operation to obtain updated metadata.
The metadata are obtained by performing two-way expansion on the metadata of the first trigger document. It should be noted that, the data obtained by the two-way expansion includes a plurality of document fields, and the document fields include unique identifiers, table field names, belonging tables, field types and other characteristics. The unique identifier comprises a form identifier, a field identifier and the like, is used for interface configuration selection, the field name and the table name are used for constructing SQL, and the field type is a constraint condition among different fields, for example, the fields of text type and digital type cannot be mapped and matched.
Specifically, the computer device loads the extension metadata corresponding to the first trigger document, analyzes the extension metadata to dynamically analyze all trigger operations in the first trigger document, finds the first trigger operation from all trigger operations, and determines metadata corresponding to the first trigger operation. After the field carrying plugin is dynamically registered, the automatic carrying process of the follow-up document field can be realized through the dynamically registered field carrying plugin.
In some embodiments, the step of "carrying the first carried field information to the second document according to the first carrying scheme by the field carrying plug-in" specifically includes, but is not limited to, including: and generating a corresponding second script according to the first carrying scheme through the field carrying plug-in, and executing the second script through the field carrying plug-in so as to carry the first carrying field information to the second bill.
Wherein the second script is a script that matches the first carrying scheme. In some embodiments, the second script is a SQL script that matches the first carrying scenario.
Specifically, after the updated metadata is parsed to obtain the field carrying plug-in, the computer device dynamically generates a corresponding second script according to the first carrying scheme through the parsed field carrying plug-in, and automatically executes the second script to realize automatic updating of the document field information.
In some embodiments, the first trigger document is set to the first document. The document field information carrying method specifically further includes, but is not limited to, the following steps: determining a configured second carrying scheme; and under the condition that the second triggering bill is triggered to execute the second triggering operation, carrying second carrying field information in the second bill to the first bill according to a second carrying scheme through a field carrying plug-in associated with the second triggering operation corresponding to the second triggering bill.
The second carrying scheme is provided with a second triggering bill, and the second triggering bill is set as a third bill; the source bill is set as a second bill, and the target bill is set as a first bill; and a field carrying plug-in is associated with a second triggering operation corresponding to the second triggering bill.
Specifically, the computer device determines a configured second carrying scheme, and under the condition that a second triggering receipt set in the second carrying scheme is triggered to execute a second triggering operation, carries field information in the second receipt to the second receipt according to the second carrying scheme through a field carrying plug-in associated with the second triggering operation corresponding to the second triggering receipt, so that the field information can be carried between the first receipt and the second receipt, and mutual carrying between the two receipts is realized.
In some embodiments, as shown in fig. 3, where the document includes document a, document B, and document C, the user may configure carrying scheme a and carrying scheme B in the carrying device. The carrying scheme a is provided with a bill A and a bill B, wherein the bill A is a source bill, the bill B is a target bill, the bill A is a trigger bill, and the trigger operation of the bill A is an auditing operation; the carrying scheme B is provided with a bill A, a bill B and a bill C, wherein the bill A is a source bill, the bill B is a target bill, the bill C is a trigger bill, and the trigger operation of the bill C is an auditing operation. After the carrying device examines the carrying scheme a, the field carrying plug-in is automatically injected into metadata of the bill A, and the configuration field information of the bill A is carried into the bill B under the condition that the bill A triggers the examining operation. After the carrying device examines the carrying scheme B, the field carrying plug-in is automatically injected into metadata of the bill C, and the configuration field information of the bill B is carried into the bill A under the condition that the bill C triggers the examining operation. In other words, the field of the bill A can be pushed to the bill B when the bill A is checked, or the field of the bill B can be reversely written into the bill A when the bill C is checked, and finally mutual carrying between the two bills is realized.
In some embodiments, the application supports mapping modes of different scenes of a document, the first mode is carrying the document, and the corresponding scene includes: the bill head carries the bill body (1 to N), the bill body is carried to the bill head (N to 1) and the different bill bodies (N to N). The second way is to carry different documents (including different fields), and the corresponding scenes comprise: the bill head of the bill A is carried to the bill head (1 to 1) of the bill B, the bill head of the bill A is carried to the bill body (1 to N) of the bill B, the bill body of the bill A is carried to the bill head (N to 1) of the bill B, and the bill body of the bill A is carried to the bill body (N to N) of the bill B. In addition, the method and the device also support configuration of a plurality of continuous schemes so as to realize continuous carrying of bill fields among a plurality of bills.
In some embodiments, the method for carrying document field information in the present application further specifically includes, but is not limited to, the following steps:
(1) And responding to the field expansion operation performed on the first bill in the bill configuration interface, obtaining the customized expansion field information, and determining the customized expansion field information as the first carried field information. Or, in response to a field selection operation for the first document in the document configuration interface, determining the first carrying field information based on the document field selected from the document fields of the first document.
(2) Responding to a field selection operation aiming at a public bill field in a bill configuration interface to obtain an associated field; and determining the carrying condition according to the association field. And determining a first carrying scheme according to the first carrying field information, the carrying condition, the first triggering bill, the first bill and the second bill.
(3) And analyzing the metadata of the first bill and the second bill through the field carrying plug-in unit so as to construct a first script corresponding to the associated field.
(4) Loading extension metadata corresponding to the first trigger bill; analyzing the extended metadata to determine metadata corresponding to the first triggering operation; and writing the program plug-in path of the field carrying plug-in into the metadata corresponding to the first trigger operation to obtain updated metadata.
(5) Under the condition that the first triggering bill is triggered to execute the first triggering operation, executing a first script to judge whether the carrying condition is met, if the carrying condition is not met, not executing automatic carrying processing of the bill field, and if the carrying condition is met, analyzing the updated metadata to obtain a field carrying plug-in.
(6) And generating a corresponding second script according to the first carrying scheme through the field carrying plug-in, and executing the second script through the field carrying plug-in so as to carry the first carrying field information to the second bill.
In some embodiments, the method for carrying the document field information of the present application further specifically includes, but is not limited to, the steps of: and determining a second carrying scheme according to the first carrying field information, the carrying condition, the second triggering bill, the first bill and the second bill. And under the condition that the second triggering bill is triggered to execute the second triggering operation, carrying second carrying field information in the second bill to the first bill according to a second carrying scheme through a field carrying plug-in associated with the second triggering operation corresponding to the second triggering bill.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a device for carrying the bill field information, which is used for realizing the method for carrying the bill field information. The implementation scheme of the solution provided by the device is similar to the implementation scheme described in the above method, so the specific limitation in the embodiments of the carrying device for one or more document field information provided below can be referred to the limitation of the carrying method for the document field information in the above description, and will not be repeated here.
In one embodiment, as shown in fig. 4, there is provided a carrying device for document field information, including: a scheme determination module 402, a plug-in association module 404, and an information carrying module 406, wherein:
a scheme determination module 402, configured to determine a configured first carrying scheme; a first trigger bill is arranged in the first carrying scheme, and in the first carrying scheme, a source bill is set to be a first bill, and a target bill is set to be a second bill; the first triggering bill is a bill acted by the first triggering operation; the first triggering operation is an operation for triggering carrying of first carrying field information in the first bill to the second bill;
A plug-in association module 404, configured to associate a preconfigured field carrying plug-in with a first triggering operation for a first triggering document; the field carrying plug-in is an executable program for realizing automatic carrying of the bill field;
and the information carrying module 406 is configured to carry, by using the field carrying plug-in, the first carrying field information to the second document according to the first carrying scheme when the first triggering document is triggered to perform the first triggering operation.
The carrying device of the bill field information determines a configured first carrying scheme; a first triggering bill acted by a first triggering operation is arranged in the first carrying scheme, and in the first carrying scheme, a source bill is set as a first bill, and a target bill is set as a second bill; the first triggering operation is an operation for triggering carrying of first carrying field information in the first bill to the second bill; associating a preconfigured field carrying plug-in for realizing automatic carrying of the document field with a first triggering operation aiming at a first triggering document; under the condition that the first triggering bill is triggered to execute the first triggering operation, the field carrying plug-in unit carries the first carrying field information to the second bill according to the first carrying scheme, so that the automatic carrying function of the field information can be realized in a mode that the field carrying plug-in unit associated with the first triggering operation executes the automatic carrying logic without professional technical developers, and the limitation is greatly reduced.
In some embodiments, the carrying device for the document field information further includes a carrying field information determining module, where the carrying field information determining module is configured to obtain a customized extension field information in response to a field extension operation performed on the first document in the document configuration interface, and determine the customized extension field information as the first carrying field information; or the method is used for responding to the field selection operation of the first bill in the bill configuration interface, and determining first carrying field information based on the bill fields selected from the bill fields of the first bill.
In some embodiments, the first carrying scheme further comprises carrying conditions; the carrying condition characterizes a field association relationship between the first document and the second document. The information carrying module 406 is further configured to, if the carrying condition is met in a case where the first trigger document is triggered to perform the first triggering operation, carry the first carrying field information to the second document through the field carrying plug-in.
In some embodiments, the carrying device of the document field information of the present application further includes a carrying condition determining module, where the carrying condition determining module is configured to obtain an associated field in response to a field selection operation for a public document field in the document configuration interface; the public bill field is a bill field existing in both the first bill and the second bill; and determining the carrying condition according to the association field.
In some embodiments, the carrying device of the document field information further includes a script construction module, where the script construction module is configured to parse metadata of the first document and the second document through the field carrying plug-in to construct a first script corresponding to the associated field; the first script is a script for judging a field association relationship between the first document and the second document. The carrying device for the bill field information further comprises a condition judging module, wherein the condition judging module is used for executing the first script to judge whether the carrying condition is met or not under the condition that the first trigger bill is triggered to execute the triggering operation.
In some embodiments, the plug-in association module 404 is further configured to write the field carrying the plug-in path of the plug-in to metadata corresponding to the first trigger operation in the metadata of the first trigger document, and obtain updated metadata. The information carrying module 406 is further configured to, in a case where the first trigger document is triggered to perform the first triggering operation, parse the updated metadata to obtain a field carrying plug-in; and carrying the first carried field information to the second bill according to the first carrying scheme through the field carrying plug-in.
In some embodiments, the plug-in association module 404 is further configured to load extension metadata corresponding to the first trigger document; the metadata is expanded, and the metadata is data obtained by performing two-way expansion on the metadata of the first trigger bill; analyzing the extended metadata to determine metadata corresponding to the first triggering operation; and writing the program plug-in path of the field carrying plug-in into the metadata corresponding to the first trigger operation to obtain updated metadata.
In some embodiments, the information carrying module 406 is further configured to generate, by using the field carrying plug-in, a corresponding second script according to the first carrying scheme, and execute, by using the field carrying plug-in, the second script to carry the first carrying field information to the second document.
In some embodiments, the first trigger document is set to a first document, and the scheme determination module 402 is further configured to determine a configured second carrying scheme; a second triggering bill is arranged in the second carrying scheme, and the second triggering bill is set to be a third bill; the source bill is set as a second bill, and the target bill is set as a first bill; and a field carrying plug-in is associated with a second triggering operation corresponding to the second triggering bill. The information carrying module 406 is further configured to carry, when the second trigger document is triggered to execute the second trigger operation, second carrying field information in the second document to the first document according to a second carrying scheme through a field carrying plug-in associated with the second trigger operation corresponding to the second trigger document.
All or part of the modules in the document field information carrying device can be realized by software, hardware and a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In some embodiments, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 5. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used to store data related to the document field carrying. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program, when executed by a processor, implements a method of carrying document field information.
In some embodiments, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, an input/output interface, a communication interface, a display unit, and an input means. The processor, the memory and the input/output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input/output interface. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The input/output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program, when executed by a processor, implements a method of carrying document field information. The display unit of the computer device is used for forming a visual picture, and can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structures shown in fig. 5 and 6 are block diagrams of only portions of structures that are relevant to the present application and are not intended to limit the computer device on which the present application may be implemented, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In some embodiments, there is also provided a computer device comprising a memory and a processor, the memory having stored therein a computer program, the processor implementing the steps of the method embodiments described above when the computer program is executed.
In some embodiments, a computer program product is provided, comprising a computer program which, when executed by a processor, implements the steps of the method embodiments described above.
It should be noted that, user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, presented data, etc.) referred to in the present application are information and data authorized by the user or sufficiently authorized by each party.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (12)

1. The method for carrying the bill field information is characterized by comprising the following steps:
determining a configured first carrying scheme; a first trigger bill is arranged in the first carrying scheme, and in the first carrying scheme, a source bill is set to be a first bill, and a target bill is set to be a second bill; the first triggering bill is a bill acted by a first triggering operation; the first triggering operation is an operation for triggering carrying of first carrying field information in the first bill to the second bill;
Associating a preconfigured field carrying plug-in with the first triggering operation for the first triggering document; the field carrying plug-in is an executable program for realizing automatic carrying of the bill field;
and under the condition that the first triggering bill is triggered to execute the first triggering operation, carrying the first carrying field information to the second bill through the field carrying plug-in unit according to the first carrying scheme.
2. The method of claim 1, further comprising any one of the following processes:
responding to field expansion operation performed on the first bill in a bill configuration interface, obtaining customized expansion field information, and determining the customized expansion field information as the first carried field information;
and determining the first carrying field information based on the selected document field in the document fields of the first document in response to the field selection operation of the first document in the document configuration interface.
3. The method of claim 1, wherein the first carrying scheme further comprises carrying conditions; the carrying condition characterizes a field association relationship between the first bill and the second bill;
And under the condition that the first triggering bill is triggered to execute the first triggering operation, carrying the first carrying field information to the second bill through the field carrying plug-in according to the first carrying scheme, wherein the method comprises the following steps:
and under the condition that the first triggering bill is triggered to execute the first triggering operation, if the carrying condition is met, carrying the first carrying field information to the second bill through the field carrying plug-in.
4. A method according to claim 3, characterized in that the method further comprises:
responding to a field selection operation aiming at a public bill field in a bill configuration interface to obtain an associated field; the public bill field is a bill field existing in both the first bill and the second bill;
and determining the carrying condition according to the association field.
5. A method according to claim 3, characterized in that the method further comprises:
analyzing metadata of the first bill and the second bill through the field carrying plug-in unit so as to construct a first script corresponding to the associated field; the first script is used for judging the field association relationship between the first bill and the second bill;
The method further comprises the steps of:
and executing the first script to judge whether the carrying condition is met or not under the condition that the first trigger bill is triggered to execute the triggering operation.
6. The method of claim 1, wherein the associating a preconfigured field carrying plug-in with the first triggering operation for the first triggering document comprises:
writing the program plug-in path of the plug-in carried by the field into metadata corresponding to the first triggering operation in the metadata of the first triggering bill to obtain updated metadata;
and under the condition that the first triggering bill is triggered to execute the first triggering operation, carrying the first carrying field information to the second bill through the field carrying plug-in according to the first carrying scheme, wherein the method comprises the following steps:
under the condition that the first triggering bill is triggered to execute the first triggering operation, analyzing the updated metadata to obtain the field carrying plug-in unit;
and carrying the first carrying field information to the second bill according to the first carrying scheme through the field carrying plug-in.
7. The method of claim 6, wherein writing the field carrying a program plug-in path of a plug-in to metadata corresponding to the first trigger operation in metadata of the first trigger document, and obtaining updated metadata comprises:
loading extension metadata corresponding to the first trigger bill; the expansion metadata is data obtained by performing two-way expansion on the metadata of the first trigger document;
analyzing the extended metadata to determine metadata corresponding to the first triggering operation;
and writing the program plug-in path of the field carrying plug-in into the metadata corresponding to the first trigger operation to obtain updated metadata.
8. The method of claim 6, wherein the carrying the first carried field information to the second document by the field carrying plug-in according to the first carrying scheme comprises:
and generating a corresponding second script according to the first carrying scheme through the field carrying plug-in, and executing the second script through the field carrying plug-in so as to carry the first carrying field information to the second bill.
9. The method of any one of claims 1 to 8, wherein the first trigger document is provided as the first document; the method further comprises the steps of:
determining a configured second carrying scheme; a second triggering bill is arranged in the second carrying scheme, and the second triggering bill is set to be a third bill; the source bill is set as the second bill, and the target bill is set as the first bill; the field carrying plug-in is associated with a second triggering operation corresponding to the second triggering bill;
and under the condition that the second triggering bill is triggered to execute the second triggering operation, carrying second carrying field information in the second bill to the first bill according to the second carrying scheme through the field carrying plug-in associated with the second triggering operation corresponding to the second triggering bill.
10. A device for carrying document field information, the device comprising:
the scheme determining module is used for determining a configured first carrying scheme; a first trigger bill is arranged in the first carrying scheme, and in the first carrying scheme, a source bill is set to be a first bill, and a target bill is set to be a second bill; the first triggering bill is a bill acted by a first triggering operation; the first triggering operation is an operation for triggering carrying of first carrying field information in the first bill to the second bill;
The plug-in association module is used for associating a preconfigured field carrying plug-in with the first triggering operation aiming at the first triggering bill; the field carrying plug-in is an executable program for realizing automatic carrying of the bill field;
and the information carrying module is used for carrying the first carrying field information to the second bill through the field carrying plug-in unit according to the first carrying scheme under the condition that the first triggering bill is triggered to execute the first triggering operation.
11. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any one of claims 1 to 9 when the computer program is executed.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 9.
CN202310172034.8A 2023-02-24 2023-02-24 Document field information carrying method, device, equipment and storage medium Pending CN116166667A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310172034.8A CN116166667A (en) 2023-02-24 2023-02-24 Document field information carrying method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310172034.8A CN116166667A (en) 2023-02-24 2023-02-24 Document field information carrying method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116166667A true CN116166667A (en) 2023-05-26

Family

ID=86421695

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310172034.8A Pending CN116166667A (en) 2023-02-24 2023-02-24 Document field information carrying method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116166667A (en)

Similar Documents

Publication Publication Date Title
US11782892B2 (en) Method and system for migrating content between enterprise content management systems
US9208212B2 (en) Field extensibility in a multi-tenant environment with columnar database support
CN108388622B (en) API interface dynamic generation method and device, computer equipment and storage medium
CN111061475B (en) Software code generating method, device, computer equipment and storage medium
CN112800370B (en) Processing method and device of business document, computer equipment and storage medium
EP3931716A1 (en) Autolayout of visualizations based on graph data
CN105740219A (en) Report self-defining method and device
CN112433712A (en) Report display method and device, computer equipment and storage medium
CN116166667A (en) Document field information carrying method, device, equipment and storage medium
CN112181407B (en) Service realization processing method, device, system, electronic equipment and storage medium
US20210303473A1 (en) Method and system of copying data to a clipboard
CN116860576A (en) Method, device, computer equipment and storage medium for recording operation log
US20240143487A1 (en) Secure testing of attachment functionality of objects
CN116258597A (en) Document processing method, device, computer equipment and storage medium
CN117971785A (en) Terminal log data processing method, device, computer equipment and storage medium
CN116756022A (en) Data preparation method, device, computer equipment and storage medium
CN117435198A (en) Page generation method and device
CN116304407A (en) Page rendering method, device, computer equipment and storage medium
CN116775955A (en) Data tag solidifying method, device, computer equipment and storage medium
CN117522296A (en) Auditing flow generation method, auditing flow generation device, computer equipment and storage medium
CN116431260A (en) Interface rendering method and device based on data model driving and computer equipment
CN117891451A (en) Script file generation method, device, equipment and storage medium
CN117389859A (en) Method, device, computer equipment and storage medium for determining influence range
CN117519543A (en) Document data input method, device, computer equipment and storage medium
CN116719892A (en) Data display method, device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination