Data processing method and device, equipment and storage medium

The dynamic abbreviation processing method is used to match the user numbers in the group's SMS business, and the billing amounts are combined for auditing, which solves the problems of large calculation volume and insufficient accuracy in the existing technology, and improves the efficiency and accuracy of bill auditing.

CN118803628AActive Publication Date: 2024-10-18CHINA MOBILE GROUP ANHUI +1

Patent Information

Application Number
CN202311478465.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-06
Publication Date
2024-10-18
Estimated Expiration
2043-11-06

AI Technical Summary

Technical Problem

In the group SMS business scenario, the existing technology has problems such as large calculation amount, low efficiency and insufficient accuracy due to the inconsistency and dynamic changes of settlement data and bill data when performing settlement audit.

Method used

By obtaining the bill data generated by the two systems, the dynamic abbreviation processing method is used to match the user numbers, and the billing amounts are combined for auditing to determine whether there are any abnormalities in the billing of the target number, thereby reducing the amount of calculation and improving audit efficiency.

Benefits of technology

It can quickly determine whether there is an abnormality in the settlement amount of the target number, improve the efficiency and accuracy of bill audit, and avoid errors in audit results caused by different user numbers.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118803628A_ABST
    Figure CN118803628A_ABST
Patent Text Reader

Abstract

The invention discloses a data processing method and device, equipment and a storage medium. The method comprises the following steps: acquiring first bill data generated by a first system and second bill data generated by a second system; performing bit reduction processing on a first number in the first bill data to obtain at least one second number corresponding to the first number; determining a target number according to a second number corresponding to each first number and the second bill data; determining the sum of charging amounts of a first number corresponding to a second number matched with the target number in the first bill data or the charging amount of the target number in the first bill data as a first charging amount of the target number in the first bill data; and determining whether the charging of the target number is abnormal according to the first charging amount and the charging amount of the target number in the second bill data. The bill auditing efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and in particular, relates to a data processing method, device, equipment, and storage medium. Background Art

[0002] In the scenario of group SMS business, when group SMS is sent to user numbers outside the province, the communication operator in the province will settle with the operator in the province to which the user number belongs. When conducting business settlement audit, the existing group SMS business audit method is to collect settlement bills and billing bills separately, and conduct audits based on whether the key fields in the two types of bills (such as billing number, bill time) are consistent.

[0003] However, when opening an account, a group customer is assigned a port as the SMS sending port, and the group is allowed to dynamically change the port, that is, the MAS business supports number expansion, so the service number for sending SMS messages by the same group may include multiple different numbers. Due to the different systems for generating settlement data and billing data, the numbers of the same group may not be consistent, and the number of group businesses is huge, resulting in a large amount of calculations required during the audit of the conversation data, which is inefficient. Summary of the invention

[0004] The embodiments of the present application provide a data processing method, apparatus, device, and storage medium that can improve the efficiency of bill auditing.

[0005] In a first aspect, an embodiment of the present application provides a data processing method, the method comprising:

[0006] Acquire first billing data generated by the first system and second billing data generated by the second system;

[0007] Performing digit reduction processing on the first number to obtain at least one second number corresponding to the first number, wherein the number of digits of the second number is less than or equal to the number of digits of the first number, and the first number is the user number in the first bill data;

[0008] Determine a target number according to the second number corresponding to each of the first numbers and the second bill data, wherein the target number includes at least one of the following: a user number matching the second number in the second bill data, and a first number corresponding to the second number and having no matching user number in the second bill data;

[0009] Determine a first billing amount of the target number in the first billing data, where the first billing amount is the sum of the billing amounts of the first number corresponding to the second number matching the target number in the first billing data, or the first billing amount is the billing amount of the target number in the first billing data;

[0010] A verification result of the target number is determined according to the first billing amount and the billing amount of the target number in the second bill data, and the verification result is used to indicate whether there is an abnormality in the billing of the target number.

[0011] In a second aspect, an embodiment of the present application provides a data processing method device, the device comprising:

[0012] A first acquisition module, used to acquire first billing data generated by a first system and second billing data generated by a second system;

[0013] a reduction processing module, configured to reduce the number of digits of a first number to obtain at least one second number corresponding to the first number, the number of digits of the second number being less than or equal to the number of digits of the first number, and the first number being a user number in the first bill data;

[0014] a matching module, configured to determine a target number according to the second number corresponding to each of the first numbers and the second bill data, wherein the target number includes at least one of the following: a user number in the second bill data that matches the second number, and a first number for which the corresponding second number does not have a matching user number in the second bill data;

[0015] a first determination module, configured to determine a first billing amount of the target number in the first billing data, the first billing amount being the sum of billing amounts of a first number corresponding to a second number matching the target number in the first billing data, or the first billing amount being the billing amount of the target number in the first billing data;

[0016] The second determination module is used to determine the verification result of the target number according to the first billing amount and the billing amount of the target number in the second bill data, and the verification result is used to indicate whether there is an abnormality in the billing of the target number.

[0017] In a third aspect, an embodiment of the present application provides a data processing method device, the device comprising: a processor and a memory storing computer program instructions;

[0018] The above data processing method is implemented when the processor executes computer program instructions.

[0019] In a fourth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the above data processing method is implemented.

[0020] In a fifth aspect, an embodiment of the present application provides a computer program product, which includes computer program instructions, and the computer program instructions implement the above data processing method when executed by a processor.

[0021] The data processing method provided by the present application can obtain the first billing data generated by the first system and the second billing data generated by the second system; reduce the number of digits of the first number in the first billing data to obtain at least one second number corresponding to the first number; determine the target number according to the second number and the second billing data corresponding to each first number; sum the billing amount of the first number corresponding to the second number matching the target number in the first billing data, or determine the billing amount of the target number in the first billing data as the first billing amount of the target number in the first billing data; then determine whether there is an abnormality in the billing of the target number according to the first billing amount and the billing amount of the target number in the second billing data. Thus, by matching the user number in the first billing data with the user number in the billing bill data by a dynamic reduction method, after merging the billing amounts of multiple numbers matching the target number of the billing bill in the settlement bill, and then auditing with the billing amount of the target number, it is possible to quickly determine whether there is an abnormality in the settlement amount of the target number, reduce the amount of calculation for auditing, and thus improve the efficiency of bill auditing. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 It is a flowchart of a data processing method provided by an embodiment of the present application;

[0024] Figure 2 is a flowchart of a data processing method provided by another embodiment of the present application;

[0025] Figure 3 is a schematic diagram of a data processing system provided by an embodiment of the present application;

[0026] Figure 4 is a structural diagram of a data processing device provided by an embodiment of the present application;

[0027] Figure 5 is a structural schematic diagram of a data processing device provided in one embodiment of the present application;

[0028] Figure 6It is a schematic diagram of the first bill data provided by an embodiment of the present application. DETAILED DESCRIPTION

[0029] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0030] It should be noted that, in this article, relational terms such as target 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. Moreover, the terms "include", "comprise" 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 "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0031] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application may be combined with each other.

[0032] The characteristics of group SMS service and personal SMS service are different. When a personal customer sends a text message, the length of the sending number in the SMS bill is fixed, that is, the user's mobile phone number. However, the group SMS service is different, and its sending port is allowed to change dynamically. When the group customer opens an account, a port is assigned as the SMS sending port, such as 10692423, but the MAS service supports number expansion. The group customer can use 106924230447374, 106924230447401, 10692423111830086, 10692423111830113, 10692423111830236 and other service ports to send text messages to users. Therefore, the same group service number for group SMS can be dynamically expanded, that is, the sending number of group SMS can change dynamically.

[0033] The group SMS sending system is composed of the MAS (Mobile Agent Server) deployed in the group and the SMS gateway deployed in the communication operator. The MAS server initiates a login request to the SMS gateway and submits a downlink SMS (the MAS server sends SMS to mobile phone users). The provincial communication operator charges the MAS connected to the province by the message (for example, 0.05 yuan / message). At the same time, for users whose receiving mobile phone numbers are not in the province, the provincial group SMS business settlement is carried out with the provincial operator of the mobile phone number according to a certain settlement unit price (for example, 0.03 yuan / message). Therefore, due to the fact that the sending number of the group SMS can change dynamically, it is very difficult to audit the settlement bill.

[0034] There are two traditional settlement auditing methods: one is to audit the year-on-year and month-on-month fluctuations of the monthly settlement amount separately; the other is to collect settlement bills and billing bills separately, and audit whether the key fields in the two types of bills (such as billing number, bill time) are consistent. Method one is not effective for the group's SMS business. The group's SMS sending volume is limited by whether there is marketing business in the month (such as Double Eleven, etc.), and the month-on-month fluctuation is generally large. The volatility cannot explain the problem. Therefore, the settlement audit using method one has the problem of low accuracy. When using method two, the audit volume of bills is tens of billions or even more calculations, because the calculation side is the full amount of users, and the settlement side is only users from other provinces. Not only is the calculation volume large, but the audit rules are also complicated. In addition, the service code in the group's SMS bill is dynamically changeable, and the billing data and settlement data are not completely consistent, so a simple bill number association cannot be accurately audited.

[0035] In summary, traditional settlement auditing methods have many shortcomings, such as large amount of calculation, insufficient precision, and narrow coverage.

[0036] In order to solve the problems of the prior art, the embodiments of the present application provide a data processing method, device, equipment, and storage medium. The data processing method provided by the embodiments of the present application is first introduced below.

[0037] Figure 1 A schematic flow chart of a data processing method provided by an embodiment of the present application is shown. The method includes the following steps S101 to S105.

[0038] S101, obtaining first billing data generated by a first system and second billing data generated by a second system.

[0039] The first system and the second system generate billing data for the business behavior of the same user within a preset time. However, since different systems use different bill generation rules, formats, etc., it is necessary to audit the billing data of the two systems.

[0040] S102: Perform digit reduction processing on the first number to obtain at least one second number corresponding to the first number.

[0041] The number of digits in the second number is less than or equal to the number of digits in the first number, and the first number is the user number in the first bill data.

[0042] S103: Determine a target number according to the second number and the second bill data corresponding to each first number.

[0043] The target number includes at least one of the following: a user number in the second bill data that matches the second number, and a first number corresponding to the second number that does not have a matching user number in the second bill data.

[0044] S104: Determine a first billing amount of the target number in the first bill data.

[0045] The first billing amount is the sum of the billing amounts of the first number corresponding to the second number matching the target number in the first billing data, or the first billing amount is the billing amount of the target number in the first billing data.

[0046] S105, determining a verification result of the target number according to the first billing amount and the billing amount of the target number in the second bill data, wherein the verification result is used to indicate whether there is an abnormality in the billing of the target number.

[0047] The data processing method provided in the present application can match the user number in the first bill data with the user number in the second bill data by using a dynamic abbreviation method, merge the billing amounts of multiple numbers in the first bill that match the target number of the second bill, and then audit them with the billing amount of the target number in the second bill to determine whether the settlement amount of the target number is abnormal. Therefore, there is no need to audit the entire bill data, and it is possible to quickly determine whether there are settlement anomalies in the user numbers in the two bill data, thereby improving the efficiency of bill auditing.

[0048] In some embodiments, the above S102 may include the following steps:

[0049] Perform the following steps for the first number separately:

[0050] Subtract i digits from the end of the first number to obtain the second number, where i is a natural number;

[0051] matching the second number with a user number in the second billing data;

[0052] If there is no user number matching the second number in the second bill data, let i=i+1;

[0053] Return to the step of subtracting i digits from the end of the first number to obtain a second number, and matching the second number with the user number in the second bill data;

[0054] Until there is a user number matching the second number in the second bill data, the user number matching the second number is determined as the target number, or the value of i is equal to the number of digits of the first number, the first number is determined as the target number.

[0055] In one example, the following algorithm is executed for each first number in the first bill data:

[0056] (1) Initialize variables: i = 0 (the number of bits to be subtracted).

[0057] (2) Determine the second number: Subtract i digits from the end of the first number to obtain the second number.

[0058] (3) Determine whether there is a user number matching the second number in the second billing data:

[0059] If there is a matching user number, the user number is determined as the target number and the algorithm ends;

[0060] If there is no matching user number, perform the following steps:

[0061] Increase the value of i: i=i+1;

[0062] Check if the value of i is equal to the number of digits in the first number;

[0063] If i is equal to the number of digits in the first number, the first number is determined as the target number and the algorithm ends;

[0064] If i is not equal to the number of digits in the first number, return to step (2) and continue with the next round of calculation.

[0065] This algorithm process will gradually subtract a digit from the end of the first number to generate a different second number, and match it with the user number in the second bill data. If there is a matching user number, the user number is determined to be the target number. If no matching user number is found after traversing all possible digits, the first number is determined to be the target number.

[0066] In some embodiments, the above S103 may include the following steps:

[0067] In the case where the target number is a user number that matches the second number in the second bill data, determining a first number corresponding to the second number that matches the target number;

[0068] The sum of the billing amounts of the first number corresponding to the second number matched by the target number in the first bill data is determined as the first billing amount of the target number.

[0069] Specifically, the second number obtained by reducing the digits of the first number in the first bill is matched with the target number in the second bill. There may be multiple first numbers in the first bill that match the same target number in the second bill after the digits are reduced. This situation indicates that these multiple first numbers in the first bill are actually extended numbers of the same user (the user corresponding to the target number). Therefore, the billing amounts of the multiple first numbers corresponding to the target number in the first bill are merged to obtain the billing amount corresponding to the target number in the first bill.

[0070] In this embodiment, the settlement amount of the same user in the first bill and the second bill can be quickly determined, thereby improving the efficiency of bill auditing. Furthermore, the user's extended number can be accurately determined, and the billing amount corresponding to the extended number of the same user can be merged, avoiding errors in the audit results caused by different extended numbers of users, thereby improving the accuracy of bill auditing.

[0071] In some embodiments, the above S104 may include the following steps:

[0072] When the target number is the first number, the billing amount of the target number in the first bill data is determined as the first billing amount of the target number.

[0073] Specifically, when the target number is the first number, it means that the user corresponding to the target number does not have an extended number, so the billing amount of the first number in the first bill and the billing amount in the second bill can be directly audited.

[0074] In some embodiments, the above S105 may include the following steps:

[0075] Subtract the first billing amount from the billing amount of the target number in the second bill data to obtain a first difference;

[0076] When the first difference is less than 0, it is determined that the verification result of the target number is that there is an abnormality in the billing of the target number.

[0077] It should be noted that the first billing data is usually a bill generated for part of the user's business activities, such as the settlement bill of the group's SMS business, which only includes the billing of the group's users' inter-provincial SMS sending activities. The second billing data is usually a bill generated for all of the user's business activities, such as the billing bill of the group's SMS business, which includes the billing of all SMS sending activities of the group's users (including sending SMS to numbers within the province and to numbers outside the province).

[0078] Specifically, after determining the billing amount of the target number in the first bill and the billing amount in the second bill, the difference between the billing amount of the target number in the two bills is calculated. If the billing amount of the target number in the second bill is less than the billing amount of the target number in the first bill, it means that the billing of the target number is abnormal. Therefore, if it is determined that the target number has a billing abnormality, the target number is further checked.

[0079] In some embodiments, the above S105 may include the following steps:

[0080] Get the discount amount of the target number;

[0081] Subtract the first billing amount and the preferential amount from the billing amount of the target number in the second bill data to obtain a second difference;

[0082] When the second difference is less than 0, it is determined that the verification result of the target number is that there is an abnormality in the billing of the target number.

[0083] Specifically, the user may have subscribed to a package or be eligible for preferential settlement. Therefore, in the actual bill generation, the user's billing amount is reduced or exempted. Therefore, in the process of bill audit, the preferential exemption of each user needs to be considered.

[0084] To facilitate understanding, the following data processing method is introduced in combination with specific scenarios. Figure 2 As shown:

[0085] Step S201: Collect user settlement data (equivalent to the first bill data), bill data (equivalent to the second bill data) and account discount data (equivalent to the discount amount data). Specifically: a communication system sends details of the text messages sent by the MAS in the province to users in other provinces in real time to each province, that is, the bill details that need to be settled (equivalent to the second bill data generated by the second system), and generates simple summary data for these settlement bill details, such as Figure 6 As shown in the figure, the settlement data mainly includes: user number (there is no USERID in the settlement system, only user number), settlement period, settlement business (that is, the business to be audited later), and settlement amount (that is, the accumulated amount of the business). The first column is the group number in the call bill, the second column is the account period, the third column is the group SMS business ID, the fifth column is the number of SMS messages, and the sixth column is the settlement amount (in RMB).

[0086] At the beginning of each month, the full amount of billing data (the first billing data generated by the first system) needs to be collected. The billing data mainly includes: user number, user ID, billing period, billing subject (third-level subject in the bill), and billing amount. In order to use the billing data effectively, billing subject data is also introduced. The purpose is to filter out the billing data corresponding to all third-level subjects involving the group's SMS business, and add them together to calculate and audit with the settlement value to determine whether a certain group's SMS business has an inversion.

[0087] For example, the group SMS bill to be audited by Company A includes monthly fees and communication fees. The bill audit configuration items are as follows: type=BSMS:38199,33046,35345,38602,35347,35336,31389,38601,38189,35304,35333,38604,38603,35310|Anhui BSMS.

[0088] For example, the group SMS bill to be audited by Company B includes monthly fees and communication fees. The bill audit configuration items are as follows:

[0089] type=GXBSMS:80400001,80700464,80700465,80131403,80131336,85000045,80132305,801313 41,80701148,80701149,80120061,80120065,80120064,80000000,81900006,82900006|Bidi BSMS.

[0090] Step S202: traverse the settlement data, and use the number A in the settlement data (equivalent to the first number in the first bill data) to match the number in the bill data. In the current production environment, for example, the prefix of a group number is 10692423, but the group can use service ports such as 106924230447374, 106924230447401, 10692423111830086, 10692423111830113, 10692423111830236 to send text messages to users, but the account will be uniformly issued on the 10692423 group number. This number expansion feature of group text messages brings difficulties to the one-to-one corresponding audit method. The solution is to add dynamic abbreviation and dynamic matching technology in the audit system. This technical solution first loads the corresponding numbers in the full month's bill data into the memory for query; secondly, it traverses the settlement data, parses out number A, and uses number A as a keyword to search in the memory.

[0091] Step S203: When the number to be matched does not find a matching number in the bill data, the rightmost character of the number to be matched is deleted (equivalent to the first number minus the tail digit to get the second number), and the number to be matched is matched again until the number B is matched, or the number to be matched is finally an empty character. This is a loop: use the number to be matched 106924230447374 to search in the bill data; if there is no 106924230447374 in the bill number, delete the rightmost character of the number to be matched, and change it to 10692423044737, and search in the bill number again; if there is still no match, the dynamic abbreviation order of the number to be matched is: 1069242304473, 106924230447, 10692423044, 1069242304, 1069242304, 1069242300, 10692423. Until the number to be matched is shortened to 10692423, the corresponding data can be found in the bill number, then the number 10692423 is determined to be the number B to be audited (equivalent to the target number).

[0092] Or, if the bill number never matches any abbreviated number, and the number to be matched eventually becomes an empty string, then the original number, 106924230447374, is used as the number to be audited.

[0093] Step S204: When the abbreviation matches number B, all the settlement amounts of number A are accumulated to number B, and number B is used for subsequent auditing. Specifically: when number A1 is abbreviated to number B, the settlement amount corresponding to number A1 in the settlement data is accumulated to number B; when number A2 can also match number B, the settlement amount corresponding to number A2 in the settlement data is also accumulated to number B; when number AN can also match number B, the settlement amount corresponding to number AN in the settlement data is accumulated to number B. In this way, the amount corresponding to number B is the total amount to be settled by all ports under the group (equivalent to the first billing amount).

[0094] Step S205: When the abbreviation does not match, the subsequent audit is still conducted using number A. Specifically, when the abbreviation does not match, number A is still used as the number to be audited, and the amount corresponding to number A is still the settlement amount in the original settlement file.

[0095] Step S206: Count the settlement amount, bill amount and preferential amount of the audit number according to the audit rules. Specifically: the audit rules are configuration items of the three-level subjects. Auditors can select a certain number of three-level bill subjects as the audit scope as needed (such as the monthly fee and communication fee in the above example). Only the bill amount within the audit scope will be accumulated, otherwise it will not be included in the bill audit amount. The settlement amount refers to the summary value S1 with the same account period and processed by S204 and S205. The bill amount is the summary value A1 with the same account period and processed by the audit rules. The preferential amount refers to the summary value F1 of the account preferential treatment with the same account period.

[0096] Step S207: Calculate the settlement inversion value of the audit number = bill amount + discount amount - settlement amount. Use the value summarized in step S206 to perform audit calculation: D1 = A1 + F1 - S1. When the value of D1 is less than 0, it means that the billing account receivable amount is insufficient to pay the settlement amount, and there is a settlement inversion. Otherwise, there is no settlement inversion.

[0097] In one example, the present application also provides a data processing system, such as Figure 3 The system mainly includes: BOSS 301, dynamic shrinking device 302 and audit calculation device 303. The specific description is as follows:

[0098] BOSS301

[0099] The BOSS system is a business operation support system, which covers system functions such as billing, settlement, and accounting. It is a data processing system, including a calculation storage unit, a bill storage unit, a subject storage unit, and an accounting discount storage unit. The settlement storage unit is mainly responsible for the data settled with the group company, other operators, other provincial companies or professional companies, and is the main audit data source for this plan; the bill storage unit is mainly used to store detailed bill data of users across the province after billing and accounting processing. In the early stage, it was mainly used for financial statements, user queries and big data analysis. It is the main audit data source in this plan; the subject storage unit is a unified format for the entire group, and the same bill subject classification is used throughout the country. It is divided into three levels, mainly constraining the seven categories of bills and bill categories, and plays an important organizational role in this plan; the accounting discount storage unit is mainly the detailed data of discounts on the preferential packages ordered by users after accounting processing, which is an important item in the audit formula of this plan.

[0100] Dynamic shrinking device 302

[0101] The dynamic reduction device is the most important device in this scheme, which includes a data collection unit, a number matching unit, a number reduction unit, a number confirmation unit, a settlement accumulation unit and a bill accumulation unit. The data collection unit is responsible for collecting the audit data of each unit of the required account period from the BOSS system; the number matching unit is responsible for using the group number in the settlement data as the search value, searching in the group number in the bill data, and returning True if there is a completely matched group number, otherwise False; the number reduction unit is responsible for deleting one digit from the rightmost of the non-empty group number and returning the remaining string; the number confirmation unit is responsible for confirming the use of the matched number as the audit number when the matching unit returns True, and confirming the use of the original number as the audit number when the reduction unit returns an empty string; the settlement accumulation unit is responsible for accumulating all the amounts in the settlement data to the audit number confirmed by the confirmation unit, forming a unified settlement data to be audited; the bill accumulation unit is responsible for accumulating all the bill amounts within the audit range to the corresponding audit number according to the audit rule configuration, forming a unified bill data to be audited.

[0102] Auditing computing device 303

[0103] The audit calculation device includes a rule mapping unit, an inversion calculation unit and an audit confirmation unit. The rule mapping unit is used to load a series of storage rules stored in the audit rule device into the memory for subsequent settlement audits; the inversion calculation unit is to collect the data from the data collection unit and format it through the pre-processing unit, and accumulate it into several key fields according to the group or non-group type of the audited business: settlement value S, bill value A, account discount value F, and finally use the following audit formula to calculate the settlement inversion value D = A + FS. The audit confirmation unit selects the details of suspected settlement inversion users with D less than 0 from all settlement users, and uses the function of sorting sampling to facilitate the final settlement inversion audit confirmation by experts.

[0104] Based on the data processing method provided in the above embodiment, the present application also provides a specific implementation of a data processing device. Please refer to the following embodiment.

[0105] See first Figure 4 The data processing device 400 provided in the embodiment of the present application includes the following modules:

[0106] A first acquisition module 401 is used to acquire first billing data generated by a first system and second billing data generated by a second system;

[0107] The abbreviated processing module 402 is used to reduce the number of digits of the first number to obtain at least one second number corresponding to the first number, the number of digits of the second number is less than or equal to the number of digits of the first number, and the first number is the user number in the first bill data;

[0108] A matching module 403 is used to determine a target number according to the second number and the second bill data corresponding to each first number, wherein the target number includes at least one of the following: a user number matching the second number in the second bill data, and a first number corresponding to the second number and having no matching user number in the second bill data;

[0109] A first determination module 404 is used to determine a first billing amount of the target number in the first billing data, where the first billing amount is the sum of the billing amounts of the first number corresponding to the second number matching the target number in the first billing data, or the first billing amount is the billing amount of the target number in the first billing data;

[0110] The second determination module 405 is used to determine the verification result of the target number according to the first billing amount and the billing amount of the target number in the second bill data, and the verification result is used to indicate whether there is an abnormality in the billing of the target number.

[0111] The data processing device provided in this embodiment can match the user number in the first bill data with the user number in the billing bill data by using a dynamic abbreviation method, merge the billing amounts of multiple numbers in the settlement bill that match the target number of the billing bill, and then audit them with the billing amount of the target number to determine whether the settlement amount of the target number is abnormal, thereby improving the accuracy of the bill audit.

[0112] In some embodiments, the above-mentioned shrinking processing module 402 and matching module 403 are specifically used to:

[0113] Perform the following steps for the first number separately:

[0114] Subtract i digits from the end of the first number to obtain the second number, where i is a natural number;

[0115] matching the second number with a user number in the second billing data;

[0116] If there is no user number matching the second number in the second bill data, let i=i+1;

[0117] Return to the step of subtracting i digits from the end of the first number to obtain a second number, and matching the second number with the user number in the second bill data;

[0118] Until there is a user number matching the second number in the second bill data, the user number matching the second number is determined as the target number, or the value of i is equal to the number of digits of the first number, the first number is determined as the target number.

[0119] In some embodiments, the first determining module 404 includes:

[0120] A first determining unit, configured to determine, when the target number is a user number that matches the second number in the second bill data, a first number corresponding to the second number that matches the target number;

[0121] The second determining unit is used to determine the sum of the billing amounts of the first number corresponding to the second number matched by the target number in the first bill data as the first billing amount of the target number.

[0122] In some embodiments, the first determining module 404 includes:

[0123] The third determining unit is configured to determine, when the target number is the first number, a billing amount of the target number in the first bill data as a first billing amount of the target number.

[0124] In some embodiments, the second determining module 405 includes:

[0125] A first calculation unit, configured to subtract the first billing amount from the billing amount of the target number in the second bill data to obtain a first difference;

[0126] The fourth determining unit is used to determine, when the first difference is less than 0, that the verification result of the target number is that there is an abnormality in the billing of the target number.

[0127] In some embodiments, the second determining module 405 includes:

[0128] A first acquisition unit, used to acquire the discount amount of the target number;

[0129] A second calculation unit is used to subtract the first billing amount and the preferential amount from the billing amount of the target number in the second bill data to obtain a second difference;

[0130] The fifth determining unit is used to determine, when the second difference is less than 0, that the verification result of the target number is that there is an abnormality in the billing of the target number.

[0131] Figure 5 A schematic diagram of the hardware structure of a data processing device provided in an embodiment of the present application is shown.

[0132] The data processing device may include a processor 501 and a memory 502 storing computer program instructions.

[0133] Specifically, the processor 501 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0134] The memory 502 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 502 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 502 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 502 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 502 is a non-volatile solid-state memory.

[0135] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0136] The processor 501 implements any one of the data processing methods in the above embodiments by reading and executing computer program instructions stored in the memory 502 .

[0137] In one example, the data processing method and device may further include a communication interface 503 and a bus 510. Figure 5 As shown, the processor 501, the memory 502, and the communication interface 503 are connected via a bus 510 and communicate with each other.

[0138] The communication interface 503 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0139] Bus 510 includes hardware, software or both, and the parts of data processing method equipment are coupled to each other. For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 510 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0140] The data processing method and device can be based on the above embodiment, thereby realizing the combination of Figures 1 to 4 The data processing method and device described.

[0141] In addition, in combination with the data processing method in the above embodiment, the embodiment of the present application may provide a computer storage medium to implement. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the data processing methods in the above embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here. Among them, the above-mentioned computer-readable storage medium may include a non-transitory computer-readable storage medium, such as a read-only memory (Read-Only Memory, referred to as ROM), a random access memory (Random Access Memory, referred to as RAM), a disk or an optical disk, etc., which is not limited here.

[0142] In addition, an embodiment of the present application further provides a computer program product, including computer program instructions, which can implement the steps and corresponding contents of the aforementioned method embodiment when the computer program instructions are executed by a processor.

[0143] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0144] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0145] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0146] Aspects of the present disclosure are described above with reference to the flowchart and / or block diagram of the method, device and computer program product according to the embodiment of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing method device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing method device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0147] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A data processing method, characterized in that: The method comprises: Acquire first billing data generated by the first system and second billing data generated by the second system; Performing digit reduction processing on the first number to obtain at least one second number corresponding to the first number, wherein the number of digits of the second number is less than or equal to the number of digits of the first number, and the first number is the user number in the first bill data; Determine a target number according to the second number corresponding to each of the first numbers and the second bill data, wherein the target number includes at least one of the following: a user number matching the second number in the second bill data, and a first number corresponding to the second number and having no matching user number in the second bill data; Determine a first billing amount of the target number in the first billing data, where the first billing amount is the sum of the billing amounts of the first number corresponding to the second number matching the target number in the first billing data, or the first billing amount is the billing amount of the target number in the first billing data; A verification result of the target number is determined according to the first billing amount and the billing amount of the target number in the second bill data, where the verification result is used to indicate whether there is an abnormality in the billing of the target number.

2. The method according to claim 1, characterized in that The reducing the number of digits of the first number to obtain at least one second number corresponding to the first number; and determining the target number according to the second numbers corresponding to the first numbers and the second bill data, include: Perform the following steps on the first number respectively: Subtract i digits from the end of the first number to obtain a second number, where i is a natural number; matching the second number with a user number in the second billing data; If there is no user number matching the second number in the second bill data, let i=i+1; Return to the step of subtracting i digits from the end of the first number to obtain a second number, and matching the second number with the user number in the second bill data; Until there is a user number matching the second number in the second bill data, the user number matching the second number is determined as the target number, or the value of i is equal to the number of digits of the first number, the first number is determined as the target number.

3. The method according to claim 1, characterized in that The determining a first billing amount of the target number in the first bill data includes: In a case where the target number is a user number in the second bill data that matches the second number, determining a first number corresponding to the second number that matches the target number; The sum of the billing amounts of the first number corresponding to the second number matched by the target number in the first bill data is determined as the first billing amount of the target number.

4. The method according to claim 1, characterized in that: The determining a first billing amount of the target number in the first bill data includes: In the case that the target number is a first number, the billing amount of the target number in the first bill data is determined as a first billing amount of the target number.

5. The method according to claim 1, characterized in that The determining, according to the first billing amount and the billing amount of the target number in the second bill data, a verification result of the target number includes: Subtract the first billing amount from the billing amount of the target number in the second bill data to obtain a first difference; When the first difference is less than 0, it is determined that the verification result of the target number is that there is an abnormality in the billing of the target number.

6. The method according to claim 1, characterized in that The determining, according to the first billing amount and the billing amount of the target number in the second bill data, a verification result of the target number includes: Obtaining the discount amount of the target number; Subtract the first billing amount and the preferential amount from the billing amount of the target number in the second bill data to obtain a second difference; When the second difference is less than 0, it is determined that the verification result of the target number is that there is an abnormality in the billing of the target number.

7. A data processing device, characterized in that: The device comprises: A first acquisition module, used to acquire first billing data generated by a first system and second billing data generated by a second system; a digit reduction processing module, configured to reduce the number of digits of a first number to obtain at least one second number corresponding to the first number, the number of digits of the second number being less than or equal to the number of digits of the first number, and the first number being a user number in the first bill data; a matching module, configured to determine a target number according to the second number corresponding to each of the first numbers and the second bill data, wherein the target number includes at least one of the following: a user number in the second bill data that matches the second number, and a first number for which the corresponding second number does not have a matching user number in the second bill data; a first determination module, configured to determine a first billing amount of the target number in the first billing data, the first billing amount being the sum of billing amounts of a first number corresponding to a second number matching the target number in the first billing data, or the first billing amount being the billing amount of the target number in the first billing data; The second determination module is used to determine the verification result of the target number according to the first billing amount and the billing amount of the target number in the second bill data, and the verification result is used to indicate whether there is an abnormality in the billing of the target number.

8. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the steps of the method according to any one of claims 1 to 5 are implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Method and device for checking charge of communication service

    CN102075899A

  • Simplification method and simplification system for charging and accounting of detailed communication list

    CN103020135A

  • Charging abnormity determination method, device, calculation equipment and computer storage medium

    CN113824847A

  • Call ticket reconciliation method and device, electronic equipment and computer storage medium

    CN116963003A

Cited By

  • Database data processing method and device based on multi-rule dynamic sorting

    CN120470157A

  • A database data processing method and device based on multi-rule dynamic sorting

    CN120470157B