System and method for improving invoicing tagging accuracy

Using artificial intelligence technology to extract product features and combining it with dual cache technology solves the shortcomings of traditional coding methods in complex semantic processing and cached data consistency maintenance, and achieves efficient and accurate product coding services.

CN118628192APending Publication Date: 2024-09-10WUXI BAISHANG ZHONGWANG DATA TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410846828.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

Traditional coding methods based on rules or pattern matching cannot handle the complex semantics of product names, resulting in low coding accuracy. In addition, traditional caching technology has deficiencies in data update and consistency maintenance, resulting in inconsistency between cached data and actual data.

Method used

Artificial intelligence technology is used for deep learning and analysis of massive product names, product features are extracted, and combined with dual cache technology design, it achieves efficient query response and real-time updates of the knowledge base, ensuring the consistency between cached data and actual data.

Benefits of technology

It improves the accuracy and efficiency of product coding, solves the shortcomings of traditional systems in complex semantic processing and real-time performance, and provides users with intelligent and efficient coding services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118628192A
    Figure CN118628192A
Patent Text Reader

Abstract

The invention provides a system and a method for improving billing tagging accuracy. The system comprises an open platform, a tagging system, a model calculation system and a data cleaning system, the open platform comprises a unified standard interface, an identity authentication and issuing interface, an intelligent tagging interface and a service interface; the tagging system comprises a model ES cache, an invoice ES cache, data standard conversion and log storage; the model calculation system comprises an ID sequence generator, a memory loading unit, a model weight unit, a matrix calculation unit, a commodity code matching unit, a probability calculation unit, a classification judgment unit and a behavior collection unit; and the data cleaning system is used for performing multiple cleaning processing on the user query behavior and the commodity detail data in the invoice pool. Through the design in the aspects of real-time calculation, intelligent tagging, data cleaning and accuracy, system architecture and expandability, monitoring and optimization and the like, the efficiency and accuracy of the system can be effectively improved, and high-quality commodity tagging service is provided for customers.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of invoice coding accuracy, and specifically relates to a system and method for improving invoice coding accuracy. Background Art

[0002] In the current digital age, accurate product coding is crucial, especially in invoicing management. However, due to the diversity of product names and the complexity of semantics, traditional coding methods based on rules or pattern matching often fail to meet the requirements of accuracy and efficiency. Therefore, using artificial intelligence technology to conduct in-depth learning and analysis of product names has become an important way to improve coding accuracy. In addition, in order to further improve efficiency and response speed, the use of caching technology has also become an indispensable part.

[0003] In the prior art, there are the following solutions, but they all have certain limitations:

[0004] 1. Product classification system based on machine learning: Use machine learning algorithms to classify and code product names. These systems build classification models by training a large number of data samples, but may have certain limitations when dealing with complex semantic relationships.

[0005] 2. Query optimization system based on cache technology: Utilize cache technology, such as memory cache, to improve query response speed and efficiency. These systems reduce access to databases or other data sources by caching the results of frequent queries, but cannot perform real-time updates in terms of data updates and consistency maintenance, and the memory cache caches a small amount of data.

[0006] These existing implementation solutions have solved the accuracy and efficiency problems of commodity coding to varying degrees, but there are still some limitations, such as the lack of processing capabilities for complex semantics, large-scale data processing capabilities, and real-time performance. Therefore, in response to these problems, the present invention proposes a system and method based on artificial intelligence and double buffering technology to further improve the accuracy and efficiency of commodity coding.

[0007] To this end, we propose a system and method to improve the accuracy of invoice coding to solve the above problems. Summary of the invention

[0008] The existing technology has the following defects: Insufficient accuracy: Traditional coding methods based on rules or pattern matching often cannot handle the complex semantics of product names, resulting in low coding accuracy. Insufficiently intelligent caching strategies: Traditional caching technologies usually simply store the results of frequent queries, lacking intelligent processing for data updates and consistency maintenance, which may cause inconsistencies between cached data and actual data.

[0009] The present invention aims to solve the above problems. Its purpose is to propose a system and method that comprehensively applies artificial intelligence and double buffering technology to make up for the shortcomings of the prior art, which is mainly reflected in the following aspects:

[0010] Improve coding accuracy: Through deep learning and analysis of massive product names, use artificial intelligence technology to accurately extract product features, and use text classification technology to achieve accurate coding, thereby improving coding accuracy.

[0011] Improve efficiency: Adopt dual cache design, that is, the collaborative working mode of user layer cache and source layer cache, to provide efficient query response and continuous updating of knowledge base, thereby improving the efficiency and real-time performance of the system.

[0012] Improve cache management: Through the dual cache design, we go deep into the data source, responsible for complex data analysis and knowledge base updates, thereby improving cache management, ensuring the consistency of cached data and actual data, and promoting the self-evolution of the knowledge base and the continuous improvement of its accuracy.

[0013] By comprehensively utilizing artificial intelligence technology and double buffering technology, this system can effectively improve the accuracy and efficiency of product coding, solve the shortcomings of traditional systems, and provide users with more intelligent and efficient coding services.

[0014] The present application provides a system and method for improving the accuracy of invoicing and coding, including: an open platform, a coding system, a model calculation system and a data cleaning system;

[0015] The open platform includes unified standard interface, identity authentication and issuance, intelligent coding interface and business interface;

[0016] The coding system includes model ES cache, invoice ES cache, data standard conversion and log storage;

[0017] The model calculation system includes an ID sequence generator, memory loading, model weight, matrix calculation, commodity code matching, probability calculation, classification judgment and behavior collection;

[0018] The data cleaning system is used to perform multiple cleaning processes on user query behaviors and commodity detail data in the invoice pool.

[0019] In some embodiments, a data base and monitoring are also included.

[0020] In some specific implementations, the monitoring includes interface monitoring, log monitoring, indicator monitoring, service monitoring and health checking.

[0021] In some specific embodiments, the data base includes user behavior records, invoice pool, data extraction / conversion / loading, and weight scoring components.

[0022] A method for improving the accuracy of invoicing coding, the specific steps are:

[0023] S1: open interface;

[0024] S2: Product coding;

[0025] S3: Query the commodity tax classification code cache; determine whether it is empty, if so, execute S4, if not, execute S6; execute query invoice cache and query model cache.

[0026] S4: Query the intelligent coding model, perform text input, perform ID sequence, then perform ID sequence embedding, memory loading and weight, matrix calculation, then perform probability calculation and classification judgment;

[0027] S5: Output product classification and category probability, execute product classification results, perform data assembly conversion, and finally execute and return;

[0028] S6: Execute the tax rate query, data assembly conversion, and finally execute the return.

[0029] In some specific implementations, the product classification result includes the product category name, product category probability, product category abbreviation, product code, product description and product name.

[0030] In some specific implementations, the invoice cache aggregates user behavior records and invoice pools, performs aggregation by product name, performs score calculation, performs data results, and then ends.

[0031] In some specific implementations, the score is calculated as the latest update time of the frequency of occurrence of the category code.

[0032] Beneficial effects: The present application provides a system and method for improving the accuracy of invoicing coding, and solves the technical problem of insufficient accuracy in the invoicing coding process. Specifically, the system and method aim to improve the accuracy of commodity coding by combining artificial intelligence and double-buffer technology. Through deep learning and analysis of massive invoiced commodity names, they are processed into a commodity coding knowledge base, and embedding technology is used to capture subtle semantic differences, so as to achieve accurate extraction of commodity features and conversion into a unique serial ID. Subsequently, through the fully connected layer probabilistic text classification technology, the serial ID is mapped to the tax classification code, which greatly improves the accuracy of automatic commodity classification. At the same time, the system utilizes a double-buffer design, that is, the collaborative working mode of the user layer cache and the source layer cache, to provide efficient query response and continuous updating of the knowledge base, thereby further improving the accuracy of coding.

[0033] 1. Application of artificial intelligence technology:

[0034] The application of artificial intelligence technology in the commodity coding system is one of the key points. Through deep learning and natural language processing technology, the system can improve its understanding and processing capabilities of commodity names, thereby improving the accuracy of coding. The uniqueness and innovation of this technology application is one of the key advantages of the system.

[0035] 2. Coding behavior analysis and scoring:

[0036] Coding behavior analysis and scoring is one of the unique functions of the system. By analyzing the user's coding behavior and historical data, it provides users with intelligent coding suggestions to improve user work efficiency and accuracy. The realization of this function is the technical innovation of the system and also one of its protection points.

[0037] 3. Application of multi-layer caching technology:

[0038] The application of double buffering technology is one of the key technologies of the system. Through double buffering technology, the system can improve efficiency and response speed, while achieving real-time data update and consistency maintenance. The uniqueness and practicality of this technology application is one of the keys to the system.

[0039] 4. Systematic and comprehensive use of the latest technology and innovative ideas:

[0040] The system uses a variety of technologies and innovative ideas, including artificial intelligence, caching, and coding behavior analysis, to improve the accuracy and efficiency of commodity coding. The uniqueness and innovation of this comprehensive application is one of the key advantages of the system. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] Figure 1 This is a system diagram of an electronic invoice platform provided by an embodiment of the present invention that empowers tenants with customer service capabilities.

[0042] Figure 2 It is a flow chart of a method provided by an embodiment of the present invention for an electronic invoice platform to empower tenants with customer service capabilities. DETAILED DESCRIPTION

[0043] The following will be combined with the specific embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0044] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "said" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0045] A system and method for improving the accuracy of invoicing and coding, compared with the prior art, the present invention has the following advantages:

[0046] 1. Real-time computing and high efficiency

[0047] The system adopts a double-buffer query mechanism, which can quickly respond to client requests and improve the real-time computing performance of the system.

[0048] The model calculation system can calculate and assign codes in real time based on the product name, ensuring that customers can obtain accurate product coding information in a timely manner.

[0049] 2. Intelligent coding

[0050] The accuracy and precision of commodity coding are improved by using the model calculation system for intelligent calculation, combining data base (invoice library and behavior library), embedding and model weighting technologies.

[0051] Through FC probabilistic text classification calculation, product names can be better identified and coded, improving the intelligence level of the system.

[0052] 3. Data cleaning and accuracy

[0053] The data cleaning system performs multiple cleaning processes on user query behavior and product detail data in the invoice pool to ensure the accuracy and completeness of the data.

[0054] Scoring is performed based on the frequency of occurrence of product codes and the time of their latest update, which improves the accuracy and credibility of the coding results.

[0055] 4. System architecture and scalability

[0056] The system adopts a distributed architecture, and each system communicates through interfaces to facilitate system expansion and upgrading.

[0057] The system can be flexibly adjusted and optimized according to business needs, improving the scalability and adaptability of the system.

[0058] 5. Monitoring and Optimization

[0059] The system has established a monitoring system that can monitor the system operation status in real time and discover and solve problems in time.

[0060] Continuously optimize the system's performance and efficiency, and improve the system's stability and reliability.

[0061] In summary, the above system can effectively improve the efficiency and accuracy of the system and provide customers with high-quality product coding services through the design of real-time calculation, intelligent coding, data cleaning and accuracy, system architecture and scalability, monitoring and optimization, etc.

[0062] The prior art has the following defects:

[0063] Lack of accuracy: Traditional coding methods based on rules or pattern matching are often unable to handle the complex semantics of product names, resulting in low coding accuracy.

[0064] Caching strategy is not smart enough: Traditional caching technology usually simply stores the results of frequent queries and lacks intelligent processing of data updates and consistency maintenance, which may cause inconsistency between cached data and actual data.

[0065] The present invention aims to solve the above problems. Its purpose is to propose a system and method that comprehensively applies artificial intelligence and double buffering technology to make up for the shortcomings of the prior art, which is mainly reflected in the following aspects:

[0066] Improve coding accuracy: Through deep learning and analysis of massive product names, use artificial intelligence technology to accurately extract product features, and use text classification technology to achieve accurate coding, thereby improving coding accuracy.

[0067] Improve efficiency: Adopt dual cache design, that is, the collaborative working mode of user layer cache and source layer cache, to provide efficient query response and continuous updating of knowledge base, thereby improving the efficiency and real-time performance of the system.

[0068] Improve cache management: Through the dual cache design, we go deep into the data source, responsible for complex data analysis and knowledge base updates, thereby improving cache management, ensuring the consistency of cached data and actual data, and promoting the self-evolution of the knowledge base and the continuous improvement of its accuracy.

[0069] By comprehensively utilizing artificial intelligence technology and double buffering technology, this system can effectively improve the accuracy and efficiency of product coding, solve the shortcomings of traditional systems, and provide users with more intelligent and efficient coding services.

[0070] like Figure 1 As shown, the present application provides a system and method for improving the accuracy of invoicing and coding, including: an open platform, a coding system, a model calculation system and a data cleaning system;

[0071] The open platform includes unified standard interface, identity authentication and issuance, intelligent coding interface and business interface;

[0072] The coding system includes model ES cache, invoice ES cache, data standard conversion and log storage; ES cache is a core feature of Elasticsearch, which can quickly access data and ensure the efficiency and reliability of the system. When using ES, if the data needs to be accessed frequently or the data needs to be searched and queried quickly, it is very necessary to use cache. The use of ES cache is very flexible and can be divided into two types: node-level cache and distributed cache. Node-level cache means that the cached data is related to the node and can only be accessed within the node; distributed cache means that the cached data is stored on all nodes in the cluster and can be accessed and used between all nodes in the cluster. When using cache, we can enable cache by specifying the cache parameter as true in the query statement. When using ES cache, we need to pay attention to its cache update strategy. If there is inconsistency between the data in the cache and the data in the database, it is easy to cause errors in the query results. To avoid this, we can limit the storage time of the cache by providing a maximum time period to ensure the consistency of the data in the cache. In addition, we can also adjust the performance of the cache by changing the configuration of the index and document to improve the efficiency and accuracy of the query.

[0073] The model calculation system includes an ID sequence generator, memory loading, model weight, matrix calculation, commodity code matching, probability calculation, classification judgment and behavior collection;

[0074] The data cleaning system is used to perform multiple cleaning processes on user query behaviors and commodity detail data in the invoice pool.

[0075] In some embodiments, a data base and monitoring are also included.

[0076] In some specific implementations, the monitoring includes interface monitoring, log monitoring, indicator monitoring, service monitoring and health checking.

[0077] In some specific embodiments, the data base includes user behavior records, invoice pool, data extraction / conversion / loading, and weight scoring components.

[0078] like Figure 2 As shown, a method for improving the accuracy of invoicing coding is provided, and the specific steps are as follows:

[0079] S1: open interface;

[0080] S2: Product coding;

[0081] S3: Query the commodity tax classification code cache; determine whether it is empty, if so, execute S4, if not, execute S6; execute query invoice cache and query model cache.

[0082] S4: query the intelligent coding model, perform text input, perform ID sequence, then perform ID sequence embedding, memory loading and weight (i.e. ID sequence ETL), matrix calculation, and then perform probability calculation and classification judgment;

[0083] S5: Output product classification and category probability, execute product classification results, perform data assembly conversion, and finally execute and return;

[0084] S6: Execute the tax rate query, data assembly conversion, and finally execute the return.

[0085] In some specific implementations, the product classification result includes the product category name, product category probability, product category abbreviation, product code, product description and product name.

[0086] In some specific implementations, the invoice cache aggregates user behavior records and invoice pools, performs aggregation by product name, performs score calculation, performs data results, and then ends.

[0087] In some specific implementations, the score is calculated as the latest update time of the frequency of occurrence of the category code.

[0088] A method for improving the accuracy of invoicing coding, comprising an open platform, a coding system, a model calculation system and a data cleaning system; the open platform comprises a unified standard interface, identity authentication and issuance, an intelligent coding interface and a business interface; the coding system comprises a model ES cache, an invoice ES cache, data standard conversion and log storage; the model calculation system comprises an ID sequence generator, memory loading, model weights, matrix calculations, commodity code matching, probability calculations, classification judgments and behavior collection; the data cleaning system is used for performing multiple cleaning processes on user query behaviors and commodity detail data in an invoice pool, and the specific steps are: an open interface; commodity coding; querying commodity tax classification code cache; judging whether it is empty, if so, executing S4, if not, executing S6; executing query invoice cache and query model cache. Query the intelligent coding model, execute text input, execute ID sequence, then execute ID sequence embedding, memory loading and weight (ie ID sequence ETL), matrix calculation, and then execute probability calculation and classification judgment; output product classification and category probability, product category name, product classification probability, product category abbreviation, product code, product description and product name, execute product classification results, perform data assembly conversion, and finally execute return; execute tax rate query, data assembly conversion, and finally execute return.

[0089] The present invention can effectively improve the efficiency and accuracy of the system and provide customers with high-quality commodity coding services through the design of real-time calculation, intelligent coding, data cleaning and accuracy, system architecture and scalability, monitoring and optimization, etc.

[0090] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprises a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0091] The above description is only a preferred embodiment of the present application and does not constitute any form of limitation to the present application. Any technician familiar with the profession can make some changes or modify the technical contents disclosed above into equivalent embodiments with equivalent changes without departing from the scope of the technical solution of the present application. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application still falls within the scope of the technical solution of the present application.

Claims

1. A system for improving the accuracy of invoicing and coding, characterized in that: include: Open platform, coding system, model calculation system and data cleaning system; The open platform includes unified standard interface, identity authentication and issuance, intelligent coding interface and business interface; The coding system includes model ES cache, invoice ES cache, data standard conversion and log storage; The model calculation system includes an ID sequence generator, memory loading, model weight, matrix calculation, commodity code matching, probability calculation, classification judgment and behavior collection; The data cleaning system is used to perform multiple cleaning processes on user query behaviors and commodity detail data in the invoice pool.

2. A system for improving the accuracy of invoicing and coding according to claim 1, characterized in that: Also includes data base and monitoring.

3. A system for improving the accuracy of invoicing and coding according to claim 2, characterized in that: The monitoring includes interface monitoring, log monitoring, indicator monitoring, service monitoring and health checking.

4. A system for improving the accuracy of invoicing and coding according to claim 2, characterized in that: The data base includes user behavior records, invoice pool, data extraction / conversion / loading, and weight scoring components.

5. A method for improving the accuracy of invoicing coding, characterized in that: The method comprises the following steps: S1: open interface; S2: Product coding; S3: Query the commodity tax classification code cache; determine whether it is empty, if so, execute S4, if not, execute S6; execute query invoice cache and query model cache. S4: Query the intelligent coding model, perform text input, perform ID sequence, then perform ID sequence embedding, memory loading and weight, matrix calculation, then perform probability calculation and classification judgment; S5: Output product classification and category probability, execute product classification results, perform data assembly conversion, and finally execute and return; S6: Execute the tax rate query, data assembly conversion, and finally execute the return.

6. A method for improving the accuracy of invoicing and coding according to claim 5, characterized in that: The commodity classification result includes commodity classification name, commodity classification probability, commodity classification abbreviation, commodity code, commodity description and commodity name.

7. A method for improving the accuracy of invoicing and coding according to claim 5, characterized in that: The invoice cache is used to aggregate user behavior records and invoice pools, perform aggregation by product name, perform score calculation, execute data results, and then end.

8. A method for improving the accuracy of invoicing and coding according to claim 7, characterized in that: The score is calculated as the latest update time of the frequency of occurrence of the classification code.