CN115688683B - Document number issuing method, device, equipment and storage medium - Google Patents

Document number issuing method, device, equipment and storage medium Download PDF

Info

Publication number
CN115688683B
CN115688683B CN202310010524.8A CN202310010524A CN115688683B CN 115688683 B CN115688683 B CN 115688683B CN 202310010524 A CN202310010524 A CN 202310010524A CN 115688683 B CN115688683 B CN 115688683B
Authority
CN
China
Prior art keywords
document
bill
reset
rule
rules
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
CN202310010524.8A
Other languages
Chinese (zh)
Other versions
CN115688683A (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.)
Dongfang Hezhi Data Technology Guangdong Co ltd
Original Assignee
Dongfang Hezhi Data Technology Guangdong Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongfang Hezhi Data Technology Guangdong Co ltd filed Critical Dongfang Hezhi Data Technology Guangdong Co ltd
Priority to CN202310010524.8A priority Critical patent/CN115688683B/en
Publication of CN115688683A publication Critical patent/CN115688683A/en
Application granted granted Critical
Publication of CN115688683B publication Critical patent/CN115688683B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention relates to the technical field of industrial internet, and particularly discloses a document number issuing method, a device, equipment and a storage medium, wherein the method comprises the following steps: the method comprises the steps of matching document configuration information with document rules to obtain target document rules, determining corresponding function algorithm models and reset models according to the target document rules, calling the target document rule matching function algorithm models through function modules corresponding to the target document rules to generate document numbers, calling the reset models to reset the document numbers when the document numbers meet the reset rules of the reset models, and obtaining the reset document numbers. According to the invention, the existing document rules are processed, so that different types of function algorithm models and reset models are obtained, and the corresponding document numbers are generated by calling the corresponding function algorithm models and reset models, so that the intelligent configuration and unified management of document number generation are realized, and the document number generation efficiency is greatly improved.

Description

Document number issuing method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of industrial internet, in particular to a document issuing method, a device, equipment and a storage medium.
Background
With the continuous development of internet technology, the 4.0 th era of industry, where everything can be interconnected, has opened the introduction, and the intellectualization and intellectualization of factories become inevitable development trends, such as: the industrial internet platform of the corrugated paper packaging industry integrates more and more functional modules, such as: WMS (route Management System), EMA (Entity Management System), QMS (Quality Management System), MES (Manufacturing Execution System), APS (Advanced Planning and Scheduling), and the like.
With the continuous improvement of the factory management system, more and more document numbers need to be generated by the functional modules on the industrial internet platform, and currently, for convenience of management, the corresponding document numbers are generated by the corresponding functional modules themselves, for example: the warehouse entry and exit management in the WMS generates an out-warehouse receipt number, an in-warehouse receipt number, and the production scheduling in the MES generates a production work order, a work order report, a scheduling order and the like.
But along with the lapse of time, the function of industry internet platform is more and more comprehensive, the kind of document is also more and more and more diversified, when appearing newly-increased document type, need develop a plurality of functional module alone even, both wasted a large amount of time, also let functional module on the platform more and more bloated, so that the efficiency of generating document number is low excessively, consequently, how to effectively improve the generation efficiency of the document number of each functional module on the industry internet platform and become a problem that needs to solve urgently.
The above-mentioned contents are only for assisting understanding of the technical solution of the present invention, and do not represent an admission that the above-mentioned contents are related art.
Disclosure of Invention
The invention mainly aims to provide a document number sending method, a document number sending device, document number sending equipment and a storage medium, and aims to solve the technical problem that the document number generation efficiency of a functional module on an industrial internet platform is low in the prior art.
In order to achieve the aim, the invention provides a document number issuing method, which comprises the following steps:
matching the document configuration information with the document rule to obtain a target document rule;
determining a corresponding function algorithm model and a corresponding reset model according to the target bill rule;
calling the target bill rule to match the function algorithm model through a functional module corresponding to the target bill rule to generate a bill number;
and when the bill number meets the reset rule of the reset model, calling the reset model to reset the bill number to obtain the reset bill number.
Optionally, before the matching the document configuration information with the document rule and obtaining the target document rule, the method further includes:
establishing different categories of function algorithm models based on the existing document generation rules in the platform;
establishing different types of reset models based on the existing document reset rule in the platform;
establishing a corresponding document type in a dictionary table according to the type of the existing document number in the platform;
and generating a bill rule based on the bill type, the function algorithm model and the reset model through a configuration page.
Optionally, the establishing different categories of function algorithm models based on existing document generation rules in the platform includes:
acquiring the existing bill generation rules in a platform, and classifying the bill generation rules;
respectively extracting public rules from the classified document generation rules to obtain the public generation rules;
and respectively establishing function algorithm models corresponding to the bill generation rules of different categories through the public generation rule.
Optionally, the establishing different types of reset models based on existing document reset rules in the platform includes:
acquiring an existing document resetting rule in a platform, and classifying the document resetting rule;
respectively extracting public rules from the classified document resetting rules to obtain the public resetting rules;
and respectively establishing reset models corresponding to different types of document reset rules through the common reset rule.
Optionally, the generating a document rule based on the document type, the function algorithm model, and the reset model through the configuration page includes:
when receiving a bill type selected by a user based on the first configuration page, displaying a second configuration page to the user;
acquiring document configuration information selected by a user based on the second configuration page, wherein the document configuration information comprises a tenant, a document prefix, the function algorithm model, the reset model and the serial number length;
and generating a corresponding bill rule according to the bill type and the bill configuration information.
Optionally, after establishing the corresponding document type in the dictionary table according to the type of the document number existing in the platform, the method further includes:
when the platform needs to add a new document type, adding a corresponding code and a new document type corresponding to the code in the dictionary table;
and generating a corresponding newly added document rule based on the newly added document type and document configuration information corresponding to the newly added document type through a configuration page.
Optionally, before the matching the document configuration information with the document rule and obtaining the target document rule, the method further includes:
when a bill generation instruction is received, acquiring corresponding bill configuration parameters according to the bill generation instruction;
determining the bill type according to the bill configuration parameters, and acquiring corresponding bill configuration information based on the bill type.
In addition, in order to achieve the above object, the present invention further provides a document number issuing device, including:
the rule generating module is used for matching the document configuration information with the document rule to obtain a target document rule;
the model determining module is used for determining a corresponding function algorithm model and a corresponding reset model according to the target bill rule;
the model calling module is used for calling the target bill rule to be matched with the function algorithm model through a functional module corresponding to the target bill rule to generate a bill number;
and the bill resetting module is used for calling the resetting model to reset the bill number when the bill number meets the resetting rule of the resetting model, and obtaining the reset bill number.
In addition, in order to achieve the above object, the present invention further provides a document issuing apparatus, including: a memory, a processor and a document issuing program stored on the memory and operable on the processor, the document issuing program configured to implement the steps of the document issuing method as described above.
In addition, in order to achieve the above object, the present invention further provides a storage medium, wherein the storage medium stores a document issuing program, and the document issuing program, when executed by a processor, implements the steps of the document issuing method.
According to the method, the target document rule is obtained by matching document configuration information with the document rule, the corresponding function algorithm model and the reset model are determined according to the target document rule, the target document rule matching function algorithm model is called through the function module corresponding to the target document rule to generate the document number, and when the document number meets the reset rule of the reset model, the reset model is called to reset the document number, so that the reset document number is obtained. According to the invention, the existing document rules are firstly classified, then the classified document rules are processed, so that the function algorithm models and the reset models of different categories are obtained, and finally, the corresponding document numbers are generated by calling the corresponding function algorithm models and the reset models, so that the intelligent configuration and the unified management of document number generation are realized, and the document number generation efficiency is greatly improved.
Drawings
FIG. 1 is a schematic structural diagram of a document issuing device in a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of a document issuing method according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a document issuing method according to the present invention;
FIG. 4 is a schematic flow chart of a document issuing method according to a third embodiment of the present invention;
FIG. 5 is a schematic flow chart of the working principle of a document issuing device in the document issuing method according to the present invention;
fig. 6 is a block diagram of the first embodiment of the document issuing device of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a document issuing device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the document issuing apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (WI-FI) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in figure 1 does not constitute a limitation of the document issuing apparatus and may include more or fewer components than shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a document issuing program.
In the document issuing device shown in FIG. 1, the network interface 1004 is primarily used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the document issuing device can be arranged in the document issuing device, and the document issuing device calls the document issuing program stored in the memory 1005 through the processor 1001 and executes the document issuing method provided by the embodiment of the invention.
The embodiment of the invention provides a bill issuing method, and referring to fig. 2, fig. 2 is a schematic flow diagram of a first embodiment of the bill issuing method.
In this embodiment, the document number issuing method includes the following steps:
step S10: and matching the bill configuration information with the bill rule to obtain a target bill rule.
It should be noted that the execution subject of the embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or another electronic device capable of implementing the above functions. The present embodiment and the following embodiments will be described below by taking a document issuing apparatus as an example.
It is understood that the document configuration information may be information required to be provided when generating a document number, for example: tenant information, the length of a document serial number, a function algorithm model for generating a document number, a reset model for resetting the document number, a document prefix and the like; the document rule may be a generation rule and a reset rule of a document number, for example: the rule for configuring the work order is the bill prefix: GD + middle dash + current time: the method comprises the steps that the number of a bill flow of +3 year-month-day (the number of the flow is increased by 1 every new increment of work order flow) is increased by 1 every 12-month-19-month-2022, and the number of the bill flow of a configured work order is increased by 1 every 1 time of work order flow when the current time is 12-month-19-month-2022 and the current time is only 1 time of work order flow; the target document rule may be a document rule matching the configuration information.
Further, in order to improve the effectiveness of generating the document number by each functional module, before the step S10, the method further includes:
step S11: and when a bill generation instruction is received, acquiring corresponding bill configuration parameters according to the bill generation instruction.
It can be understood that the document generation instruction can be a preset document number generation instruction sent by a user based on an industrial internet platform; the document configuration parameter may be a preset parameter having a one-to-one mapping relationship with the document generation instruction.
In the specific implementation, when receiving a document generation instruction sent by a user based on an industrial internet platform, the document number sending device acquires document configuration parameters corresponding to the document generation instruction.
Step S12: determining the bill type according to the bill configuration parameters, and acquiring corresponding bill configuration information based on the bill type.
It is understood that the above document types may be types of document numbers that need to be generated by each functional module on the industrial internet, for example: warehouse entry number, warehouse exit number, scheduling number, work order number and the like.
Step S20: and determining a corresponding function algorithm model and a corresponding reset model according to the target bill rule.
It will be appreciated that the functional algorithm model described above may be a model for generating document numbers, for example: a production work order model (mainly comprising production identifiers of various production lines), a production scheduling model (which can automatically acquire identifiers in scheduling rules in production scheduling information through document configuration parameters), an equipment model (which can acquire equipment codes in equipment management and automatically match associated equipment based on document configuration information), a date algorithm model (which can acquire a current date according to a certain format), a character string algorithm model (mainly comprising common character strings such as middle-drawn lines, underlines, well numbers and the like), and the like; the reset model may be a model for resetting a document number, and there are various reset rules that can be selected, for example: reset by date, reset by month, reset by year, reset by work order, reset by schedule, etc.
Step S30: and calling the target bill rule to match the function algorithm model through a functional module corresponding to the target bill rule to generate a bill number.
It is understood that the above functional modules may be modules integrated on an industrial internet platform with specific functions, such as: WMS (warehouse management system), EMA (integrated management system), QMS (quality management system), MES (manufacturing execution system), APS (advanced planning and scheduling), and the like.
In the specific implementation, the document number issuing equipment calls the target document rule to match the corresponding function algorithm model through the function module corresponding to the target document rule, so that the corresponding document number is generated.
Step S40: and when the bill number meets the reset rule of the reset model, calling the reset model to reset the bill number to obtain the reset bill number.
It can be understood that the reset rule may be a preset condition, and when the preset condition is satisfied, the document number issuing device may invoke the reset model to perform reset processing on the document number, for example: when the reset rule is reset according to the day, the document number issuing equipment automatically calls the reset model to reset the document number every morning at 0 point; when the reset rule is reset according to the work order, a plurality of schedule orders can be arranged under one work order, a plurality of tray numbers can be arranged under one schedule order, and when the tray numbers are configured to reset according to the work order, the serial numbers at the tail of the tray numbers under each work order can be reset.
According to the embodiment, the target document rule is obtained by matching the document configuration information with the document rule, the corresponding function algorithm model and the reset model are determined according to the target document rule, the target document rule is called to match the function algorithm model through the function module corresponding to the target document rule to generate the document number, and when the document number meets the reset rule of the reset model, the reset model is called to reset the document number, so that the reset document number is obtained. According to the method, the existing document rules are firstly classified, then the classified document rules are processed, so that the function algorithm models and the reset models of different categories are obtained, and finally the corresponding document numbers are generated by calling the corresponding function algorithm models and the reset models, so that the intelligent configuration and the unified management of document number generation are realized, and the document number generation efficiency is greatly improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating a document issuing method according to a second embodiment of the present invention.
Based on the first embodiment, in order to reduce a large amount of redundant codes in the industrial internet platform and further improve the efficiency of document generation, a second embodiment is provided, where before the step S11, the method further includes:
step S100: and establishing different categories of function algorithm models based on the existing document generation rules in the platform.
It will be appreciated that the existing document generation rules described above are rules for generating document numbers already existing on the industrial internet platform, such as: date-related generation rules, date 2 (DD, the last 2 bits of the current date are acquired, for example, the current date is 2022 years, 10 months and 14 days, and DD = 14), date 8 (YYYYDDMM, the current date is acquired, for example, the current date is 2022 years, 12 months and 19 days, and YYYYDDMM = 20221014), month 1 (M, the month of the current time is acquired, for example, the current date is 2022 years, 12 months and 19 days, and M = 12), month four bits (YYMM, the last 4 bits of the current time is acquired, for example, the current date is 2022 years, 11 months and 11 days, and YYMM = 1111), year 2 bits (YY acquires the last 2 bits of the current date, for example, the current date is 2022 years, 12 months and 19 days, and YY = 22), year 4 bits (yyyyyyyyyyy, the last 4 bits of the current year is acquired, for example, the current date is 2 months and 2020, and yyyyyyyyyy = 2020).
Further, in order to improve the effectiveness of the function algorithm model, the step S100 specifically includes:
step S101: acquiring the existing bill generation rules in the platform, and classifying the bill generation rules.
In the specific implementation, the existing document generation rules in the industrial internet platform are firstly obtained, and then the document generation rules are classified according to the pre-divided types.
Step S102: and respectively extracting the public rules from the classified document generation rules to obtain the public generation rules.
It can be understood that the common rule may be a common and general rule in the classified document generation rule; the common generation rule may be a rule of the extracted common document generation.
Step S103: and respectively establishing function algorithm models corresponding to the bill generation rules of different categories through the public generation rules.
In specific implementation, after the public generation rule is optimized and improved, the function algorithm models corresponding to different types of bill generation rules are established through the optimized public generation rule.
Step S200: different types of reset models are established based on the existing document reset rules in the platform.
It is understood that the above existing document reset rules are rules for resetting document numbers already existing on the industrial internet platform, such as: reset by date, reset by month, reset by year, reset by work order, reset by schedule, etc.
Further, in order to improve the effectiveness of the reset model, the step S200 specifically includes:
step S201: acquiring the existing bill reset rule in the platform, and classifying the bill reset rule.
In the specific implementation, the existing document resetting rules in the industrial internet platform are firstly obtained, and then the document resetting rules are classified according to the pre-divided types.
Step S202: and respectively extracting the public rules from the classified document resetting rules to obtain the public resetting rules.
It will be appreciated that the common reset rule may be a rule for resetting the extracted common document.
Step S203: and respectively establishing reset models corresponding to different types of document reset rules through the common reset rule.
In specific implementation, after the public reset rule is optimized and improved, the reset models corresponding to different types of document reset rules are established through the optimized public reset rule.
Step S300: and establishing a corresponding document type in the dictionary table according to the type of the existing document number in the platform.
It is understood that the dictionary table may be a collection of data describing document types, each document type in the dictionary table has a corresponding code, and there is a one-to-one mapping relationship between the code and the document type.
Further, in order to solve the problem of the new document type, after the step S300, the method further includes:
step S301: when the platform needs to add a new document type, adding a corresponding code and a new document type corresponding to the code in the dictionary table;
it will be appreciated that the above-described code may be composed of arabic numbers, for example: the code may be 123 or may be alphabetical, for example: the code may be abc, or both, for example: 1a2b3c, the present embodiment does not limit the form of the above coding.
In the specific implementation, when the platform needs to newly add a document type, a user sends an instruction of the newly added document type based on the platform, and after receiving the instruction, the document number sender newly adds a corresponding code and the newly added document type corresponding to the code in the dictionary table.
Step S302: and generating a corresponding newly added document rule based on the newly added document type and document configuration information corresponding to the newly added document type through a configuration page.
It can be understood that the configuration page may be a network page for selecting a document type and corresponding document configuration information; the new document rule may be a new document rule generated based on the new document type and the document configuration information.
Step S400: and generating a bill rule based on the bill type, the function algorithm model and the reset model through a configuration page.
In the specific implementation, the bill issuing equipment acquires the bill type, the function algorithm model and the reset model selected by the user through the configuration page, and generates the bill rule based on the bill type, the function algorithm model and the reset model.
According to the method, the effectiveness of the function algorithm model is improved by establishing different types of function algorithm models based on the existing document generation rule in the platform, the effectiveness of the reset model is improved by establishing different types of reset models based on the existing document reset rule in the platform, corresponding document types are established in the dictionary table according to the types of document numbers in the platform, document rules are generated by configuring pages based on the document types, the function algorithm models and the reset models, the document generation efficiency is improved, when the platform needs to newly add document types, corresponding codes and newly added types corresponding to the codes are newly added in the dictionary table, corresponding document newly added rules are generated by configuring the pages based on the newly added document types and document configuration information corresponding to the newly added document types, and independent updating and development of each function module are not needed, so that a large amount of redundant codes in the industrial internet platform are reduced, and the document generation efficiency is further improved.
Referring to fig. 4, fig. 4 is a schematic flow chart of a document issuing method according to a third embodiment of the present invention.
Based on the second embodiment, in order to improve the accuracy of matching the document configuration information with the document rule, the step S400 specifically includes:
step S401: when receiving a bill type selected by a user based on the first configuration page, displaying a second configuration page to the user;
it can be understood that the first configuration page may be a page for selecting a document type, and is distinguished from other configuration pages; the second configuration page may be a page for selecting other document configuration information, and is distinguished from the first configuration page.
Step S402: acquiring document configuration information selected by a user based on the second configuration page, wherein the document configuration information comprises a tenant, a document prefix, the function algorithm model, the reset model and the serial number length;
in a specific implementation, when a user selects document configuration information through a second configuration page, the document number issuing device may obtain the document configuration information, where the document configuration information includes a tenant, a document prefix, the function algorithm model, the reset model, and a serial number length.
Step S403: and generating a corresponding bill rule according to the bill type and the bill configuration information.
In a specific implementation, the document issuing equipment stores the document type and the document configuration information when acquiring the document type and the document configuration information, so as to generate a corresponding document rule.
Further, referring to fig. 5, fig. 5 is a schematic flow chart of the working principle of the document number issuing device in the document number issuing method of the present invention.
The working principle of the document issuing equipment is mainly divided into two stages, the first stage is a document rule generating process, a user can select a corresponding document type based on a configuration page of a background management system, then corresponding document configuration information is selected, and specifically comprises a tenant, a document prefix, a function algorithm model, a reset model and a serial number length, and when the user selects the document configuration information, the document issuing equipment stores the document type and the document configuration information, so that a corresponding document rule is generated.
And the second stage is a generation process of the document number, and after the corresponding document rule is generated, the document number issuing equipment can call the corresponding document rule to match the corresponding function algorithm model and the reset model through the functional module to generate the corresponding document number.
According to the method and the device, when the type of the document selected by the user based on the first configuration page is received, the second configuration page is displayed to the user, so that the document configuration information selected by the user based on the second configuration page is obtained, the document configuration information comprises the tenant, the document prefix, the function algorithm model, the reset model and the serial number length, and finally, the corresponding document rule is generated according to the document type and the document configuration information, so that the accuracy rate when the document configuration information is matched with the document rule is improved.
In addition, an embodiment of the present invention further provides a storage medium, where a document issuing program is stored in the storage medium, and when executed by a processor, the document issuing program implements the steps of the document issuing method described above.
Referring to fig. 6, fig. 6 is a block diagram of a first embodiment of the document issuing device of the present invention.
As shown in fig. 6, the document issuing apparatus provided in the embodiment of the present invention includes: the system comprises a rule generation module 601, a model determination module 602, a model calling module 603 and a document resetting module 604.
The rule generating module is used for matching the bill configuration information with the bill rule to obtain a target bill rule;
the model determining module is used for determining a corresponding function algorithm model and a corresponding reset model according to the target bill rule;
the model calling module is used for calling the target bill rule to match the function algorithm model to generate a bill number through a functional module corresponding to the target bill rule;
and the bill resetting module is used for calling the resetting model to reset the bill number when the bill number meets the resetting rule of the resetting model, so as to obtain the reset bill number.
In the embodiment, the target document rule is obtained by matching the document configuration information with the document rule, the corresponding function algorithm model and the reset model are determined according to the target document rule, the target document rule is matched with the function algorithm model through the function module corresponding to the target document rule to generate the document number, and when the document number meets the reset rule of the reset model, the reset model is called to reset the document number, so that the reset document number is obtained. According to the method, the existing document rules are firstly classified, then the classified document rules are processed, so that the function algorithm models and the reset models of different categories are obtained, and finally the corresponding document numbers are generated by calling the corresponding function algorithm models and the reset models, so that the intelligent configuration and the unified management of document number generation are realized, and the document number generation efficiency is greatly improved.
Other embodiments or specific implementation manners of the document number issuing device can refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or system comprising the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., a rom/ram, a magnetic disk, an optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (7)

1. A document number issuing method is characterized by comprising the following steps:
matching the document configuration information with the document rule to obtain a target document rule;
determining a corresponding function algorithm model and a corresponding reset model according to the target bill rule;
calling the target bill rule to match the function algorithm model through a functional module corresponding to the target bill rule to generate a bill number;
when the bill number meets the reset rule of the reset model, calling the reset model to reset the bill number to obtain the reset bill number;
before matching the document configuration information with the document rule and obtaining the target document rule, the method further includes:
acquiring the existing bill generation rules in a platform, classifying the bill generation rules, and extracting public rules from the classified bill generation rules respectively to acquire the public generation rules;
respectively establishing function algorithm models corresponding to different types of document generation rules through the public generation rules;
acquiring the existing document resetting rules in the platform, classifying the document resetting rules, and extracting public rules from the classified document resetting rules to acquire the public resetting rules;
respectively establishing reset models corresponding to different types of document reset rules through the common reset rule;
establishing a corresponding document type in a dictionary table according to the type of the existing document number in the platform;
and generating a bill rule based on the bill type, the function algorithm model and the reset model through a configuration page.
2. The method of claim 1, wherein generating a document rule based on the document type, the functional algorithm model, and the reset model via a configuration page comprises:
when receiving a bill type selected by a user based on the first configuration page, displaying a second configuration page to the user;
acquiring document configuration information selected by a user based on the second configuration page, wherein the document configuration information comprises a tenant, a document prefix, the function algorithm model, the reset model and the serial number length;
and generating a corresponding bill rule according to the bill type and the bill configuration information.
3. The method of claim 1, after establishing a corresponding document type in a dictionary table based on the types of document numbers existing in the platform, further comprising:
when the platform needs to add a new document type, adding a corresponding code and a new document type corresponding to the code in the dictionary table;
and generating a corresponding newly added document rule based on the newly added document type and document configuration information corresponding to the newly added document type through a configuration page.
4. The method according to any of claims 1-3, wherein, before matching the document configuration information with the document rules to obtain the target document rules, further comprising:
when a bill generation instruction is received, acquiring corresponding bill configuration parameters according to the bill generation instruction;
determining the bill type according to the bill configuration parameters, and acquiring corresponding bill configuration information based on the bill type.
5. A document issuing device, comprising:
the rule generating module is used for matching the document configuration information with the document rule to obtain a target document rule;
the model determining module is used for determining a corresponding function algorithm model and a corresponding reset model according to the target bill rule;
the model calling module is used for calling the target bill rule to be matched with the function algorithm model through a functional module corresponding to the target bill rule to generate a bill number;
the bill resetting module is used for calling the resetting model to reset the bill number when the bill number meets the resetting rule of the resetting model, and obtaining the reset bill number;
the rule generating module is configured to match the document configuration information with the document rule, and further includes, before obtaining the target document rule:
acquiring the existing bill generation rules in a platform, classifying the bill generation rules, and extracting public rules from the classified bill generation rules respectively to acquire the public generation rules;
respectively establishing function algorithm models corresponding to different types of document generation rules through the public generation rules;
acquiring the existing document resetting rules in the platform, classifying the document resetting rules, and extracting public rules from the classified document resetting rules to acquire the public resetting rules;
respectively establishing reset models corresponding to different types of document reset rules through the common reset rule;
establishing a corresponding document type in a dictionary table according to the type of the existing document number in the platform;
and generating a bill rule based on the bill type, the function algorithm model and the reset model through a configuration page.
6. A document issuing apparatus, comprising: a memory, a processor and a document issuing program stored on the memory and operable on the processor, the document issuing program being configured to implement the steps of the document issuing method according to any one of claims 1 to 4.
7. A storage medium having stored thereon a document issuing program which, when executed by a processor, carries out the steps of a document issuing method according to any one of claims 1 to 4.
CN202310010524.8A 2023-01-05 2023-01-05 Document number issuing method, device, equipment and storage medium Active CN115688683B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310010524.8A CN115688683B (en) 2023-01-05 2023-01-05 Document number issuing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310010524.8A CN115688683B (en) 2023-01-05 2023-01-05 Document number issuing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115688683A CN115688683A (en) 2023-02-03
CN115688683B true CN115688683B (en) 2023-03-21

Family

ID=85057310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310010524.8A Active CN115688683B (en) 2023-01-05 2023-01-05 Document number issuing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115688683B (en)

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060265408A1 (en) * 2005-05-20 2006-11-23 Computer Associates Think, Inc. System and method for reconciling ownership and discovered asset information
CA2736750A1 (en) * 2008-09-15 2010-03-18 James A. Aman Session automated recording together with rules based indexing, analysis and expression of content
CN101650807A (en) * 2009-09-11 2010-02-17 金蝶软件(中国)有限公司 Business code-processing method, coding module and system
CN101655944A (en) * 2009-09-25 2010-02-24 金蝶软件(中国)有限公司 Method and system for coding service receipt
CN101673376A (en) * 2009-10-15 2010-03-17 金蝶软件(中国)有限公司 Method and device for acquiring business bill encodes
CN102542340A (en) * 2010-12-15 2012-07-04 金蝶软件(中国)有限公司 Coding method for batch numbers of service documents and device
CN103116832A (en) * 2011-11-16 2013-05-22 航天信息软件技术有限公司 Method and device for grouping collecting and generating business documents
CN104850619A (en) * 2015-05-15 2015-08-19 深圳市金蝶友商电子商务服务有限公司 Receipt code generation method and apparatus
CN105183794B (en) * 2015-08-24 2018-12-14 用友网络科技股份有限公司 Business serial number generating means and method
CN107247695A (en) * 2017-05-31 2017-10-13 深圳市长亮科技股份有限公司 Coding rule generation method, system and storage device
CN109117422B (en) * 2017-06-23 2021-02-26 中国软件与技术服务股份有限公司 Global unique number rapid generation method and system in large-scale high-concurrency system
CN111861292A (en) * 2019-04-25 2020-10-30 北京京东尚科信息技术有限公司 Waybill number generation method, apparatus, server and storage medium
CN110097444A (en) * 2019-05-14 2019-08-06 京东方科技集团股份有限公司 A kind of flowing water code generating method and device
CN110619114B (en) * 2019-09-26 2022-10-25 北京明略软件系统有限公司 Serial number generation method and system
CN111210299B (en) * 2019-12-25 2024-04-19 深圳猛犸电动科技有限公司 Single number generation and management method and device
CN112613275A (en) * 2020-12-24 2021-04-06 金蝶软件(中国)有限公司 Receipt generation method and device, computer equipment and storage medium
CN113191121A (en) * 2021-04-14 2021-07-30 上海东普信息科技有限公司 Express bill number generation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN115688683A (en) 2023-02-03

Similar Documents

Publication Publication Date Title
CN111666490A (en) Information pushing method, device, equipment and storage medium based on kafka
KR102038092B1 (en) Apparatus and Method for automatic generation of Electric Design Drawings
CN112016967B (en) Transaction data processing method and device
CN102222285B (en) Multi-dimensional data linkage computing device and multi-dimensional data linkage computing method
CN112631751A (en) Task scheduling method and device, computer equipment and storage medium
CN110837366A (en) Form generation method, electronic device and computer readable storage medium
CN114564294A (en) Intelligent service arranging method and device, computer equipment and storage medium
CN113377372A (en) Business rule analysis method and device, computer equipment and storage medium
CN114707474A (en) Report generation method and device, electronic equipment and computer readable storage medium
CN112036806A (en) Project full life cycle approximate calculation management method, device, equipment and storage medium
CN115688683B (en) Document number issuing method, device, equipment and storage medium
CN113360139A (en) Integration method and device of front-end frame, electronic equipment and storage medium
US20050010459A1 (en) Project pre-review estimate method
CN111324608A (en) Model multiplexing method, device, equipment and storage medium
CN111612508A (en) Financial resource allocation request processing method and device and electronic equipment
CN116450723A (en) Data extraction method, device, computer equipment and storage medium
CN115222480A (en) Method, system, equipment and computer readable storage medium for generating purchase order
CN115905397A (en) Visual display method, device, system and medium for business data
CN115712422A (en) Form page generation method and device, computer equipment and storage medium
CN110457021B (en) Index data processing method, device and computer readable storage medium
CN113987644A (en) Engineering quantity list generation method, device, equipment and storage medium
CN108984318B (en) Message delivery method and device based on driving model and readable storage medium
CN113407598A (en) Method and device for generating demand document, storage medium and electronic equipment
CN110032703A (en) A kind of enterprise web site trustship method and system
CN111680032B (en) Method and device for processing information sending task and electronic 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