Bill generation method and device, electronic equipment and computer readable storage medium

By obtaining the bank card bill user ID and determining the bill template based on the user customer base, the problem of strong coupling and insufficient expansion in the bank card bill generation process in the existing technology is solved, and efficient and cross-platform bill generation is achieved, improving the user experience.

CN119991121APending Publication Date: 2025-05-13CHINA CITIC BANK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411802212.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

When generating bank card bills in the existing technology, the client and the backend application are highly coupled, insufficiently scalable, and cannot preview the bill, resulting in the bill template involving repeated testing and verification. The template editor is expensive to learn and use, and cannot be used across platforms.

Method used

By obtaining the bill user ID, the bill template is determined based on the user customer group to which the user belongs, and the bill is generated based on the template. The method includes a request receiving module, a request analysis module and a bill generation module, which can be executed on a terminal device or a server, and supports cross-platform use.

Benefits of technology

It realizes the simple and efficient generation of bill templates that meet the characteristics based on the user base, which improves the user experience and reduces the cost and complexity of developers in the production of bill templates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119991121A_ABST
    Figure CN119991121A_ABST
Patent Text Reader

Abstract

The invention provides a bill generation method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of computers, in particular to the technical field of internet finance and the like. The specific implementation scheme is as follows: acquiring a bill user identifier; determining a bill template according to a user group corresponding to the bill user identifier; the user group corresponding to the bill user identifier is the user group to which the bill user corresponding to the bill user identifier belongs; and generating a bill of the bill user according to the bill template.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to the technical fields of Internet finance, etc. Specifically, the present disclosure includes a bill generation method and device, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the development of Internet technology, online payment has become the preferred payment method for people's daily transactions.

[0003] After customers complete payment using savings cards, credit cards or other bank cards, they need to obtain the bank card statement to understand and verify the transaction status. Summary of the invention

[0004] The present disclosure provides a bill generation method and device, an electronic device, and a computer-readable storage medium.

[0005] According to a first aspect of the present disclosure, a bill generation method is provided, the method comprising:

[0006] Get the billing user ID;

[0007] Determine a bill template according to the user customer group corresponding to the bill user identifier; the user customer group corresponding to the bill user identifier is the user customer group to which the bill user corresponding to the bill user identifier belongs;

[0008] Generate a bill for the bill user according to the bill template.

[0009] According to a second aspect of the present disclosure, a bill generating device is provided, the device comprising:

[0010] A request receiving module is used to obtain the billing user ID;

[0011] A request analysis module, used to determine a bill template according to the user customer group corresponding to the bill user identifier; the user customer group corresponding to the bill user identifier is the user customer group to which the bill user corresponding to the bill user identifier belongs;

[0012] The bill generation module is used to generate a bill for the bill user according to the bill template.

[0013] According to a third aspect of the present disclosure, an electronic device is provided, the electronic device comprising:

[0014] at least one processor; and

[0015] A memory in communication with the at least one processor; wherein,

[0016] The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the bill generation method.

[0017] According to a fourth aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the above-mentioned bill generation method.

[0018] According to a fifth aspect of the present disclosure, a computer program product is provided, comprising a computer program, which implements the above-mentioned bill generation method when executed by a processor.

[0019] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0021] Figure 1 It is a flowchart of a bill generation method provided by an embodiment of the present disclosure;

[0022] Figure 2 It is a flowchart of some steps of another bill generation method provided by an embodiment of the present disclosure;

[0023] Figure 3 It is a flowchart of some steps of another bill generation method provided by an embodiment of the present disclosure;

[0024] Figure 4 is a structural schematic diagram of a bill generating device provided by an embodiment of the present disclosure;

[0025] Figure 5 The block diagram is a block diagram of an electronic device used to implement the bill generation method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0026] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0027] In some related technologies, Windows (operating system) written in Delphi (rapid application development tool) can be used to interact with applications through WebServer (network service) to generate bill templates, and bills can be generated by filling in bill templates according to data sets.

[0028] Since the client is highly coupled with the backend application, the scalability is insufficient and the bill cannot be previewed, the bill template requires repeated testing and verification, the template editor has high learning and usage costs, and cannot be used across platforms.

[0029] The bill generation method and device, electronic device, and computer-readable storage medium provided in the embodiments of the present disclosure are intended to solve at least one of the above technical problems in the prior art.

[0030] The bill generation method provided in the embodiment of the present disclosure can be executed by an electronic device such as a terminal device or a server, and the terminal device can be a vehicle-mounted device, a user equipment (UE), a mobile device, a user terminal, a terminal, a cellular phone, a cordless phone, a personal digital assistant (PDA), a handheld device, a computing device, a vehicle-mounted device, a wearable device, etc. The method can be implemented by a processor calling a computer-readable program instruction stored in a memory. Alternatively, the method can be executed by a server.

[0031] Figure 1 FIG. 1 is a flow chart showing a method for generating a bill according to an embodiment of the present disclosure. Figure 1 As shown in , the bill generation method provided by the embodiment of the present disclosure includes step S110, step S120, and step S130.

[0032] In step S110, a billing user ID is obtained;

[0033] In step S120, a bill template is determined according to the user customer group corresponding to the bill user identifier; the user customer group corresponding to the bill user identifier is the user customer group to which the bill user corresponding to the bill user identifier belongs;

[0034] In step S130, a bill for the bill user is generated according to the bill template.

[0035] For example, the bill generation method of the embodiment of the present disclosure can be used to obtain bills of bank card users, especially credit card users.

[0036] In some possible implementations, in step S110, obtaining the bill user identifier may be obtaining the bill user identifier of a bank card account sent by the user through a counter, self-service, portal website, or the like.

[0037] The billing user identifier may be the user's identity identifier.

[0038] In some possible implementations, the bill user ID can be packaged in a bill synthesis request, that is, a bill synthesis request for obtaining a bank card bill sent by a user through a counter, self-service, portal website, etc., is obtained, and the bill synthesis request includes the bill user ID.

[0039] In some possible implementations, the bill synthesis request may further include a bank card identifier, such as a bank card number.

[0040] In some possible implementations, in step S120, determining the billing template according to the user group corresponding to the billing user identifier may be determining the billing user according to the billing user identifier, and determining the user group to which the billing user belongs according to the billing user information.

[0041] The user group may be the group to which the account user's consumption type belongs. For example, if the bill user's consumption is mostly educational consumption, then the user group to which the bill user belongs is determined to be the educational consumption group.

[0042] In some possible implementations, the bill template may be pre-designed, and different bill templates may be used as bill templates corresponding to different user groups according to different needs of different user groups.

[0043] For example, according to the different needs of different user groups, template resources that may be of interest to the user group may be selected from the template resources to form a bill template.

[0044] In some possible implementations, in step S130, generating a bill for a bill user according to a bill template may be filling the bill data of the bill user into the bill template to generate a bill for the bill user.

[0045] In the bill generation method provided in the embodiment of the present disclosure, the bill template is determined according to the user group to which the bill user belongs, so that developers can create bill templates simply and efficiently. At the same time, bill templates that meet the characteristics of different user groups are provided, thereby improving the user experience.

[0046] The following is a detailed introduction to the bill generation method provided by the embodiment of the present disclosure.

[0047] As described above, in some possible implementations, the bill template is pre-designed.

[0048] Figure 2 A flowchart of a method for implementing a pre-designed bill template is shown. Figure 2 As shown, pre-designing the bill template may include step S210 and step S220.

[0049] In step S210, user needs corresponding to multiple user groups are obtained;

[0050] In step S220, a bill template corresponding to the user group is generated according to the user needs of the user group.

[0051] In some possible implementations, in step S210, obtaining user needs corresponding to multiple user groups may be to analyze user information of different user groups to obtain user portraits of the user groups, and then determine the user needs corresponding to the user groups.

[0052] The embodiments of the present disclosure do not limit the specific method for obtaining the user needs corresponding to the user group, and any method that can achieve the acquisition of user needs is within the protection scope of the embodiments of the present disclosure.

[0053] In some possible implementations, in step S220, generating a bill template corresponding to the user group according to the user needs of the user group can be to determine the objects to be promoted that the user group may be interested in according to the user needs of the user group, obtain template resources based on the objects to be promoted, and generate a bill template corresponding to the user group based on the template resources.

[0054] The object to be promoted may be an activity, a store, a consumer product, etc. The template resource may be a displayable resource such as a picture or text. Acquiring the template resource according to the object to be promoted may be acquiring text describing the object to be promoted, acquiring a picture of the object to be promoted by shooting or generating, etc.

[0055] In some possible implementations, designing and generating a bill template may be implemented based on a template editor.

[0056] The front end of the template editor can be implemented based on VUE (a scripting language framework for building user interfaces) and NodeJS (a scripting language runtime environment based on a browser engine). The functions of the template editor can be implemented using the SpringCloud (an ordered collection of frameworks) technology stack.

[0057] In some possible implementations, a configuration visualization interface can be built based on VUE and NodeJS. Developers can operate the visualization interface through a B / S (browser and server architecture) browser and then operate the template editor to generate a bill template. In response to the developer's operations on the configuration visualization interface, steps corresponding to the operations are executed to generate a bill template.

[0058] In some possible implementations, the operation for configuring the visualization interface may include a position operation, and in response to the position operation, the position of the template resource in the template may be adjusted.

[0059] In some possible implementations, the operation for configuring the visualization interface may include a visualization operation; and in response to the visualization operation, a preview of the bill template corresponding to the user group is generated.

[0060] In other words, the template editor can be used to visually configure bill templates, intuitively preview bill template styles, and flexibly adjust the images of the objects to be promoted and the text describing the objects to be promoted to generate bill templates. And because the template editor is implemented based on VUE and NodeJS, the generated bill template can be applied to other clients besides Windows clients.

[0061] In some possible implementations, after generating multiple bill templates, the bill templates can be stored in a template library. When it is necessary to generate a bill for a bill user based on the bill template, the template can be read from the template library, and the bill data and the bill template can be synthesized to generate a bill for the bill user.

[0062] In some possible implementations, the billing data may be obtained according to the billing user identifier. The billing data may be transaction data of the billing user, which may be pre-acquired and stored in a database.

[0063] Figure 3 A flow chart showing a method for pre-acquiring and storing transaction data is shown. Figure 3 As shown, pre-acquisition and storage of transaction data may include step S310.

[0064] In step S310, the transaction data is acquired, the transaction data is split according to preset rules, and the split transaction data is saved in a database.

[0065] In some possible implementations, in step S310, transaction data of multiple bill users can be obtained, and the obtained transaction data can be split according to preset file splitting rules (such as when the amount of transaction data meets the preset amount, the transaction data are saved as a split transaction data) to facilitate saving the transaction data to the database.

[0066] In some possible implementations, in the process of saving transaction data in a database, the transaction data and the correspondence between the transaction data and the bill user identifier can be saved in the database. When a bill synthesis request is received, a search engine is used to obtain the transaction data corresponding to the bill user identifier from the database according to the bill user identifier as the bill data corresponding to the bill user.

[0067] In some possible implementations, before the transaction data is split, the transaction data is verified to delete abnormal data in the transaction data.

[0068] In some possible implementations, after the bill of the bill user is generated, the bill of the bill user may be sent to an email address of the bill user via email.

[0069] In some possible implementations, after the bill of the bill user is generated, the bill of the bill user can be converted into PDF (Portable Document Format), and the PDF can be stamped and sent to a printing device so that the user can print a paper bill on the printing device.

[0070] In some possible implementations, the bill generation method provided by the embodiments of the present disclosure may be implemented based on a periodic thread.

[0071] In some possible implementations, multiple periodic threads can be generated and executed according to the bill generation method provided by the embodiments of the present disclosure; the multiple periodic threads include a task splitting thread and a task monitoring thread; the task splitting thread includes multiple sub-task threads, and the sub-threads correspond to the steps of the bill generation method; the task monitoring thread is used to monitor the multiple sub-task threads.

[0072] In some specific implementations, two periodic threads are started, the task splitting thread and the task monitoring thread. The task splitting thread obtains the first step with a status of waiting from batch_flow_step_info, and determines how to split the task based on the step, and finally writes the split tasks to batch_flow_step_task. The task monitoring thread obtains all tasks from batch_flow_step_task based on step_id, and then determines whether the status of each task is successful. If so, update the corresponding step status in batch_flow_step_info to successful, obtain all steps from batch_flow_step_info based on flow_id, and determine whether the status of all steps is successful. If so, update the corresponding flow status in batch_flow_execute_info to successful. If not, determine whether there is a task with a status of fail among all the tasks of t obtained. If so, update the corresponding step status in batch_flow_step_info to fail, and update the corresponding flow status in batch_flow_execute_info to fail.

[0073] Based on Figure 1 The same principle as shown in the method, Figure 4A schematic diagram of the structure of a bill generating device provided by an embodiment of the present disclosure is shown. Figure 4 As shown, the bill generating device 40 may include:

[0074] A request receiving module 410 is used to obtain a billing user identifier;

[0075] The request analysis module 420 is used to determine the bill template according to the user customer group corresponding to the bill user identifier; the user customer group corresponding to the bill user identifier is the user customer group to which the bill user corresponding to the bill user identifier belongs;

[0076] The bill generation module 430 is used to generate a bill for the bill user according to the bill template.

[0077] In the bill generation device provided in the embodiment of the present disclosure, the bill template is determined according to the user group to which the bill user belongs, so that developers can create bill templates simply and efficiently. At the same time, bill templates that meet the characteristics of different user groups are provided, thereby improving the user experience.

[0078] In some possible implementations, the bill generation module 430 includes: a data acquisition unit, used to acquire bill data corresponding to the bill user according to the bill user identifier; and a bill synthesis unit, used to synthesize the bill data and the bill template to generate a bill for the bill user.

[0079] In some possible implementations, the bill generation device 40 also includes: a data processing module, used to obtain transaction data, split the transaction data according to preset rules, and save the split transaction data to a database; the bill generation module 430 includes: a search unit, used to obtain the bill data corresponding to the bill user from the transaction data in the database through a search engine according to the bill user identifier.

[0080] In some possible implementations, the bill generating device 40 further includes: a template generating module, which is used to: obtain user requirements corresponding to multiple user customer groups; and generate a bill template corresponding to the user customer group according to the user requirements corresponding to the user customer group.

[0081] In some possible implementations, the template generation module is also used to: obtain objects to be promoted corresponding to user groups according to user needs corresponding to multiple user groups; obtain template resources according to the objects to be promoted corresponding to the user groups; and generate bill templates corresponding to the user groups according to the template resources.

[0082] In some possible implementations, the template generation module is also used to: construct a configuration visualization interface based on a scripting language framework for constructing a user interface; and generate a bill template corresponding to a user group in response to operations on the configuration visualization interface.

[0083] In some possible implementations, the operation for configuring the visualization interface includes a visualization operation; the template generation module is further used to: generate a preview of the bill template corresponding to the user group in response to the visualization operation.

[0084] In some possible implementations, the request receiving module 410 is further configured to obtain a bill synthesis request, where the bill synthesis request includes a bill user identifier.

[0085] In some possible implementations, the bill generation device 40 also includes a thread module, which is used to: generate and execute multiple periodic threads according to the bill generation method; the multiple periodic threads include a task splitting thread and a task monitoring thread; the task splitting thread includes multiple sub-task threads, and the sub-task threads correspond to the steps of the bill generation method; the task monitoring thread is used to monitor the multiple sub-task threads.

[0086] It can be understood that the above modules of the bill generating device in the embodiment of the present disclosure have the function of implementing Figure 1 The functions of the corresponding steps of the bill generation method in the embodiment shown in the figure can be implemented by hardware, or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions. The above modules can be software and / or hardware, and the above modules can be implemented separately or integrated with multiple modules. For the functional description of each module of the above bill generation device, please refer to Figure 1 The corresponding description of the bill generation method in the embodiment shown in will not be repeated here.

[0087] In the technical solution disclosed herein, the acquisition, storage and application of user personal information involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0088] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0089] The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the bill generation method provided in the embodiment of the present disclosure.

[0090] Compared with the existing technology, this electronic device determines the bill template according to the user group to which the bill user belongs, so that developers can create bill templates simply and efficiently. At the same time, bill templates that meet the characteristics of different user groups are provided, thereby improving the user experience.

[0091] The readable storage medium is a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the bill generation method provided in the embodiment of the present disclosure.

[0092] Compared with the prior art, the readable storage medium determines the bill template according to the user group to which the bill user belongs, so that developers can create bill templates simply and efficiently. At the same time, bill templates that meet the characteristics of different user groups are provided, thereby improving the user experience.

[0093] The computer program product includes a computer program, and when the computer program is executed by a processor, the bill generating method provided in the embodiment of the present disclosure is implemented.

[0094] Compared with the existing technology, this computer program product determines the bill template according to the user group to which the bill user belongs, allowing developers to create bill templates simply and efficiently. At the same time, it provides bill templates that meet the characteristics of different user groups, thereby improving the user experience.

[0095] Figure 5 A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0096] like Figure 5 As shown, the device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0097] A number of components in the device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0098] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as the bill generation method. For example, in some embodiments, the bill generation method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the bill generation method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the bill generation method in any other appropriate manner (e.g., by means of firmware).

[0099] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0100] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0101] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0102] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0103] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0104] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0105] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0106] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A bill generation method, comprising: Get the billing user ID; Determining a bill template according to the user customer group corresponding to the bill user identifier; The user group corresponding to the billing user identifier is the user group to which the billing user corresponding to the billing user identifier belongs; Generate a bill for the bill user according to the bill template.

2. The method according to claim 1, wherein: Generating the bill of the bill user according to the bill template includes: Acquire the billing data corresponding to the billing user according to the billing user identifier; The bill data and the bill template are synthesized to generate a bill for the bill user.

3. The method according to claim 1, further comprising: Acquire transaction data, split the transaction data according to preset rules, and save the split transaction data to a database; The generating the bill of the bill user according to the bill template includes: The billing data corresponding to the billing user is acquired from the transaction data in the database through a search engine according to the billing user identifier.

4. The method according to claim 1, further comprising: Obtain user needs corresponding to multiple user groups; Generate a bill template corresponding to the user group according to the user needs of the user group.

5. The method according to claim 4, wherein: Generating a bill template corresponding to the user group according to the user needs corresponding to the user group includes: Acquire the to-be-promoted objects corresponding to the user groups according to the user needs corresponding to the multiple user groups; Acquire template resources according to the to-be-promoted objects corresponding to the user group; Generate a bill template corresponding to the user group based on the template resources.

6. The method according to claim 4, wherein: Generating a bill template corresponding to the user group according to the user needs corresponding to the user group includes: Build a configuration visualization interface based on a scripting language framework for building user interfaces; In response to the operation on the configuration visualization interface, a bill template corresponding to the user customer group is generated.

7. The method according to claim 6, wherein: The operation on the configuration visualization interface includes a visualization operation; The generating, in response to the operation on the configuration visualization interface, a bill template corresponding to the user customer group includes: In response to the visualization operation, a preview of the bill template corresponding to the user group is generated.

8. The method according to claim 1, wherein: The step of obtaining the bill user identifier includes: A bill synthesis request is obtained, where the bill synthesis request includes a bill user identifier.

9. The method according to claim 1, further comprising: Generate and execute multiple periodic threads according to the bill generation method; The multiple periodic threads include a task splitting thread and a task monitoring thread; The task splitting thread includes a plurality of subtask threads, and the subtask threads correspond to the steps of the bill generating method; the task monitoring thread is used to monitor the plurality of subtask threads.

10. A bill generating device, comprising: A request receiving module is used to obtain the billing user ID; A request analysis module, used to determine a bill template according to the user customer group corresponding to the bill user identifier; The user group corresponding to the billing user identifier is the user group to which the billing user corresponding to the billing user identifier belongs; The bill generation module is used to generate a bill for the bill user according to the bill template.

11. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 9.

12. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to cause the computer to execute the method according to any one of claims 1-9.

13. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 9.