CN110704519B - Service bill conversion method and device, storage medium and computer equipment - Google Patents

Service bill conversion method and device, storage medium and computer equipment Download PDF

Info

Publication number
CN110704519B
CN110704519B CN201910809228.8A CN201910809228A CN110704519B CN 110704519 B CN110704519 B CN 110704519B CN 201910809228 A CN201910809228 A CN 201910809228A CN 110704519 B CN110704519 B CN 110704519B
Authority
CN
China
Prior art keywords
bill
conversion
field
source
target
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.)
Active
Application number
CN201910809228.8A
Other languages
Chinese (zh)
Other versions
CN110704519A (en
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.)
Ping An Property and Casualty Insurance Company of China Ltd
Original Assignee
Ping An Property and Casualty Insurance Company of China 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 Ping An Property and Casualty Insurance Company of China Ltd filed Critical Ping An Property and Casualty Insurance Company of China Ltd
Priority to CN201910809228.8A priority Critical patent/CN110704519B/en
Publication of CN110704519A publication Critical patent/CN110704519A/en
Application granted granted Critical
Publication of CN110704519B publication Critical patent/CN110704519B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Economics (AREA)
  • General Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Data Mining & Analysis (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Game Theory and Decision Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Document Processing Apparatus (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The embodiment of the invention provides a business bill conversion method, a device, a storage medium and computer equipment, which relate to the technical field of operation and maintenance, wherein the business bill conversion method comprises the following steps: acquiring a bill conversion request of a user, wherein the bill conversion request comprises identification information of a source bill, identification information of a target bill and indication information; judging the type of the indication information; if the type of the indication information is the first type, displaying a bill conversion relation editing interface on the visual window; generating a conversion relation table of the source bill and the target bill according to the operation of a user on the bill conversion relation editing interface, and generating a custom conversion strategy for converting the source bill into the target bill according to the conversion relation table; and converting the source bill into a target bill according to the custom conversion strategy. The method can improve the expandability and maintainability of bill conversion.

Description

Service bill conversion method and device, storage medium and computer equipment
Technical Field
The present invention relates to the field of operation and maintenance technologies, and in particular, to a service document conversion method, a device, a storage medium, and a computer device.
Background
In an enterprise resource planning system, various documents are generated according to the needs in the business processing process, and most documents have association relations, and the association relations among the documents reflect the association among departments or operation units of an enterprise.
In the business processing flow, a target bill is usually generated according to conversion of a source bill, in order to embody the conversion from the source bill to the target bill, a conversion strategy for generating the target bill by the source bill is usually preset, the existing conversion strategy is realized by writing codes, the conversion strategy is often required to be adjusted to adapt to different requirements due to gradual increment of business scale, and at the moment, the codes are required to be rewritten, but the code takes a great amount of time to write and maintain, so that the expandability and maintainability of bill conversion are poor.
Disclosure of Invention
The embodiment of the invention provides a business bill conversion method, a device, a storage medium and computer equipment, which can improve the expandability and maintainability of bill conversion.
In a first aspect, an embodiment of the present invention provides a service document conversion method, where the method includes:
acquiring a bill conversion request of a user, wherein the bill conversion request comprises identification information of a source bill, identification information of a target bill and indication information;
judging the type of the indication information;
if the type of the indication information is the first type, displaying a bill conversion relation editing interface on a visual window;
generating a conversion relation table of the source bill and the target bill according to the operation of a user on the bill conversion relation editing interface, and generating a custom conversion strategy for converting the source bill into the target bill according to the conversion relation table;
and converting the source bill into the target bill according to the custom conversion strategy.
Optionally, the custom conversion policy includes a field conversion policy, where the field conversion policy includes a field mapping rule and a field conversion rule;
the converting the source document into the target document includes:
acquiring each field of the source bill and a field value corresponding to each field in each field of the source bill according to the identification information of the source bill, and acquiring each field of the target bill according to the identification information of the target bill;
establishing a corresponding relation between at least one field of the source bill and at least one field of the target bill according to the field mapping rule;
converting a field value corresponding to at least one field of the source bill according to the corresponding relation between the at least one field of the source bill and the at least one field of the target bill and the field conversion rule, and returning a processing result;
and assigning the processing result to a corresponding field of the target document.
Optionally, the method further comprises:
if the type of the indication information is the second type, acquiring the corresponding information of the source bill and the target bill according to the identification information of the source bill and the identification information of the target bill;
and converting the source bill into the target bill according to the default conversion strategy. Optionally, after the converting the source document into the target document according to the custom conversion policy, the method further includes:
after the converting the source document into the target document according to the custom conversion policy, the method further includes:
receiving an instruction of a user, and replacing the default conversion strategy with the custom conversion strategy according to the instruction to serve as a new default conversion strategy;
if the type of the indication information is the second type, acquiring a default conversion policy according to the identification information of the source bill and the identification information of the target bill, and converting the source bill into the target bill according to the default conversion policy, wherein the method comprises the following steps:
if the type of the indication information is the second type, acquiring the new default conversion strategy according to the identification information of the source bill and the target bill;
and converting the source bill into the target bill according to the new conversion strategy. Optionally, after converting the source document into the target document according to the custom conversion policy, the method further includes:
displaying the target document with an editable area on the visualization window;
and acquiring information input by a user in the editable area of the target document, obtaining a new target document and storing the new target document.
In a second aspect, an embodiment of the present invention provides a service document conversion device, where the service document conversion device includes:
the first acquisition module is used for acquiring a bill conversion request of a user, wherein the bill conversion request comprises identification information of a source bill, identification information of a target bill and indication information;
the judging module is used for judging the type of the indication information;
the first display module is used for displaying a bill conversion relation editing interface on the visual window when the type of the indication information is a first type;
the strategy generation module is used for generating a conversion relation table of the source bill and the target bill according to the operation of a user on the bill conversion relation editing interface, and generating a custom conversion strategy for converting the source bill into the target bill according to the conversion relation table; a kind of electronic device with high-pressure air-conditioning system
And the first conversion module is used for converting the source bill into the target bill according to the self-defined conversion strategy.
Optionally, the custom conversion policy includes a field conversion policy, where the field conversion policy includes a field mapping rule and a field conversion rule;
the conversion module includes:
the first acquisition unit is used for acquiring each field of the source bill and a field value corresponding to each field in each field of the source bill according to the identification information of the source bill, and acquiring each field of the target bill according to the identification information of the target bill;
the relation establishing unit is used for establishing a corresponding relation between at least one field of the source bill and at least one field of the target bill according to the field mapping rule;
the conversion unit is used for carrying out conversion processing on a field value corresponding to at least one field of the source bill according to the corresponding relation between the at least one field of the source bill and the at least one field of the target bill and the field conversion rule and returning a processing result; a kind of electronic device with high-pressure air-conditioning system
And the assignment unit is used for assigning the processing result to the corresponding field of the target bill.
Optionally, the service bill conversion device further includes:
the second acquisition module is used for acquiring default conversion strategies corresponding to the source bill and the target bill according to the identification information of the source bill and the identification information of the target bill when the type of the indication information is a second type; a kind of electronic device with high-pressure air-conditioning system
And the second conversion module is used for converting the source bill into the target bill according to the default conversion strategy.
In a third aspect, an embodiment of the present invention provides a storage medium, where the storage medium includes a stored program, where the program, when executed, controls a device in which the storage medium is located to execute the above method.
In a fourth aspect, embodiments of the present invention provide a computer device comprising a memory for storing information including program instructions and a processor for controlling execution of the program instructions, which when loaded and executed by the processor, implement the steps of the method described above.
It can be understood that after receiving a bill conversion request of a user, the intention of the user is judged according to the type of the indication information of the user, namely, whether the user performs bill conversion through a custom rule or not, if the type of the indication information is the first type, a bill conversion relation editing interface is displayed on a visual window, a conversion relation table of the source bill and the target bill is generated according to the operation performed on the bill conversion relation editing interface by the user, a custom conversion strategy for converting the source bill into the target bill is generated according to the conversion relation table, and finally the source bill is converted into the target bill according to the custom conversion strategy, so that the conversion strategy is adjusted in an application layer, different requirements can be met, codes are not required to be modified again, and meanwhile, the conversion rule is not a solidified rule, and the expandability and maintainability of bill conversion are greatly improved.
Drawings
The invention will be further described with reference to the drawings and examples.
FIG. 1 is a flowchart of a business document conversion method provided in an embodiment of the present invention;
FIG. 2 is a schematic block diagram of a service document conversion device according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of a computer device according to an embodiment of the present invention.
DETAILED DESCRIPTION OF EMBODIMENT (S) OF INVENTION
For a better understanding of the technical solution of the present invention, the following detailed description of the embodiments of the present invention refers to the accompanying drawings.
It should be understood that the described embodiments are merely some, but not all, embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the term "and/or" as used herein is merely one relationship describing the association of the associated objects, meaning that there may be three relationships, e.g., a and/or B, may represent: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
Referring to fig. 1, an embodiment of the present invention provides a service document conversion method, in this embodiment, an execution body of the method may be a service document conversion device, and the service document conversion method provided by the embodiment of the present invention includes:
step S01: and acquiring a bill conversion request of a user, wherein the bill conversion request comprises identification information of a source bill, identification information of a target bill and indication information.
Step S02: and judging the type of the indication information.
Step S03: and if the type of the indication information is the first type, displaying a bill conversion relation editing interface on the visual window.
Step S04: and generating a conversion relation table of the source bill and the target bill according to the operation of the user on the bill conversion relation editing interface, and generating a custom conversion strategy for converting the source bill into the target bill according to the conversion relation table.
Step S05: and converting the source bill into a target bill according to the custom conversion strategy.
It can be understood that after receiving a bill conversion request of a user, the intention of the user is judged according to the type of the indication information of the user, namely, whether the user performs bill conversion through a self-defined conversion rule or not, if the type of the indication information is the first type, a bill conversion relation editing interface is displayed on a visual window, a conversion relation table of a source bill and a target bill is generated according to the operation performed on the bill conversion relation editing interface by the user, a self-defined conversion strategy for converting the source bill into the target bill is generated according to the conversion relation table, and finally the source bill is converted into the target bill according to the self-defined conversion strategy, so that the conversion strategy is adjusted at an application layer, different requirements can be met, codes are not required to be modified again, and meanwhile, the conversion rule is not a solidified rule, and the expandability and maintainability of bill conversion are greatly improved.
The specific technical scheme of the service document conversion method provided in this embodiment is described in detail below with reference to fig. 1 again.
First, step S01 is performed: and acquiring a bill conversion request of a user, wherein the bill conversion request comprises identification information of a source bill, identification information of a target bill and indication information.
It should be appreciated that a document is data information that functions as a document. The source bill is also called an upstream bill, the target bill is also called a downstream bill, and the source bill has a corresponding relation with the converted target bill. When another document is generated from a document conversion, the one document is the source document and the other document generated from the conversion is the target document. For example, the source document may be a purchase order and the target document may be a purchase order.
The identification information of the source document may be a character string including at least one character of a number, a letter, and a symbol, and the identification of the source document may specifically be a unique identifier of the source document.
The identification information of the target document may be a character string including at least one character of a number, a letter, and a symbol, and the identification of the target document may specifically be a unique identifier of the target document.
It should be further appreciated that in the conversion process, one source document may be converted into one target document (i.e. 1:1 conversion), multiple source documents may be converted into one target document (i.e. 1:n conversion), and multiple source documents may be converted into one target document (i.e. N: 1-in-one conversion).
It should be further noted that the identification information of the source document and the identification information of the target document in the document conversion request may be obtained according to the text input performed by the user through the input device (such as a virtual keyboard or a physical keyboard) on the service document conversion device, or may be obtained according to the operations of pressing, sliding, double clicking or the like performed on the terminal device. Similarly, the instruction information may be obtained according to the text input performed by the user through the input device (such as a virtual keyboard or a physical keyboard) on the service bill conversion device, or may be obtained according to the pressing, sliding or double-clicking operation performed on the service bill conversion device.
The service bill conversion device in the embodiment of the invention can be a server or a user terminal, for example: the mobile phone, tablet computer, notebook computer, all-in-one machine or desktop computer, etc. are not limited and are not listed here.
The bill conversion request in the embodiment of the invention can include the identification information of the source bill, the identification information and the indication information of the target bill, and can also include other information, which is not limited herein and is not listed here.
Next, step S02 is performed: and judging the type of the indication information.
In this embodiment, the instruction information is divided into two types, the first type is information indicating that the user-defined conversion policy is adopted for the document conversion, and the second type is information adopting the configured default conversion policy for the document conversion. More specifically, in this embodiment, when the business document conversion device receives the document conversion instruction of the user, the user is prompted to select by displaying the pressable entries of "custom" and "default" on the visual window of the business document conversion device, and when the user presses "custom" or "default", the instruction information and the type thereof can be obtained. For example, when the user presses the term "custom", the relevant module or unit of the business document conversion device receives the high level signal, then judges the indication information to be of the first type according to the high level signal, and when the user presses the term "default", the relevant module or unit of the business document conversion device receives the low level signal, then judges the indication information to be of the second type according to the low level signal.
Next, step S03 is performed: and if the type of the indication information is the first type, displaying a bill conversion relation editing interface on the visual window.
It can be understood that when the type of the indication information is the first type, the document conversion is confirmed through the custom conversion policy, wherein the custom conversion policy is a conversion policy formed by integrating and analyzing the input content of the user.
The visualization window may be a display screen with touch functionality.
Next, step S04 is performed: and generating a conversion relation table of the source bill and the target bill according to the operation of the user on the bill conversion relation editing interface, and generating a custom conversion strategy for converting the source bill into the target bill according to the conversion relation table.
Further, the custom conversion policy includes a field conversion policy, and the field conversion policy includes a field mapping rule and a field conversion rule. In a first aspect, for the field mapping rule, a user may set basic information of the field mapping relationship on the document conversion relationship editing interface through an input device (such as a virtual keyboard or a physical keyboard, etc.), for example, in setting a document header, a "purchase organization", "provider", "currency", "company", "service date" on a "purchase order" may be defined from related document header fields of a "purchase application". Similarly, in the setting of the entry, it is possible to define "material code", "material name", "specification model", "measurement unit", "order quantity" of the purchase order entry from the relevant fields of the purchase order entry. In the second aspect, for the field conversion rule, the user may set the assignment manner of each target document field on the document conversion relation editing interface through an input device (such as a virtual keyboard or a physical keyboard, etc.), in this embodiment, the assignment manners of the target document field may be three, which are respectively:
1) Direct assignment: the method directly sets the appointed value to the field of the target bill.
2) And (3) calculating a formula: and taking the field value of the source bill as input, and assigning the operation result to the corresponding field of the target bill through formula operation.
3) Mapping: and assigning the field value of the source bill to the corresponding field of the target bill.
The conversion relation table can be physical or virtual and symbolizes the conversion relation between the source bill and the target bill.
Of course, the custom conversion policy may also include a grouping merging policy, a menu filtering policy, a plugin policy, a form service policy, etc., and specific defining manners and processes are not listed here.
Further, the service bill conversion method provided by the embodiment of the invention further comprises the following steps:
step S061: if the type of the indication information is the second type, determining a default conversion strategy corresponding to the source bill and the target bill according to the identification information of the source bill and the target bill;
step S063: and converting the source bill into a target bill according to a default conversion strategy.
It should be noted that, as the default conversion policy, the name is defined as the conversion policy defaulted by the business bill conversion device, the default conversion policy may be defined by codes in the development and maintenance processes, and different source bills and target bills correspond to different default conversion policies.
It can be appreciated that the business document conversion method provided by the invention can select the custom conversion strategy and the default strategy to realize document conversion according to the requirements, and compared with the prior art, the interaction with the user is increased, and the flexibility and applicability of conversion are greatly improved.
Next, step S05 is performed: and converting the source bill into a target bill according to the custom conversion strategy.
Further, converting the source document into the target document includes:
step S051: acquiring each field of the source bill and a field value corresponding to each field in each field of the source bill according to the identification information of the source bill, and acquiring each field of the target bill according to the identification information of the target bill.
The field may specifically be a combination of one or more characters of numbers, letters, and symbols, which represent an attribute, such as "FQTY", etc., and the field value is a specific value corresponding to the field, such as 50, 100, etc.
Step S052: and establishing a corresponding relation between at least one field of the source bill and at least one field of the target bill according to the field mapping rule.
Specifically, one field of the source document corresponds to one field of the target document, one field of the source document corresponds to a plurality of fields of the target document, and a plurality of fields of the source document corresponds to one field of the target document, which depends on a field mapping rule.
Step S053: and converting the field value corresponding to the at least one field of the source bill according to the corresponding relation between the at least one field of the source bill and the at least one field of the target bill and the field conversion rule, and returning a processing result.
Continuing taking the purchase application form as a source bill and taking the purchase order form as a target bill as an example, if the field conversion rule is provided with a related rule that the sum value in the product information field of the purchase application form is calculated through a sum function, and the sum value is accumulated and then assigned to the total sum field of the target purchase order form, if the sum value in the product information field is 10000 and 20000, the basic conversion processing result is as follows: the total amount is: 10000+20000=30000, wherein 10000 and 20000 are the amount values in the purchase contract product information, and 30000 is the processing result.
Step S054: and assigning the processing result to a corresponding field of the target bill, so as to convert the source bill into the target bill.
Further, after converting the source document into the target document according to the custom conversion policy, the business document conversion method may further include:
receiving an instruction of a user, replacing the default conversion strategy with the custom conversion strategy according to the instruction to serve as a new default conversion strategy, and establishing an association relationship between the new default conversion strategy and a source bill and a target bill;
if the type of the indication information is the second type, acquiring a default conversion strategy according to the identification information of the source bill and the identification information of the target bill, and converting the source bill into the target bill according to the default conversion strategy, and further comprising:
if the type of the indication information is the second type, acquiring the new default conversion strategy according to the identification information of the source bill and the target bill;
and converting the source bill into a target bill according to the new conversion strategy.
It can be understood that after the target document is generated, the user can send a related instruction to the service document conversion device according to the requirement so as to prompt the user to save the custom conversion policy and replace the original default conversion policy as a new default conversion policy, and according to the instruction of the user, the service document conversion device replaces the default conversion policy with the custom conversion policy as the new default conversion policy, and the new default conversion policy establishes an association relationship with the source document and the target document, so that when the service document conversion device receives the second type of indication information, the service document conversion device obtains the new default conversion policy according to the identification information of the source document and the target document, and realizes the conversion of the document according to the new default conversion policy.
It can be understood that the default conversion strategy is replaced by the custom conversion strategy to serve as a new default conversion strategy according to the instruction of the user, so that the default conversion strategy is updated, and the expandability and maintainability of bill conversion are further improved.
Further, after converting the source document into the target document according to the custom conversion policy, the business document conversion method may further include:
displaying a target document with an editable area on a visual window;
and acquiring information input by a user in an editable area of the target document, obtaining a new target document and storing the new target document.
It can be understood that after the bill conversion, the embodiment of the invention displays the target bill with the editable area on the visual window, and then acquires the information input by the user in the editable area of the target bill, so as to obtain and store the new target bill, and the user can verify and modify the converted target bill, thereby further improving the interaction with the user, improving the user experience and improving the fault tolerance of the bill conversion.
Referring to fig. 2, an embodiment of the present invention provides a service document conversion device 1, including:
the first obtaining module 11 is configured to obtain a document conversion request of a user, where the document conversion request includes identification information of a source document, identification information of a target document, and indication information;
a judging module 12, configured to judge a type of the indication information;
a first display module 13, configured to display a document conversion relation editing interface on the visualization window when the type of the indication information is a first type;
the policy generation module 14 is configured to generate a conversion relationship table of the source document and the target document according to an operation performed by the user on the document conversion relationship editing interface, and generate a custom conversion policy for converting the source document into the target document according to the conversion relationship table;
the first conversion module 15 is configured to convert the source document into the target document according to a custom conversion policy.
Further, the custom conversion policy includes a field conversion policy, and the field conversion policy includes a field mapping rule and a field conversion rule.
Further, the first conversion module 15 includes:
the first acquisition unit is used for acquiring each field of the source bill and a field value corresponding to each field in each field of the source bill according to the identification information of the source bill, and acquiring each field of the target bill according to the identification information of the target bill;
the relation establishing unit is used for establishing a corresponding relation between at least one field of the source bill and at least one field of the target bill according to the field mapping rule;
the conversion unit is used for carrying out conversion processing on a field value corresponding to at least one field of the source bill according to the corresponding relation between the at least one field of the source bill and the at least one field of the target bill and the field conversion rule, and returning a processing result; a kind of electronic device with high-pressure air-conditioning system
And the assignment unit is used for assigning the processing result to the corresponding field of the target bill.
Further, the service document conversion device 1 further includes:
the second acquisition module is used for acquiring a default conversion strategy according to the identification information of the source bill and the identification information of the target bill when the type of the indication information is a second type; a kind of electronic device with high-pressure air-conditioning system
And the second conversion module is used for converting the source bill into the target bill according to a default conversion strategy.
Further, the service document conversion device 1 further includes:
and the replacement module is used for receiving a user instruction, replacing the default conversion strategy with a custom conversion strategy according to the instruction to serve as a new default conversion strategy, and establishing an association relation between the new default conversion strategy and the source bill and between the new default conversion strategy and the target bill.
Further, the second acquisition module further includes:
the first acquisition unit is used for acquiring a new default conversion strategy according to the identification information of the source bill and the target bill when the type of the indication information is the second type.
Further, the second conversion module further includes:
and the first conversion unit is used for converting the source bill into the target bill according to the new conversion strategy.
Further, the service document conversion device 1 further includes:
the display module is used for displaying the target document with the editable area on the visual window;
and the third acquisition module is used for acquiring information input by a user in the editable area of the target document, obtaining a new target document and storing the new target document.
Referring to fig. 3, the computer device 50 of this embodiment includes: the processor 51, the memory 52, and the computer program 53 stored in the memory 52 and capable of running on the processor 51, where the computer program 53 implements the business document conversion method in the embodiment when executed by the processor 51, and is not repeated herein. Alternatively, the computer program, when executed by the processor 51, implements the functions of each model/unit in the service document conversion method apparatus 1 in the embodiment, and in order to avoid repetition, it is not described in detail herein.
The computer device 50 may be a desktop computer, a notebook computer, a palm top computer, a cloud server, or the like. Computer device 50 may include, but is not limited to, a processor 51, a memory 52. It will be appreciated by those skilled in the art that fig. 3 is merely an example of computer device 50 and is not intended to limit computer device 50, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., a computer device may also include an input-output device, a network access device, a bus, etc.
The processor 51 may be a central processing unit (Central Processing Unit, CPU), but may also be other general purpose processors, digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field-Programmable gate arrays (FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 52 may be an internal storage unit of the computer device 50, such as a hard disk or memory of the computer device 50. The memory 52 may also be an external storage device of the computer device 50, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card) or the like, which are provided on the computer device 50. Further, the memory 52 may also include both internal storage units and external storage devices of the computer device 50. The memory 52 is used to store computer programs and other programs and data required by the computer device. The memory 52 may also be used to temporarily store data that has been output or is to be output.
It will be clear to those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described systems, apparatuses and units may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of elements is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a Processor (Processor) to perform part of the steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only memory (ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the invention.

Claims (8)

1. A business document conversion method, the method comprising:
acquiring a bill conversion request of a user, wherein the bill conversion request comprises identification information of a source bill, identification information of a target bill and indication information;
judging the type of the indication information;
if the type of the indication information is the first type, displaying a bill conversion relation editing interface on a visual window;
generating a conversion relation table of the source bill and the target bill according to the operation of a user on the bill conversion relation editing interface, and generating a custom conversion strategy for converting the source bill into the target bill according to the conversion relation table;
converting the source bill into the target bill according to the custom conversion strategy;
the custom conversion strategy comprises a field conversion strategy, wherein the field conversion strategy comprises a field mapping rule and a field conversion rule;
the converting the source document into the target document includes:
acquiring each field of the source bill and a field value corresponding to each field in each field of the source bill according to the identification information of the source bill, and acquiring each field of the target bill according to the identification information of the target bill;
establishing a corresponding relation between at least one field of the source bill and at least one field of the target bill according to the field mapping rule;
converting a field value corresponding to at least one field of the source bill according to the corresponding relation between the at least one field of the source bill and the at least one field of the target bill and the field conversion rule, and returning a processing result;
and assigning the processing result to a corresponding field of the target document.
2. The business document conversion method according to claim 1, wherein the method further comprises:
if the type of the indication information is the second type, acquiring default conversion strategies corresponding to the source bill and the target bill according to the identification information of the source bill and the identification information of the target bill;
and converting the source bill into the target bill according to the default conversion strategy.
3. The business document conversion method according to claim 2, wherein after said converting the source document into the target document according to the custom conversion policy, the method further comprises:
receiving an instruction of a user, and replacing the default conversion strategy with the custom conversion strategy according to the instruction to serve as a new default conversion strategy;
if the type of the indication information is the second type, acquiring a default conversion policy corresponding to the source document and the target document according to the identification information of the source document and the identification information of the target document, and converting the source document into the target document according to the default conversion policy, wherein the method comprises the following steps:
if the type of the indication information is the second type, acquiring the new default conversion strategy according to the identification information of the source bill and the target bill;
and converting the source bill into the target bill according to the new default conversion strategy.
4. The business document conversion method of claim 1, wherein after converting the source document into the target document according to the custom conversion policy, the method further comprises:
displaying the target document with an editable area on the visualization window;
and acquiring information input by a user in the editable area of the target document, obtaining a new target document and storing the new target document.
5. A business document conversion device, characterized by comprising:
the first acquisition module is used for acquiring a bill conversion request of a user, wherein the bill conversion request comprises identification information of a source bill, identification information of a target bill and indication information;
the judging module is used for judging the type of the indication information;
the first display module is used for displaying a bill conversion relation editing interface on the visual window when the type of the indication information is a first type;
the strategy generation module is used for generating a conversion relation table of the source bill and the target bill according to the operation of a user on the bill conversion relation editing interface, and generating a custom conversion strategy for converting the source bill into the target bill according to the conversion relation table; a kind of electronic device with high-pressure air-conditioning system
The first conversion module is used for converting the source bill into the target bill according to the self-defined conversion strategy;
the custom conversion strategy comprises a field conversion strategy, wherein the field conversion strategy comprises a field mapping rule and a field conversion rule;
the first conversion module includes:
the first acquisition unit is used for acquiring each field of the source bill and a field value corresponding to each field in each field of the source bill according to the identification information of the source bill, and acquiring each field of the target bill according to the identification information of the target bill;
the relation establishing unit is used for establishing a corresponding relation between at least one field of the source bill and at least one field of the target bill according to the field mapping rule;
the conversion unit is used for carrying out conversion processing on a field value corresponding to at least one field of the source bill according to the corresponding relation between the at least one field of the source bill and the at least one field of the target bill and the field conversion rule and returning a processing result; a kind of electronic device with high-pressure air-conditioning system
And the assignment unit is used for assigning the processing result to the corresponding field of the target bill.
6. A business document conversion device according to claim 5, wherein the business document conversion device further comprises:
the second acquisition module is used for acquiring default conversion strategies corresponding to the source bill and the target bill according to the identification information of the source bill and the identification information of the target bill when the type of the indication information is a second type; a kind of electronic device with high-pressure air-conditioning system
And the second conversion module is used for converting the source bill into the target bill according to the default conversion strategy.
7. A storage medium comprising a stored program, wherein the program, when run, controls a device in which the storage medium is located to perform the method of any one of claims 1 to 4.
8. A computer device comprising a memory for storing information including program instructions and a processor for controlling execution of the program instructions, characterized by: which when loaded and executed by a processor carries out the steps of the method according to any one of claims 1 to 4.
CN201910809228.8A 2019-08-29 2019-08-29 Service bill conversion method and device, storage medium and computer equipment Active CN110704519B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910809228.8A CN110704519B (en) 2019-08-29 2019-08-29 Service bill conversion method and device, storage medium and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910809228.8A CN110704519B (en) 2019-08-29 2019-08-29 Service bill conversion method and device, storage medium and computer equipment

Publications (2)

Publication Number Publication Date
CN110704519A CN110704519A (en) 2020-01-17
CN110704519B true CN110704519B (en) 2023-09-22

Family

ID=69193333

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910809228.8A Active CN110704519B (en) 2019-08-29 2019-08-29 Service bill conversion method and device, storage medium and computer equipment

Country Status (1)

Country Link
CN (1) CN110704519B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112307097A (en) * 2020-10-13 2021-02-02 武汉中科通达高新技术股份有限公司 Data asset management method and device
CN112434004A (en) * 2020-10-28 2021-03-02 金蝶云科技有限公司 Data migration method and device for heterogeneous system, computer equipment and storage medium
CN112463409A (en) * 2020-12-04 2021-03-09 天津狮拓信息技术有限公司 Data interaction method and device, electronic equipment and computer readable storage medium
CN112613275A (en) * 2020-12-24 2021-04-06 金蝶软件(中国)有限公司 Receipt generation method and device, computer equipment and storage medium
CN112801613A (en) * 2021-01-25 2021-05-14 山东浪潮通软信息科技有限公司 Method, device, equipment and medium for realizing business process
CN112967121A (en) * 2021-02-04 2021-06-15 金蝶软件(中国)有限公司 Image retrieval method and device and computer storage medium
CN112883694A (en) * 2021-02-26 2021-06-01 山东浪潮通软信息科技有限公司 Method and equipment for driving document flow in workflow system
CN113449496B (en) * 2021-06-25 2024-05-17 北京京东振世信息技术有限公司 Method and device for automatically generating maintenance bill
CN113672212A (en) * 2021-08-19 2021-11-19 深圳我家云网络科技有限公司 Bill configuration method, computer equipment and computer storage medium
CN115063217B (en) * 2022-08-22 2022-11-25 深圳市金政软件技术有限公司 Budget management method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763585A (en) * 2009-12-16 2010-06-30 金蝶软件(中国)有限公司 Conversion method for business document in ERP system, device and ERP system
CN101777143A (en) * 2009-12-22 2010-07-14 金蝶软件(中国)有限公司 Method, device and system for business bill conversion
CN107861991A (en) * 2017-10-18 2018-03-30 金蝶软件(中国)有限公司 Bills data processing method, device, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2558062A (en) * 2016-11-18 2018-07-04 Lionbridge Tech Inc Collection strategies that facilitate arranging portions of documents into content collections

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101763585A (en) * 2009-12-16 2010-06-30 金蝶软件(中国)有限公司 Conversion method for business document in ERP system, device and ERP system
CN101777143A (en) * 2009-12-22 2010-07-14 金蝶软件(中国)有限公司 Method, device and system for business bill conversion
CN107861991A (en) * 2017-10-18 2018-03-30 金蝶软件(中国)有限公司 Bills data processing method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN110704519A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
CN110704519B (en) Service bill conversion method and device, storage medium and computer equipment
CN108388598B (en) Electronic device, data storage method, and storage medium
CN109815471A (en) Contract text generation method, device, computer equipment and storage medium
CN110347383B (en) Front-end development method and device for cross-platform desktop application
CN107784063B (en) Algorithm generation method and terminal equipment
CN104133765B (en) The test case sending method of network activity and test case server
CN110597511A (en) Page automatic generation method, system, terminal equipment and storage medium
CN110969001A (en) Feedback information generation method and device, storage medium, processor and terminal
CN107578659A (en) Generation method, generating means and the terminal of electronics topic
CN109376150A (en) Methods of product development, device, computer equipment and storage medium
CN105488125A (en) Page access method and apparatus
CN110688236A (en) Information touch method, system and terminal equipment
CN110738038A (en) Contract text generation method, device, equipment and computer readable storage medium
CN106549853A (en) A kind of email processing method and device
CN112364609A (en) Business standing book generation method and device, storage medium and electronic equipment
AU2015200816A1 (en) Generating a signed electronic document
CN109636625A (en) Processing method and processing device, storage medium, the computer equipment of insurance electronic contract
CN115004667B (en) Information pushing method, device, electronic equipment and computer readable medium
CN114860362A (en) Interface updating method and device
CN114004197A (en) Form processing method and device, electronic equipment and medium
CN107632896A (en) A kind of data processing method, data processing equipment and communication apparatus
CN107357853A (en) A kind of operating method, device and the computer system of REDIS consoles
CN113705182A (en) Contract online generation method and device and readable storage medium
CN113253951A (en) Paper contract information printing method, system, device and readable storage medium
CN115114280A (en) Report generation processing method, device and equipment

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
GR01 Patent grant
GR01 Patent grant