Charging method and device
Through automated billing methods and devices, mapping relationships between business fields and billing fields are generated, which solves the problem of the time-consuming access of new business lines in the financial system, and achieves rapid access and efficiency improvement.
Patent Information
- Application Number
- CN202310631404.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-31
- Publication Date
- 2024-12-03
AI Technical Summary
When the existing financial system is connected to the business line, it takes a lot of manpower and time, which takes a long time and has high labor costs, and requires participation from personnel participating in production, research and testing at the same time, resulting in inefficiency.
By obtaining the billing formula and billing field storage table, extracting the business fields and rendering the application access page, generating the mapping relationship between the business fields and the billing field, automatically matching and conducting simulated data testing, if passed, publishing the production environment to achieve rapid Automatic process for accessing business lines.
It reduces the participation of financial system personnel, quickly access business lines, releases personnel costs, improves efficiency, and shortens the time from demand to online launch.
Smart Images

Figure CN119067791A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a charging method and device. Background Art
[0002] Newly connected business lines (data to be billed) require financial R&D to develop in the financial preprocessing system. By processing the upstream topic message body, including but not limited to field conversion, calling interfaces to obtain fields, enumeration conversion and other business logic processing, the upstream messages are parsed and converted into billing elements that can be recognized by billing.
[0003] The existing financial system requires an average of 2 R&D days and 1 testing day to connect a new business line (upstream billing data) to the billing system, and 1 man-day to connect financial products to business system products (business system personnel also need to sort out development and testing). From the data, it needs the participation of both production, research and testing personnel, and it takes at least 5 working days from the original demand of the business side to the launch of the demand. It takes a long time and has high labor costs. Summary of the invention
[0004] The embodiments of the present disclosure provide a charging method and device.
[0005] In the first aspect, an embodiment of the present disclosure provides a billing method, including: obtaining a billing formula and a billing field storage table corresponding to the billing elements involved in the billing formula; in response to detecting a newly added business message queue, extracting business fields from the business message queue; rendering an access application page based on the extracted business fields and the billing field storage table, and providing options for access conditions and billing elements; receiving access conditions and billing elements of the business message selected by the user; in response to receiving a submission message of the access application page, generating a mapping relationship between the business fields and the billing fields; in response to receiving a target business message that meets the access conditions, performing billing processing on the target business message according to the mapping relationship and the billing formula.
[0006] In some embodiments, generating the mapping relationship between the business field and the billing field includes: fuzzy matching the business field with the billing fields in the billing field storage table to obtain a matching degree; generating a mapping relationship based on the billing field with the greatest matching degree with each business field.
[0007] In some embodiments, extracting the service field from the service message queue includes: performing semantic analysis on the service message queue to determine the fields involved in billing as the service fields.
[0008] In some embodiments, generating the mapping relationship between the business field and the billing field includes: generating corresponding json content according to the access conditions and billing elements selected by the user; automatically matching the billing field according to the json content to generate a mapping relationship between the business field and the billing field.
[0009] In some embodiments, the method further includes: generating a display page for the mapping relationship and providing an editing option; and in response to receiving an editing request for the mapping relationship, adjusting the mapping relationship according to the editing request.
[0010] In some embodiments, the method further includes: after the user confirms submission of the mapping relationship, performing a simulation data test; if the simulation data test fails, sending the failure reason to the user.
[0011] In some embodiments, the method further includes: if the simulation data test is successful, conducting a financial product and financial R&D review; after the review is successful, releasing a grayscale environment to notify the user to use real data for testing; if the real data test passes, automatically releasing a production environment.
[0012] In the second aspect, an embodiment of the present disclosure provides a billing device, comprising: an acquisition unit, configured to acquire a billing formula and a billing field storage table corresponding to the billing elements involved in the billing formula; an extraction unit, configured to extract business fields from the business message queue in response to detecting a newly added business message queue; a rendering unit, configured to render an application access page based on the extracted business fields and the billing field storage table, and provide options for access conditions and billing elements; a receiving unit, configured to receive the access conditions and billing elements of the business message selected by the user; a mapping unit, configured to generate a mapping relationship between the business fields and the billing fields in response to receiving a submission message of the application access page; a billing unit, configured to perform billing processing on the target business message according to the mapping relationship and the billing formula in response to receiving a target business message that meets the access conditions.
[0013] In some embodiments, the mapping unit is further configured to: perform fuzzy matching on the business field and the billing fields in the billing field storage table to obtain a matching degree; and generate a mapping relationship according to the billing field with the greatest matching degree with each business field.
[0014] In some embodiments, the extraction unit is further configured to: perform semantic analysis on the service message queue, and determine fields involved in billing as service fields.
[0015] In some embodiments, the mapping unit is further configured to: generate corresponding json content according to the access conditions and billing elements selected by the user; automatically match the billing field according to the json content, and generate a mapping relationship between the business field and the billing field.
[0016] In some embodiments, the apparatus further comprises an adjustment unit configured to: generate a display page for the mapping relationship and provide an editing option; and in response to receiving an editing request for the mapping relationship, adjust the mapping relationship according to the editing request.
[0017] In some embodiments, the device further comprises a testing unit configured to: perform a simulation data test after the user confirms submission of the mapping relationship; and send the failure reason to the user if the simulation data test fails.
[0018] In some embodiments, the testing unit is further configured to: if the simulated data test is successful, conduct a financial product and financial R&D review; after the review is successful, release the grayscale environment to notify the user to use real data for testing; if the real data test passes, automatically release the production environment.
[0019] In a third aspect, an embodiment of the present disclosure provides an electronic device for billing, comprising: one or more processors; a storage device on which one or more computer programs are stored, and when the one or more computer programs are executed by the one or more processors, the one or more processors implement a method as described in any one of the first aspects.
[0020] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method as described in any one of the first aspects.
[0021] The billing method and device provided by the embodiments of the present disclosure solve the problem of rapid access, add a new business line to reduce the participation of financial system personnel, and can quickly access the business line, thereby reducing personnel costs and improving efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Other features, objects and advantages of the present disclosure will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0023] Figure 1 is an exemplary system architecture diagram in which an embodiment of the present disclosure may be applied;
[0024] Figure 2 is a flow chart of an embodiment of a charging method according to the present disclosure;
[0025] Figure 3is a schematic diagram of an application scenario of the charging method according to the present disclosure;
[0026] Figure 4 is a flow chart of another embodiment of a charging method according to the present disclosure;
[0027] Figure 5 is a structural schematic diagram of an embodiment of a charging device according to the present disclosure;
[0028] Figure 6 It is a structural diagram of a computer system of an electronic device suitable for implementing an embodiment of the present disclosure. DETAILED DESCRIPTION
[0029] The present disclosure is further described in detail below in conjunction with the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.
[0030] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present disclosure may be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0031] Figure 1 An exemplary system architecture 100 is shown to which an embodiment of a charging method or a charging apparatus of the present disclosure can be applied.
[0032] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0033] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as logistics applications, web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.
[0034] Terminal devices 101, 102, 103 can be hardware or software. When terminal devices 101, 102, 103 are hardware, they can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) players, laptop computers and desktop computers, etc. When terminal devices 101, 102, 103 are software, they can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules (for example, to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.
[0035] The server 105 may be a server that provides various services, such as a background billing server that provides support for web pages displayed on the terminal devices 101, 102, and 103. The background billing server may analyze and process the received data such as the billing request, and feed back the processing result (such as the billing result) to the terminal device.
[0036] It should be noted that the server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, multiple software or software modules used to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here. The server can also be a server of a distributed system, or a server combined with a blockchain. The server can also be a cloud server, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology.
[0037] It should be noted that the billing method provided in the embodiments of the present disclosure is generally executed by the server 105 , and accordingly, the billing device is generally disposed in the server 105 .
[0038] It should be noted that the charging method provided in the embodiment of the present disclosure can be executed by the terminal devices 101, 102, 103, or by the server 105. Accordingly, the charging device can be set in the terminal devices 101, 102, 103, or in the server 105. No specific limitation is made here.
[0039] It should be understood that Figure 1The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.
[0040] Continue to refer Figure 2 , shows a process 200 of an embodiment of a charging method according to the present disclosure. The charging method comprises the following steps:
[0041] Step 201, obtain a billing formula and a billing field storage table corresponding to the billing elements involved in the billing formula.
[0042] In this embodiment, the execution entity of the billing method (for example Figure 1 The server shown in FIG. 1 can obtain the designed billing formula and the billing field storage table corresponding to the billing elements involved in the billing formula. The billing field storage table may include parameters used for billing, such as weight, volume, number of pieces, number of boxes, etc.
[0043] The billing formula is the freight, management fee and other fees calculated based on the above billing fields.
[0044] Step 202: In response to detecting a newly added service message queue, extract a service field from the service message queue.
[0045] In this embodiment, the business field can be extracted from the business message queue by using the NLP (natural language processing) method (e.g., NER named entity recognition), such as weight, volume, etc. The name of the business field may be inconsistent with the billing field, but the meaning is the same, only the name is different.
[0046] Step 203: Render an access application page according to the extracted business field and billing field storage table, and provide access conditions and billing element options.
[0047] In this embodiment, the business document is displayed. This business document needs to be a topic that has been connected. If it has not been connected, you can create a new subscription for the first time. After the subscription is completed, the business personnel can select the business document to be applied for on the application page, and the relevant fields of this business document can be dynamically brought out. The business can select the access conditions according to the billing requirements. This access condition is the basis for pushing billing for the document, such as access by product and status. For example, when the product is a business warehouse and the status is completed, billing is pushed. At the same time, you can select the billing elements to be used by the business.
[0048] This page can render all the fields in the field storage table that are enabled to the page in pages. It also provides fuzzy query function for the page to facilitate business use. Click "Apply for Access" and the system will generate corresponding json content according to the selected fields and conditional serialization.
[0049] Step 204: Receive access conditions and billing elements of the service message selected by the user.
[0050] In this embodiment, the user selects the access conditions and billing elements according to their needs, and an input box may be provided to input the expression of the access conditions. For example, the operation time may be provided for selection or may be directly input.
[0051] Step 205: In response to receiving a submission message of the access application page, a mapping relationship between the service field and the billing field is generated.
[0052] In this embodiment, there is an "Apply for Access" button on the page, click it to confirm submission. The server generates a mapping relationship between billing fields based on the business fields submitted by the user. The system automatically generates access conditions, and automatically matches the financial pre-processing fields according to the selected billing elements to generate a mapping relationship between business fields and billing fields.
[0053] like Figure 3 As shown, the mapping rule is: regard the business field as set A and the billing field as set B. By traversing the two sets, fuzzy mapping is performed on the subset in set A and the subset in B. When the mapping is successful, the output set N represents the relationship of successful mapping. The mapping fields all contain element fields. The more identical elements they contain, the higher the matching degree is, and the more matching the mapping relationship is.
[0054] Step 206: In response to receiving the target service message that meets the access condition, the target service message is charged according to the mapping relationship and the charging formula.
[0055] In this embodiment, when a service message for billing is received, it is first checked whether the service message meets the access condition of the user equipment. If the access condition is not met, no billing is performed. If the access condition is met, the billing field in the billing formula is replaced with the service field according to the mapping relationship, and then the billing process is performed.
[0056] The method provided by the above-mentioned embodiment of the present disclosure flexibly configures the access mode, decomposes the user's configuration operation into rules recognizable by the system, and realizes automatic access through the rules automatically mapped by the system to improve the rapid access of the service.
[0057] In some optional implementations of this embodiment, the generating of the mapping relationship between the business field and the billing field includes: fuzzy matching the business field with the billing fields in the billing field storage table to obtain a matching degree; generating a mapping relationship according to the billing field with the greatest matching degree with each business field. The matching degree can be calculated by semantic analysis. The matching degree can also be calculated by string matching. For example, the matching degree of business field A is calculated with all billing fields, and the one with the highest matching value is used as the billing field corresponding to business field A.
[0058] In some optional implementations of this embodiment, extracting the business field from the business message queue includes: performing semantic analysis on the business message queue to determine the fields involved in billing as business fields. A pre-trained semantic analysis model can be used to analyze the meaning of each field, and the fields related to billing are used as business fields. Other fields can be ignored, for example, the name field. The accuracy of business field extraction can be improved.
[0059] In some optional implementations of this embodiment, generating the mapping relationship between the business field and the billing field includes: generating corresponding json content according to the access conditions and billing elements selected by the user; automatically matching the billing field according to the json content to generate a mapping relationship between the business field and the billing field. The mapping relationship can be quickly generated by generating a jason script through a script tool and then matching it with the billing field.
[0060] In some optional implementations of this embodiment, the method further includes: generating a display page for the mapping relationship and providing an editing option; in response to receiving an editing request for the mapping relationship, adjusting the mapping relationship according to the editing request. A display page for the mapping relationship is generated to form a mapping relationship between the business field and the billing field. When the mapping relationship deviates, it can be handled by manual adjustment. When there is no problem with the mapping relationship, it is submitted to the system background, and the system background automatically generates a new order business line and a new message body.
[0061] Further references Figure 4 , which shows a process 400 of another embodiment of a charging method. The process 400 of the charging method includes the following steps:
[0062] Step 401, obtain a billing formula and a billing field storage table corresponding to the billing elements involved in the billing formula.
[0063] Step 402: In response to detecting a newly added service message queue, extracting a service field from the service message queue.
[0064] Step 403: Render an access application page according to the extracted business field and billing field storage table, and provide access conditions and billing element options.
[0065] Step 404: Receive access conditions and billing elements of the service message selected by the user.
[0066] Step 405: In response to receiving a submission message of the access application page, a mapping relationship between the service field and the billing field is generated.
[0067] Steps 401-405 are substantially the same as steps 201-205, and thus are not described in detail herein.
[0068] Step 406, after the user confirms submission of the mapping relationship, a simulation data test is performed. If the simulation data test fails, the failure reason is sent to the user. If the simulation data test succeeds, a financial product and financial R&D review is performed.
[0069] In this embodiment, simulation data of the business message can be constructed, and the simulation data includes the content related to the business field, such as volume, weight, etc., and also includes the final charge amount. The amount is calculated through the mapping relationship and the billing formula, and compared with the final charge amount. If there is inconsistency, the test fails. Based on the amount of the error in the calculation, it can be inferred which business field mapping error occurred, and the business field with the mapping error can be fed back to the user. The user can be notified of the reason for the failure through email, push message, etc. If the simulation data test passes, the financial product and financial R&D review will be conducted. If the financial product and financial R&D review fails, the reason for the rejection will also be fed back to the user. The user can be notified of the reason for the failure through email, push message, etc.
[0070] Step 407: After the review is successful, the grayscale environment is released to notify the user to use real data for testing. If the real data test passes, the production environment is automatically released.
[0071] In this embodiment, after the simulation data test is passed, real data can be used for testing in a grayscale environment. If the test fails, the failure reason is fed back to the user. The user can be notified of the failure reason through email, push message, etc.
[0072] Step 408: In response to receiving the target service message that meets the access condition, the target service message is charged according to the mapping relationship and the charging formula.
[0073] Step 408 is substantially the same as step 206 and thus will not be described in detail.
[0074] from Figure 4 It can be seen that Figure 2 Compared with the corresponding embodiment, the process 400 of the charging method in this embodiment embodies the step of testing the mapping relationship. Therefore, the scheme described in this embodiment can verify the accuracy of the mapping relationship in advance, and release it only after the test passes, so as to prevent irreparable errors in actual use.
[0075] Further references Figure 5 As an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a charging device, which is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0076] like Figure 5As shown, the charging device 500 of this embodiment includes: an acquisition unit 501, an extraction unit 502, a rendering unit 503, a receiving unit 504, a mapping unit 505 and a charging unit 506. The acquisition unit 501 is configured to acquire a charging formula and a charging field storage table corresponding to the charging elements involved in the charging formula; the extraction unit 502 is configured to extract a service field from the service message queue in response to detecting a newly added service message queue; the rendering unit 503 is configured to render an application access page according to the extracted service field and the charging field storage table, and provide access conditions and charging element options; the receiving unit 504 is configured to receive the access conditions and charging elements of the service message selected by the user; the mapping unit 505 is configured to generate a mapping relationship between the service field and the charging field in response to receiving a submission message of the application access page; the charging unit 506 is configured to perform charging processing on the target service message according to the mapping relationship and the charging formula in response to receiving a target service message that meets the access condition.
[0077] In this embodiment, the specific processing of the acquisition unit 501, the extraction unit 502, the rendering unit 503, the receiving unit 504, the mapping unit 505 and the charging unit 506 of the charging device 500 can be referred to. Figure 2 These correspond to step 201, step 202, step 203, step 204, step 205 and step 206 in the embodiment.
[0078] In some optional implementations of this embodiment, the mapping unit 505 is further configured to: perform fuzzy matching on the business field and the billing fields in the billing field storage table respectively to obtain a matching degree; and generate a mapping relationship based on the billing field with the greatest matching degree with each business field.
[0079] In some optional implementations of this embodiment, the extraction unit 502 is further configured to: perform semantic analysis on the service message queue, and determine the fields involved in billing as service fields.
[0080] In some optional implementations of this embodiment, the mapping unit 505 is further configured to: generate corresponding json content according to the access conditions and billing elements selected by the user; automatically match the billing field according to the json content, and generate a mapping relationship between the business field and the billing field.
[0081] In some optional implementations of this embodiment, the device 500 also includes an adjustment unit (not shown in the drawings), which is configured to: generate a display page for the mapping relationship and provide editing options; in response to receiving an editing request for the mapping relationship, adjust the mapping relationship according to the editing request.
[0082] In some optional implementations of this embodiment, the device 500 also includes a testing unit (not shown in the drawings), which is configured to: perform a simulation data test after the user confirms submission of the mapping relationship; if the simulation data test fails, send the reason for the failure to the user.
[0083] In some optional implementations of this embodiment, the testing unit is further configured to: if the simulation data test is successful, conduct a financial product and financial R&D review; after the review is successful, release the grayscale environment to notify the user to use real data for testing; if the real data test passes, automatically release the production environment.
[0084] It should be noted that the collection, collection, updating, analysis, processing, use, transmission, storage and other aspects of user personal information involved in the technical solution of this disclosure are in compliance with the provisions of relevant laws and regulations, are used for legitimate purposes, and do not violate public order and good morals. Necessary measures are taken for user personal information to prevent illegal access to user personal information data and maintain the security of user personal information, network security and national security.
[0085] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device and a readable storage medium.
[0086] An electronic device comprises: one or more processors; a storage device on which one or more computer programs are stored, and when the one or more computer programs are executed by the one or more processors, the one or more processors implement the method described in process 200 or 400.
[0087] A computer-readable medium stores a computer program, wherein the computer program implements the method described in process 200 or 400 when executed by a processor.
[0088] Figure 6 A schematic block diagram of an example electronic device 600 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.
[0089] like Figure 6As shown, the device 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 602 or a computer program loaded from a storage unit 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The computing unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0090] A number of components in the device 600 are connected to the I / O interface 605, including: an input unit 606, such as a keyboard, a mouse, etc.; an output unit 607, such as various types of displays, speakers, etc.; a storage unit 608, such as a disk, an optical disk, etc.; and a communication unit 609, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 609 allows the device 600 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0091] The computing unit 601 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 601 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 601 performs the various methods and processes described above, such as the billing method. For example, in some embodiments, the billing method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 608. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 600 via ROM 602 and / or communication unit 609. When the computer program is loaded into RAM 603 and executed by the computing unit 601, one or more steps of the billing method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the billing method in any other appropriate manner (e.g., by means of firmware).
[0092] 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.
[0093] 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.
[0094] 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.
[0095] 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).
[0096] 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.
[0097] 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 between the client and the server is generated by computer programs running on the respective computers and having a client-server relationship with each other. The server may be a server of a distributed system, or a server combined with a blockchain. The server may also be a cloud server, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology. The server may be a server of a distributed system, or a server combined with a blockchain. The server may also be a cloud server, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology.
[0098] 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.
[0099] 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 billing method, comprising: Obtain a billing formula and a billing field storage table corresponding to the billing elements involved in the billing formula; In response to detecting a newly added service message queue, extracting a service field from the service message queue; Rendering an access application page according to the extracted business fields and the billing field storage table, and providing options for access conditions and billing elements; Receive access conditions and billing elements of service messages selected by users; In response to receiving a submission message of the application access page, generating a mapping relationship between the service field and the billing field; In response to receiving a target service message that meets the access condition, charging processing is performed on the target service message according to the mapping relationship and the charging formula.
2. The method according to claim 1, wherein: The generating of the mapping relationship between the service field and the charging field includes: Perform fuzzy matching on the business field and the billing fields in the billing field storage table to obtain a matching degree; A mapping relationship is generated based on the billing field that has the greatest matching degree with each business field.
3. The method according to claim 1, wherein: The extracting the service field from the service message queue includes: Semantic analysis is performed on the service message queue to determine fields involved in billing as service fields.
4. The method according to claim 1, wherein: The generating of the mapping relationship between the service field and the charging field includes: Generate corresponding JSON content according to the access conditions and billing elements selected by the user; The billing field is automatically matched according to the JSON content to generate a mapping relationship between the business field and the billing field.
5. The method according to claim 1, wherein: The method further comprises: Generate a display page for the mapping relationship and provide an editing option; In response to receiving an edit request for the mapping relationship, adjusting the mapping relationship according to the edit request.
6. The method according to claim 1, wherein: The method further comprises: After the user confirms and submits the mapping relationship, a simulated data test is performed; If the simulated data test fails, the reason for the failure is sent to the user.
7. The method according to claim 6, wherein: The method further comprises: If the simulation data test is successful, the financial product and financial R&D review will be conducted; After the review is successful, the grayscale environment will be released to notify the users to test using real data; If the real data test passes, the production environment is automatically released.
8. A charging device, comprising: An acquisition unit configured to acquire a billing formula and a billing field storage table corresponding to billing elements involved in the billing formula; an extracting unit, configured to extract a service field from the service message queue in response to detecting a newly added service message queue; A rendering unit, configured to render an access application page according to the extracted business fields and the billing field storage table, and provide options for access conditions and billing elements; A receiving unit configured to receive access conditions and charging elements of a service message selected by a user; A mapping unit, configured to generate a mapping relationship between the service field and the billing field in response to receiving a submission message of the application access page; The billing unit is configured to, in response to receiving a target service message that meets the access condition, perform billing processing on the target service message according to the mapping relationship and the billing formula.
9. An electronic device for billing, comprising: one or more processors; a storage device having one or more computer programs stored thereon, When the one or more computer programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 7.
10. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
