A bill data verification method and device
By reading and comparing the geographical location information in the service bill data, the problem of low efficiency in manual bill verification in the prior art is solved, automatic verification and error correction are realized, and verification efficiency and accuracy are improved.
Patent Information
- Application Number
- CN202111597580.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-24
- Publication Date
- 2025-04-04
- Estimated Expiration
- 2041-12-24
AI Technical Summary
In the prior art, communication service providers need to manually verify service bill data, resulting in low verification efficiency and risk of additional charges.
By reading the geographical location information in the service bill data, obtain the predetermined geographical location of the communication system used by the communication service provider, calculate the distance between different communication systems, determine the number of communication systems whose distance is less than the preset distance, and calculate the difference to determine the accuracy of the bill.
Improves the efficiency of service bill data verification, can automatically identify and correct errors in bills, and prevent the risk of additional charges.
Smart Images

Figure CN114399273B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a bill data verification method and device. Background Art
[0002] The communication service provider can provide communication services to the user equipment through the communication system installed in the communication facilities. For example, the communication facilities can be base stations, and the communication systems can include 5G systems, etc. Currently, the communication service provider can lease communication facilities from the communication facility provider and use the leased communication facilities to provide communication services. The communication facility provider will generate service bill data for different communication systems to charge the communication service provider for service fees.
[0003] However, there may be errors in the service bill data generated by the communication facility provider, which may cause the communication facility provider to charge the communication service provider extra fees. Therefore, it is necessary to verify the service bill data. In the prior art, staff are required to manually verify the service bill data, which is inefficient. Summary of the invention
[0004] The purpose of the embodiment of the present invention is to provide a billing data verification method and device to improve the efficiency of service billing data verification. The specific technical solution is as follows:
[0005] In a first aspect, an embodiment of the present invention provides a bill data verification method, the method comprising:
[0006] Reading the first geographical location of each first communication system for generating a bill, which is recorded in the service bill data;
[0007] Acquire a predetermined second geographic location of a second communication system used by the communication service provider;
[0008] For each first communication system, based on the first geographical location of the first communication system and each second geographical location, determine a first number of second communication systems whose distances to the first communication system are less than a first preset distance;
[0009] For each first communication system, the difference between the second number and the first number corresponding to the first communication system is calculated. If the difference is greater than the preset difference, it is determined that the bill for the communication facilities belonging to the first communication system recorded in the service bill data is incorrect, as a verification result, wherein the second number is: the number of bills for the first geographic location of the first communication system recorded in the service bill data.
[0010] In one embodiment of the present invention, after determining the first number of second communication systems whose distance from the first communication system is less than a preset distance, the method further includes:
[0011] For each first communication system, if the first quantity corresponding to the first communication system is 0, it is determined that the bill of the communication facility to which the first communication system belongs, which is recorded in the service bill data, is incorrect, as a verification result.
[0012] In one embodiment of the present invention, after acquiring the predetermined second geographical location of the second communication system used by the communication service provider, the method further includes:
[0013] For each second communication system, whether the target bill of the communication facility to which the second communication system belongs, recorded in the service bill data, is incorrect is determined as a verification result by:
[0014] Based on the second geographical location of the second communication system and each first geographical location, determining a first communication system whose distance to the second communication system is less than a second preset distance as a target communication system;
[0015] If the third number of the target communication system is greater than the first preset number, it is determined that the target bill is incorrect.
[0016] In one embodiment of the present invention, after determining the first communication system whose distance to the second communication system is less than the second preset distance as the target communication system, the method further includes:
[0017] Determining a charging weight of the target communication system recorded in the service bill data;
[0018] If the fourth number is greater than the second preset number, it is determined that the target bill is incorrect, wherein the fourth number is: the number of target communication systems whose billing weight is greater than or equal to the preset weight.
[0019] In one embodiment of the present invention, the method further comprises:
[0020] The verification results are obtained through the following methods:
[0021] Traversing the service bill data, determining the number of types of different communication facility numbers corresponding to the same communication facility name recorded in the service bill data;
[0022] Find the names of communication facilities whose corresponding types are greater than 1;
[0023] It is determined that the bill for the communication facility indicated by the found communication facility name is incorrect as a result of the verification.
[0024] In a second aspect, an embodiment of the present invention provides a bill data verification device, the device comprising:
[0025] A first location reading module, used for reading the first geographical location of each first communication system for generating the bill, which is recorded in the service bill data;
[0026] A second location acquisition module, used to acquire a predetermined second geographical location of a second communication system used by the communication service provider;
[0027] A first quantity determination module is used to determine, for each first communication system, a first quantity of second communication systems whose distances from the first communication system are less than a first preset distance based on the first geographical location of the first communication system and each second geographical location;
[0028] The first bill verification module is used to calculate, for each first communication system, the difference between a second quantity and the first quantity corresponding to the first communication system. If the difference is greater than a preset difference, it is determined that the bill for the communication facilities belonging to the first communication system recorded in the service bill data is incorrect as a verification result, wherein the second quantity is: the quantity of the bill for the first geographic location of the first communication system recorded in the service bill data.
[0029] In one embodiment of the present invention, the device further comprises:
[0030] The second bill verification module is used to determine, for each first communication system, that the bill of the communication facilities to which the first communication system belongs, recorded in the service bill data is incorrect as a verification result if the first quantity corresponding to the first communication system determined by the first quantity determination module is 0.
[0031] In one embodiment of the present invention, the device further comprises:
[0032] For each second communication system, the following modules are used to determine whether the target bill of the communication facility to which the second communication system belongs, which is recorded in the service bill data, is incorrect, as a verification result:
[0033] a target system determining module, configured to determine, based on the second geographical location of the second communication system and each of the first geographical locations, a first communication system whose distance from the second communication system is less than a second preset distance as a target communication system;
[0034] The third bill checking module is used to determine that the target bill is incorrect if the third number of the target communication system determined by the target system determination module is greater than the first preset number.
[0035] In one embodiment of the present invention, the device further comprises:
[0036] A weight determination module, which determines the billing weight of the target communication system recorded in the service bill data;
[0037] The fourth bill verification module is used to determine that the target bill is incorrect if the fourth number determined by the weight determination module is greater than the second preset number, wherein the fourth number is: the number of target communication systems whose billing weight is greater than or equal to the preset weight.
[0038] In one embodiment of the present invention, the device further comprises:
[0039] The verification results are obtained through the following modules:
[0040] a fifth quantity determination module, configured to traverse the service bill data and determine the number of types of different communication facility numbers corresponding to the same communication facility name recorded in the service bill data;
[0041] A facility name search module is used to search for communication facility names whose corresponding number of types is greater than 1;
[0042] The incorrect bill determining module is used to determine that the bill of the communication facility indicated by the found communication facility name is incorrect as a verification result.
[0043] In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0044] Memory, used to store computer programs;
[0045] The processor is used to implement any method step described in the first aspect when executing a program stored in the memory.
[0046] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, any method step described in the first aspect is implemented.
[0047] In a fifth aspect, an embodiment of the present invention further provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute any of the method steps described in the first aspect.
[0048] Beneficial effects of the embodiments of the present invention:
[0049] An embodiment of the present invention provides a bill data verification method, which first reads the first geographical location of each first communication system that generates a bill and is recorded in the service bill data; then obtains the predetermined second geographical location of the second communication system used by the communication service provider; for each first communication system, based on the first geographical location of the first communication system and each second geographical location, determines a first number of second communication systems that are less than a first preset distance from the first communication system; for each first communication system, calculates the difference between the second number of bills recorded with the first geographical location and the first number corresponding to the first communication system; if the above difference is greater than the preset difference, it is determined that the bill for the communication facilities to which the first communication system belongs, as recorded in the above service bill data, is incorrect.
[0050] As can be seen from the above, the service bill data is data to be verified, and the bills included in the service bill data may be incorrect bills, so the data of the first communication system may be unreliable, while the second geographical location of the second communication system is predetermined and reliable data. In this embodiment, the reliable second geographical location is used as a reference to verify whether the service bill data is incorrect. Currently, one or more communication systems can be installed in each communication facility. The first geographical location of the first communication system installed in the same communication facility recorded in the service bill data is the same. The second number of bills with the first geographical location of the first communication system is the number of communication systems charged in the target facility to which the first communication system belongs, which is recorded in the service bill data. In addition, the first number of second communication systems whose distance from the first communication system is less than the first preset distance is the number of communication systems actually existing and included in the target facility. If the difference between the second number and the first number is greater than the preset difference, it means that the number of communication systems charged is greater than the number of communication systems actually existing, which means that the bills related to the target facility recorded in the service bill data are incorrect. Through the embodiment of the present invention, it is possible to determine the incorrect bills included in the service bill data, and to realize the verification of the service bill data. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and a person skilled in the art can also obtain other drawings based on these drawings.
[0052] Figure 1 A schematic diagram of a flow chart of a first bill data verification method provided by an embodiment of the present invention;
[0053] Figure 2 A schematic diagram of a flow chart of a second bill data verification method provided by an embodiment of the present invention;
[0054] Figure 3 A schematic diagram of a flow chart of a third bill data verification method provided by an embodiment of the present invention;
[0055] Figure 4 A schematic diagram of a fourth method for checking bill data provided by an embodiment of the present invention;
[0056] Figure 5 A schematic diagram of a fifth bill data verification method provided by an embodiment of the present invention;
[0057] Figure 6 A schematic diagram of the structure of a bill data checking device provided by an embodiment of the present invention;
[0058] Figure 7 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0059] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field based on this application belong to the scope of protection of the present invention.
[0060] The prior art has the problem of low efficiency in verifying service billing data. To solve this problem, an embodiment of the present invention provides a billing data verification method and device.
[0061] An embodiment of the present invention provides a method for checking bill data, the method comprising:
[0062] Reading the first geographical location of each first communication system for generating a bill, which is recorded in the service bill data;
[0063] Acquire a predetermined second geographic location of a second communication system used by the communication service provider;
[0064] For each first communication system, based on the first geographical location of the first communication system and each second geographical location, determine a first number of second communication systems whose distances to the first communication system are less than a first preset distance;
[0065] For each first communication system, the difference between the second number and the first number corresponding to the first communication system is calculated. If the above difference is greater than the preset difference, it is determined that the bill for the communication facilities belonging to the first communication system recorded in the above service bill data is incorrect, wherein the above second number is: the number of bills for the first geographic location of the first communication system recorded in the above service bill data.
[0066] As can be seen from the above, the service bill data is data to be verified, and the bills included in the service bill data may be incorrect bills, so the data of the first communication system may be unreliable, while the second geographical location of the second communication system is predetermined and reliable data. In this embodiment, the reliable second geographical location is used as a reference to verify whether the service bill data is incorrect. Currently, one or more communication systems can be installed in each communication facility. The first geographical location of the first communication system installed in the same communication facility recorded in the service bill data is the same. The second number of bills with the first geographical location of the first communication system is the number of communication systems charged in the target facility to which the first communication system belongs, which is recorded in the service bill data. In addition, the first number of second communication systems whose distance from the first communication system is less than the first preset distance is the number of communication systems actually existing and included in the target facility. If the difference between the second number and the first number is greater than the preset difference, it means that the number of communication systems charged is greater than the number of communication systems actually existing, which means that the bills related to the target facility recorded in the service bill data are incorrect. Through the embodiment of the present invention, it is possible to determine the incorrect bills included in the service bill data, and to realize the verification of the service bill data.
[0067] The embodiments of the present invention can be applied to electronic devices capable of data processing, such as computers, mobile phones, and tablet computers.
[0068] It should be noted that in some possible implementations, the electronic device may also be called a terminal device, a user equipment (UE), a server, etc., which is not limited in this embodiment.
[0069] In an embodiment of the present invention, the service bill data may include multiple bills, each of which records attribute information of a charged first communication system, wherein the attribute information includes the first geographical location of the charged first communication system, the charge amount of the first communication system, the billing weight, the communication facility name of the communication facility to which the first communication system belongs, and the communication facility number. The service bill data may be stored in a bill data table, wherein each row in the bill data table stores a bill of the first communication system.
[0070] The above service bill data is data that needs to be verified, so the data contained in the service bill data may be incorrect.
[0071] In addition, multiple communication systems may be installed in each communication facility, and the communication systems installed in the same communication facility have the same geographical location. The first geographical locations of different first communication systems installed in the same communication facility included in the service bill data are the same. For example, the communication facility may be a base station.
[0072] Common communication systems in the prior art include: repeaters, 1.8G LTE (Long Term Evolution) base stations, 2.1G LTE base stations, 800M LTE base stations, CDMA (Code Division Multiple Access) base stations, and 5G base stations. Currently, one communication facility can be installed with one or more of the above communication systems, that is, a maximum of 6 different communication systems can be installed in one communication facility.
[0073] See also Figure 1 , which is a flow chart of a first bill data verification method provided in an embodiment of the present invention, the method includes the following steps S101-S104.
[0074] S101: Read the first geographical location of each first communication system that generates the bill and is recorded in the service bill data.
[0075] Each bill included in the above service bill data corresponds to a first communication system, and the geographical location information included in each bill included in the service bill data can be read separately to obtain the first geographical location of each first communication system.
[0076] The first communication system mentioned above is the charged communication system recorded in the service bill data. The bill of the first communication system is data that needs to be verified, and the data contained in the bill of the first communication system may be inaccurate.
[0077] Specifically, the first geographical location may be expressed in the form of longitude and latitude coordinates.
[0078] S102: Acquire a predetermined second geographical location of a second communication system used by a communication service provider.
[0079] The second communication system used by the communication service provider is the communication system rented by the communication service provider from the communication facility provider, and the second geographical location of the second communication system is predetermined accurate information.
[0080] Specifically, the second geographical location may be expressed in the form of longitude and latitude coordinates.
[0081] S103: For each first communication system, based on the first geographical location of the first communication system and each second geographical location, determine a first number of second communication systems whose distances to the first communication system are less than a first preset distance.
[0082] Specifically, the distance between the second geographical location of each second communication system and the first geographical location of the first communication system may be calculated respectively, and the number of second communication systems whose distances are less than the first preset distance may be counted and used as the first number.
[0083] In addition, the first geographical location of the first communication system can be used as a starting point to determine a geographical range whose distance from the starting point is less than a first preset distance, and the number of second communication systems whose second geographical locations are located within the above geographical range can be counted as the first number.
[0084] The geographical range may be a circular area with the first geographical location as the center and the second preset distance as the radius.
[0085] The first preset distance may be set based on actual conditions, for example, the first preset distance may be 100m, 200m, etc.
[0086] In addition, if the bill of the first communication system included in the service bill data is accurate, then the above-mentioned first geographical location is accurate, and the above-mentioned first geographical location is close to the second geographical location of the second communication system actually existing in the actual application scenario, that is, the distance between the first geographical location and the second geographical location is small.
[0087] The first geographical location is the location of the first communication system and the location of the communication facilities to which the first communication system belongs. Theoretically, it can be considered that the second communication systems that are closer to the first geographical location are the communication systems actually installed in the communication facilities to which the first communication system belongs. The first number is the communication systems actually installed in the communication facilities to which the first communication system belongs.
[0088] S104: For each first communication system, calculate the difference between the second number and the first number corresponding to the first communication system. If the difference is greater than the preset difference, determine that the bill of the communication facilities belonging to the first communication system recorded in the service bill data is incorrect as the verification result.
[0089] The second quantity is: the quantity of bills for the first geographic location of the first communication system recorded in the service bill data.
[0090] Specifically, the first geographical locations of the first communication systems belonging to the same communication facility are the same, and the second number is the number of communication systems charged in the communication facility to which the first communication system belongs, as recorded in the service bill data. The difference between the second number and the first number is the difference between the number of communication systems charged in the communication facility to which the first communication system belongs and the number of communication systems actually existing. If the above difference is greater than the preset difference, that is, the difference is large, it means that there are more communication systems charged than the actual communication systems, and there may be a problem of additional rental fees for the communication systems. It can be determined that the bill for the communication facility to which the first communication system belongs, as recorded in the above service bill data, is incorrect.
[0091] As can be seen from the above, the service bill data is data to be verified, and the bills included in the service bill data may be incorrect bills, so the data of the first communication system may be unreliable, while the second geographical location of the second communication system is predetermined and reliable data. In this embodiment, the reliable second geographical location is used as a reference to verify whether the service bill data is incorrect. Currently, one or more communication systems can be installed in each communication facility. The first geographical location of the first communication system installed in the same communication facility recorded in the service bill data is the same. The second number of bills with the first geographical location of the first communication system is the number of communication systems charged in the target facility to which the first communication system belongs, which is recorded in the service bill data. In addition, the first number of second communication systems whose distance from the first communication system is less than the first preset distance is the number of communication systems actually existing and included in the target facility. If the difference between the second number and the first number is greater than the preset difference, it means that the number of communication systems charged is greater than the number of communication systems actually existing, which means that the bills related to the target facility recorded in the service bill data are incorrect. Through the embodiment of the present invention, it is possible to determine the incorrect bills included in the service bill data, and to realize the verification of the service bill data.
[0092] See also Figure 2 , is a flow chart of a second bill data verification method provided by an embodiment of the present invention, which is similar to the aforementioned Figure 1 Compared with the embodiment shown in the figure, the following step S105 is also included after the above step S103.
[0093] S105: For each first communication system, if the first quantity corresponding to the first communication system is 0, it is determined that the bill of the communication facility to which the first communication system belongs, which is recorded in the above service bill data, is incorrect, as a verification result.
[0094] Specifically, if the first number is 0, it means that there is no second communication system close to the first geographical location in reality, and the first communication system recorded in the service bill data and charged is not any actual second communication system. Therefore, it can be considered that there is an additional charge, and it is determined that the bill for the communication facility to which the first communication system belongs is incorrect.
[0095] From the above, it can be seen that in the embodiment of the present invention, for each first communication system, if the first quantity corresponding to the first communication system is 0, it can be determined that there are additional charges in the service bill data, and it can be determined that the bill of the communication facilities belonging to the first communication system is incorrect, thereby completing the service bill data verification process.
[0096] See also Figure 3 , is a flow chart of a third bill data verification method provided by an embodiment of the present invention, which is similar to the aforementioned Figure 1 Compared with the embodiment shown, after the above step S102, for each second communication system, the following steps S106-S107 are used to determine whether the target bill of the communication facility to which the second communication system belongs, recorded in the above service bill data, is incorrect as a verification result.
[0097] S106: Based on the second geographical location of the second communication system and each first geographical location, determine a first communication system whose distance to the second communication system is less than a second preset distance as a target communication system.
[0098] Specifically, the second geographical location of the second communication system, that is, the geographical location of the communication facilities to which the second communication system belongs, and the target communication system whose distance from the second communication system is less than the second preset distance, that is, the communication system that is charged and is closer to the communication facilities to which the second communication system belongs. In theory, if the bills of each first communication system are correct, then the determined target communication system should correspond one-to-one to each communication system actually existing in the communication facilities to which the second communication system belongs.
[0099] In one embodiment of the present invention, the distance between the first geographical location of each first communication system and the second geographical location can be calculated based on the second geographical location, and the first communication system whose calculated distance is less than the second preset distance is selected as the target communication system.
[0100] In another embodiment of the present invention, a second geographical location can be used as a starting point to determine a geographical range whose distance from the starting point is less than a second preset distance, and the first communication system whose first geographical location is recorded in the service bill data and is within the above-mentioned geographical range can be counted as a target communication system.
[0101] In addition, the second preset distance may be the same as or different from the first preset distance. For example, the second preset distance may be 100 m, 200 m, etc.
[0102] S107: If the third number of the target communication system is greater than the first preset number, it is determined that the target bill is incorrect.
[0103] Specifically, the first preset number may be the maximum number of communication systems that can be installed in a communication facility in theory. For example, there are six commonly used communication systems in the prior art, and the maximum number of communication systems that can be installed in a communication facility is six.
[0104] Among them, if the third number is greater than the first preset number, it means that the number of target communication systems charged recorded in the service bill data is greater than the maximum number of communication systems that can be installed in a communication facility. It can be considered that there are bills for additional charges in the service bill data, and therefore the target bill can be considered to be incorrect.
[0105] As can be seen from the above, in addition to taking the first geographical location as a reference, counting the first number of second communication systems whose distance from the first communication system is less than the first preset distance to determine whether the bill is wrong, the second geographical location can also be used as a reference to count the target communication systems whose distance from the second communication system is less than the second preset distance to determine whether the bill is wrong. The embodiments of the present application verify the service bill data from different aspects, so that the obtained verification results are more accurate.
[0106] See also Figure 4 , is a flow chart of a fourth bill data verification method provided by an embodiment of the present invention, which is similar to the aforementioned Figure 3 Compared with the embodiment shown, after step S106, the following steps S108-S109 are also included.
[0107] S108: Determine the charging weight of the target communication system recorded in the service bill data.
[0108] Specifically, the rental costs of various communication systems included in the communication facility may be weighted to obtain the overall rental cost of the communication facility. When performing the weighted calculation, the weight corresponding to each communication system is the above-mentioned billing weight.
[0109] The charging weight of each communication system may be recorded in the bill of the communication system contained in the service bill data, and the charging weight of the target communication system may be obtained by searching the above service bill data.
[0110] S109: If the fourth quantity is greater than the second preset quantity, it is determined that the target bill is incorrect.
[0111] The fourth number is: the number of target communication systems whose charging weight is greater than or equal to the preset weight.
[0112] Specifically, among the communication systems belonging to the same communication facility, only some communication systems have a billing weight greater than or equal to the preset weight, and the billing weights of other communication systems are less than the preset weights. The number of communication systems with a billing weight greater than or equal to the preset weight is at most a second preset number, so if the number of target communication systems with a billing weight greater than or equal to the preset weight is greater than the second preset number, it means that the statistics of the target bills in the above service bill data are incorrect.
[0113] For example, the preset weight may be 1, and the second preset number may be 1, 2, and so on.
[0114] From the above, it can be seen that in addition to judging whether the target bill is incorrect based on the third number of the target communication system, the embodiment of the present invention can also judge whether the target bill is incorrect based on the fourth number of the target communication system whose billing weight is greater than or equal to the preset weight. The embodiment of the present application verifies the service bill data from different aspects, so that the verification results obtained are more accurate.
[0115] See also Figure 5 , which is a flow chart of the fifth bill data verification method provided in an embodiment of the present invention, and the verification result is obtained through the following steps S501-S503.
[0116] S501: Traverse the service bill data to determine the number of types of different communication facility numbers corresponding to the same communication facility name recorded in the service bill data.
[0117] Specifically, each bill in the above service bill data records the communication facility name and communication facility number of the communication facility to which a communication system belongs.
[0118] In one embodiment of the present invention, for each communication facility name, a communication facility number belonging to the same bill as the communication facility name may be searched, and the number of types of the searched communication facility numbers may be determined.
[0119] S502: Search for the communication facility names whose corresponding number of types is greater than 1.
[0120] Specifically, in order to distinguish the communication facilities leased by the communication service provider, different communication facilities leased by the same communication service provider have different communication facility names and communication facility numbers. For each communication facility name, if the service bill data records multiple communication facility numbers corresponding to the communication facility name, it means that there is an error in the bill related to the communication facility name in the service bill data.
[0121] S503: Determine that the bill of the communication facility indicated by the found communication facility name is incorrect as a verification result.
[0122] As can be seen from the above, in addition to checking the service bill data based on the first geographic location and the second geographic location, the service bill data can also be checked based on the communication facility name and communication facility number recorded in the service bill data. The embodiment of the present application checks the service bill data from different aspects, so that the obtained verification result is more accurate.
[0123] Corresponding to the aforementioned bill data verification method, an embodiment of the present invention further provides a bill data verification device.
[0124] See also Figure 6 , is a schematic diagram of the structure of a bill data verification device provided by an embodiment of the present invention, the device comprising:
[0125] The first location reading module 601 is used to read the first geographical location of each first communication system that generates the bill and is recorded in the service bill data;
[0126] A second location acquisition module 602, configured to acquire a predetermined second geographical location of a second communication system used by a communication service provider;
[0127] A first quantity determination module 603 is configured to determine, for each first communication system, a first quantity of second communication systems whose distances from the first communication system are less than a first preset distance based on the first geographical location of the first communication system and each second geographical location;
[0128] The first bill verification module 604 is used to calculate, for each first communication system, the difference between a second quantity and the first quantity corresponding to the first communication system. If the difference is greater than a preset difference, it is determined that the bill for the communication facilities to which the first communication system belongs, recorded in the service bill data, is incorrect as a verification result, wherein the second quantity is: the quantity of the bill for the first geographic location of the first communication system recorded in the service bill data.
[0129] As can be seen from the above, the service bill data is data to be verified, and the bills included in the service bill data may be incorrect bills, so the data of the first communication system may be unreliable, while the second geographical location of the second communication system is predetermined and reliable data. In this embodiment, the reliable second geographical location is used as a reference to verify whether the service bill data is incorrect. Currently, one or more communication systems can be installed in each communication facility. The first geographical location of the first communication system installed in the same communication facility recorded in the service bill data is the same. The second number of bills with the first geographical location of the first communication system is the number of communication systems charged in the target facility to which the first communication system belongs, which is recorded in the service bill data. In addition, the first number of second communication systems whose distance from the first communication system is less than the first preset distance is the number of communication systems actually existing and included in the target facility. If the difference between the second number and the first number is greater than the preset difference, it means that the number of communication systems charged is greater than the number of communication systems actually existing, which means that the bills related to the target facility recorded in the service bill data are incorrect. Through the embodiment of the present invention, it is possible to determine the incorrect bills included in the service bill data, and to realize the verification of the service bill data.
[0130] In one embodiment of the present invention, the above device further includes:
[0131] The second bill verification module is used to determine, for each first communication system, that the bill of the communication facilities to which the first communication system belongs, recorded in the service bill data is incorrect as a verification result if the first quantity corresponding to the first communication system determined by the first quantity determination module is 0.
[0132] From the above, it can be seen that in the embodiment of the present invention, for each first communication system, if the first quantity corresponding to the first communication system is 0, it can be determined that there are additional charges in the service bill data, and it can be determined that the bill of the communication facilities belonging to the first communication system is incorrect, thereby completing the service bill data verification process.
[0133] In one embodiment of the present invention, the above device further includes:
[0134] For each second communication system, the following modules are used to determine whether the target bill of the communication facility to which the second communication system belongs, which is recorded in the service bill data, is incorrect, as a verification result:
[0135] a target system determining module, configured to determine, based on the second geographical location of the second communication system and each of the first geographical locations, a first communication system whose distance from the second communication system is less than a second preset distance as a target communication system;
[0136] The third bill checking module is used to determine that the target bill is incorrect if the third number of the target communication system determined by the target system determination module is greater than the first preset number.
[0137] As can be seen from the above, in addition to taking the first geographical location as a reference, counting the first number of second communication systems whose distance from the first communication system is less than the first preset distance to determine whether the bill is wrong, the second geographical location can also be used as a reference to count the target communication systems whose distance from the second communication system is less than the second preset distance to determine whether the bill is wrong. The embodiments of the present application verify the service bill data from different aspects, so that the obtained verification results are more accurate.
[0138] In one embodiment of the present invention, the above device further includes:
[0139] A weight determination module, which determines the billing weight of the target communication system recorded in the service bill data;
[0140] The fourth bill verification module is used to determine that the target bill is incorrect if the fourth number determined by the weight determination module is greater than the second preset number, wherein the fourth number is: the number of target communication systems whose billing weight is greater than or equal to the preset weight.
[0141] From the above, it can be seen that in addition to judging whether the target bill is incorrect based on the third number of the target communication system, the embodiment of the present invention can also judge whether the target bill is incorrect based on the fourth number of the target communication system whose billing weight is greater than or equal to the preset weight. The embodiment of the present application verifies the service bill data from different aspects, so that the verification results obtained are more accurate.
[0142] In one embodiment of the present invention, the above device further includes:
[0143] The verification results are obtained through the following modules:
[0144] a fifth quantity determination module, configured to traverse the service bill data and determine the number of types of different communication facility numbers corresponding to the same communication facility name recorded in the service bill data;
[0145] A facility name search module is used to search for communication facility names whose corresponding number of types is greater than 1;
[0146] The incorrect bill determining module is used to determine that the bill of the communication facility indicated by the found communication facility name is incorrect as a verification result.
[0147] As can be seen from the above, in addition to checking the service bill data based on the first geographic location and the second geographic location, the service bill data can also be checked based on the communication facility name and communication facility number recorded in the service bill data. The embodiment of the present application checks the service bill data from different aspects, so that the obtained verification result is more accurate.
[0148] The embodiment of the present invention further provides an electronic device, such as Figure 7 As shown, it includes a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702, and the memory 703 communicate with each other through the communication bus 704.
[0149] Memory 703, used for storing computer programs;
[0150] The processor 701 is used to implement any method step described in the aforementioned bill data verification method when executing the program stored in the memory 703.
[0151] When the electronic device provided by the embodiment of the present invention is used to check the bill data, the service bill data is the data to be checked, and the bill contained in the service bill data may be an incorrect bill, so the data of the first communication system may be unreliable, while the second geographical location of the second communication system is predetermined and reliable data. In this embodiment, the reliable second geographical location is used as a reference to check whether the service bill data is incorrect. Currently, one or more communication systems can be installed in each communication facility. The first geographical location of the first communication system installed in the same communication facility recorded in the service bill data is the same. The second number of bills with the first geographical location of the first communication system is the number of communication systems charged in the target facility to which the first communication system belongs, which is recorded in the service bill data. In addition, the first number of second communication systems whose distance from the first communication system is less than the first preset distance is the number of communication systems actually existing and contained in the target facility. If the difference between the second number and the first number is greater than the preset difference, it means that the number of communication systems charged is greater than the number of communication systems actually existing, which means that the bills related to the target facility recorded in the service bill data are incorrect. Through the embodiment of the present invention, the incorrect bills contained in the service bill data can be determined, and the service bill data can be checked.
[0152] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0153] The communication interface is used for communication between the above electronic device and other devices.
[0154] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0155] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0156] In another embodiment provided by the present invention, a computer-readable storage medium is also provided, in which a computer program is stored. When the computer program is executed by a processor, the steps of the bill data verification method in the above-mentioned method embodiment are implemented.
[0157] When executing the computer program stored in the computer-readable storage medium provided in the embodiment of the present invention to check the bill data, the service bill data is the data to be checked, and the bills included in the service bill data may be incorrect bills, so the data of the first communication system may be unreliable, while the second geographical location of the second communication system is predetermined and reliable data. In this embodiment, the reliable second geographical location is used as a reference to check whether the service bill data is incorrect. Currently, one or more communication systems can be installed in each communication facility. The first geographical location of the first communication system installed in the same communication facility recorded in the service bill data is the same. The second number of bills with the first geographical location of the first communication system is the number of communication systems charged in the target facility to which the first communication system belongs recorded in the service bill data. In addition, the first number of second communication systems whose distance from the first communication system is less than the first preset distance is the number of communication systems actually existing and included in the target facility. If the difference between the second number and the first number is greater than the preset difference, it means that the number of communication systems charged is greater than the number of communication systems actually existing, which means that the bills related to the target facility recorded in the service bill data are incorrect. The embodiments of the present invention can determine the erroneous bills included in the service bill data, and can implement the verification of the service bill data.
[0158] In another embodiment of the present invention, a computer program product including instructions is provided, which, when executed on a computer, enables the computer to execute the steps of the bill data verification method in the above embodiment.
[0159] When executing the computer program provided by the embodiment of the present invention to check the bill data, the service bill data is the data to be checked, and the bills included in the service bill data may be erroneous bills, so the data of the first communication system may be unreliable, while the second geographical location of the second communication system is predetermined and reliable data. In this embodiment, the reliable second geographical location is used as a reference to check whether the service bill data is wrong. Currently, one or more communication systems can be installed in each communication facility. The first geographical location of the first communication system installed in the same communication facility recorded in the service bill data is the same. The second number of bills with the first geographical location of the first communication system is the number of communication systems charged in the target facility to which the first communication system belongs, which is recorded in the service bill data. In addition, the first number of second communication systems whose distance from the first communication system is less than the first preset distance is the number of communication systems actually existing and included in the target facility. If the difference between the second number and the first number is greater than the preset difference, it means that the number of communication systems charged is greater than the number of communication systems actually existing, which means that the bills related to the target facility recorded in the service bill data are wrong. Through the embodiment of the present invention, it is possible to determine the erroneous bills included in the service bill data, and to realize the verification of the service bill data.
[0160] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Solid State Disk (SSD)), etc.
[0161] It should be noted that, in this article, relational terms such as first and second, etc. 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 "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0162] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device, electronic device, storage medium, and computer program product embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.
[0163] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.
Claims
1. A bill data verification method, characterized in that: The method comprises: Reading the first geographic location of each first communication system for which the bill is generated, which is recorded in the service bill data; Acquire a predetermined second geographic location of a second communication system used by the communication service provider; For each first communication system, based on the first geographical location of the first communication system and each second geographical location, determine a first number of second communication systems whose distances to the first communication system are less than a first preset distance; For each first communication system, a difference between a second quantity and a first quantity corresponding to the first communication system is calculated, and if the difference is greater than a preset difference, it is determined that the bill of the communication facility to which the first communication system belongs, which is recorded in the service billing data, is incorrect, as a verification result, wherein the second quantity is: the quantity of the bill of the first geographical location of the first communication system recorded in the service billing data; The communication system includes: a repeater, a 1.8G LTE base station, a 2.1G LTE base station, an 800M LTE base station, a CDMA base station, and a 5G base station; After the determining of the first number of second communication systems whose distance from the first communication system is less than the preset distance, the method further includes: for each first communication system, if the first number corresponding to the first communication system is 0, determining that the bill of the communication facility to which the first communication system belongs, which is recorded in the service bill data, is incorrect, as a verification result; After the second geographical location of the second communication system used by the communication service provider is obtained, the method further includes: for each second communication system, determining whether the target bill of the communication facility to which the second communication system belongs, which is recorded in the service bill data, is incorrect as a verification result by: based on the second geographical location of the second communication system and each first geographical location, determining a first communication system whose distance to the second communication system is less than a second preset distance as a target communication system; if the third number of the target communication system is greater than the first preset number, determining that the target bill is incorrect; After determining the first communication system whose distance from the second communication system is less than the second preset distance as the target communication system, the method further includes: determining the billing weight of the target communication system recorded in the service bill data; if a fourth number is greater than the second preset number, determining that the target bill is incorrect, wherein the fourth number is: the number of target communication systems whose billing weight is greater than or equal to the preset weight; The verification result is obtained in the following manner: traverse the service bill data to determine the number of types of different communication facility numbers corresponding to the same communication facility name recorded in the service bill data; search for communication facility names whose corresponding number of types is greater than 1; and determine that the bill of the communication facility indicated by the found communication facility name is incorrect as the verification result.
2. A bill data verification device, characterized in that: The device comprises: A first location reading module, used for reading the first geographical location of each first communication system for generating the bill, which is recorded in the service bill data; A second location acquisition module, used to acquire a predetermined second geographical location of a second communication system used by the communication service provider; A first quantity determination module is used to determine, for each first communication system, a first quantity of second communication systems whose distances from the first communication system are less than a first preset distance based on the first geographical location of the first communication system and each second geographical location; a first bill checking module, configured to calculate, for each first communication system, a difference between a second quantity and a first quantity corresponding to the first communication system, and if the difference is greater than a preset difference, determine that the bill of the communication facility to which the first communication system belongs, as recorded in the service bill data, is incorrect as a result of the checking, wherein the second quantity is: the quantity of the bill of the first geographical location of the first communication system, as recorded in the service bill data; The communication system includes: a repeater, a 1.8G LTE base station, a 2.1G LTE base station, an 800M LTE base station, a CDMA base station, and a 5G base station; The device also includes: a second bill verification module, which is used to determine, for each first communication system, if the first quantity corresponding to the first communication system determined by the first quantity determination module is 0, whether the bill of the communication facility to which the first communication system belongs, recorded in the service bill data, is incorrect as a verification result; the device also includes: for each second communication system, determining, through the following modules, whether the target bill of the communication facility to which the second communication system belongs, recorded in the service bill data, is incorrect as a verification result: a target system determination module, which is used to determine, based on the second geographical location of the second communication system and each first geographical location, a first communication system whose distance to the second communication system is less than a second preset distance as a target communication system; a third bill verification module, which is used to determine, if the third quantity of the target communication system determined by the target system determination module is greater than the first preset distance, a preset number, then it is determined that the target bill is incorrect; a weight determination module, which determines the billing weight of the target communication system recorded in the service bill data; a fourth bill verification module, which is used to determine that the target bill is incorrect if the fourth number determined by the weight determination module is greater than the second preset number, wherein the fourth number is: the number of target communication systems whose billing weight is greater than or equal to the preset weight; the device also includes: obtaining the verification result through the following modules: a fifth quantity determination module, which is used to traverse the service bill data and determine the number of types of different communication facility numbers corresponding to the same communication facility name recorded in the service bill data; a facility name search module, which is used to search for communication facility names whose corresponding number of types is greater than 1; an incorrect bill determination module, which is used to determine that the bill of the communication facility indicated by the found communication facility name is incorrect as the verification result.
3. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the method steps described in claim 1 when executing the program stored in the memory.
4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in claim 1 are implemented.
Citation Information
Patent Citations
Account checking method and device
CN112132672A
Unmanned house rental management system and operation method
CN112561625A