Bill data processing method and device, equipment, storage medium and program product

By building resource object indexes, the problem that existing billing systems are difficult to integrate and analyze similar products is solved, high-precision analysis and automated identification of billing data are realized, and the efficiency and accuracy of billing data processing are improved.

CN119048257APending Publication Date: 2024-11-29ZHUHAI KINGSOFT ONLINE GAME TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411051780.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-01
Publication Date
2024-11-29

AI Technical Summary

Technical Problem

Existing billing systems are difficult to integrate and analyze products from different providers of the same or similar types, making it difficult to achieve high-precision resource allocation and transaction trend analysis. Due to inconsistent naming rules, it is difficult to identify products of the same type and automation. Related.

Method used

By obtaining the pending resource bill sent by the resource provider, determining the relationship and object types between resource objects in the bill, building a resource object index to characterize resource association information of different object types, and realizing data integration of different resource providers and analysis.

Benefits of technology

It improves the efficiency and accuracy of billing data processing, realizes high-precision classification and integration of the same type of products and data integration across resource providers, supports automated identification and classification, and improves the construction efficiency and accuracy of resource object indexes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119048257A_ABST
    Figure CN119048257A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a bill data processing method and device, equipment, a storage medium and a program product. The method comprises the steps that a to-be-processed resource bill sent by a resource provider for a target resource is acquired; determining an association relationship between resource objects corresponding to the to-be-processed resource bill and an object type of each resource object, each resource object being related to the target resource; according to the incidence relation between the resource objects and the object types, a resource object index is constructed, the resource object index is used for representing resource correlation information between the resource objects of different object types, and the resource objects correspond to different resource providers. By constructing the resource object index according to the association relationship and the object type among the resource objects, data integration across resource providers can be performed on the resource objects corresponding to different resource providers, so that high-precision analysis of bill data can be realized, and the bill data processing efficiency and accuracy can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of this specification relate to the field of computer technology, and in particular to a bill data processing method, device, equipment, storage medium, and program product. Background Art

[0002] The bill records the name, quantity, price, transaction time and other information of the purchased product or service. Both the provider and the demander can conduct financial reconciliation based on the data in the bill to ensure the accurate settlement of the transaction amount. For the demander, the bill can also help them control costs and optimize budget allocation.

[0003] At present, the billing system of the demand side often analyzes each different provider separately, rather than integrating and analyzing the products of different providers of the same or similar types. This makes it difficult to integrate the same type of products with high precision, and it is difficult to accurately analyze resource allocation and transaction trends. Therefore, a method to improve the efficiency and accuracy of billing data processing is urgently needed. Summary of the invention

[0004] In view of this, an embodiment of this specification provides a bill data processing method. One or more embodiments of this specification also relate to a bill data processing device, a computing device, a computer-readable storage medium and a computer program product to solve the technical defects existing in the prior art.

[0005] According to a first aspect of an embodiment of this specification, a bill data processing method is provided, including:

[0006] Obtain the pending resource bill sent by the resource provider for the target resource;

[0007] Determine the association relationship between resource objects corresponding to the resource bill to be processed and the object type of each resource object, wherein each resource object is related to the target resource;

[0008] A resource object index is constructed according to the association relationship and object type between each resource object, wherein the resource object index is used to represent resource association information between resource objects of different object types, and the resource objects correspond to different resource providers.

[0009] According to a second aspect of an embodiment of this specification, a bill data processing device is provided, including:

[0010] An acquisition module is configured to acquire a pending resource bill sent by a resource provider for a target resource;

[0011] A determination module is configured to determine the association relationship between resource objects corresponding to the resource bill to be processed and the object type of each resource object, wherein each resource object is related to the target resource;

[0012] The construction module is configured to construct a resource object index according to the association relationship and object type between each resource object, wherein the resource object index is used to represent resource association information between resource objects of different object types, and the resource objects correspond to different resource providers.

[0013] According to a third aspect of an embodiment of this specification, a computing device is provided, including:

[0014] Memory and processor;

[0015] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the above-mentioned bill data processing method are implemented.

[0016] According to a fourth aspect of the embodiments of this specification, a computer-readable storage medium is provided, which stores computer-executable instructions, and when the instructions are executed by a processor, the steps of the above-mentioned bill data processing method are implemented.

[0017] According to a fifth aspect of the embodiments of this specification, a computer program product is provided, including a computer program / instruction, which implements the steps of the above-mentioned bill data processing method when executed by a processor.

[0018] An embodiment of the present specification implements obtaining a pending resource bill sent by a resource provider for a target resource; determining the association relationship between resource objects corresponding to the pending resource bill, and the object type of each resource object, wherein each resource object is related to the target resource; constructing a resource object index based on the association relationship and object type between the resource objects, wherein the resource object index is used to represent resource association information between resource objects of different object types, and the resource objects correspond to different resource providers.

[0019] In this way, by determining the association relationships between the resource objects corresponding to the resource bill to be processed, as well as the object type of each resource object, the data in the bill can be classified and integrated with high precision according to the object type and association relationship; by constructing a resource object index based on the association relationships and object types between the resource objects, the resource objects corresponding to different resource providers can be integrated across resource providers according to the association relationships and object types, thereby achieving high-precision analysis of the bill data, which is conducive to improving the efficiency and accuracy of bill data processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 is an architectural diagram of a bill data processing system provided by an embodiment of this specification;

[0021] Figure 2 is a flow chart of a bill data processing method provided by an embodiment of this specification;

[0022] Figure 3 is a flow chart of a model training process of a bill data processing method provided by an embodiment of this specification;

[0023] Figure 4 It is a schematic diagram of a model training of a bill data processing method provided by an embodiment of this specification;

[0024] Figure 5 is a flowchart of an application process of a bill data processing method provided by an embodiment of this specification;

[0025] Figure 6 It is a structural schematic diagram of a bill data processing device provided by an embodiment of this specification;

[0026] Figure 7 It is a structural block diagram of a computing device provided by an embodiment of this specification. DETAILED DESCRIPTION

[0027] Many specific details are described in the following description to facilitate a full understanding of this specification. However, this specification can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of this specification, so this specification is not limited to the specific implementation disclosed below.

[0028] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification 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 in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0029] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0030] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in one or more embodiments of this specification are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0031] In one or more embodiments of this specification, a large model refers to a deep learning model with large-scale model parameters, which usually contains hundreds of millions, tens of billions, hundreds of billions, trillions, or even more than 10 trillion model parameters. A large model can also be called a foundation model / foundation model. The large model is pre-trained with large-scale unlabeled corpus to produce a pre-trained model with more than 100 million parameters. This model can adapt to a wide range of downstream tasks, and the model has good generalization ability, such as a large-scale language model (LLM), a multi-modal pre-training model, etc.

[0032] When the big model is used in practice, only a small number of samples are needed to fine-tune the pre-trained model and it can be applied to different tasks. The big model can be widely used in natural language processing (NLP), computer vision and other fields. Specifically, it can be applied to computer vision tasks such as visual question answering (VQA), image description (IC), image generation, as well as natural language processing tasks such as text-based sentiment classification, text summary generation, and machine translation. The main application scenarios of the big model include digital assistants, intelligent robots, search, online education, office software, e-commerce, intelligent design, etc.

[0033] First, the terms involved in one or more embodiments of this specification are explained.

[0034] Bill: refers to a document or electronic record that records the details of financial transactions within a certain period of time (such as a month, a quarter, or a year). It usually includes information such as date, amount, transaction content, account, etc.

[0035] Intelligent indexing: It is an indexing technology that combines artificial intelligence technology. It automatically establishes an index structure by intelligently analyzing and processing large amounts of data, thereby optimizing data query performance.

[0036] CDN (Content Delivery Network) is a layer of intelligent virtual network based on the existing Internet, which is formed by placing node servers in various places on the network. The CDN system can redirect user requests to the service node closest to the user in real time based on comprehensive information such as network traffic and the connection and load status of each node, as well as the distance to the user and response time, so that users can obtain the required content nearby, solve the problem of network congestion, and improve the response speed of users visiting websites.

[0037] Local IDC (Internet Data Center): refers to an Internet data center located in a local area. It is a facility that specializes in providing data storage, management and processing services. It provides enterprises with a safe and reliable data storage and computing environment through high-speed network connections and Internet access.

[0038] Apportionment: It refers to the process of allocating various expenses incurred by the enterprise, such as manufacturing expenses, management expenses, sales expenses, etc., to various cost objects or products according to certain methods and standards. The purpose of this is to ensure the accuracy and rationality of cost calculation and provide strong support for the decision-making of the enterprise.

[0039] At present, the billing system of the demand side often analyzes each different provider separately, rather than uniformly integrating and analyzing the products of different providers of the same or similar types. This makes it difficult to integrate the same type of products with high precision, and it is difficult to accurately analyze resource allocation and transaction trends. In addition, since the providers have inconsistent naming rules for the same type of products and sub-products, it will also make it difficult for the demand side to accurately identify the same type of products from different providers, or to associate the provider's newly launched sub-products with the product. This makes it difficult to achieve automatic identification and association of products and sub-products, as well as automatic classification.

[0040] Based on this, an embodiment of the present specification provides a billing data processing method, which obtains a pending resource bill sent by a resource provider for a target resource; determines the association relationship between each resource object corresponding to the pending resource bill, and the object type of each resource object, wherein each resource object is related to the target resource; constructs a resource object index based on the association relationship and object type between each resource object, wherein the resource object index is used to represent resource association information between resource objects of different object types, and the resource objects correspond to different resource providers.

[0041] In this way, by determining the association relationships between the resource objects corresponding to the resource bill to be processed, as well as the object type of each resource object, the data in the bill can be classified and integrated with high precision according to the object type and association relationship; by constructing a resource object index based on the association relationships and object types between the resource objects, the resource objects corresponding to different resource providers can be integrated across resource providers according to the association relationships and object types, thereby achieving high-precision analysis of the bill data, which is conducive to improving the efficiency and accuracy of bill data processing.

[0042] In this specification, a bill data processing method is provided. This specification also involves a bill data processing system, a bill data processing device, a computing device, a computer-readable storage medium, and a computer program product, which are described in detail one by one in the following embodiments.

[0043] See also Figure 1 , Figure 1 The following is an architecture diagram of a bill data processing system provided by an embodiment of the present specification. Specifically, the bill data processing system 100 includes a resource provider 101 and a resource demander 102 .

[0044] Resource provider 101: used to send the to-be-processed resource bill for the target resource to resource demander 102.

[0045] Resource demander 102: used to obtain the pending resource bill sent by the resource provider 101 for the target resource; determine the association relationship between the resource objects corresponding to the pending resource bill, and the object type of each resource object, wherein each resource object is related to the target resource; construct a resource object index based on the association relationship and object type between the resource objects, wherein the resource object index is used to represent the resource association information between resource objects of different object types, and the resource objects correspond to different resource providers 101.

[0046] In actual applications, the bill data processing system may include a resource demander 102 and multiple resource providers 101. Multiple resource providers 101 may respectively establish communication connections with the resource demander 102. In the bill data processing scenario, the resource demander 102 is used to obtain the resource bills to be processed sent by each resource provider 101, and realize the classification and integration of the data in the bills.

[0047] The resource provider 101 and the resource demander 102 are connected via a network. The network provides a medium for a communication link between the resource provider 101 and the resource demander 102. The network may include various connection types, such as wired or wireless communication links or optical fiber cables, etc. The data transmitted by the resource provider 101 may need to be encoded, transcoded, compressed, etc. before being sent to the resource demander 102.

[0048] It should be noted that the resource types of the target resources provided by different resource providers 101 may be the same or different. Different resource providers 101 may have different naming rules for the resource products they provide. Resource demander 102 is the user of the resource product. Resource demander 102 uses the target resources provided by resource provider 101, thereby generating fees for the target resources. Resource provider 101 can generate a pending resource bill based on the use of the target resources by resource demander 102 and send it to resource demander 102. The pending resource bill includes at least the resource information of the target resource, the resource provider information, and the cost information of the target resource.

[0049] By applying this embodiment, the resource demander 102 obtains the pending resource bill sent by the resource provider 101 for the target resource, and determines the association relationship between the resource objects corresponding to the pending resource bill, as well as the object type of each resource object, so as to classify and integrate the data in the bill with high precision according to the object type and association relationship; by constructing a resource object index based on the association relationship and object type between the resource objects, the resource objects corresponding to different resource providers 101 can be integrated across resource providers according to the association relationship and object type, thereby achieving high precision analysis of the bill data, which is beneficial to improving the efficiency and accuracy of bill data processing.

[0050] See also Figure 2 , Figure 2 A flowchart of a bill data processing method provided according to an embodiment of the present specification is shown, which specifically includes the following steps.

[0051] Step 202: Obtain a to-be-processed resource bill sent by the resource provider for the target resource.

[0052] In actual applications, you can obtain the pending resource bills sent by the resource provider for the target resources.

[0053] Specifically, the resource provider can be understood as the provider of the target resource, that is, the charging party. Corresponding to the resource provider is the resource demander, which can also be called the resource user, that is, the paying party. The target resource may include one or more resource types. The pending resource bill can be used to display the use of the target resource by the resource demander, and may include the cost information incurred by the resource demander for using the target resource.

[0054] In actual applications, the resource provider can generate a pending resource bill for the target resource based on the resource demander's use of the target resource and send it to the resource demander. The resource provider can provide the target resource to the resource demander in the form of a product or sub-product for the resource demander to purchase and use.

[0055] In one or more embodiments of the present specification, target resources mainly refer to cloud service resources, which may specifically include servers, databases, CDNs, etc. Accordingly, resource providers may also be referred to as cloud vendors.

[0056] It is easy to understand that different resource providers may provide services for the same target resource. Different resource providers may provide different product names and sub-product names for the same target resource. Products or sub-products provided by different resource providers for the same target resource may constitute a competitive relationship. A resource provider may also innovate sub-products for the same target resource. In other words, a resource provider may also launch multiple sub-products of the same type, with different sub-products named differently.

[0057] For example, for server-type resources, different cloud providers may be able to provide server-type products. Furthermore, for server-type products, different cloud providers may also be able to provide cloud server-type sub-products or bare metal server-type sub-products.

[0058] For example, for a CDN-type sub-product, a cloud provider may also provide multiple sub-products of the same CDN type. Different sub-products may be named differently, such as A-region network, B-region network, and so on.

[0059] One or more embodiments of the present specification are intended to associate and integrate products of the same type, or sub-products of the same type, provided by different resource providers, so as to achieve high-precision integration of billing data across clouds, products, and sub-products, and further achieve high-precision analysis of billing data; in addition, sub-products newly introduced by resource providers can also be automatically associated with products provided by the resource providers according to the sub-product type, so as to achieve automatic association and automatic classification of sub-product information and product information, without the need for operation and maintenance personnel to manually integrate data or change the underlying code logic.

[0060] Step 204: Determine the association relationship between resource objects corresponding to the resource bill to be processed and the object type of each resource object, wherein each resource object is related to the target resource.

[0061] In actual applications, when obtaining the to-be-processed resource bill sent by the resource provider for the target resource, the association relationship between the resource objects corresponding to the to-be-processed resource bill and the object type of each resource object can be determined.

[0062] Specifically, the resource object may include information in the pending resource bill (such as the name of the resource provider, resource information of the target resource, usage information of the target resource, cost information, etc.), and may also include information associated with the target resource that is not in the pending resource bill (such as the sub-product type, product name, project, tenant, etc. corresponding to the target resource). The association relationship between each resource object can be understood as the association relationship between each resource object (such as the association relationship between cloud business and product, the association relationship between product and sub-product, the association relationship between sub-product and sub-product type, the association relationship between sub-product and tenant, etc.). Object types can represent different types of information, such as project type information (project 1, project 2, ..., project n); tenant type information (tenant 1, tenant 2, ..., tenant n); sub-product name type information (sub-product 1, sub-product 2, ..., sub-product n); product name type information (cloud product 1, cloud product 2, ..., cloud product n); sub-product type information (sub-product type a, sub-product type b, ...); expense type information (sub-product expense 1, sub-product expense 2, ..., sub-product expense n), etc. Among them, tenants can also be understood as enterprises, departments, project teams, etc.

[0063] According to an optional embodiment of the present specification, determining the association relationship between resource objects corresponding to the resource bill to be processed and the object type of each resource object may include the following steps:

[0064] Extracting the first resource object in the resource bill to be processed, and determining the association relationship between the first resource objects and the object type of the first resource object, wherein the first resource object includes resource information of the target resource;

[0065] According to the resource information, second resource objects that are associated with the first resource object, the associations between the second resource objects, and the object types of the second resource objects are determined.

[0066] Specifically, the first resource object is a resource object that can be directly extracted based on the resource bill to be processed. The second resource object is a resource object determined based on the resource information of the target resource. The resource information of the target resource may include a product name and / or a sub-product name.

[0067] Optionally, the first resource object and the object type of the first resource object can be extracted from the resource bill to be processed, or can also be extracted from a database table corresponding to the resource bill to be processed. The association relationship between the first resource objects can be obtained based on the resource bill to be processed.

[0068] Exemplarily, based on the extraction of the resource bill to be processed, the resource provider name and sub-product 1 name, sub-product 2 name, sub-product 1 fee, and sub-product 2 fee are obtained, then it can be determined that there is an association relationship between the resource provider name and sub-product 1 name, there is an association relationship between the resource provider name and sub-product 2 name, there is an association relationship between sub-product 1 name and sub-product 1 fee, and there is an association relationship between sub-product 2 name and sub-product 2 fee.

[0069] By applying this embodiment, by extracting the first resource object in the resource bill to be processed and determining the second resource object based on the resource information of the target resource, it is possible to obtain each resource object related to the target resource, as well as the association relationship between each resource object and the object type of each resource object. Therefore, based on the type and association relationship of the resource object, it is possible to determine the association relationship between resource objects of different resource providers, thereby achieving high-precision billing data integration, and is conducive to improving the efficiency and accuracy of building the resource object index, and achieving high-precision and efficient billing data analysis.

[0070] Optionally, the second resource object can be determined according to resource information.

[0071] In an optional embodiment of the present specification, determining, according to resource information, a second resource object having an association relationship with a first resource object, an association relationship between second resource objects, and an object type of the second resource object may include the following steps:

[0072] Keywords that identify resource information;

[0073] Determine the resource information type of the resource information according to the keyword;

[0074] Based on the resource information type, the second resource objects, the association relationship between the second resource objects, and the object type of the second resource objects are obtained.

[0075] Specifically, the keyword can be pre-set according to the resource information in the historical resource bill, and the keyword can also be the resource information itself. The resource information type can be understood as the sub-product type.

[0076] Exemplarily, it may be preset that when the keyword “network” exists in the resource information, the resource information type of the resource information is determined to be a CDN type.

[0077] Optionally, when the sub-product type is determined, all projects and tenants using the sub-product of that type can be obtained, and the projects and tenants using the sub-product can be filtered out; or corresponding projects and tenants can be directly queried from the preset relationship table based on the sub-product name. The preset relationship table can also include the association relationship between projects and tenants.

[0078] It should be noted that different tenants may have different permissions on the target resource. For example, tenant 1 has the permission to purchase and use the target resource, while tenant 2 may only have the permission to query the target resource.

[0079] By applying this embodiment, the keyword of the resource information is identified, and the resource information type of the resource information is determined according to the keyword, so that the efficiency of determining the second resource object can be improved.

[0080] According to another optional embodiment of the present specification, determining the association relationship between resource objects corresponding to the resource bill to be processed and the object type of each resource object may also include the following steps:

[0081] The resource bill to be processed is input into the bill processing model to obtain the association relationship between each resource object and the object type of each resource object, wherein the bill processing model is pre-trained based on a training sample set, the training sample set includes multiple training samples and sample labels corresponding to the training samples, the training samples include sample resource bills, the sample resource bills are obtained based on historical resource bills sent by multiple different resource providers, and the sample labels include each sample resource object corresponding to the sample resource bill, the association relationship between each sample resource object, and the object type of each sample resource object.

[0082] Specifically, the bill processing model may include a bill processing module and an index construction module, wherein the bill processing module is used to analyze the bill data of resources to be processed, and output the association relationship between each resource object corresponding to the resource bill to be processed, as well as the object type of each resource object; the index construction module is used to construct an intelligent index between resource objects of different object types according to the association relationship between each resource object and the object type of each resource object.

[0083] Optionally, the bill processing module may be pre-trained based on a training sample set, and the training sample set may include multiple training samples and sample labels corresponding to the training samples. The training samples may include a sample resource bill, and the sample resource bill is obtained based on historical resource bills sent by multiple different resource providers. The sample label may include each sample resource object corresponding to the sample resource bill, the association relationship between each sample resource object, and the object type of each sample resource object.

[0084] Optionally, an intelligent index building function may be pre-loaded in the index building module, and model parameters may be continuously adjusted and optimized according to query information and query frequency.

[0085] Furthermore, when the association relationship between resource objects corresponding to the resource bill to be processed and the object type of each resource object are determined, each resource object can be stored in the storage space according to the resource object type.

[0086] By applying this embodiment, through modeling and training, it is possible to train a bill processing model that can analyze the resource bills to be processed based on historical resource bills from multiple different resource providers and labels annotated for the data in the historical resource bills, thereby improving the efficiency of extracting and analyzing bill data, and improving the association relationship between resource objects and the efficiency of obtaining the object type of each resource object.

[0087] Step 206: construct a resource object index according to the association relationship and object type between each resource object, wherein the resource object index is used to represent resource association information between resource objects of different object types, and the resource objects correspond to different resource providers.

[0088] According to an optional embodiment of the present specification, a resource object index may be constructed based on the association relationship and object type between resource objects.

[0089] According to another optional embodiment of the present specification, when a resource object index is constructed in advance according to an existing resource bill, the resource object index may also be updated according to the association relationship and object type between resource objects.

[0090] Specifically, the resource object index can be understood as an intelligent index.

[0091] Optionally, the resource association information may include multi-dimensional association relationships between resource object sets of different object types.

[0092] Exemplarily, resource association information may include the association relationship between the product set corresponding to the same type of products and the sub-product set corresponding to the sub-products of the same type under each product, that is, the association relationship between the product set and the sub-product set. For example, there is an association relationship between the server product set corresponding to server product 1, server product 2, ..., server product n and the cloud server sub-product set corresponding to cloud server 1, cloud server 2, ..., cloud server n. Alternatively, there is an association relationship between the cloud server sub-product set and the cloud merchant name set corresponding to cloud merchant 1, cloud merchant 2, ..., cloud merchant n. Alternatively, there is an association relationship between the cloud server sub-product set and the tenant set corresponding to tenant 1, tenant 2, ..., tenant n.

[0093] Optionally, the resource association information may also include an association relationship between a resource object set of the same object type and resource objects of different object types.

[0094] Exemplarily, CDN sub-product 1, CDN sub-product 2, ..., CDN sub-product n of the same sub-product type may have an association relationship with the sub-product type CDN.

[0095] In the actual implementation process, based on the association relationship between resource objects of different object types corresponding to the resource bill to be processed obtained by AI model identification, the results output by the AI ​​model can be stored as data, so that it can be better integrated into the billing method of the local IDC and realize the billing system of AI hybrid cloud billing.

[0096] In an optional embodiment of the present specification, constructing a resource object index according to the association relationship and object type between resource objects may include the following steps:

[0097] According to the object type, determine the target storage location corresponding to each resource object in the storage space and store each resource object, wherein one storage location in the storage space corresponds to one object type;

[0098] Based on the association relationship between resource objects and the target storage location, a resource object index is constructed.

[0099] Specifically, the target storage location can be understood as a column in a database table. A column in a database table can correspond to an object type.

[0100] By applying this embodiment, by determining the target storage location corresponding to each resource object in the storage space according to the object type and storing each resource object, it is possible to automatically build and maintain an intelligent index between resource objects of different object types based on the association relationship and the target storage location between the resource objects, thereby improving data query efficiency.

[0101] In an optional embodiment of the present specification, constructing a resource object index based on the association relationship between resource objects and the target storage location may include the following steps:

[0102] According to the association relationship between the resource objects, based on the first target storage bit, a first target object package is constructed, and a second target object associated with the first target object package is determined, wherein the first target storage bit is any one of the target storage bits, the resource objects in the first target object package belong to the first target storage bit, the second target objects belong to the second target storage bit, and the second target storage bit is different from the first target storage bit;

[0103] A resource object index between the first target object package and the second target object is constructed.

[0104] In actual applications, when an intelligent index is not constructed in advance for resource objects in the first target storage location, a first target object package can be constructed based on the first target storage location according to the association relationship between the resource objects.

[0105] Specifically, the second target object may include one or more.

[0106] Optionally, in the case where there are multiple second target objects, a second target object package may be constructed, and an intelligent index between the first target object package and the second target object package may be established.

[0107] Furthermore, in the process of constructing the intelligent index, statistical information for the first target object package or the second target object package may also be obtained.

[0108] Exemplarily, when the first target storage location is of a fee type, the total fee corresponding to each resource object in the first target object package may be obtained by statistics.

[0109] By applying this embodiment, a first target object package is constructed based on the first target storage bit according to the association relationship between each resource object, and a second target object that has an association relationship with the first target object package is determined. This allows the construction of an association relationship between two different types of resource object packages, thereby achieving high-precision integration of resource objects corresponding to different resource providers, and enabling the reading of the entire data that has an association relationship, thereby improving data query efficiency.

[0110] In another optional embodiment of the present specification, constructing a resource object index based on the association relationship between resource objects and the target storage location may include the following steps:

[0111] According to the association relationship between each resource object, determine the first target object package to which the first target resource object in each resource object belongs, wherein the first target object package is pre-constructed according to the resource object in the first target storage position that has an association relationship with the second target object, a resource object index is pre-constructed between the first target object package and the second target object, the second target object belongs to the second target storage position, and the second target storage position is different from the first target storage position;

[0112] Add the first target resource object to the first target object bundle.

[0113] Specifically, the object type of the first target resource object is the same as the object type corresponding to the first target storage bit.

[0114] In practical applications, when a smart index is pre-built for the resource object in the first target storage location, the smart index can be updated based on the first target resource object. Specifically, the first target resource object can be added to the first target object package.

[0115] By applying this embodiment, the pre-built intelligent index can be updated based on the new bill data in the resource bill to be processed, thereby realizing automatic classification of the bill data and improving the efficiency and accuracy of data query based on the intelligent index.

[0116] According to an optional embodiment of the present specification, after constructing the resource object index according to the association relationship and object type between the resource objects, the following steps may also be included:

[0117] In response to a resource processing task for a target object type, determining a task type of the resource processing task;

[0118] According to the task type, obtaining a target resource object index corresponding to a target resource object of a target object type, wherein the target resource object corresponds to at least one resource provider;

[0119] Execute resource processing tasks according to the target resource object index and obtain task processing results.

[0120] Specifically, resource processing tasks may include multi-dimensional display, multi-dimensional settlement, notification, early warning, and allocation.

[0121] In actual applications, the target resource object index corresponding to the target resource object can be determined based on the task type of the resource processing task according to intelligent rule matching, and the resource processing task can be executed based on the target resource object index to obtain the task processing result.

[0122] For example, when the resource processing task is a multi-dimensional display task, the intelligent index corresponding to the resource object of the object type can be obtained according to the object type of the data to be displayed. For example, to display the total expenses of the sub-products of the cloud server type in the past month, all the sub-products under the cloud server type and the total expenses corresponding to all the sub-products under the cloud server type can be obtained according to the intelligent index of the cloud server type.

[0123] Exemplarily, in the case where the resource processing task is a notification task, the total costs corresponding to the sub-products under each sub-product type can be obtained according to the intelligent index corresponding to each sub-product type, and the total costs corresponding to each sub-product type can be sent to the persons in charge and departments of different sub-product types, or the total costs corresponding to each sub-product type can be sent to the same relevant person in charge and department.

[0124] For example, when the resource processing task is a warning task, the total cost of the sub-products under each sub-product type can be obtained according to the intelligent index corresponding to each sub-product type, and it is determined whether the total cost of each sub-product type exceeds the preset cost threshold. If it exceeds, a warning message for the sub-product of this type is issued.

[0125] Exemplarily, in the case where the resource processing task is a shared task, the total costs corresponding to the sub-products under each sub-product type and the projects and / or departments associated with each sub-product type can be obtained according to the intelligent index corresponding to each sub-product type; based on the projects and / or departments associated with the sub-product type, the total costs of sub-products of this type are shared.

[0126] An embodiment of the present specification implements obtaining a pending resource bill sent by a resource provider for a target resource; determining the association relationship between resource objects corresponding to the pending resource bill, and the object type of each resource object, wherein each resource object is related to the target resource; constructing a resource object index based on the association relationship and object type between the resource objects, wherein the resource object index is used to represent resource association information between resource objects of different object types, and the resource objects correspond to different resource providers.

[0127] In this way, by determining the association relationships between the resource objects corresponding to the resource bill to be processed, as well as the object type of each resource object, the data in the bill can be classified and integrated with high precision according to the object type and association relationship; by constructing a resource object index based on the association relationships and object types between the resource objects, the resource objects corresponding to different resource providers can be integrated and analyzed across resource providers according to the association relationships and object types, thereby improving the efficiency and accuracy of bill data processing.

[0128] See also Figure 3 , Figure 3 A flow chart of the model training process of a bill data processing method provided in one embodiment of the present specification is shown.

[0129] During the modeling and training phase of the AI ​​model, historical billing data sent by each cloud vendor can be collected, such as historical bills of cloud vendor A, historical bills of cloud vendor B, historical bills of cloud vendor C, historical bills of cloud vendor D, etc. Multiple historical bills corresponding to different cloud vendors can be used as samples, and the same type of data can be labeled and keywords can be set to obtain sample labels. When there are enough samples, the AI ​​model will have the ability to make automatic decisions and identify product information categories. Based on this model, future multi-cloud billing files can be directly placed in the model to automatically identify the categories and associations of products and sub-products. The categories and associations of products and sub-products obtained by the AI ​​model based on historical bills and newly input bills can be stored, thereby realizing cross-cloud data classification and storage.

[0130] See also Figure 4 , Figure 4 A schematic diagram of model training of a bill data processing method provided by an embodiment of this specification is shown.

[0131] After modeling and training the AI ​​model so that it has the ability to make automatic decisions and identify product information categories, the AI ​​model can also be used to generate intelligent indexes to improve the efficiency of multi-dimensional queries. Figure 4 As shown, the intelligent index can be used to characterize the association relationship between multiple data of different types, such as the association relationship between multiple cloud providers and multiple projects, the association relationship between multiple projects and multiple tenants, the association relationship between multiple tenants and multiple cloud products, the association relationship between multiple cloud products and the sub-products corresponding to each cloud product, the association relationship between sub-products and sub-product costs, etc.

[0132] See also Figure 5 , Figure 5 A flowchart of the application process of a bill data processing method provided by an embodiment of the present specification is shown.

[0133] Model A and Model B can be trained based on the existing original billing data, so that Model A has the ability to make automatic decisions and identify product information categories, and Model B has the ability to automatically build intelligent indexes based on the correlation between data.

[0134] Furthermore, model A can analyze the raw bill data that will continue to increase in the future, and output the sub-product type, the product corresponding to the sub-product, the cloud business, and other information in the newly added raw bill data, as well as the relationship between these information. The above information output by model A can be stored in a storage device, and through intelligent indexing and intelligent rule matching, multi-dimensional display, multi-dimensional settlement, notification, early warning, allocation and other tasks can be processed.

[0135] Corresponding to the above method embodiment, this specification also provides a bill data processing device embodiment, Figure 6 FIG. 1 is a schematic diagram showing the structure of a bill data processing device provided by an embodiment of the present specification. Figure 6 As shown, the device comprises:

[0136] The acquisition module 602 is configured to acquire a to-be-processed resource bill sent by a resource provider for target resources.

[0137] The determination module 604 is configured to determine the association relationship between resource objects corresponding to the resource bill to be processed and the object type of each resource object, wherein each resource object is related to the target resource.

[0138] Construction module 606: is configured to construct a resource object index according to the association relationship and object type between each resource object, wherein the resource object index is used to represent resource association information between resource objects of different object types, and the resource objects correspond to different resource providers.

[0139] Optionally, the determination module 604 is further configured to:

[0140] Extracting the first resource object in the resource bill to be processed, and determining the association relationship between the first resource objects and the object type of the first resource object, wherein the first resource object includes resource information of the target resource;

[0141] According to the resource information, second resource objects that are associated with the first resource object, the associations between the second resource objects, and the object types of the second resource objects are determined.

[0142] Optionally, the determination module 604 is further configured to:

[0143] Keywords that identify resource information;

[0144] Determine the resource information type of the resource information according to the keyword;

[0145] Based on the resource information type, the second resource objects, the association relationship between the second resource objects, and the object type of the second resource objects are obtained.

[0146] Optionally, the determination module 604 is further configured to:

[0147] The resource bill to be processed is input into the bill processing model to obtain the association relationship between each resource object and the object type of each resource object, wherein the bill processing model is pre-trained based on a training sample set, the training sample set includes multiple training samples and sample labels corresponding to the training samples, the training samples include sample resource bills, the sample resource bills are obtained based on historical resource bills sent by multiple different resource providers, and the sample labels include each sample resource object corresponding to the sample resource bill, the association relationship between each sample resource object, and the object type of each sample resource object.

[0148] Optionally, the construction module 606 is further configured to:

[0149] According to the object type, determine the target storage location corresponding to each resource object in the storage space and store each resource object, wherein one storage location in the storage space corresponds to one object type;

[0150] Based on the association relationship between resource objects and the target storage location, a resource object index is constructed.

[0151] Optionally, the construction module 606 is further configured to:

[0152] According to the association relationship between the resource objects, based on the first target storage bit, a first target object package is constructed, and a second target object associated with the first target object package is determined, wherein the first target storage bit is any one of the target storage bits, the resource objects in the first target object package belong to the first target storage bit, the second target objects belong to the second target storage bit, and the second target storage bit is different from the first target storage bit;

[0153] A resource object index between the first target object package and the second target object is constructed.

[0154] Optionally, the construction module 606 is further configured to:

[0155] According to the association relationship between each resource object, determine the first target object package to which the first target resource object in each resource object belongs, wherein the first target object package is pre-constructed according to the resource object in the first target storage position that has an association relationship with the second target object, a resource object index is pre-constructed between the first target object package and the second target object, the second target object belongs to the second target storage position, and the second target storage position is different from the first target storage position;

[0156] Add the first target resource object to the first target object bundle.

[0157] Optionally, the bill data processing device further includes a processing module configured to:

[0158] In response to a resource processing task for a target object type, determining a task type of the resource processing task;

[0159] According to the task type, obtaining a target resource object index corresponding to a target resource object of a target object type, wherein the target resource object corresponds to at least one resource provider;

[0160] Execute resource processing tasks according to the target resource object index and obtain task processing results.

[0161] By applying this embodiment, by determining the association relationship between each resource object corresponding to the resource bill to be processed, as well as the object type of each resource object, the data in the bill can be classified and integrated with high precision according to the object type and association relationship; by constructing a resource object index based on the association relationship and object type between each resource object, the resource objects corresponding to different resource providers can be integrated and analyzed across resource providers according to the association relationship and object type, thereby improving the efficiency and accuracy of bill data processing.

[0162] The above is a schematic scheme of a bill data processing device of this embodiment. It should be noted that the technical scheme of the bill data processing device and the technical scheme of the above-mentioned bill data processing method belong to the same concept, and the details not described in detail in the technical scheme of the bill data processing device can be referred to the description of the technical scheme of the above-mentioned bill data processing method.

[0163] Figure 7 The block diagram of a computing device 700 according to an embodiment of the present specification is shown. The components of the computing device 700 include but are not limited to a memory 710 and a processor 720. The processor 720 is connected to the memory 710 via a bus 730, and the database 750 is used to store data.

[0164] The computing device 700 also includes an access device 740 that enables the computing device 700 to communicate via one or more networks 760. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 740 may include one or more of any type of network interface, wired or wireless (e.g., a network interface card (NIC)), such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a Universal Serial Bus (USB) interface, a cellular network interface, a Bluetooth interface, and a Near Field Communication (NFC).

[0165] In one embodiment of the present specification, the above components of the computing device 700 and Figure 7 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 7 The computing device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0166] The computing device 700 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 700 may also be a mobile or stationary server.

[0167] The processor 720 is used to execute the following computer executable instructions, which, when executed by the processor, implement the steps of the above-mentioned bill data processing method.

[0168] The above is a schematic scheme of a computing device of this embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the above-mentioned bill data processing method belong to the same concept, and the details not described in detail in the technical scheme of the computing device can be referred to the description of the technical scheme of the above-mentioned bill data processing method.

[0169] An embodiment of the present specification also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the above-mentioned bill data processing method.

[0170] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the above-mentioned billing data processing method belong to the same concept, and the details not described in detail in the technical scheme of the storage medium can be referred to the description of the technical scheme of the above-mentioned billing data processing method.

[0171] An embodiment of the present specification also provides a computer program product, including a computer program / instruction, which implements the steps of the above-mentioned bill data processing method when executed by a processor.

[0172] The above is a schematic scheme of a computer program product of this embodiment. It should be noted that the technical scheme of the computer program product and the technical scheme of the above-mentioned bill data processing method belong to the same concept, and the details not described in detail in the technical scheme of the computer program product can be referred to the description of the technical scheme of the above-mentioned bill data processing method.

[0173] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0174] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of patent practice. For example, in some regions, according to patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0175] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the embodiments of this specification are not limited by the order of the actions described, because according to the embodiments of this specification, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the embodiments of this specification.

[0176] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0177] The preferred embodiments of this specification disclosed above are only used to help explain this specification. The optional embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of the embodiments of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the embodiments of this specification, so that technicians in the relevant technical field can well understand and use this specification. This specification is only limited by the claims and their full scope and equivalents.

Claims

1. A bill data processing method, It is characterized in that include: Obtain the pending resource bill sent by the resource provider for the target resource; Determine the association relationship between resource objects corresponding to the resource bill to be processed and the object type of each resource object, wherein each resource object is related to the target resource; A resource object index is constructed according to the association relationship between the resource objects and the object type, wherein the resource object index is used to represent resource association information between resource objects of different object types, and the resource objects correspond to different resource providers.

2. The method according to claim 1, It is characterized in that The determining the association relationship between the resource objects corresponding to the resource bill to be processed and the object type of the resource objects includes: Extracting the first resource object in the to-be-processed resource bill, and determining the association relationship between the first resource objects and the object type of the first resource object, wherein the first resource object includes resource information of the target resource; According to the resource information, a second resource object associated with the first resource object, an association relationship between the second resource objects, and an object type of the second resource object are determined.

3. The method according to claim 2, It is characterized in that The determining, according to the resource information, a second resource object having an association relationship with the first resource object, an association relationship between the second resource objects, and an object type of the second resource object includes: A keyword identifying the resource information; Determining the resource information type of the resource information according to the keyword; Based on the resource information type, the second resource objects, associations between the second resource objects, and object types of the second resource objects are obtained.

4. The method according to claim 1, It is characterized in that The determining the association relationship between the resource objects corresponding to the resource bill to be processed and the object type of the resource objects includes: The resource bill to be processed is input into a bill processing model to obtain the association relationship between the resource objects and the object type of the resource objects, wherein the bill processing model is pre-trained based on a training sample set, the training sample set includes multiple training samples and sample labels corresponding to the training samples, the training samples include sample resource bills, the sample resource bills are obtained based on historical resource bills sent by multiple different resource providers, and the sample labels include sample resource objects corresponding to the sample resource bills, the association relationship between the sample resource objects, and the object type of the sample resource objects.

5. The method according to any one of claims 1 to 4, It is characterized in that The step of constructing a resource object index according to the association relationship between the resource objects and the object type includes: According to the object type, determine the target storage bits corresponding to the resource objects in the storage space and store the resource objects, wherein one storage bit in the storage space corresponds to one object type; A resource object index is constructed based on the association relationship between the resource objects and the target storage location.

6. The method according to claim 5, It is characterized in that The constructing a resource object index based on the association relationship between the resource objects and the target storage location includes: According to the association relationship between the resource objects, based on the first target storage bit, a first target object package is constructed, and a second target object associated with the first target object package is determined, wherein the first target storage bit is any one of the target storage bits, the resource objects in the first target object package belong to the first target storage bit, the second target objects belong to the second target storage bit, and the second target storage bit is different from the first target storage bit; A resource object index between the first target object package and the second target object is constructed.

7. The method according to claim 5, It is characterized in that The constructing a resource object index based on the association relationship between the resource objects and the target storage location includes: Determine, according to the association relationship between the resource objects, a first target object package to which a first target resource object among the resource objects belongs, wherein the first target object package is pre-constructed according to a resource object in a first target storage location that has an association relationship with a second target object, a resource object index is pre-constructed between the first target object package and the second target object, the second target object belongs to a second target storage location, and the second target storage location is different from the first target storage location; Add the first target resource object to the first target object package.

8. The method according to claim 1, It is characterized in that After constructing the resource object index according to the association relationship between the resource objects and the object type, the method further includes: In response to a resource processing task for a target object type, determining a task type of the resource processing task; According to the task type, obtaining a target resource object index corresponding to a target resource object of the target object type, wherein the target resource object corresponds to at least one resource provider; The resource processing task is executed according to the target resource object index to obtain a task processing result.

9. A bill data processing device, It is characterized in that include: An acquisition module is configured to acquire a pending resource bill sent by a resource provider for a target resource; A determination module is configured to determine the association relationship between resource objects corresponding to the resource bill to be processed and the object type of each resource object, wherein each resource object is related to the target resource; The construction module is configured to construct a resource object index according to the association relationship between the resource objects and the object type, wherein the resource object index is used to represent resource association information between resource objects of different object types, and the resource objects correspond to different resource providers.

10. A computing device, It is characterized in that include: Memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions. When the computer programs / instructions are executed by the processor, the steps of the bill data processing method according to any one of claims 1 to 8 are implemented.

11. A computer-readable storage medium, It is characterized in that It stores a computer program / instruction, which, when executed by a processor, implements the steps of the bill data processing method described in any one of claims 1-8.

12. A computer program product, It is characterized in that The invention comprises a computer program / instruction, which, when executed by a processor, implements the steps of the bill data processing method according to any one of claims 1 to 8.