Cost sharing method, device, equipment, system and computer readable storage medium

By obtaining communication business data and identification, generate and issue instructions, send them to a third party and obtain return packet data, and use the big data platform and third-party statistical tables for reconciliation processing, which solves the complexity and complexity of communication cost sharing in the process of user access. Inaccuracy issues are eliminated and costs are allocated accurately and efficiently.

CN111506633BActive Publication Date: 2024-08-27WEBANK (CHINA)
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010330042.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-23
Publication Date
2024-08-27
Estimated Expiration
2040-04-23

AI Technical Summary

Technical Problem

In the process of reaching users in the existing technology, the allocation of communication costs is complex and inaccurate, mainly due to the different charging standards of different channel parties and the low efficiency of manual statistics, resulting in low efficiency and poor accuracy of cost allocation.

Method used

By obtaining communication business data and identification, generate and issue instructions, send them to third parties and obtain return packet data, and use big data platforms and third-party statistical tables for reconciliation processing to ensure accurate cost allocation.

Benefits of technology

It achieves accurate and efficient allocation of communication costs, ensures the efficiency and accuracy of data statistics, and improves the accuracy and efficiency of cost allocation results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111506633B
    Figure CN111506633B
Patent Text Reader

Abstract

The present invention relates to the field of financial technology, and discloses a cost sharing method, device, equipment, system and computer-readable storage medium. The method includes: when issuing a communication service, obtaining communication service data and a communication service identifier, and generating a communication service issuing instruction based on the communication service data and the communication service identifier; sending the communication service issuing instruction to a third party, and generating corresponding issuing data, so that the third party issues the communication service based on the instruction, and generates corresponding packet return data; obtaining a first statistical table obtained by the big data platform based on the issued data and the packet return data, and obtaining a second statistical table sent by the third party; performing reconciliation processing based on the first and second statistical tables; when the reconciliation is successful, obtaining the first bill total cost of the communication service within a preset time period according to the second statistical table, and allocating the cost based on the first bill total cost. The present invention realizes accurate and efficient allocation of communication costs when reaching users.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology of financial technology (Fintech), and in particular to a cost sharing method, device, equipment, system and computer-readable storage medium. Background Art

[0002] With the development of computer technology, more and more technologies are being applied in the financial field. The traditional financial industry is gradually transforming into financial technology (Fintech). However, due to the security and real-time requirements of the financial industry, higher requirements are also placed on technology.

[0003] Reaching users with information is an indispensable part of the business operation process. There are many ways to reach users, including phone calls, text messages, emails, and App message push. In the existing information reach, since enterprises usually perform different types of communication services for different business scenarios, and the collection of communication service fees depends on the successful volume of communication, the fee collection rules are relatively complicated, making the cost allocation more complicated.

[0004] For example, taking SMS as an example, in order to ensure the stability of SMS delivery, enterprises usually connect to multiple SMS channels to deliver SMS. At the same time, in different business scenarios, different types of SMS will be delivered for different business scenarios. Since each channel has different charging standards for each type of SMS in each business scenario, and the statistics of the number of successful SMS delivery also depend on the successful delivery data fed back by each channel, it can be seen that the data statistics and calculation process are very complex and cumbersome.

[0005] At present, statistical calculations are usually performed manually by staff, which is inefficient and prone to errors. In addition, the lack of unified rules also brings inconvenience to the accurate allocation of expenses. Summary of the invention

[0006] The main purpose of the present invention is to provide a cost sharing method, device, equipment, system and computer-readable storage medium, aiming to achieve accurate and efficient sharing of communication costs when reaching users.

[0007] To achieve the above object, the present invention provides a cost sharing method, which comprises:

[0008] When issuing a communication service, obtaining communication service data and a communication service identifier, and generating a communication service issuing instruction based on the communication service data and the communication service identifier;

[0009] Sending the communication service delivery instruction to a third party and generating corresponding delivery data, so that the third party delivers the communication service based on the communication service delivery instruction and generates corresponding reply data;

[0010] Obtaining a first statistical table of communication services within a preset time period obtained by the big data platform based on the sent data and the returned packet data, and obtaining a second statistical table of communication services within the preset time period sent by the third party;

[0011] Performing reconciliation processing based on the first statistical table and the second statistical table;

[0012] When the reconciliation is successful, the total cost of the first bill for the communication service within the preset time period is obtained according to the second statistical table, and the cost is allocated based on the total cost of the first bill.

[0013] In addition, to achieve the above-mentioned purpose, the present invention further provides a cost sharing device, the cost sharing device comprising:

[0014] A first acquisition module, used to acquire communication service data and a communication service identifier when issuing a communication service, and generate a communication service issuing instruction based on the communication service data and the communication service identifier;

[0015] A generating module, used to send the communication service issuing instruction to a third party and generate corresponding issuing data, so that the third party issues the communication service based on the communication service issuing instruction and generates corresponding reply data;

[0016] A second acquisition module is used to obtain a first statistical table of communication services within a preset time period obtained by the big data platform based on the sent data and the returned packet data, and obtain a second statistical table of communication services within the preset time period sent by the third party;

[0017] A reconciliation module, used for performing reconciliation processing based on the first statistical table and the second statistical table;

[0018] The expense sharing module is used to obtain the total cost of the first bill of the communication service within a preset time period according to the second statistical table when the reconciliation is successful, and to share the expenses based on the total cost of the first bill.

[0019] In addition, to achieve the above-mentioned purpose, the present invention also provides a cost sharing device, which includes: a memory, a processor, and a cost sharing program stored in the memory and executable on the processor, and the cost sharing program implements the steps of the cost sharing method described above when executed by the processor.

[0020] In addition, to achieve the above-mentioned purpose, the present invention also provides a cost sharing system, which includes: a cost sharing device, a big data platform and a third party; wherein:

[0021] The cost sharing device is the cost sharing device as described above;

[0022] The big data platform is used to obtain the dispatch data of the communication service from the cost sharing device through the scheduling system at a regular interval, and obtain the reply data of the communication service from the distributed message system;

[0023] Synchronize the sent data to the corresponding partition of the sent table of the first database according to the sent date, and synchronize the reply data to the corresponding partition of the reply table of the first database according to the reply date;

[0024] Based on the synchronously obtained download table and packet return table, the packet return data is associated with the download data, and an intermediate table is obtained according to the association result;

[0025] According to the intermediate table, data information of each type of communication service of each third party within a preset time period is collected to obtain a first statistical table;

[0026] The third party is used to send the reply data to the distributed messaging system;

[0027] It is also used to receive the sent data sent by the cost sharing device, and obtain a second statistical table based on the statistics of the sent data.

[0028] In addition, to achieve the above-mentioned purpose, the present invention also provides a computer-readable storage medium, on which a cost sharing program is stored, and when the cost sharing program is executed by a processor, the steps of the cost sharing method described above are implemented.

[0029] The present invention provides a cost sharing method, device, equipment, system and computer-readable storage medium. When issuing a communication service, the communication service data and the communication service identifier are obtained, and a communication service issuing instruction is generated based on the communication service data and the communication service identifier; the communication service issuing instruction is sent to a third party, and corresponding issuing data is generated, so that the third party issues the communication service based on the communication service issuing instruction, and generates corresponding packet return data. Then, a first statistical table of the communication service within a preset time period obtained by the big data platform based on the issued data and the packet return data statistics is obtained, and a second statistical table of the communication service within the preset time period sent by the third party is obtained; reconciliation processing is performed based on the first statistical table and the second statistical table; when the reconciliation is successful, the total cost of the first bill of the communication service within the preset time period is obtained according to the second statistical table, and the cost is shared based on the total cost of the first bill. In the present invention, a unique communication service identifier is bound to the communication service data to perform service delivery and packet return, and obtain the corresponding delivery data and packet return data. Then, based on the communication service identifier, the delivery data and packet return data are associated and counted, thereby enabling tracking and statistics of each communication service data, and ensuring the efficiency and accuracy of data statistics. The first statistical table obtained by the big data platform is then reconciled with the second statistical table obtained by the third party. Only when the reconciliation is successful can the cost be shared, thereby ensuring the consistency of the statistical data of the two parties and improving the accuracy of the cost sharing results. In this way, accurate and efficient sharing of communication costs generated by each business scenario when reaching the user can be achieved. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention;

[0031] Figure 2 It is a flow chart of the first embodiment of the cost sharing method of the present invention;

[0032] Figure 3 A schematic diagram of data interaction between various terminals in the cost sharing system of the present invention;

[0033] Figure 4 It is a schematic diagram of the functional modules of the first embodiment of the expense sharing device of the present invention.

[0034] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0035] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.

[0036] Reference Figure 1 , Figure 1The figure is a schematic diagram of the device structure of the hardware operating environment involved in the embodiment of the present invention.

[0037] The expense sharing device in the embodiment of the present invention may be a smart phone, or may be a terminal device such as a PC (Personal Computer), a tablet computer, or a portable computer.

[0038] like Figure 1 As shown, the cost sharing device may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a Wi-Fi interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0039] Those skilled in the art will understand that Figure 1 The cost sharing device structure shown in the figure does not constitute a limitation of the cost sharing device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0040] like Figure 1 As shown, the memory 1005 as a computer storage medium may include an operating system, a network communication module, and a cost sharing program.

[0041] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the background server and communicate data with the background server; the user interface 1003 is mainly used to connect to the client and communicate data with the client; and the processor 1001 can be used to call the cost sharing program stored in the memory 1005 and execute the various steps of the following cost sharing method.

[0042] Based on the above hardware structure, various embodiments of the cost sharing method of the present invention are proposed.

[0043] The invention provides a cost sharing method.

[0044] Reference Figure 2 , Figure 2 It is a flowchart of the first embodiment of the cost sharing method of the present invention.

[0045] In this embodiment, the cost sharing method includes:

[0046] Step S10, when issuing a communication service, obtaining communication service data and a communication service identifier, and generating a communication service issuing instruction based on the communication service data and the communication service identifier;

[0047] The data management method in this embodiment is applied to a data management system, which includes a cost sharing device, a big data platform and a third party, such as Figure 3 As shown, the third party may include one or more. Among them, the cost sharing device is used to send a communication service issuance instruction to the third party and generate corresponding issuance data; correspondingly, the third party will issue the communication service, and then generate the reply data according to the issuance result; it is also used to obtain the first statistical table obtained by the big data platform and the second statistical table obtained by the third party, perform reconciliation processing, and then obtain the first bill total cost of the communication service within the preset time period according to the second statistical table, and allocate the cost based on the first bill total cost. Among them, the communication service may include multiple modes such as SMS, phone, email, App message push, etc. For the same communication service, different types can also be set for different contact purposes. For example, taking SMS as an example, it can include multiple types such as functional SMS and marketing SMS. The issuance data is the data information of the communication service issued by the cost sharing device, which may include communication service data, the issuance date of the communication service, the third party, the business scenario, the type of the communication service, the first sending status (referring to the sending status of the cost sharing device to the third party) and other information. The packet return data refers to the dispatch of the communication service fed back by the third party, which may include the communication service identifier fed back by each third party (i.e., an identifier bound to each communication service data, which is used to associate with the dispatched data later), the packet return date, the second sending status (referring to the sending status sent by the third party to the user terminal), etc. The big data platform is used to obtain the dispatched data and the packet return data, and finally realize the statistics of the data to obtain the data statistics table (including the first statistics table and the third statistics table).

[0048] For ease of explanation, the present invention takes the communication service of SMS as an example for explanation. Figure 3 As shown, in order to ensure the stability of SMS delivery, enterprises usually connect with multiple SMS channels (i.e. Figure 3The third party in the message) to send text messages. Specifically, the cost sharing device can call the unified API (Application Programming Interface) provided by the unified messaging gateway to send text messages; the unified messaging gateway selects the SMS sending channel party through a certain strategy to send the text messages, and then the channel party sends the text messages to the user terminal through the operator. After the operator sends the text message to the user terminal, it will send back the sending status, error cause, additional information (including communication service identification) of the text message, and then the SMS sending channel party will send the reply data back to the unified messaging gateway, and the unified messaging gateway will send the reply information to the message middleware kafka. The cost sharing device goes to the message middleware Kafka to pull the reply data at regular intervals. The big data platform will obtain the SMS delivery data from the cost sharing device through the scheduling system at regular intervals (such as every morning) and the SMS reply data from Kafka. Then, the delivery data is synchronized to the corresponding partition of the delivery table of the first database (optionally Hive database) according to the delivery date, and the reply data is synchronized to the corresponding partition of the reply table of the first database according to the reply date; then, based on the synchronized delivery table and reply table, the reply data is associated with the delivery data, and an intermediate table is obtained according to the association result, which includes the delivery date, channel party, business scenario, SMS type, sending status, error cause, additional information, etc. of each SMS. Finally, statistical tables of multiple dimensions can be obtained based on the statistics of the intermediate table. Among them, the statistical table may include a first statistical table obtained by statistics based on third parties (i.e., each SMS channel party) and the type of communication service (i.e., SMS type), and the first statistical table includes data information of each type of communication service of each third party within a preset time period (as shown in Table 1 below); a third statistical table may also be obtained by statistics based on business scenarios and the type of communication service, and the third statistical table includes data information of each type of communication service of each business scenario within a preset time period (as shown in Table 2 below).

[0049] The expense sharing method of this embodiment is implemented by an expense sharing device, which is described using a server as an example.

[0050] In this embodiment, when sending a communication service, the server first obtains the communication service data and the communication service identifier, and generates a communication service sending instruction based on the communication service data and the communication service identifier. Among them, the communication service data is the communication service content to be sent. The communication service identifier is a string, which is unique. When sending a communication service, a communication service identifier is generated for each communication service and is bound to the communication service, which can facilitate the subsequent association of the sent data with the return packet data by the big data platform, thereby facilitating subsequent data statistics.

[0051] Specifically, the step of "obtaining communication service data and communication service identification when issuing communication services" includes:

[0052] Step a11, when issuing a communication service, obtain the communication service data, the current date and the current time, and generate a random number;

[0053] Step a12, generating a communication service identifier according to the current date, the current time and the random number.

[0054] When issuing a communication service, first obtain the communication service data, the current date and the current time, and generate a random number; then, generate a communication service identifier based on the current date, the current time and the random number. The current date, the current time and the random number can be combined and spliced ​​to obtain the communication service identifier. The current time can be obtained in the format of hours, minutes, seconds, and milliseconds, such as 17:10:10:10 100 milliseconds. The combination and splicing method can be current date + current time + random number, such as 20200307 + 171010100 + N-bit random number. The communication service identifier is generated in the above manner to ensure the uniqueness of the communication service identifier.

[0055] Step S20, sending the communication service delivery instruction to a third party, and generating corresponding delivery data, so that the third party delivers the communication service based on the communication service delivery instruction, and generates corresponding reply data;

[0056] Then, the communication service delivery instruction is sent to the third party, and the corresponding delivery data is generated, so that the third party delivers the communication service based on the communication service delivery instruction, and generates the corresponding packet return data, so that the big data platform obtains the first statistical table based on the delivery data and the packet return data statistics. Among them, the delivery data is the data information of the communication service delivered by the cost sharing device, which may include the communication service data, the delivery date of the communication service, the third party, the service scenario, the type of the communication service, the first sending status (referring to the sending status sent by the cost sharing device to the third party) and other information. The packet return data is the delivery status of the communication service fed back by the third party, which may include the communication service identifier fed back by each third party (i.e., an identifier bound to each communication service data, used for subsequent association with the delivery data), the packet return date, the second sending status (referring to the sending status sent by the third party to the user terminal) and other information.

[0057] Step S30, obtaining a first statistical table of communication services within a preset time period obtained by the big data platform based on the sent data and the returned packet data, and obtaining a second statistical table of communication services within the preset time period sent by the third party;

[0058] Obtain a first statistical table of communication services within a preset time period obtained by the big data platform based on the statistics of the sent data and the returned data, and obtain a second statistical table of communication services within the preset time period sent by a third party. The preset time period is the cost sharing period, which can be set according to actual needs, such as one month, one quarter, etc.

[0059] The first statistical table is obtained by the big data platform according to the types of third parties and communication services. The first statistical table includes at least the number of successful packet returns of each type of communication service of each third party (recorded as the first successful packet return amount), and may also include the number of dispatches, the number of successful dispatches, and the number of packets returned (recorded as the first dispatch amount, the first successful dispatch amount, and the first packet return amount, respectively), and the dispatch date of each type of communication service of each third party. Taking the business scenario where the communication service is SMS, the type of communication service includes multiple SMS types (such as functional SMS, marketing SMS, etc., recorded as SMS type 1, 2...), and the third party is the channel party as an example, the first statistical table shown in Table 1 below can be obtained by statistics. The first statistical table is obtained by the big data platform based on the dispatch data and the packet return data. The dispatch data is associated with the packet return data through the communication service identifier in the dispatch data and the packet return data to obtain an intermediate table, and then statistics are performed based on the intermediate table. The statistical process can refer to the embodiment corresponding to the following cost sharing system.

[0060]

[0061] Table 1

[0062] The second statistical table is obtained by the third party according to the type of communication service. The second statistical table includes one or more, and the number is the same as that of the third party. The second statistical table includes at least the number of successful packet returns of each type of communication (recorded as the second successful packet return amount), and may also include the number of sent, the number of successful sent, and the number of packets returned (recorded as the second sent, the second successful sent, and the second packet return amount, respectively), and the date of sending for each type of communication service.

[0063] Step S40, performing reconciliation processing based on the first statistical table and the second statistical table;

[0064] Then, reconciliation is performed based on the first statistical table and the second statistical table. It should be noted that when allocating expenses, in order to ensure the accuracy of the final allocated expenses (i.e., the second allocated expenses), it is first necessary to ensure the consistency of the communication business data obtained by the enterprise (i.e., the expense sharing device) based on the statistics of the big data platform and the communication business data counted by the third party itself. Therefore, it is necessary to reconcile the communication business data obtained from the two channels. Specifically, the total successful return packet count obtained from the two channels can be compared. The specific reconciliation process can refer to the second embodiment described below.

[0065] By automatically reconciling the communication business data obtained through statistics based on the big data platform with the communication business data collected by the third party itself, the consistency of the statistical data of the two parties can be ensured, and the cost can be allocated. The accuracy of the cost allocation results can be improved through reconciliation processing.

[0066] Step S50, when the reconciliation is successful, the total cost of the first bill for the communication service within a preset time period is obtained according to the second statistical table, and the cost is allocated based on the total cost of the first bill.

[0067] When the reconciliation is successful, the total cost of the first bill for the communication service within the preset time period is obtained according to the second statistical table, and the cost is apportioned based on the total cost of the first bill. Specifically, the second successful packet return volume of each type of communication service of each third party can be obtained from the second statistical table, and the unit price of each type of communication service of each third party can be obtained; the total cost of the first bill for the communication service within the preset time period is calculated according to the second successful packet return volume and the unit price; the successful packet return volume of each type of communication service in each business scenario within the preset time period is obtained; the first apportioned cost of each business scenario is calculated according to the total cost of the first bill and the successful packet return volume; the first apportioned cost is added to obtain the total cost of the second bill; the first apportioned cost is updated according to the total cost of the first bill and the total cost of the second bill, and the second apportioned cost of each business scenario is obtained. The specific execution process can refer to the third embodiment described below, which will not be repeated here.

[0068] The embodiment of the present invention provides a cost sharing method. When a communication service is issued, communication service data and a communication service identifier are obtained, and a communication service issuing instruction is generated based on the communication service data and the communication service identifier; the communication service issuing instruction is sent to a third party, and corresponding issuing data is generated, so that the third party issues the communication service based on the communication service issuing instruction, and generates corresponding packet return data. Then, a first statistical table of the communication service within a preset time period obtained by the big data platform based on the issued data and the packet return data statistics is obtained, and a second statistical table of the communication service within the preset time period sent by the third party is obtained; reconciliation processing is performed based on the first statistical table and the second statistical table; when the reconciliation is successful, the total cost of the first bill of the communication service within the preset time period is obtained according to the second statistical table, and the cost is allocated based on the total cost of the first bill. In the present invention, a unique communication service identifier is bound to the communication service data, the service is issued and packet returned, and the corresponding issued data and packet return data are obtained, and then the issued data and packet return data are associated and counted based on the communication service identifier, so that the tracking and statistics of each communication service data can be realized, and the efficiency and accuracy of data statistics can be guaranteed. Then, the first statistical table obtained by the big data platform is reconciled with the second statistical table obtained by the third party. Only when the reconciliation is successful can the cost be shared, thereby ensuring the consistency of the statistical data of the two parties and improving the accuracy of the cost sharing results. In this way, the communication costs generated in various business scenarios when reaching users can be accurately and efficiently shared.

[0069] Furthermore, based on the above-mentioned first embodiment, a second embodiment of the cost sharing method of the present invention is proposed.

[0070] In this embodiment, step S40 includes:

[0071] Step a41, obtaining the total successful number of first packet returns of each type of communication service of each third party according to the first statistical table, and obtaining the total successful number of second packet returns of each type of communication service of each third party according to the second statistical table;

[0072] Step a42, detecting whether the total successful amount of the first reply package and the total successful amount of the second reply package meet preset conditions to determine whether the reconciliation is successful.

[0073] In this embodiment, the specific reconciliation process is:

[0074] First, the total successful number of first packet returns of each type of communication service of each third party is obtained according to the first statistical table. Specifically, the successful number of first packet returns of each type of communication service of each third party can be obtained from the first statistical table first, and then the total successful number of first packet returns can be obtained by adding them up. At the same time, the total successful number of second packet returns of each type of communication service of each third party is obtained according to the second statistical table. Specifically, the successful number of second packet returns of each type of communication service can be obtained from each second statistical table first, and then the total successful number of second packet returns can be obtained by adding them up.

[0075] Then, detect whether the total success amount of the first return package and the total success amount of the second return package meet the preset conditions to determine whether the reconciliation is successful. If the preset conditions are met, the reconciliation is determined to be successful; if the preset conditions are not met, the reconciliation is determined to be unsuccessful. Among them, the preset conditions may include: calculating the difference between the total success amount of the first return package (denoted as S) and the total success amount of the second return package (denoted as S') according to a preset formula, and then detecting whether the difference value is within the preset threshold range. Among them, the difference value can be characterized by a relative deviation (bias), and the corresponding preset formula is bias = |S'-S| / S; the difference value can also be directly characterized by a ratio (ratio), and the corresponding preset formula is ratio = S' / S. It can be understood that different types of difference values ​​have corresponding preset threshold ranges.

[0076] It should be noted that, in the present embodiment, reconciliation is performed based on one dimension, namely, the total successful volume of packet replies from each third party for each type of communication service. In a specific embodiment, in order to further ensure the accuracy of the cost sharing results, the reconciliation dimensions may be further refined. For example, reconciliation may be performed based on multiple dimensions of the total successful volume of packet replies from each third party (the number of dimensions is the same as the number of third parties), or based on multiple dimensions of the total successful volume of packet replies for each type of communication service (the number of dimensions is the same as the number of types of communication service), etc.

[0077] In the embodiment of the present invention, the communication service data obtained based on the statistics of the big data platform and the communication service data counted by the third party can be automatically reconciled to ensure the consistency of the statistical data of the two parties, and then the cost sharing can be carried out when the reconciliation is consistent. The accuracy of the cost sharing result can be improved through the reconciliation process.

[0078] Furthermore, based on the above-mentioned first embodiment, a third embodiment of the cost sharing method of the present invention is proposed.

[0079] In this embodiment, step S50 includes:

[0080] Step a51, obtaining the number of successful second packet returns of each type of communication service of each third party from the second statistical table, and obtaining the unit price of each type of communication service of each third party;

[0081] Step a52, calculating the total cost of the first bill for the communication service within a preset time period according to the second successful packet return amount and the cost unit price;

[0082] When the reconciliation is successful, the second packet return success volume of each type of communication service of each third party is obtained from the second statistical table, and the unit price of each type of communication service of each third party is obtained. Since different third parties usually have different charging standards for different types of communication services, it is necessary to obtain the second packet return success volume of each type of communication service of each third party.

[0083] Then, the total first bill fee of the communication service within the preset time period is calculated based on the second packet return success volume and the fee unit price. Specifically, the second packet return success volume of each type of communication service of each third party is multiplied by the corresponding fee unit price to obtain the first bill fee of each type of communication service of each third party, and then the first bill fees are added together to obtain the total first bill fee. The preset time period is the fee sharing period, which can be set according to actual needs, such as one month, one quarter, etc.

[0084] It should be noted that, in specific implementation, due to inconsistency in the setting rules of the unit price of fees, a specific calculation rule for the total fee of the first bill may be set accordingly.

[0085] Step a53, obtaining the number of successful packet returns for each type of communication service in each business scenario within a preset time period; obtaining the number of successful packet returns for each type of communication service in each business scenario within a preset time period. The preset time period is the cost sharing period, which can be set according to actual needs, such as one month, one quarter, etc.

[0086] The number of successful packet returns for each type of communication service in each business scenario within a preset time period can preferably be obtained based on the third statistical table counted by the big data platform. The third statistical table is obtained by statistics based on business scenarios and types of communication services. The third statistical table includes at least the number of successful packet returns for each type of communication service in each business scenario (recorded as the third successful packet return amount), and may also include the number of dispatches, the number of successful dispatches, and the number of packets returned for each type of communication service in each business scenario (recorded as the third dispatch amount, the third successful dispatch amount, and the third packet return amount, respectively), as shown in Table 2 below. Among them, the third dispatch amount is the number of communication services dispatched by the cost sharing device, the third successful dispatch amount is the number of successful dispatches when the cost sharing device dispatches the communication service to a third party, the third packet return amount is the actual number of dispatches of the communication service fed back by the third party, and the third successful packet return amount is the number of successful communication service touches fed back by the third party. Taking SMS as an example of the communication service, the third sending volume is the number of SMS sent, and the successful sending volume is the number of successful sending (referring to successful sending to a third party). Since SMS has a certain length limit, it may be split into multiple messages during the actual sending process. Correspondingly, the third reply packet volume is the actual sending volume of SMS. Since not every SMS can be successfully received, the third reply packet success volume is the actual successful sending volume of SMS.

[0087]

[0088] Table 2

[0089] Of course, it can be understood that in a specific embodiment, the number of successful packet replies for each type of communication service in each business scenario within a preset time period can also be obtained by adding up the number of each type of communication service in each business scenario counted by each third party. However, compared with the statistics based on the big data platform in this embodiment, the workload of each third party will increase.

[0090] Step a54, calculating the first shared cost for each business scenario according to the first bill total cost and the successful return package amount;

[0091] Then, the first shared cost of each business scenario is calculated based on the total cost of the first bill and the number of successful return packages. Specifically, the calculation process of the first shared cost is as follows:

[0092] If the charging standards for each type of communication service are the same, the successful packet return volume of each type of communication service in each service scenario within the preset time period can be added up to obtain the total successful packet return volume of each service scenario, and then the successful packet return volume ratio of each service scenario can be calculated; finally, the successful packet return volume ratio of each service scenario can be multiplied by the total cost of the first bill to calculate the first apportioned cost of each service scenario. In other words, if the charging standards for each type of communication service are the same, the calculation formula for the first apportioned cost of each service scenario is as follows:

[0093]

[0094] Among them, F i represents the first shared cost of business scenario i; F' represents the total cost of the first bill; S 1i represents the number of successful packet returns for business scenario i; S1 represents the total number of successful packet returns, S1 = ∑S 1i , which is the sum of the successful return packets of each business scenario.

[0095] For example, in Table 2 above, it can be calculated that the total number of successful responses for business scenario 1 is 110+380=490, and the total number of successful responses for business scenario 2 is 400+240=640. Then, it can be calculated that the percentage of successful responses for business scenario 1 is 490 / (490+640)×100%=43.4%, and the percentage of successful responses for business scenario 1 is 640 / (490+640)×100%=56.6%. Assuming that the total cost of the first bill is 10,000 yuan, it can be calculated that the first apportioned cost for business scenario 1 is 10,000×43.4%=4,340 yuan, and the first apportioned cost for business scenario 2 is 10,000×56.6%=566 yuan.

[0096] If the charging standards for various types of communication services are different, a ratio can be determined based on the charging standards for various types of communication services, and then the actual successful packet return volume of each type of communication service in each business scenario can be calculated by combining the ratio and the successful packet return volume of each type of communication service in each business scenario within the preset time period. The actual successful packet return volume of each type of communication service in each business scenario within the preset time period can be added up to obtain the total successful packet return volume of each business scenario, and then the actual successful packet return volume ratio of each business scenario can be calculated; finally, the actual successful packet return volume ratio of each business scenario is multiplied by the total cost of the first bill to calculate the first apportioned cost of each business scenario. In other words, if the charging standards for various types of communication services are different, the calculation formula for the first apportioned cost of each business scenario is as follows:

[0097]

[0098] Among them, F i represents the first shared cost of business scenario i; F' represents the total cost of the first bill; S 2i Indicates the actual number of successful responses for business scenario i, S 2i =S 1i *a i , where a i is the proportion corresponding to business scenario i; S2 represents the total number of successful actual response packets, S2 = ∑S 2i , which is the sum of the actual successful return packets of each business scenario.

[0099] For example, in Table 2 above, if the charging standards for SMS type 1 and SMS type 2 of the communication service are 0.1 yuan and 0.2 yuan, the ratio can be determined to be 1:2. Correspondingly, the actual successful packet reply volume of SMS type 1 in business scenario 1 is calculated to be 110×1=110, the actual successful packet reply volume of SMS type 2 in business scenario 1 is 380×2=760, the actual successful packet reply volume of SMS type 1 in business scenario 2 is 400×1=400, and the actual successful packet reply volume of SMS type 2 in business scenario 2 is 240×2=480; then the actual total successful packet reply volume corresponding to business scenario 1 is calculated to be 110+760=870, and the actual total successful packet reply volume corresponding to business scenario 2 is 400+480=880. Then, it can be calculated that the actual successful return of business scenario 1 accounts for 870 / (870+880)×100%=49.7%, and the actual successful return of business scenario 1 accounts for 880 / (870+880)×100%=50.3%. Assuming that the total cost of the first bill is 10,000 yuan, it can be calculated that the first apportionment of business scenario 1 is 10,000×49.7%=4,970 yuan, and the first apportionment of business scenario 2 is 10,000×50.3%=5,030 yuan.

[0100] Step a55, adding the first shared expenses to obtain a second bill total expense;

[0101] After the first allocated costs of each business scenario are obtained, the first allocated costs are added together to obtain the total cost of the second bill.

[0102] Step a56, updating the first shared cost according to the first bill total cost and the second bill total cost to obtain the second shared cost of each business scenario.

[0103] Since the data will be rounded or truncated during the process of calculating the total cost of the second bill, there will be a certain difference between the total cost of the second bill and the total cost of the first bill, that is, the total cost of the second bill is not equal to the total cost of the first bill. At this time, it is necessary to update the first apportioned cost according to the total cost of the first bill and the second bill to obtain the second apportioned cost for each business scenario.

[0104] Further, as one of the allocation methods, step a56 may include:

[0105] Step a561, calculating the cost difference according to the total cost of the first bill and the total cost of the second bill;

[0106] Step a562, determining the to-be-updated shared expenses according to the first shared expenses, and updating the to-be-updated shared expenses according to the expense difference;

[0107] Step a563, obtaining the second shared expenses for each business scenario based on the updated shared expenses to be updated and the first shared expenses.

[0108] In this embodiment, the cost difference can be first calculated based on the total cost of the first bill and the total cost of the second bill; then, the shared cost to be updated is determined based on the first shared cost, for example, the maximum or minimum value of the first shared cost is determined as the shared cost to be updated, and the shared cost to be updated is updated according to the cost difference, that is, the cost difference is added to the shared cost to be updated, to obtain the updated shared cost to be updated; then, based on the updated shared cost to be updated and the first shared cost, the second shared cost for each business scenario is obtained.

[0109] Of course, in a specific embodiment, other apportionment methods may be set, for example, the cost difference is evenly distributed to each business scenario, and then each first apportionment cost is updated to obtain the second apportionment cost of each business scenario; for another example, the cost difference is proportionally distributed to each business scenario (such as the ratio between the first apportionment costs corresponding to each business scenario), and then each first apportionment cost is updated to obtain the second apportionment cost of each business scenario. Examples are not given here one by one.

[0110] In addition, it should be noted that if there is no difference between the total cost of the first bill and the total cost of the second bill, there is no need to update the first apportioned cost, and the first apportioned cost can be directly used as the final apportioned cost for each business scenario.

[0111] Furthermore, after step a56, the cost sharing method further includes:

[0112] The second shared cost is sent to the corresponding product party.

[0113] In this embodiment, after obtaining the second shared expenses of each business scenario, the second shared expenses can be sent to the corresponding product party to notify each product party of the expenses to be shared. The product is corresponding to the business scenario, and one business scenario corresponds to one product party.

[0114] In this embodiment, the total cost of the corresponding first bill is calculated based on the second statistical table sent by the third party, and then the first apportioned cost of each business scenario is preliminarily calculated based on the successful packet return volume of each type of communication service in each business scenario obtained by statistics; the first apportioned cost is then updated to avoid errors in the calculation process, and the final apportioned cost of each business scenario, i.e., the second apportioned cost, is obtained. In this way, the accurate apportionment of the communication costs generated by each business scenario when reaching the user can be achieved.

[0115] Furthermore, based on the above embodiments, a fourth embodiment of the cost sharing method of the present invention is proposed.

[0116] In this embodiment, after step S40, the cost sharing method further includes:

[0117] Step A, when the reconciliation fails, sending the return data supplementary push information to the third party, so that the third party sends the supplementary return data to the big data platform based on the return data supplementary push information, so that the big data platform updates the first statistical table based on the supplementary return data;

[0118] Step B: receiving the updated first statistical table sent by the big data platform, and performing reconciliation processing based on the updated first statistical table and the second statistical table.

[0119] In this embodiment, when the reconciliation fails, it may be because the third party missed pushing the return package data. At this time, the return package data supplementary push information can be sent to the third party, so that the third party sends the supplementary push return package data to the big data platform based on the return package data supplementary push information, so that the big data platform can update the first statistical table based on the supplementary push return package data. Correspondingly, after updating the first statistical table, the big data platform will update the updated first statistical table to the database of the cost sharing device. At this time, when the cost sharing device receives the updated first statistical table sent by the big data platform, it performs reconciliation processing based on the updated first statistical table and the second statistical table, and then continues to execute subsequent steps.

[0120] Of course, in a specific implementation example, when the reconciliation fails, the manager responsible for the expense sharing and the third-party staff may be notified so that the manager and the third-party staff can jointly investigate the reasons for the reconciliation failure.

[0121] Through the above method, when the reconciliation fails, the return packet data supplementary information can be sent to the third party, so that the third party sends the supplementary return packet data to the big data platform for the big data platform to update the first statistical table, and then the cost sharing device can automatically reconcile the communication service data obtained by the big data platform statistics update (i.e., the first statistical table) with the communication service data counted by the third party itself (i.e., the second statistical table) to ensure the consistency of the statistical data of the two parties, and then when the reconciliation is consistent, the cost is shared. Through the reconciliation process, the accuracy of the cost sharing results can be improved.

[0122] The invention also provides a cost sharing system.

[0123] In this embodiment, the cost sharing system includes: a cost sharing device, a big data platform and a third party, and the above-mentioned cost sharing method is applied to the cost sharing system.

[0124] Among them, the cost sharing device is used to execute each step in the above-mentioned cost sharing method embodiment. The specific functions and implementation process can refer to the above-mentioned embodiment and will not be repeated here.

[0125] The big data platform is used to obtain the dispatch data of the communication service from the cost sharing device through the scheduling system at a regular interval, and obtain the reply data of the communication service from the distributed message system;

[0126] Synchronize the sent data to the corresponding partition of the sent table of the first database according to the sent date, and synchronize the reply data to the corresponding partition of the reply table of the first database according to the reply date;

[0127] Based on the synchronously obtained download table and packet return table, the packet return data is associated with the download data, and an intermediate table is obtained according to the association result;

[0128] The data information of each type of communication service of each third party within a preset time period is collected according to the intermediate table to obtain a first statistical table.

[0129] In this embodiment, Figure 3 As shown, the big data platform is used to obtain the communication service delivery data from the cost sharing device through the scheduling system at regular intervals (such as at dawn every day), and to obtain the communication service return data from the distributed messaging system. Among them, the distributed messaging system can be optionally Kafka, which can be used for the storage, publishing and subscription of massive offline data messages; the delivery data is the data information of the communication service delivered by the cost sharing device, and the return data is the delivery status of the communication service fed back by the third party.

[0130] Then, the sent data is synchronized to the corresponding partition of the first database's sent data table according to the date of sending, and the reply data is synchronized to the corresponding partition of the first database's reply table according to the date of reply. The first database can optionally be a Hive database; the sent data table includes the date of sending, third party, business scenario, type of communication service, first sending status (referring to the sending status sent by the cost sharing device to the third party) and other information of each sent communication service, and the reply table includes the identifier of the communication service fed back by each third party (i.e., an identifier bound to each communication service data, used for subsequent association with the sent data), reply date, second sending status (referring to the sending status sent by the third party to the user terminal) and other information.

[0131] Then, based on the synchronized download table and reply table, the reply data is associated with the download data, and the intermediate table is obtained according to the association result. Specifically, the intermediate table is based on the download table, that is, the download data synchronized in the download table is first synchronized to the corresponding partition of the intermediate table, and then the download data in the corresponding partition of the intermediate table is associated based on the reply data synchronized in the reply table to update the intermediate table. For example, if the download date of the synchronized download data in the download table is date1, a new partition of date1 is created in the intermediate table, and the download data is synchronized to the date1 partition of the intermediate table. If the reply data in the reply table includes communication services with download dates of date1, date2, and date3, the corresponding communication services will be found in the partitions of date1, date2, and date3 of the intermediate table according to the identifier of the communication service in the reply data, so as to associate and update the corresponding second sending status, thereby obtaining the intermediate table.

[0132] Finally, the data information of each type of communication service of each third party within the preset time period is counted according to the intermediate table to obtain a first statistical table. The first statistical table is obtained by counting the third party and the type of communication service, and the first statistical table includes at least the successful packet return volume of each type of communication service of each third party (recorded as the first successful packet return volume), and may also include the sending volume, successful sending volume and packet return volume (recorded as the first sending volume, the first successful sending volume and the first packet return volume, respectively), and the sending date of each type of communication service of each third party.

[0133] The third party is used to send the reply data to the distributed messaging system;

[0134] It is also used to receive the sent data sent by the cost sharing device, and obtain a second statistical table based on the statistics of the sent data.

[0135] In this embodiment, a third party, such as Figure 3 As shown, after the communication service is issued, the packet return data is sent to the distributed message system, so that the cost sharing device and the big data platform can obtain it from the distributed message system. Among them, the distributed message system can optionally be kafka, which can be used for the storage, publication and subscription of massive offline data messages. The third party is also used to receive the issued data sent by the cost sharing device, and obtain a second statistical table based on the issued data. The second statistical table is obtained by statistics of each third party according to the type of communication service, and the second statistical table includes one or more, and its number is the same as the number of third parties. The second statistical table includes at least the number of successful packet returns of each type of communication (recorded as the second successful packet return amount), and can also include the issuance amount, successful issuance amount and packet return amount of each type of communication service (recorded as the second issuance amount, the second successful issuance amount and the second packet return amount, respectively), and the issuance date. The second statistical table is used for the cost sharing device to reconcile.

[0136] This embodiment provides a cost sharing system, which includes a cost sharing device, a big data platform and a third party. By constructing the above-mentioned cost sharing system, accurate sharing of communication costs when reaching users is achieved through data interaction between the cost sharing device, the big data platform and the third party.

[0137] Furthermore, the third party is further configured to send supplementary push packet return data to the big data platform based on the supplementary push information of the packet return data when receiving the supplementary push information of the packet return data sent by the cost sharing device;

[0138] The big data platform is further configured to update the first statistical table based on the supplementary push packet return data when the supplementary push packet return data is received.

[0139] In this embodiment, when the expense sharing device fails to reconcile, it will send a return packet data supplementary push information to the third party. At this time, the third party is also used to send supplementary return packet data to the big data platform based on the return packet data supplementary push information when receiving the return packet data supplementary push information sent by the expense sharing device. Correspondingly, the big data platform is also used to update the first statistical table based on the supplementary return packet data when receiving the supplementary return packet data. Specifically, in the process of updating the first statistical table based on the supplementary return packet data, the return packet table can be updated first, and then, when the intermediate table is updated based on the updated return packet table in accordance with the above method, the first statistical table is further updated based on the updated intermediate table.

[0140] After updating the first statistical table, the big data platform may send the updated first statistical table to the expense sharing device, so that the expense sharing device reconciles the accounts based on the updated first statistical table.

[0141] Through the above method, when reconciliation fails, the cost sharing device sends a return package data supplementary push information to the third party. At this time, the third party sends the supplementary return package data to the big data platform based on the return package data supplementary push information. Correspondingly, the big data platform updates the first statistical table based on the supplementary return package data, which can facilitate the subsequent cost sharing device to re-reconcile based on the updated first statistical table, and then perform cost sharing.

[0142] Furthermore, the third party is further configured to parse the communication service issuing instruction sent by the expense sharing device when receiving the communication service issuing instruction to obtain the communication service data and the communication service identifier;

[0143] Based on the communication service data, a communication service is issued, a corresponding issuance result is obtained, and a reply packet data of the communication service is generated according to the issuance result and the communication service identifier;

[0144] In this embodiment, the third party is also used to parse the communication service delivery instruction when receiving the communication service delivery instruction sent by the cost sharing device, and obtain the communication service data and the communication service identifier. Then, the communication service is delivered based on the communication service data to obtain the corresponding delivery result, and the communication service return packet data is generated according to the delivery result and the communication service identifier.

[0145] The big data platform is further used to synchronize the sent data to the corresponding partition of the intermediate table based on the synchronized sent data table;

[0146] Based on the synchronously obtained packet return table, the packet return data is parsed to obtain the communication service identifier, and a target delivery date corresponding to the packet return data is determined according to the communication service identifier;

[0147] The returned packet data is associated with the issued data in the synchronized intermediate table based on the target issuing date, and the intermediate table is obtained according to the associated result.

[0148] In this embodiment, after the big data platform obtains the download table and the packet return table based on the synchronization of the sent data and the packet return data, it first synchronizes the sent data to the corresponding partition of the intermediate table based on the synchronized download table; that is, multiple partitions are set up in the intermediate table, and each partition corresponds to the sending date. Then, based on the synchronized packet return table, the packet return data is parsed to obtain the communication service identifier, and the target sending date corresponding to the packet return data is determined according to the communication service identifier. Among them, the packet return data includes the communication service identifier, and the communication service identifier includes the sending date, so the corresponding target sending date can be parsed. Then, based on the target sending date, the packet return data is associated with the sent data in the synchronized intermediate table, and the intermediate table is obtained according to the association result, that is, the packet return status (i.e., the second sending status) of each sent data is updated according to the packet return data.

[0149] The invention also provides a cost sharing device.

[0150] Reference Figure 4 , Figure 4 It is a schematic diagram of the functional modules of the first embodiment of the expense sharing device of the present invention.

[0151] like Figure 4 As shown, the cost sharing device includes:

[0152] The first acquisition module 10 is used to acquire communication service data and a communication service identifier when issuing a communication service, and generate a communication service issuing instruction based on the communication service data and the communication service identifier;

[0153] A generating module 20, configured to send the communication service delivery instruction to a third party and generate corresponding delivery data, so that the third party delivers the communication service based on the communication service delivery instruction and generates corresponding reply data;

[0154] The second acquisition module 30 is used to obtain a first statistical table of communication services within a preset time period obtained by the big data platform based on the sent data and the returned packet data, and obtain a second statistical table of communication services within the preset time period sent by the third party;

[0155] A reconciliation module 40, configured to perform reconciliation processing based on the first statistical table and the second statistical table;

[0156] The expense sharing module 50 is used to obtain the total expense of the first bill of the communication service within a preset time period according to the second statistical table when the reconciliation is successful, and to share the expense based on the total expense of the first bill.

[0157] Furthermore, the first acquisition module 10 includes:

[0158] A first acquisition unit, used to acquire communication service data, current date and current time, and generate a random number when issuing a communication service;

[0159] An identifier generating unit is used to generate a communication service identifier according to the current date, the current time and the random number.

[0160] Furthermore, the reconciliation module 40 includes:

[0161] A second acquisition unit is used to acquire the total successful amount of first packet return of each type of communication service of each third party according to the first statistical table, and acquire the total successful amount of second packet return of each type of communication service of each third party according to the second statistical table;

[0162] The detection unit is used to detect whether the total successful amount of the first reply package and the total successful amount of the second reply package meet the preset conditions to determine whether the reconciliation is successful.

[0163] Furthermore, the cost sharing module 50 includes:

[0164] A third acquisition unit is used to acquire the second packet return success quantity of each type of communication service of each third party from the second statistical table, and acquire the unit price of each type of communication service of each third party;

[0165] A first calculation unit, configured to calculate a first bill total cost of the communication service within a preset time period according to the second successful packet return amount and the cost unit price;

[0166] A fourth acquisition unit, used to acquire the number of successful packet returns of each type of communication service in each service scenario within a preset time period;

[0167] A second calculation unit, configured to calculate a first shared cost for each business scenario according to the first bill total cost and the number of successful packet returns;

[0168] A third calculation unit, configured to add the first shared expenses to obtain a second bill total expense;

[0169] The cost updating unit is used to update the first shared cost according to the first bill total cost and the second bill total cost to obtain the second shared cost of each business scenario.

[0170] Furthermore, the fee updating unit is specifically used for:

[0171] Calculate the cost difference based on the total cost of the first bill and the total cost of the second bill;

[0172] Determine the to-be-updated shared expenses according to the first shared expenses, and update the to-be-updated shared expenses according to the expense difference;

[0173] Based on the updated shared expenses to be updated and the first shared expenses, a second shared expense for each business scenario is obtained.

[0174] Furthermore, the cost sharing device further comprises:

[0175] An information sending module, used for sending the return data supplementary push information to the third party when the reconciliation fails, so that the third party sends the supplementary return data to the big data platform based on the return data supplementary push information, so that the big data platform updates the first statistical table based on the supplementary return data;

[0176] The receiving module is used to receive the updated first statistical table sent by the big data platform, and perform reconciliation processing based on the updated first statistical table and the second statistical table.

[0177] Among them, the functional implementation of each module in the above-mentioned cost sharing device corresponds to the various steps in the above-mentioned cost sharing method embodiment, and its functions and implementation processes will not be repeated here one by one.

[0178] The present invention also provides a computer-readable storage medium on which a cost sharing program is stored. When the cost sharing program is executed by a processor, the steps of the cost sharing method described in any of the above embodiments are implemented.

[0179] The specific embodiments of the computer-readable storage medium of the present invention are basically the same as the embodiments of the above-mentioned cost sharing method, and will not be described in detail here.

[0180] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system 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 system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0181] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0182] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0183] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.

Claims

1. A cost sharing method, characterized in that: The cost sharing methods include: When issuing a communication service, obtaining communication service data and a communication service identifier, and generating a communication service issuing instruction based on the communication service data and the communication service identifier; Sending the communication service delivery instruction to a third party and generating corresponding delivery data, so that the third party delivers the communication service based on the communication service delivery instruction and generates corresponding reply data; Obtain a first statistical table of communication services within a preset time period obtained by the big data platform based on the sent data and the reply data, and obtain a second statistical table of communication services within a preset time period sent by the third party; wherein the first statistical table is obtained by the big data platform according to the third party and the type of communication services; and the second statistical table is obtained by the third party according to the type of communication services; Performing reconciliation processing based on the first statistical table and the second statistical table; When the reconciliation is successful, the total cost of the first bill for the communication service within the preset time period is obtained according to the second statistical table, and the cost is allocated based on the total cost of the first bill.

2. The cost sharing method according to claim 1, characterized in that: When the communication service is issued, the step of obtaining the communication service data and the communication service identifier includes: When issuing a communication service, obtain the communication service data, the current date and the current time, and generate a random number; Generate a communication service identifier according to the current date, the current time and the random number.

3. The cost sharing method according to claim 1, characterized in that: The step of performing reconciliation processing based on the first statistical table and the second statistical table includes: Obtain the total successful number of first packet returns of each type of communication service of each third party according to the first statistical table, and obtain the total successful number of second packet returns of each type of communication service of each third party according to the second statistical table; Check whether the total successful amount of the first reply package and the total successful amount of the second reply package meet the preset conditions to determine whether the reconciliation is successful.

4. The cost sharing method according to claim 1, characterized in that: The step of obtaining the total cost of the first bill for the communication service within a preset time period according to the second statistical table, and allocating the cost based on the total cost of the first bill includes: Obtaining the number of successful second packet returns of each type of communication service of each third party from the second statistical table, and obtaining the unit price of each type of communication service of each third party; Calculate the total cost of the first bill for the communication service within a preset time period according to the second successful packet return amount and the cost unit price; Obtain the number of successful packet returns for each type of communication service in each service scenario within a preset time period; Calculate the first shared cost for each business scenario according to the first bill total cost and the successful return volume; Adding the first shared expenses to obtain a second bill total expense; The first shared cost is updated according to the first bill total cost and the second bill total cost to obtain the second shared cost for each business scenario.

5. The cost sharing method according to claim 4, characterized in that: The step of updating the first shared cost according to the first bill total cost and the second bill total cost to obtain the second shared cost for each business scenario includes: Calculate the cost difference based on the total cost of the first bill and the total cost of the second bill; Determine the to-be-updated shared expenses according to the first shared expenses, and update the to-be-updated shared expenses according to the expense difference; Based on the updated shared expenses to be updated and the first shared expenses, a second shared expense for each business scenario is obtained.

6. The cost sharing method according to any one of claims 1 to 5, characterized in that: After the step of performing reconciliation processing based on the first statistical table and the second statistical table, the method further includes: When the reconciliation fails, sending the return data supplementary push information to the third party, so that the third party sends the supplementary return data to the big data platform based on the return data supplementary push information, so that the big data platform updates the first statistical table based on the supplementary return data; Receive the updated first statistical table sent by the big data platform, and perform reconciliation processing based on the updated first statistical table and the second statistical table.

7. A cost sharing device, characterized in that: The cost sharing device comprises: A first acquisition module, used to acquire communication service data and a communication service identifier when issuing a communication service, and generate a communication service issuing instruction based on the communication service data and the communication service identifier; A generating module, used to send the communication service issuing instruction to a third party and generate corresponding issuing data, so that the third party issues the communication service based on the communication service issuing instruction and generates corresponding reply data; A second acquisition module is used to obtain a first statistical table of communication services within a preset time period obtained by the big data platform based on the sent data and the reply data, and obtain a second statistical table of communication services within the preset time period sent by the third party; wherein the first statistical table is obtained by the big data platform according to the third party and the type of communication services; the second statistical table is obtained by the third party according to the type of communication services; A reconciliation module, used for performing reconciliation processing based on the first statistical table and the second statistical table; The expense sharing module is used to obtain the total cost of the first bill of the communication service within a preset time period according to the second statistical table when the reconciliation is successful, and to share the expenses based on the total cost of the first bill.

8. A cost sharing device, characterized in that: The cost sharing device includes: a memory, a processor, and a cost sharing program stored in the memory and executable on the processor. When the cost sharing program is executed by the processor, the steps of the cost sharing method according to any one of claims 1 to 6 are implemented.

9. A cost sharing system, characterized in that: The cost sharing system includes: a cost sharing device, a big data platform and a third party; wherein, The cost sharing device is the cost sharing device as claimed in claim 8; The big data platform is used to obtain the dispatch data of the communication service from the cost sharing device through the scheduling system at a regular interval, and obtain the reply data of the communication service from the distributed message system; Synchronize the sent data to the corresponding partition of the sent table of the first database according to the sent date, and synchronize the reply data to the corresponding partition of the reply table of the first database according to the reply date; Based on the synchronously obtained download table and packet return table, the packet return data is associated with the download data, and an intermediate table is obtained according to the association result; According to the intermediate table, data information of each type of communication service of each third party within a preset time period is collected to obtain a first statistical table; The third party is used to send the reply data to the distributed messaging system; It is also used to receive the sent data sent by the cost sharing device, and obtain a second statistical table based on the statistics of the sent data.

10. The cost sharing system according to claim 9, characterized in that: The third party is further configured to send supplementary push packet return data to the big data platform based on the supplementary push information of the packet return data when receiving the supplementary push information of the packet return data sent by the cost sharing device; The big data platform is further configured to update the first statistical table based on the supplementary push packet return data when the supplementary push packet return data is received.

11. The cost sharing system according to claim 9 or 10, characterized in that: The third party is further configured to parse the communication service issuing instruction sent by the expense sharing device when receiving the communication service issuing instruction to obtain the communication service data and the communication service identifier; Based on the communication service data, a communication service is issued, a corresponding issuance result is obtained, and a reply packet data of the communication service is generated according to the issuance result and the communication service identifier; The big data platform is further used to synchronize the sent data to the corresponding partition of the intermediate table based on the synchronized sent data table; Based on the synchronously obtained packet return table, the packet return data is parsed to obtain the communication service identifier, and a target delivery date corresponding to the packet return data is determined according to the communication service identifier; The returned packet data is associated with the issued data in the synchronized intermediate table based on the target issuing date, and the intermediate table is obtained according to the associated result.

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