Electronic certificate generation method and system and storage medium
By establishing a voucher interface message field library and an automated voucher generation template, the problem of low efficiency in generating electronic voucher test data was solved, enabling efficient and accurate voucher generation and sending, and adapting to diverse business needs.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- CHINA CONSTRUCTION BANK
- Filing Date
- 2025-12-19
- Publication Date
- 2026-04-10
AI Technical Summary
In existing technologies, the acquisition of electronic voucher test data suffers from problems such as weakened data control, low efficiency in test data generation, and difficulty in ensuring the accuracy of test results. In particular, during the generation of centralized treasury payment vouchers, developers need to possess complex interface message specifications and business logic knowledge, which leads to low generation efficiency.
By establishing a voucher interface message field library, configuring data filling types, generating electronic voucher templates, and automatically filling data in the data entry interface, the system supports operations such as adding, modifying, and deleting voucher fields, thereby achieving automated voucher generation and sending.
It improves the efficiency and accuracy of electronic voucher generation, lowers the technical threshold for developers, meets the development needs of rapid iteration, and ensures the completeness and consistency of voucher data.
Smart Images

Figure CN121835637A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of voucher generation technology, and more specifically to an electronic voucher generation method, generation system, and storage medium. Background Technology
[0002] Currently, commercial financial institutions urgently need to establish efficient communication mechanisms with local finance departments to meet the system transformation needs under differentiated business scenarios. During the upgrade and transformation of financial institutions' financial systems, to ensure the security, stability, and compliance of system functions, full-process testing covering core businesses such as payment and clearing is required. High-quality electronic voucher test data is a fundamental element for ensuring the effectiveness of the testing. In existing technologies, the acquisition of electronic voucher test data mainly relies on two methods: first, the financial unit cooperates in generating test data; second, financial institution developers generate it independently through message concatenation. Both of these solutions have significant limitations in practical applications.
[0003] The core problem with solutions that rely on government agencies to generate test data lies in the weakening of data control. Because financial institutions lack effective mechanisms to constrain the collaborative behavior of government agencies, the completeness of the test data is difficult to guarantee. This manifests as frequent issues such as missing data fields and non-standard formats, thus affecting the accuracy of the test results. At the same time, financial institutions have limited monitoring capabilities over the test data generation process, making it impossible to correct data deviations in a timely manner, increasing the cost of error correction in later testing.
[0004] For developers to assemble messages themselves, the approach faces both technical hurdles and efficiency challenges. Taking the centralized treasury payment voucher as an example, this voucher involves a complex structure with 82 fields in the main document and 54 fields in the detailed document, with strict relationships between these fields. Developers need both knowledge of interface message specifications and business logic to accurately assemble the messages. However, in practice, developers often spend a significant amount of time on field verification and logic validation, leading to low efficiency in generating test data and failing to meet the rapid iteration requirements of the system. Summary of the Invention
[0005] The purpose of this invention is to provide an electronic voucher generation method, generation system, and storage medium to solve the aforementioned problems in the prior art. This solution aims to help users conveniently generate various electronic vouchers, quickly adapt to new business requirements, and improve work efficiency through technical means such as voucher field library management, voucher template configuration, voucher entry management, and interface environment configuration.
[0006] To achieve the above objectives, embodiments of the present invention provide an electronic voucher generation method, the method comprising: establishing or maintaining a voucher interface message field library; selecting multiple message fields from the message field library and configuring the data fill type for each message field to generate an electronic voucher template; generating one or more target electronic vouchers to be entered based on the electronic voucher template, wherein, on the entry interface of the target electronic voucher, each message field displays the fill value automatically based on its data fill type and set value; and sending the completed target electronic voucher based on a pre-configured interface address.
[0007] Optionally, maintaining the credential interface message field library includes performing at least one of the following operations on the message fields in the credential interface message field library: adding, batch adding, querying, modifying, and deleting.
[0008] Optionally, the message field library includes a master order field library and a detailed order field library. Selecting multiple message fields from the message field library includes: selecting message fields of the master voucher from the master order field library; selecting message fields of the detailed voucher from the detailed order field library; and configuring the association relationship between the message fields of the master voucher and the detailed voucher, including equality relationship and / or difference relationship.
[0009] Optionally, the message fields include: field name, English identifier, Chinese business attribute, and field type. The field type includes: whether it is a required field and the data filling type. The data filling type includes: default value, set function value, and random number. The Chinese business attribute is displayed on the target electronic voucher's entry interface.
[0010] Optionally, the plurality of message fields include: a first message field whose data fill type is configured as the default value, a second message field whose data fill type is configured as the set function value, and a third message field whose data fill type is configured as the random number. The step of automatically filling and displaying the fill value includes: displaying the default value in the voucher entry interface of the first message field; displaying the content value calculated by the set function in the voucher entry interface of the second message field; and displaying a random content value in the voucher entry interface of the third message field using a preset random number generation algorithm.
[0011] Optionally, the setting function includes at least one of the following: equality function, summation function, average function, counting function, date function, and logic function.
[0012] Optionally, after sending the target electronic voucher that has been entered, the generation method further includes: generating an electronic voucher sending record for the target electronic voucher, including the following: voucher number, voucher type number, voucher amount, sender name, recipient name, payment account, and message remarks; in response to a copy instruction for the electronic voucher sending record, generating a copied electronic voucher and entering the voucher entry interface, wherein, in the voucher entry interface, each message field automatically displays the copied voucher content or random number content based on its data filling type.
[0013] Optionally, the generation method further includes: in response to a batch copy instruction for sending the electronic voucher record, generating multiple copied electronic vouchers and entering the voucher entry interface, wherein in the voucher entry interface, each message field automatically displays the copied voucher content or random number content based on its data filling type.
[0014] On the other hand, the present invention provides an electronic voucher generation system, the generation system comprising: a voucher field management device for establishing or maintaining a voucher interface message field library; a voucher template configuration device for selecting multiple message fields from the message field library and configuring the data fill type of each message field to generate an electronic voucher template; a voucher entry management device for generating one or more target electronic vouchers to be entered according to the electronic voucher template, wherein, in the entry interface of the target electronic voucher, each message field displays the fill value automatically based on its data fill type and set value; and an environment configuration device for sending the entered target electronic vouchers based on a pre-configured interface address.
[0015] On the other hand, the present invention provides a machine-readable storage medium storing instructions for causing a machine to execute the electronic credential generation method described above.
[0016] On the other hand, the present invention provides a processor for running a program, wherein the program is run to execute: the electronic voucher generation method described above.
[0017] On the other hand, the present invention provides a computer program product, including a computer program that, when executed by a processor, implements the electronic voucher generation method described above.
[0018] Through the above technical solutions, this invention provides an electronic voucher generation method, generation system, and storage medium. By means of voucher field library management, voucher template configuration, voucher entry management, and interface environment configuration, a complete electronic voucher generation tool is constructed, which can help users reduce repetitive entry operations, conveniently generate various electronic vouchers, thereby quickly adapting to new business requirements and improving work efficiency.
[0019] Other features and advantages of the embodiments of the present invention will be described in detail in the following detailed description section. Attached Figure Description
[0020] The accompanying drawings are provided to further illustrate embodiments of the present invention and form part of the specification. They are used together with the following detailed description to explain the embodiments of the present invention, but do not constitute a limitation thereof. In the drawings: Figure 1 This is a flowchart illustrating an electronic voucher generation method according to an embodiment of the present invention; Figure 2 This is a schematic diagram of the structure of an electronic voucher generation system according to an embodiment of the present invention; Figure 3 This is a schematic diagram of the internal structure of a computer device according to an embodiment of this application.
[0021] Explanation of reference numerals in the attached figures 200-Electronic Voucher Generation System; 210 - Voucher field management device; 220 - Voucher template configuration device; 230 - Voucher entry management device; 240 - Environment configuration device; A01 - Processor; A02 - Network interface; A03 - Internal memory; A04 - Display screen; A05 - Input device; A06 - Non-volatile storage medium; B01 - Operating System; B02 - Computer Program. Detailed Implementation
[0022] The specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are for illustration and explanation only and are not intended to limit the scope of the present invention.
[0023] First, this invention provides an electronic voucher generation method 100, which is applicable to [various fields / industries]. It is worth noting that the acquisition, storage, use, and processing of data in this application all comply with relevant laws and regulations.
[0024] Figure 1The flowchart provided according to one embodiment shows that the generation method 100 may include steps S110-S140.
[0025] Step S110: Establish or maintain the credential interface message field library.
[0026] Step S110 aims to establish a voucher interface message field library, which may include independent master order field libraries and detailed order field libraries. Each message field must contain at least the following information groups: field name (to identify the business meaning of the field), English identifier (for internal system identification), Chinese business attribute (to visually display the business meaning of the field in the user interface), and field type (to define the data attributes and processing rules of the field). For example, the information groups are uniformly maintained using field name, English identifier, and field type as core metadata combinations.
[0027] In addition, the voucher interface message field library in step S110 supports various editing operations on the fields in the voucher interface message. Specifically, maintaining the voucher interface message field library can include performing at least one of the following operations on the message fields in the voucher interface message field library: adding, batch adding, querying, modifying, and deleting. Specifically, the adding operation is: adding a single new message field to the message field library; the batch adding operation is: adding multiple message fields at once using a preset template or import mechanism; the querying operation is: retrieving existing message fields from the library based on field attribute conditions; the modifying operation is: updating the attribute information of existing message fields; and the deleting operation is: removing unused message fields from the message field library.
[0028] Step S120: Select multiple message fields from the message field library and configure the data filling type for each message field to generate an electronic voucher template.
[0029] The core function of step S120 is to configure the interface messages for different voucher types. This function can be implemented through the template configuration center, which is divided into three functional areas: voucher master configuration center: used to configure the message fields and attributes of the voucher master; voucher detail configuration center: used to configure the message fields and attributes of the voucher detail; and association configuration center: used to define the logical association between the fields of the voucher master and the detail.
[0030] Specifically, selecting multiple message fields from the message field library in step S120 may include the following steps S121-S123: Step S121: Select the message fields of the voucher master order from the master order field library.
[0031] That is, the user selects the message fields used to construct the voucher master from the master field library and assigns the selected fields to the voucher master element configuration center.
[0032] Step S122: Select the message fields of the voucher details from the details field library.
[0033] In other words, users select message fields from the detailed voucher field library to construct the detailed voucher, and then assign the selected fields to the detailed voucher element configuration center. Taking the configuration of a centralized treasury payment voucher (voucher type number: 5214) as an example, users select the required fields from the master voucher field library to the master voucher element configuration center, and select the corresponding fields from the detailed voucher field library to the detailed voucher configuration center. The field types include: mandatory attribute indicators (whether a field is mandatory), used to identify whether a field is required, and data fill type, used to define how field values are generated, including default value fill, set function value fill, or random number fill, etc. Therefore, the configuration center supports separate configuration of the mandatory attributes and data fill types for the master and detailed voucher fields.
[0034] Step S123: Configure the association between the message fields of the voucher master and voucher details.
[0035] The association configuration center supports configuring associations for fields with equal content values in the main voucher and the detailed voucher. This includes equality and / or difference relationships. An equality relationship specifies that the content values of the main voucher field and the detailed voucher field are consistent, and the system will automatically generate equal content values during subsequent voucher entry. A difference relationship specifies that the content values of the main voucher field and the detailed voucher field satisfy a preset mathematical relationship (e.g., the detailed voucher field value equals the main voucher field value plus or minus a fixed value). Taking the Treasury Centralized Payment Voucher 5214 as an example, the content values of "Treasury Centralized Payment Voucher Id (Id)" in the main voucher and "Payment Voucher Id (Voucher Bill Id)" in the detailed voucher are identical. They are configured as equality, and the system automatically generates the same content value during entry. Similarly, the content values of "Voucher Number (Voucher No)" in the main voucher and "Payment Voucher Bill No. (Voucher Bill No)" in the detailed voucher are identical. They are configured as equality, and the system automatically generates the same content value during entry.
[0036] Step S130: Generate one or more target electronic vouchers to be entered based on the electronic voucher template.
[0037] This step can be implemented based on the voucher entry management center. Its core function is to automate the entry and filling of voucher data using pre-configured electronic voucher templates. In the target electronic voucher's entry interface, message field information can be displayed in Chinese business attribute fields. This allows users to complete voucher entry operations through an intuitive graphical interface without needing to understand the underlying message structure or possess professional technical background, significantly lowering the barrier to entry.
[0038] In addition, on the target electronic voucher's entry interface, each message field displays its autofill value based on its data fill type and set value. These message fields include: a first message field with its data fill type configured as a default value, a second message field with its data fill type configured as a set function value, and a third message field with its data fill type configured as a random number. Specifically, the autofill display of the aforementioned values includes: Step S131: In the voucher entry interface of the first message field, the default value is displayed in reverse.
[0039] For the first message field with the data fill type configured as the default value, the preset fixed value can be directly displayed in the voucher entry interface, thereby ensuring the rapid filling of basic fields.
[0040] In step S132, on the voucher entry interface of the second message field, the content value calculated by the set function is displayed in reverse.
[0041] For the second message field configured with a set function value for data filling type, the content value can be calculated and displayed using a pre-defined function library. This function library supports various calculation types; for example, the set function can include at least one of the following: equality functions (for field value matching), summation functions (for numerical accumulation), averaging functions (for numerical averaging calculations), counting functions (for data statistics), date functions (for date format processing), and logical functions (for conditional judgments), etc. This meets the dynamic data generation needs of complex business scenarios.
[0042] Step S133: In the voucher entry interface of the third message field, a random content value is generated by displaying it through a preset random number generation algorithm.
[0043] For third message fields where the data filling type is configured as random numbers, the random content value can be displayed by a preset random number generation algorithm (such as a hybrid generation mechanism based on timestamps or hash algorithms) to ensure data uniqueness and security.
[0044] Furthermore, during data entry, the default values and random numbers selected in the voucher template configuration will automatically generate corresponding content and display it on the data entry interface. Fields configured in the relationship settings will automatically match the main voucher and detailed voucher with the same content value and display it on the interface. In other words, the field matching logic defined in the relationship configuration can also be automatically processed. If the related fields between the main voucher and detailed voucher are configured to have equal content values, the values of the main voucher and detailed voucher fields will be automatically synchronized during data entry and displayed on the corresponding interface. For example, as mentioned above, during the data entry process for the centralized treasury payment voucher (voucher type number: 5214), the content values of the "Centralized Treasury Payment Voucher Id" in the main voucher and the "Payment Voucher Id" in the detailed voucher will automatically remain consistent, and the content values of the "Voucher Number" in the main voucher and the "Payment Voucher Number" in the detailed voucher will be automatically synchronized. Users do not need to manually input related fields, significantly improving data entry efficiency.
[0045] Step S140: Based on the pre-configured interface address, send the target electronic voucher that has been entered.
[0046] The core function of this step is to automate the transmission of electronic vouchers and their integration with the bank's system. A pre-configured interface address management mechanism supports the secure and efficient transmission of voucher data. These pre-configured interface addresses can be set in the environment configuration center, where users can pre-configure the receiving interface addresses for different bank testing environments (such as development, testing, and production environments). These interface addresses include, but are not limited to, the bank's API endpoints, URL paths, and authentication parameters, ensuring accurate targeting of the system to which the voucher is sent.
[0047] When a user completes voucher entry and clicks the publish button, a multi-environment selection interface is provided. Users can choose the target publishing environment from a pre-configured list (e.g., "Test Environment - Bank A" or "Production Environment - Bank B") based on their actual needs. In other words, after completing voucher entry and clicking publish, selecting the corresponding publishing environment will directly generate a message and send a request, awaiting processing by the target bank's system.
[0048] In another embodiment, after the credential transmission is completed in step S140, the present invention may further include the following steps S151-S153: Step S151: Generate an electronic voucher sending record for the target electronic voucher, including the following information: voucher number, voucher type number, voucher amount, sender name, recipient name, payment account, and message remarks.
[0049] Among them, the voucher number refers to the unique identifier of the voucher; the voucher type number refers to the type identifier of the voucher template (such as 5214-Treasury Centralized Payment Voucher); the voucher amount refers to the financial amount involved in the voucher; the sender name refers to the name of the initiating unit of the electronic voucher; the recipient name refers to the name of the receiving unit in the banking system; the payment account refers to the payment account information associated with the voucher; and the message remarks refer to the additional instructions or remarks when sending the message.
[0050] The aforementioned key information ensures that the voucher transmission process is traceable and meets audit requirements. Specifically, after a user completes voucher entry and clicks "Publish," selecting the corresponding publishing environment, a message is directly generated and a request is sent, awaiting processing by the bank system. Simultaneously, the tool generates an electronic voucher transmission record, containing the voucher number, financial unit name, voucher type number, voucher amount, payment account, and the sent message. Users can view the transmission record at any time through the voucher management interface to understand the voucher status and the bank system's processing results.
[0051] Step S152: In response to the copy instruction for sending the electronic voucher record, a copy electronic voucher is generated and the voucher entry interface is entered. In the voucher entry interface, each message field automatically displays the copy voucher content or random number content based on its data fill type.
[0052] In this step, users can view the content of the sent vouchers and copy them. After copying, they will be redirected to the voucher entry interface. In this interface, each message field automatically displays its content based on its data fill type: for default or preset value fields, the fixed value of the original voucher is displayed directly; for random number fields, a new random value is generated using a preset algorithm and then displayed. Users can modify the field values of the copied voucher or leave them as they are. After modification, clicking "Publish" allows them to reselect the environment for resubmission. This copying function effectively reduces repetitive entry operations and significantly improves voucher processing efficiency.
[0053] Step S153: In response to the batch copy instruction for sending electronic vouchers, multiple copied electronic vouchers are generated and the voucher entry interface is entered. In the voucher entry interface, each message field automatically displays the copied voucher content or random number content based on its data filling type.
[0054] As can be seen, this invention also provides a batch copy function. In fact, for scenarios requiring batch processing of vouchers, only one copy is needed to simultaneously send multiple electronic vouchers to the bank system. Users simply select the target record and trigger the batch copy command, which automatically generates multiple copied voucher instances and redirects them all to the voucher entry interface. The field content of each copied voucher is also automatically displayed according to the data fill type, allowing users to modify the batch-generated vouchers uniformly or adjust them individually. After modification, a single publish operation is sufficient to send multiple vouchers to the bank system simultaneously, achieving efficient large-scale voucher processing. This batch copy function not only simplifies the operation process but also ensures the accuracy and consistency of batch voucher data.
[0055] In summary, this invention proposes an electronic voucher generation method. By integrating functional modules such as a voucher field management center, a voucher template configuration center, a voucher entry management center, and an environment configuration center, a complete electronic voucher generation tool is constructed. This tool can help users generate various electronic vouchers efficiently and conveniently, and achieve seamless integration with internal and external financial institutions.
[0056] The technical advantages of this invention are reflected in the following three aspects: First, efficiency and accuracy are equally emphasized. Through standardized process design, this invention pre-defines unified data entry rules and voucher templates, ensuring a standardized and orderly electronic voucher generation process. Users can complete the operation simply through the intuitive interface of Chinese business attribute fields, without needing a professional technical background. Simultaneously, this invention automatically saves complete voucher message sending records, facilitating subsequent verification and retrieval, significantly improving work efficiency. In particular, the voucher copying function reduces repetitive data entry operations, further optimizing the workflow.
[0057] Secondly, it offers flexible and configurable adaptability. This invention supports users in customizing electronic voucher templates according to their actual needs, flexibly meeting the diverse business requirements of different financial departments. This design gives the invention excellent scalability; when interface messages change due to business development or policy adjustments, users only need to make simple field adjustments through the template configuration center to quickly adapt to new business requirements, reducing the maintenance costs of actual applications.
[0058] Third, ease of use and convenient management. By providing an intuitive interface for generating and sending electronic vouchers, this invention significantly simplifies the operation process. The automatic random number generation and voucher copying functions reduce manual input by users, making voucher generation more convenient and efficient. At the same time, this invention can accurately track voucher generation, ensuring the completeness and accuracy of test data and providing users with a superior user experience.
[0059] On the other hand, the present invention also provides an electronic voucher generation system 200, such as... Figure 2 As shown, it includes: a voucher field management device 210 (which can be the voucher field management center mentioned above), used to establish or maintain a voucher interface message field library; a voucher template configuration device 220 (which can be the voucher template configuration center mentioned above), used to select multiple message fields from the message field library and configure the data fill type of each message field to generate an electronic voucher template; a voucher entry management device 230 (which can be the voucher entry management center mentioned above), used to generate one or more target electronic vouchers to be entered based on the electronic voucher template, wherein, in the entry interface of the target electronic voucher, each message field displays the fill value in an automatic fill manner based on its data fill type and set value; and an environment configuration device 240 (which can be the environment configuration center mentioned above), used to send the completed target electronic voucher based on the pre-configured interface address.
[0060] Other beneficial effects of the electronic voucher generation system 200 of the present invention can be found in the above description of the electronic voucher generation method 100, and will not be repeated here.
[0061] This invention also provides a machine-readable storage medium storing instructions that cause a machine to execute the electronic credential generation method as described above.
[0062] This invention provides a processor for running a program, wherein the program is executed to perform: the electronic voucher generation method as described above.
[0063] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 3As shown in the figure, the computer device may include a processor A01, a network interface A02, a display screen A04, an input device A05, and a memory (not shown) connected via a system bus. The processor A01 provides computing and control capabilities. The memory may include internal memory A03 and a non-volatile storage medium A06. The non-volatile storage medium A06 stores an operating system B01 and a computer program B02. The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 stored in the non-volatile storage medium A06. The network interface A02 is used for communication with external terminals via a network connection. When the computer program is executed by the processor A01, it implements the electronic voucher generation method described above. The display screen A04 may be a liquid crystal display (LCD) or an electronic ink display. The input device A05 may be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.
[0064] Those skilled in the art will understand that Figure 3 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0065] In one embodiment, the electronic voucher generation method provided in this application can be implemented as a computer program, which can be implemented in various ways, such as... Figure 3 The method runs on the computer device shown. The computer device's memory can store the various program modules that make up the electronic certificate generation method. The computer program, composed of the various program modules, causes the processor to execute the various steps in the electronic certificate generation methods of the various embodiments of this application described in this specification.
[0066] In one embodiment, this application also provides a computer program product that, when executed on a data processing device, is adapted to execute a program that initializes the various steps of the above-described method.
[0067] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0068] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0069] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0070] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The functional steps specified in one or more boxes.
[0071] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0072] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0073] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0074] It should be noted that in the embodiments of this application, certain software, components, models and other existing solutions in the industry may be mentioned. These should be regarded as exemplary and are only intended to illustrate the feasibility of implementing the technical solution of this application. However, they do not mean that the applicant has used or necessarily used the solution.
[0075] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0076] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. An electronic voucher generation method characterized by, The generating method comprises: establishing or maintaining a voucher interface message field library; selecting multiple message fields from the message field library and configuring a data filling type of each message field to generate an electronic voucher template; generating one or more target electronic vouchers to be input according to the electronic voucher template, wherein in an input interface of the target electronic voucher, each message field is filled with a filled value in an automatic filling manner based on the data filling type and a set value thereof; and sending the target electronic voucher after input is completed based on a preconfigured interface address.
2. The generating method of claim 1, wherein the maintaining the voucher interface message field library comprises: performing at least one of the following operations on the message fields in the voucher interface message field library: adding, adding in batches, querying, modifying, and deleting.
3. The generating method of claim 1, wherein the message field library comprises a main single field library and a detailed single field library, and the selecting multiple message fields from the message field library comprises: selecting message fields of a voucher main single from the main single field library; selecting message fields of a voucher detailed single from the detailed single field library; and configuring a correlation between the message fields of the voucher main single and the voucher detailed single, including an equal relationship and / or a difference relationship.
4. The generating method of claim 1, wherein the message field comprises: a field name, an English identifier, a Chinese business attribute, and a field type, the field type comprises: whether to fill in an option and the data filling type, and the data filling type comprises: a default value, a set function value, and a random number, wherein the Chinese business attribute is displayed in an input interface of the target electronic voucher.
5. The generating method of claim 4, wherein the multiple message fields comprise: a first message field with the data filling type configured as the default value, a second message field with the data filling type configured as the set function value, and a third message field with the data filling type configured as the random number, the displaying the filled value in the automatic filling manner comprises: in a voucher input interface of the first message field, displaying the generated default value; in a voucher input interface of the second message field, displaying the content value calculated by the set function; and in a voucher input interface of the third message field, generating a random content value by a preset random number generation algorithm.
6. The generating method of claim 5, wherein the set function comprises at least one of the following: an equal function, a summation function, an average function, a counting function, a date function, and a logic function.
7. The generating method of claim 1, wherein after the sending the target electronic voucher after input is completed, the generating method further comprises: generating an electronic voucher sending record of the target electronic voucher, containing the following contents: a voucher number, a voucher type number, a voucher amount, a sender name, a receiver name, a payment account number, and a message note. In response to the copy instruction of the electronic certificate sending record, a copy electronic certificate is generated and a certificate entry interface is entered, wherein in the certificate entry interface, each message field automatically displays the copy certificate content or random number content based on its data filling type.
8. The generation method of claim 7, wherein, The generation method further comprises: In response to a batch copy instruction of the electronic certificate sending record, a plurality of copy electronic certificates are generated and the certificate entry interface is entered, wherein in the certificate entry interface, each message field automatically displays the copy certificate content or random number content based on its data filling type.
9. An electronic voucher generation system characterized by, The generation system comprises: A certificate field management device for establishing or maintaining a certificate interface message field library; A certificate template configuration device for selecting a plurality of message fields from the message field library and configuring the data filling type of each message field to generate an electronic certificate template; A certificate entry management device for generating one or more target electronic certificates to be entered according to the electronic certificate template, wherein in the entry interface of the target electronic certificate, each message field automatically displays the filling value in a filling manner based on its data filling type and set value; An environment configuration device for sending the target electronic certificate completed entry based on a preconfigured interface address.
10. A machine-readable storage medium, characterized in that, The machine readable storage medium has instructions stored thereon for causing a machine to perform the electronic certificate generation method according to any one of claims 1-8.
11. A processor, comprising: A program for running, wherein the program is used to perform the electronic certificate generation method according to any one of claims 1-8 when the program is run.
12. A computer program product comprising a computer program, characterized in that, The computer program, when executed by a processor, implements the electronic certificate generation method according to any one of claims 1-8.