Contract number generation method and device with multiple parallel pipeline serial numbers, medium and equipment

Through the contract number generation method of multiple flow serial numbers in parallel, the problem of not being able to generate multiple flow serial numbers in the existing system is solved, and the contract number of multiple flow serial numbers is generated in a single number is realized, which meets the needs of multiple business dimensions and multiple groups of enterprises, ensuring the uniqueness and identification of numbers.

CN120297233APending Publication Date: 2025-07-11INSPUR GENERSOFT CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510597899.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-09
Publication Date
2025-07-11

AI Technical Summary

Technical Problem

The existing enterprise information management system cannot generate contract numbers containing multiple serial numbers, and cannot adapt to the situation where multiple serial numbers are needed in a single number.

Method used

The contract number generation method with multiple flow serial numbers is adopted. By obtaining the business contract form fields, analyzing and calling the pre-configured contract encoding scheme, determining the incremental dimension attributes and grouping information, traversing the grouping information, and forming the final unique contract number containing multiple flow serial numbers.

Benefits of technology

It realizes intelligent generation of two or more serial numbers in parallel increments in a single number, which is suitable for multi-service dimensions and multiple groups to generate contract numbers, ensuring the uniqueness of contract numbers and easy identification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120297233A_ABST
    Figure CN120297233A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of data processing, and provides a contract number generation method and device with multiple parallel pipeline serial numbers, a medium and equipment. The method comprises the steps of obtaining a to-be-processed business contract form, analyzing a form field, and calling a contract coding scheme pre-configured and associated with the form field; according to the contract coding scheme, acquiring incremental dimension attributes, corresponding attribute values and incremental dimension attribute grouping information in the form fields; wherein the same incremental dimension attribute is divided into the same group in advance, and each group corresponds to one pipeline serial number; traversing information of all groups, and determining an incremental dimension attribute value and a maximum pipeline serial number of each group; and combining and splicing the incremental dimension attribute value and the maximum pipeline serial number of each group according to a coding preview style of the contract coding scheme to form a final unique contract number containing a plurality of pipeline serial numbers. The method is suitable for the situation that a single serial number needs to contain a plurality of pipeline serial numbers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data processing, and particularly relates to a method, device, medium and equipment for generating contract numbers in parallel with multiple serial numbers. Background Art

[0002] The statements in this part only provide background technical information related to the present invention, and do not necessarily constitute prior art.

[0003] In the process of contract informatization, it is necessary to automatically generate a unique number for each contract, that is, a contract number, to distinguish and search for each contract. Existing enterprise information management systems are only applicable to the case where there is only one serial number in a contract number, and are not applicable to the case where multiple serial numbers are required in a single number. For example, users hope that in the contract system, there are contracts signed by the office, contracts signed by the finance department, and contracts signed by the information department.

[0004] In summary, there is an urgent need for a method and device for generating contract numbers based on multiple business dimensions and multiple groups to meet the rapid generation of unique contract numbers for enterprises and departments. Summary of the Invention

[0005] To solve the above technical problems, the present invention provides a method, device, medium and equipment for generating contract numbers in parallel with multiple serial numbers, which can intelligently generate two or more parallel increasing serial numbers in a contract number, and is applicable to the case where multiple serial numbers are required in a single number.

[0006] To achieve the above object, the present invention adopts the following technical solutions: The first aspect of the present invention provides a method for generating contract numbers in parallel with multiple serial numbers.

[0007] In one or more embodiments, a method for generating contract numbers in parallel with multiple serial numbers is provided, including: Obtain the business contract form to be processed and parse out the form fields, and call the contract coding scheme pre-configured and associated with the form fields; According to the contract coding scheme, obtain the increasing dimension attributes, corresponding attribute values and increasing dimension attribute grouping information in the form fields; wherein, the same increasing dimension attribute is pre-divided into the same group, and each group corresponds to a serial number; Traverse the information of all groups to determine the increasing dimension attribute values and the maximum serial numbers of each group; Combine and splice the increasing dimension attribute values and the maximum serial numbers of each group according to the coding preview style of the contract coding scheme to form the final unique contract number containing multiple serial numbers.

[0008] As an implementation, the process of determining the maximum serial number of each group is as follows: According to the incremental dimension attributes and their attribute values of each group, form a basic group value in the order and configuration combination of the encoding preview style of the contract coding scheme; Match the basic group value with the current attribute values of each dimension attribute of the system to find the maximum serial number of the system for the current group; According to the maximum serial number of the system for the current group, increment it according to the configuration of the incremental dimension attribute of the group to form the maximum serial number of the current group, and continue to parse and judge the next group under the current coding scheme.

[0009] As an implementation, the configuration process of the contract coding scheme is as follows: Create a contract coding scheme, add incremental dimension attributes and configure corresponding attribute values; Group according to the configured incremental attribute values, divide those based on the same incremental dimension attribute into the same group, and each group corresponds to a serial number configuration; Configure the serial number information of each group to generate a preview style of the contract coding scheme; Adjust the order of the preview style of the contract coding scheme until it is adjusted to a contract coding scheme that meets the preset requirements, and associate it with the form fields of the business contract form.

[0010] As an implementation, one incremental dimension attribute belongs to one incremental group; or one incremental dimension attribute belongs to two or more incremental groups.

[0011] As an implementation, the serial numbers of different groups set their independent serial number configuration principles.

[0012] As an implementation, the number of the incremental dimension attributes is at least one and the incremental dimension attributes are not repeated, and the attribute value of each incremental dimension attribute is a variable value or a fixed value.

[0013] The second aspect of the present invention provides a contract number generation device with parallel multiple serial numbers.

[0014] In one or more embodiments, a contract number generation device with parallel multiple serial numbers includes: An encoding scheme calling module, which is used to obtain the business contract form to be processed, parse out the form fields, and call the contract coding scheme pre-configured and associated with the form fields; An increasing dimension grouping module, which is used to obtain the increasing dimension attributes, corresponding attribute values, and increasing dimension attribute grouping information in the form fields according to the contract coding scheme; wherein, the same increasing dimension attribute is pre-divided into the same group, and each group corresponds to a serial number; A grouping information traversing module, which is used to traverse the information of all groups to determine the increasing dimension attribute values and the maximum serial numbers of each group; A contract number generation module, which is used to combine and splice the increasing dimension attribute values and the maximum serial numbers of each group according to the coding preview style of the contract coding scheme to form a final unique contract number containing multiple serial numbers.

[0015] The third aspect of the present invention provides a computer-readable storage medium.

[0016] A computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps in the contract number generation method with multiple parallel serial numbers as described above are implemented.

[0017] The fourth aspect of the present invention provides a computer program product.

[0018] A computer program product, including a computer program / instructions, and when the computer program / instructions are executed by a processor, the steps in the contract number generation method with multiple parallel serial numbers as described above are implemented.

[0019] The fifth aspect of the present invention provides an electronic device.

[0020] An electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the program, the steps in the contract number generation method with multiple parallel serial numbers as described above are implemented.

[0021] Compared with the prior art, the beneficial effects of the present invention are: (1) The contract coding scheme of the present invention is pre-configured and associated with the form fields, and according to the increasing dimension attributes, corresponding attribute values, and corresponding associated contract coding schemes in the form fields, the increasing dimension attributes, corresponding attribute values, and increasing dimension attribute grouping information in the form fields are determined. Then, by traversing the grouping information, the increasing dimension attribute values and the maximum serial numbers of the groups are obtained. Finally, through combination and splicing, a final unique contract number containing multiple serial numbers is formed, realizing the intelligent generation of two or more parallel increasing serial numbers in a contract number, which is applicable to the situation where multiple serial numbers are required in a single number.

[0022] (2) The contract coding scheme of the present invention can set the increment grouping number and increment dimension of multiple serial numbers at one time. There are multiple groups in one number, and one group contains one dimension and a serial number, so that the serial number in the contract number is consistent with the number of groups in the coding scheme. The serial numbers within the group increase according to the dimension rules within the group without interference. In this way, it realizes both the uniqueness of the contract coding and is convenient for users to quickly identify the total number of data in each dimension according to different business dimensions, and is applied to an information system, especially in the contract management system in the ERP field. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings forming a part of this specification are used to provide a further understanding of the present invention. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention.

[0024] Figure 1 It is a schematic flowchart of the method for generating a contract number with multiple parallel serial numbers according to an embodiment of the present invention; Figure 2 It is a schematic diagram of the contract number with multiple parallel serial numbers according to an embodiment of the present invention; Figure 3 It is a schematic structural diagram of the device for generating a contract number with multiple parallel serial numbers according to an embodiment of the present invention; Figure 4 It is a schematic diagram of an electronic device according to an embodiment of the present invention; Figure 5 It is a schematic diagram of the configuration process of the contract coding scheme according to an embodiment of the present invention; Figure 6 It is a process diagram of the generation of a contract number with multiple parallel serial numbers according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0025] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0026] It should be noted that the following detailed description is illustrative and is intended to provide further explanation of the present invention. Unless otherwise specified, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which the present invention belongs.

[0027] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present invention. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, they indicate the presence of features, steps, operations, devices, components, and / or combinations thereof.

[0028] Most of the contract numbers in the current system can be generated according to rules. Although there are different dimensions, there is only one rule that there is only one serial number in a single number. For example, it is incrementally generated based on the unit + serial number, such as Company Three - 001. Some are incrementally generated based on the unit + department + serial number, such as Company Three - Office - 001. Some are incrementally generated based on the unit + department + date + serial number, such as Company Three - Office - 2024 - 001. There is only one serial number in these contract numbers.

[0029] For the scenario where a single number needs to contain multiple serial numbers, such as the rule required by the user: in the form of

unit + department + serial number 1 + serial number 2

Company Three - Office - 0001 - 001

Company Three - Office - 0002 - 002

Company Three - Finance Department - 0003 - 001

[0030] In the existing information technology systems, only the number information containing one serial number can be configured at one time, and it cannot support the configuration of number information with multiple serial numbers at one time. The present invention is to solve the problem that a number containing multiple serial numbers can be generated at one time in the information system, and provides a method for generating contract numbers with multiple parallel serial numbers, which generates a contract number containing multiple serial numbers in a single number, aiming to solve the problem of generating contract numbers based on multiple business dimensions and multiple groups of customers.

[0031] Figure 1 It is a schematic flow diagram of a method for generating contract numbers with multiple parallel serial numbers in an embodiment of the present invention, as Figure 1 shown, the method for generating contract numbers with multiple parallel serial numbers in this embodiment may include the following steps S101~S104.

[0032] Step S101: Obtain the business contract form to be processed and parse out the form fields, and call the contract coding scheme pre - configured and associated with the form fields.

[0033] In the specific implementation process, the methods for parsing form fields from business contract forms can be divided into two categories: structured parsing and unstructured parsing. The corresponding parsing method can be selected according to the applicable scenarios of business contract forms. For the method of structured form parsing, the PDF form field automatic recognition method or the database associated reading method can be used to achieve it.

[0034] The PDF form field automatic recognition method is as follows: Using the PDF setting recognition tool, the preset fields in the PDF form can be recognized, and the interactive areas such as text input boxes and check boxes can be directly located through the "form recognition" function, which is applicable to the electronic contract templates with fixed formats.

[0035] The database associated reading method is as follows: If the contract data is stored in a database (such as Cloud Firestore), the field values can be accurately extracted through conditional queries. For example, the stored contract attributes can be directly obtained using the syntax document.getData().get("field name").

[0036] For unstructured text parsing, natural language processing technology can be used, or the AI model automatic extraction method can also be used to achieve it.

[0037] Specifically, the natural language processing technology includes the following steps: Keyword extraction: Quickly locate the fields through preset keywords (such as "contract amount", "performance period"), and combine regular expressions to match the numerical or date format content; Pattern matching: For the fixed structure of the contract (such as the title, clause paragraphs), use text classification technology to identify the clause types and extract the corresponding field data.

[0038] The AI model automatic extraction method is as follows: Using a trained AI model (such as a contract-specific OCR), the text in the scanned document can be directly recognized, and the keyword fields (such as the counterparty information, liability for breach of contract clauses) can be automatically classified and extracted. For image contracts, the field areas can be cropped and recognized in blocks by combining image segmentation technology.

[0039] For the mixed scenarios of these two types of structured parsing and unstructured parsing, the combination of OCR and rule engine can be used to achieve it. For example, for the scanned contract, first perform OCR text recognition, and then parse the fields in non-fixed positions through the rule engine (such as conditional judgment, entity recognition model). For example, judge the value of the "dispute resolution method" field through semantic analysis.

[0040] Combined Figure 5 , the configuration process of the contract coding scheme is given, which includes the following steps: Step S501: Create a contract coding scheme.

[0041] Step S502: Add incremental dimension attributes and configure corresponding attribute values.

[0042] Among them, the number of the incremental dimension attributes is at least one and the incremental dimension attributes are not repeated. The attribute value of each incremental dimension attribute is a variable value or a fixed value. That is, it can be data in the source system, variable annual date data, or constant fixed characters.

[0043] For example, for incremental dimension attributes such as unit, department, and year, the number and attribute values of the attributes are configured according to the actual business.

[0044] Step S503: Group according to the configured incremental attribute values, divide those based on the same incremental dimension attribute into the same group, and each group corresponds to a serial number configuration.

[0045] In the contract coding scheme, the incremental grouping number and incremental dimension of multiple serial numbers can be set at one time. There are multiple groups in one number, one group contains one dimension and a serial number, and the serial numbers within the group increase according to the dimension rules within the group without interference.

[0046] In the specific implementation process, one incremental dimension attribute belongs to one incremental group; or one incremental dimension attribute belongs to two or more incremental groups. Grouping is the key and basis for serial number generation.

[0047] For example, for the three incremental dimensions of unit, department, and year, the corresponding incremental groups are configured respectively, supporting multiple selections. One incremental dimension can select one or two or more groups. For example, the unit is configured as group 1, the department is configured as group 2, and the year is configured as group 1 and group 2.

[0048] The division of the incremental dimension attribute grouping is shown in Table 1: Table 1 Incremental dimension attribute grouping

[0049] The detailed configuration of the serial numbers in group 1 and group 2 is shown in Table 2 and Table 3: Table 2 Detailed configuration of the serial numbers in group 1

[0050] Table 3 Detailed configuration of the serial numbers in group 2

[0051] Step S504: Configure the serial number information of each group to generate a preview style of the contract coding scheme. The preview style of the contract coding scheme is shown in Table 4: Table 4 Preview style of the contract coding scheme

[0052] Among them, the serial numbers of different groups are set with their independent serial number configuration principles. Such as information like the length of the serial number, padding characters, and starting number, etc.

[0053] Step S505: Adjust the preview style of the contract coding scheme in sequence until it is adjusted to the contract coding scheme that meets the preset requirements.

[0054] After the dimension, grouping, and serial number information are configured, the system can generate a visual preview style model of the coding scheme.

[0055] Each piece of information and style that makes up the number are intuitively displayed in the visual preview style model. The front and back order of each piece of information in the visual model can be adjusted by dragging, and the front and back order does not affect the generation of the incremental number.

[0056] Through the preview style, each piece of information composition and the sequence of the coding rule can be intuitively seen. According to the preview style, the sequence can be directly adjusted, and the corresponding bracket label information can be moved to obtain the desired coding rule.

[0057] It should be noted here that the position of each coding segment does not affect the generation of the incremental number.

[0058] Step S506: Associate the contract coding scheme that meets the preset requirements with the form fields of the business contract form.

[0059] Step S102: According to the contract coding scheme, obtain the incremental dimension attributes, corresponding attribute values, and incremental dimension attribute grouping information in the form fields; among them, the same incremental dimension attribute is pre-divided into the same group, and each group corresponds to a serial number.

[0060] It should be noted here that for incremental dimension attributes, such as three incremental dimensions of unit, department, and year, the number of attributes and their values are configured according to the actual business.

[0061] Step S103: Traverse the information of all groups to determine the incremental dimension attribute values and the maximum serial numbers of each group. For example, if the unit attribute on the actual document in the system is "Third Company" and the annual attribute value is "2024".

[0062] In the specific implementation process, the process of determining the maximum serial number of each group is as follows: According to the incremental dimension attributes and their attribute values of each group, form a basic group value in the sequence and configuration combination of the coding preview style of the contract coding scheme; Match the basic group value with the current attribute values of each dimension attribute of the system to find the maximum serial number of the system for the current group; According to the maximum serial number of the current grouping in the system, increment it according to the increasing dimension attribute configuration of the grouping to form the maximum serial number of the current grouping, and continue to parse and determine the next grouping under the current coding scheme.

[0063] In this embodiment, first, the number of groupings is determined, and then each grouping is processed one by one. The increasing dimension in the grouping is found, compared according to the corresponding dimension in the system, and the existing maximum value is judged to calculate and return the next serial number value, so as to determine the latest serial number value in each grouping.

[0064] In this way, through grouping by increasing dimension and the uniqueness of the serial numbers of each grouping, each grouping can increase according to its own dimension rules simultaneously without interference, solving the problem of generating contract numbers based on multiple business dimensions and multiple groups of customers.

[0065] Step S104: Combine and splice the increasing dimension attribute values and the maximum serial numbers of each grouping according to the coding preview style of the contract coding scheme to form the final unique contract number containing multiple serial numbers, as Figure 2 shown.

[0066] In Figure 2 , the format of the unique contract number containing multiple serial numbers is: [Fixed prefix]-[Unit]-[Department]-[Year]-[Serial number 1]-[Serial number 2]; Grouping 1 includes: fixed prefix, company, and year; Grouping 2 includes: fixed prefix, company, department, and year; Serial number 1: Increments with Grouping 1 as the grouping dimension; Serial number 2: Increments with Grouping 2 as the grouping dimension.

[0067] When a new actual contract business document is added, intelligent parsing is performed according to the contract coding scheme configuration to generate a unique contract number according to the contract coding scheme. Specifically, in combination with Figure 6 , the process of generating a contract number with multiple serial numbers in parallel is as follows: S601: Read the contract coding scheme information configured in the fields of the document; S602: According to the contract coding scheme, obtain all basic information, including the coding budget style value and other basic information (basic information includes but is not limited to increasing dimension attributes); S603: According to the definition of each increasing dimension attribute, obtain its actual attribute value; for example, the unit attribute is "Three Companies" in the actual document in the system, and the annual attribute value is "2024", and perform temporary storage; S604: traverse the incremental grouping data, read the information of each group, identify the total number of groups, and identify which incremental attributes each group contains; S605: Based on the attribute information contained in the read group, combined with the actual attribute value of the corresponding attribute in S603, a basic group value is formed according to the sequence and configuration combination of the coding budget style model in S602, and the basic group value is matched with the existing system data to find the system maximum serial number of the current group; S606: According to the maximum value found in S605, the maximum serial number of the group is incremented according to the configuration of the group attribute. The maximum serial number of the group is formed and temporarily stored. At this point, the group is executed and the next group of the current coding scheme is analyzed and determined; S607: After all the grouping values ​​of the scheme have been traversed, the actual value of the increasing dimension and the maximum serial number formed by each increasing group are combined and spliced ​​according to the coding preview style to form a final unique contract number containing multiple serial numbers.

[0068] The contract coding scheme of this embodiment is pre-configured and associated with the form field, and the incremental dimension attribute, corresponding attribute value and incremental dimension attribute grouping information in the form field are determined according to the incremental dimension attribute in the form field and its corresponding attribute value and the corresponding associated contract coding scheme. Then, by traversing the grouping information, the incremental dimension attribute value and the maximum serial number of the group are obtained. Finally, through combination and splicing, the final unique contract number containing multiple serial numbers is formed, which realizes the intelligent generation of two or more parallel incremental serial numbers in one contract number, and is suitable for situations where a single number needs to contain multiple serial numbers.

[0069] like Figure 3 As shown, the multi-series parallel contract number generation device provided in the embodiment of the present invention can be implemented in software, and the multi-series parallel contract number generation device 300 includes the following software modules: a coding scheme calling module 301, an increasing dimension grouping module 302, a grouping information traversal module 303 and a contract number generation module 304.

[0070] The functions of the various software modules in the multi-sequence number parallel contract number generating device 300 are introduced below: The coding scheme calling module 301 is used to obtain the business contract form to be processed and parse the form fields, and call the contract coding scheme pre-configured and associated with the form fields; An incremental dimension grouping module 302 is used to obtain the incremental dimension attribute, the corresponding attribute value and the incremental dimension attribute grouping information in the form field according to the contract coding scheme; wherein the same incremental dimension attribute is pre-divided into the same group, and each group corresponds to a serial number; The grouping information traversal module 303 is used to traverse the information of all groups, and determine the increasing dimension attribute values and the maximum serial numbers of each group; The contract number generation module 304 is used to combine and splice the increasing dimension attribute values and the maximum serial numbers of each group according to the encoding preview style of the contract coding scheme, so as to form a final unique contract number containing multiple serial numbers.

[0071] In the coding scheme calling module 301, the methods for parsing form fields from the business contract form can be divided into two categories: structured parsing and unstructured parsing. The corresponding parsing method can be selected according to the applicable scenario of the business contract form. For the method of structured form parsing, the PDF form field automatic recognition method or the database association reading method can be used to implement it.

[0072] For unstructured text parsing, natural language processing technology can be used, or the AI model automatic extraction method can be used to implement it.

[0073] For the two types of mixed scenarios of structured parsing and unstructured parsing, the combination of OCR and rule engine can be used to implement it. For example, first perform OCR character recognition on the scanned contract, and then parse the fields at non-fixed positions through the rule engine (such as conditional judgment, entity recognition model). For example, judge the value of the "dispute resolution method" field through semantic analysis.

[0074] In the coding scheme calling module 301, the pre-configured contract coding scheme has the following configuration process: Create a contract coding scheme, add increasing dimension attributes and configure the corresponding attribute values; Group according to the configured increasing attribute values, divide those based on the same increasing dimension attribute into the same group, and each group corresponds to a serial number configuration; Configure the serial number information of each group to generate a preview style of the contract coding scheme; Adjust the order of the preview style of the contract coding scheme until it is adjusted to the contract coding scheme that meets the preset requirements, and associate it with the form fields of the business contract form.

[0075] It should be noted here that an increasing dimension attribute belongs to one increasing group; or an increasing dimension attribute belongs to two or more increasing groups. The serial numbers of different groups set their independent serial number configuration principles.

[0076] In the grouping information traversal module 303, the process of determining the maximum serial number of each group is as follows: According to the increasing dimension attributes and their attribute values of each group, form the basic group value in the order and configuration combination of the coding preview styles of the contract coding scheme. Match the basic group value with the current attribute values of each dimension attribute of the system to find the maximum system serial number of the current group. According to the maximum system serial number of the current group, increment it according to the increasing dimension attribute configuration of the group to form the maximum serial number of the current group, and continue to parse and judge the next group under the current coding scheme.

[0077] In this embodiment, the number of groups is first judged, and then each group is processed one by one. The increasing dimension in the group is found, compared with the corresponding dimension in the system, and the existing maximum value is judged to calculate and return the next serial number value, so as to determine the latest serial number value in each group.

[0078] In this way, through the increasing dimension grouping and the uniqueness of the serial numbers of each group, each group can increase according to its own dimension rules at the same time, without interference, and solves the problem of generating contract numbers based on multiple business dimensions and multiple groups of customers.

[0079] It should be noted here that Figure 3 each module in the contract number generation device with multiple parallel serial numbers in Figure 1 corresponds one by one to each step in the contract number generation method with multiple parallel serial numbers in

[0080] In one number of this embodiment, the generation rules for parallel combination of multiple serial numbers (two or more) can be defined; in the contract numbering scheme, the increasing number of groups and increasing dimensions of multiple serial numbers can be set at one time. There are multiple groups in one number, one group contains one dimension and one serial number, and the serial numbers within the group increase according to the dimension rules within the group without interference. Moreover, the contract numbering scheme can generate a visual coding scheme preview style model and can intelligently adjust the group positions and the front-back order; the front-back order does not affect the generation of increasing numbers.

[0081] Next, the structure of the electronic device according to the embodiment of the present invention will be described in detail. Figure 4 This is a schematic diagram of the composition structure of the electronic device provided by the embodiment of the present invention. It can be understood that Figure 4 only the exemplary structure of the electronic device is shown, rather than all structures. According to needs, some or all of the shown structures can be implemented.

[0082] The electronic device provided by the embodiment of the present invention includes: at least one processor 401, a memory 402, a user interface 403, and at least one network interface 404. Each component in the contract number generation device with multi-stream serial numbers in parallel is coupled together through a bus system 405. It can be understood that the bus system 405 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 405 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear illustration, in Figure 4 all kinds of buses are labeled as the bus system 405.

[0083] Among them, the user interface 403 may include a display, a keyboard, a mouse, a trackball, a click wheel, a button, a touchpad, or a touch screen, etc.

[0084] It can be understood that the memory 402 may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. The memory 402 in the embodiment of the present invention can store data to support the operation of the terminal. Examples of these data include: any computer program for operating on the terminal, such as an operating system and application programs. Among them, the operating system contains various system programs, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks. The application programs may include various application programs.

[0085] In some embodiments, the contract number generation device 300 with multi-stream serial numbers in parallel provided by the embodiment of the present invention can be implemented in a combination of software and hardware. As an example, the contract number generation device 300 with multi-stream serial numbers in parallel provided by the embodiment of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the contract number generation method with multi-stream serial numbers in parallel provided by the embodiment of the present invention. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs, Application Specific Integrated Circuit), DSPs, programmable logic devices (PLDs, Programmable Logic Device), complex programmable logic devices (CPLDs, Complex Programmable Logic Device), field-programmable gate arrays (FPGAs, Field-Programmable Gate Array), or other electronic components.

[0086] As an example, the processor 401 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0087] As an example of the multi-stream serial number parallel contract number generation device 300 provided by the embodiments of the present invention implemented in hardware, the device provided by the embodiments of the present invention can be directly implemented by a processor 401 in the form of a hardware decoding processor. For example, it can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components to execute the multi-stream serial number parallel contract number generation method provided by the embodiments of the present invention.

[0088] The memory 402 in the embodiments of the present invention is used to store various types of data to support the operation of the multi-stream serial number parallel contract number generation device 300, or to store the program code for executing Figure 1 the method shown. Examples of these data include: any executable instructions for operating on the multi-stream serial number parallel contract number generation device. For example, the executable instructions, and the program for implementing the multi-stream serial number parallel contract number generation method of the embodiments of the present invention can be included in the executable instructions.

[0089] Specifically, according to the embodiments of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments of the present application include a computer program product that includes a computer program carried on a computer-readable medium, and the computer program includes the program code for executing Figure 1 the method shown. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by the central processing unit, it executes various functions defined in the device of the present application.

[0090] Among them, Figure 1The computer program instructions corresponding to the methods shown can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, such that the instructions stored in the computer-readable memory produce a manufactured article including an instruction device that implements the functions specified in one process or multiple processes and / or one block or multiple blocks of the process Figure 1 in one process or multiple processes and / or one block or multiple blocks Figure 1 of the functions specified in the block or blocks

[0091] The foregoing is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for generating contract numbers in parallel with multiple serial numbers, characterized in that, including: Obtain the business contract form to be processed and parse the form fields, and call the contract coding scheme pre-configured and associated with the form fields; According to the contract coding scheme, obtain the incremental dimension attributes, corresponding attribute values, and incremental dimension attribute grouping information in the form fields; wherein, the same incremental dimension attribute is pre-divided into the same group, and each group corresponds to a serial number; Traverse the information of all groups to determine the incremental dimension attribute values and the maximum serial numbers of each group; Combine and splice the incremental dimension attribute values and the maximum serial numbers of each group according to the coding preview style of the contract coding scheme to form a final unique contract number containing multiple serial numbers.

2. The contract number generation method with parallel multi-stream serial numbers according to claim 1, characterized in that The process of determining the maximum serial number of each group is: According to the incremental dimension attributes and their attribute values of each group, form a basic group value according to the sequence and configuration of the coding preview style of the contract coding scheme; Match the basic group value with the current attribute values of each dimension attribute of the system to find the maximum system serial number of the current group; Increment according to the incremental dimension attribute configuration of the group based on the maximum system serial number of the current group to form the maximum serial number of the current group, and continue to parse and judge the next group under the current coding scheme.

3. The method for generating contract numbers in parallel with multiple serial numbers according to claim 1, wherein The configuration process of the contract coding scheme is: Create a contract coding scheme, add incremental dimension attributes and configure the corresponding attribute values; Group according to the configured incremental attribute values, divide those based on the same incremental dimension attribute into the same group, and each group corresponds to a serial number configuration; Configure the serial number information of each group to generate a preview style of the contract coding scheme; Adjust the sequence of the preview style of the contract coding scheme until it is adjusted to a contract coding scheme that meets the preset requirements, and associate it with the form fields of the business contract form.

4. The method for generating contract numbers in parallel with multiple serial numbers according to claim 1 or 3, characterized in that, One incremental dimension attribute belongs to one incremental group; or one incremental dimension attribute belongs to two or more incremental groups.

5. The contract number generation method with parallel multiple serial numbers as claimed in claim 3, wherein Set independent serial number configuration principles for the serial numbers of different groups.

6. The method for generating contract numbers in parallel with multiple serial numbers according to claim 1 or 3, characterized in that, The number of the incremental dimension attributes is at least one and the incremental dimension attributes are not repeated, and the attribute value of each incremental dimension attribute is a variable value or a fixed value.

7. A contract number generation device with parallel multi-stream sequence numbers, characterized in that, including: A coding scheme calling module, which is used to obtain the business contract form to be processed and parse the form fields, and call the contract coding scheme pre-configured and associated with the form fields; An incremental dimension grouping module, which is used to obtain the incremental dimension attributes, corresponding attribute values, and incremental dimension attribute grouping information in the form fields according to the contract coding scheme; wherein, the same incremental dimension attribute is pre-divided into the same group, and each group corresponds to a serial number; A grouping information traversing module, which is used to traverse the information of all groups to determine the incremental dimension attribute values and the maximum serial numbers of each group; A contract number generating module, which is used to combine and splice the incremental dimension attribute values and the maximum serial numbers of each group according to the coding preview style of the contract coding scheme to form a final unique contract number containing multiple serial numbers.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by a processor, it implements the steps in the contract number generation method with parallel multi-sequence numbers as described in any one of claims 1-6.

9. A computer program product comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by a processor, it implements the steps in the contract number generation method with parallel multi-sequence numbers as described in any one of claims 1-6.

10. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the steps in the contract number generation method with parallel multi-sequence numbers as described in any one of claims 1-6.

Citation Information

Cited By

  • Bill merging method and system based on text generation immutable codes

    CN120874784A