CN113630432B - Service data management method and device - Google Patents

Service data management method and device Download PDF

Info

Publication number
CN113630432B
CN113630432B CN202010389559.3A CN202010389559A CN113630432B CN 113630432 B CN113630432 B CN 113630432B CN 202010389559 A CN202010389559 A CN 202010389559A CN 113630432 B CN113630432 B CN 113630432B
Authority
CN
China
Prior art keywords
service
service data
group
fragment
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010389559.3A
Other languages
Chinese (zh)
Other versions
CN113630432A (en
Inventor
李超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Asiainfo Technologies China Inc
Original Assignee
Asiainfo Technologies China Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Asiainfo Technologies China Inc filed Critical Asiainfo Technologies China Inc
Priority to CN202010389559.3A priority Critical patent/CN113630432B/en
Publication of CN113630432A publication Critical patent/CN113630432A/en
Application granted granted Critical
Publication of CN113630432B publication Critical patent/CN113630432B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a device for managing service data, which are used service data of a first user are obtained, a group identification of the first group to which the first user belongs is determined, wherein the first group comprises a plurality of users, a current value of total service data corresponding to the group identification of the first group in first equipment is queried, when the current value is not less than the using amount in the used service data, a target fragment service record needing to be updated is determined from fragment service records comprising the group identification of the first group, and the current value of fragment service data in the target fragment service record is modified according to the using amount, so that the processing efficiency of the used service data can be effectively improved.

Description

Service data management method and device
Technical Field
The present invention relates to the field of data management, and in particular, to a method and apparatus for managing service data.
Background
With the development of data management technology, the management technology of service data is continuously improved.
Currently, when a large enterprise handles business of data resources such as internet traffic or telephone call duration with an operator, a corresponding group package is usually handled. The data resources owned by the group package, i.e., group data resources, may be commonly owned and used by the various members within the group. For each group package group data resource, a corresponding business record is recorded in the database of the server. Each business record comprises the rest group data resources in the corresponding group package.
After any member in the group uses the group data resource, the client device generates a data usage record (such as a ticket) accordingly, while the prior art can query the group data resource of the corresponding service record in the database according to the data usage record generated by the client device, lock the queried service record (the service record cannot process other data usage records corresponding to the service record during locking), calculate the group data resource required to be updated by the service record, update the group data resource in the service record, and unlock the service record after updating is finished.
However, when the data resource in a group package is used multiple times by the members in the group in a short time, and multiple data usage records corresponding to the same service record are generated, the prior art needs to process one data usage record after completing the process of the other data usage record, so that the processing efficiency is low.
Disclosure of Invention
In view of the above problems, the present invention provides a method and apparatus for managing service data, which overcomes the above problems or at least partially solves the above problems, and the technical solution is as follows:
a business data management method, a first device stores a total table and a fragment table, wherein the total table stores at least a total business record of a first business, and the total business record of the first business at least comprises: the group identification corresponds to the total service data of the first service, the fragmentation table at least comprises a fragmentation service record group of the first service, the fragmentation service record group of the first service comprises at least two fragmentation service records of the first service, and each fragmentation service record of the first service at least comprises corresponding fragments: the group identifier and the fragmented service data of the first service, wherein the sum of initial values of the fragmented service data of the first service corresponding to the group identifier of the first group is equal to the initial value of the total service data of the first service corresponding to the group identifier of the first group, and the method comprises the following steps:
Acquiring used service data of a first user;
determining a group identification of the first group to which the first user belongs, wherein the first group comprises a plurality of users;
inquiring the current value of the total service data of the first service corresponding to the group identification of the first group;
when the current value is not smaller than the usage amount in the used service data of the first service, determining a target fragment service record to be updated from the fragment service records of the first service corresponding to the group identification of the first group;
and modifying the current value of the fragment service data in the target fragment service record according to the use amount.
Optionally, the method further comprises:
and modifying the current value of the total service data of the first service corresponding to the group identification of the first group according to the modification of the current value of each piece of service data of the first service corresponding to the group identification of the first group.
Optionally, the modifying the current value of the fragment service data in the target fragment service record according to the usage amount includes:
determining whether the current value of the fragment service data in the target fragment service record is not less than the use amount in the used service data, if so, subtracting the use amount in the used service data from the current value of the fragment service data in the target fragment service record, and taking the calculation result as the current value of the fragment service data in the target fragment service record;
Otherwise, modifying the current value of the fragment service data in the target fragment service record to 0, and modifying the current values of other fragment service data of the first service corresponding to the group identifier of the first group, so that the sum of the current modification quantity of the current value of the fragment service data in the target fragment service record and the current modification quantity of the current value of the other fragment service data is equal to the use quantity in the used service data.
Optionally, after the querying the current value of the total service data of the first service corresponding to the group identifier of the first group, the method further includes:
performing first locking processing on the total service data of the first service corresponding to the group identifier of the first group;
obtaining a current value of total service data of the first service corresponding to the group identifier of the first group;
and carrying out first unlocking processing on the total service data of the first service corresponding to the group identification of the first group.
Optionally, after determining the target fragment service record to be updated from the fragment service records of the first service corresponding to the group identifier of the first group, the method further includes:
And performing second locking processing on the fragment service data of the target fragment service record.
Optionally, after the modifying the current value of the fragment service data in the target fragment service record according to the usage amount, the method further includes:
and carrying out second unlocking processing on the fragment service data of the target fragment service record.
A management device of service data, a first device stores a total table and a fragment table, wherein the total table stores at least a total service record of a first service, and the total service record of the first service at least comprises: the group identification corresponds to the total service data of the first service, the fragmentation table at least comprises a fragmentation service record group of the first service, the fragmentation service record group of the first service comprises at least two fragmentation service records of the first service, and each fragmentation service record of the first service at least comprises corresponding fragments: the group identifier and the fragmented service data of the first service, the sum of initial values of the fragmented service data of the first service corresponding to the group identifier of the first group is equal to the initial value of the total service data of the first service corresponding to the group identifier of the first group, and the device comprises: the device comprises a first obtaining unit, a first determining unit, a current value inquiring unit, a second determining unit and a first modifying unit, wherein:
The first obtaining unit is used for obtaining used service data of a first user;
the first determining unit is configured to determine a group identifier of the first group to which the first user belongs, where the first group includes a plurality of users;
the current value query unit is configured to query a current value of total service data of the first service corresponding to the group identifier of the first group;
the second determining unit is configured to determine, when the current value is not less than the usage amount in the used service data of the first service, a target fragment service record to be updated from fragment service records of the first service corresponding to the group identifier of the first group;
and the first modification unit is used for modifying the current value of the fragment service data in the target fragment service record according to the usage amount.
Optionally, the apparatus further includes: a second modification unit for modifying the second data,
the second modifying unit is configured to modify, according to modification of the current value of each piece of service data of the first service corresponding to the group identifier of the first group, the current value of the total service data of the first service corresponding to the group identifier of the first group.
Optionally, the first modification unit is specifically configured to:
determining whether the current value of the fragment service data in the target fragment service record is not less than the use amount in the used service data, if so, subtracting the use amount in the used service data from the current value of the fragment service data in the target fragment service record, and taking the calculation result as the current value of the fragment service data in the target fragment service record;
otherwise, modifying the current value of the fragment service data in the target fragment service record to 0, and modifying the current values of other fragment service data of the first service corresponding to the group identifier of the first group, so that the sum of the current modification quantity of the current value of the fragment service data in the target fragment service record and the current modification quantity of the current value of the other fragment service data is equal to the use quantity in the used service data.
Optionally, the apparatus further includes: the device comprises a first locking unit, a second obtaining unit and a first unlocking unit, wherein:
the first locking unit is configured to perform a first locking process on the total service data of the first service corresponding to the group identifier of the first group after the current value of the total service data of the first service corresponding to the group identifier of the first group is queried;
The second obtaining unit is configured to obtain a current value of total service data of the first service corresponding to the group identifier of the first group;
the first unlocking unit is configured to perform a first unlocking process on total service data of the first service corresponding to the group identifier of the first group.
Optionally, the apparatus further includes: a second locking unit is provided for locking the second locking unit,
the second locking unit is configured to perform a second locking process on the fragmented service data of the target fragmented service record after determining, from among the fragmented service records of the first service corresponding to the group identifier of the first group, a target fragmented service record to be updated.
Optionally, the apparatus further includes: a second unlocking unit, which is arranged on the first unlocking unit,
the second unlocking unit is configured to perform a second unlocking process on the fragmented service data of the target fragmented service record after modifying the current value of the fragmented service data in the target fragmented service record according to the usage amount.
The method and the device for managing the service data determine the group identification of the first group to which the first user belongs by obtaining the used service data of the first user, wherein the first group comprises a plurality of users, the current value of the total service data corresponding to the group identification of the first group in the first equipment is queried, when the current value is not less than the using amount in the used service data, the target fragment service record needing to be updated is determined from the fragment service records comprising the group identification of the first group, the current value of the fragment service data in the target fragment service record is modified according to the using amount, and when one piece of the used service data is processed, only part of fragment service records are needed to be locked, and all the fragment service records and the total service records are not needed to be locked, so that the plurality of used service data can be processed at the same time, and the processing efficiency of the used service data is effectively improved.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present application and that other drawings can be obtained according to the drawings provided without inventive effort to a person skilled in the art.
Fig. 1 shows a flowchart of a method for managing service data according to an embodiment of the present invention;
fig. 2 is a flowchart of another service data management method according to an embodiment of the present invention;
fig. 3 is a flowchart of another service data management method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a service data management device according to an embodiment of the present invention;
Fig. 5 is a schematic structural diagram of another service data management device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another service data management apparatus according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
The embodiment provides a method for managing service data, a first device stores a total table and a fragment table, at least a total service record of a first service is stored in the total table, and the total service record of the first service at least includes: the group identification corresponds to the total service data of the first service, the fragmentation table at least comprises a fragmentation service record group of the first service, the fragmentation service record group of the first service comprises at least two fragmentation service records of the first service, and each fragmentation service record of the first service at least comprises corresponding fragments: the group identifier and the fragmented service data of the first service, the sum of initial values of the fragmented service data of the first service corresponding to the group identifier of the first group is equal to the initial value of the total service data of the first service corresponding to the group identifier of the first group, as shown in fig. 1, the service data management method may include the following steps:
S10, obtaining used service data of a first user;
the first device may be a server device (e.g., a server), or may be a switch or a base station.
Specifically, the invention can set a total table and a fragmentation table in the database of the first device. Both the summary table and the sharded table may be data tables in a database.
Wherein, the total business data can record the group data resource in the corresponding business.
Wherein the total table stores total service data of at least one service of at least one group, for example: the group is company A, which subscribes to two services, namely a B traffic service and a C traffic service, and the total service data of the B traffic service of company A and the total service data of the C traffic service of company A can be stored in a summary table. Each total service record in the summary table may include total service data for a group at a service. Specifically, each total service record may include a corresponding: group identification, service identification, and total service data.
The used service data is a data use record generated after a user uses a certain service.
Specifically, the invention can determine the service identification of the service to which the used service data of the user belongs and the group identification of the group to which the user belongs, and further inquire the total service data corresponding to the determined service identification and the group identification from the summary list. Of course, the identification of traffic in the summary table is not necessary, for example: when there are multiple total tables and only one total service data of one service is stored in each total table, the service identification is not required to be stored in the total table. At this time, the invention can determine and store the total table of the service data of the service to which the used service data belongs according to the service type of the service to which the used service data belongs, and then the corresponding total service data can be queried through the group identification of the group to which the user belongs.
Wherein each set of fragmented traffic records in the fragmentation table may correspond to one total traffic record in the summary table. Specifically, the total service data in one total service record can be split to obtain a plurality of fragment service data, each fragment service data obtained by splitting can be located in one fragment service record, and the fragment service record where the plurality of fragment service data is obtained by splitting forms one fragment service record group corresponding to the total service record. Specifically, after adding the pieces of service data in one piece of service record group, the added pieces of service data can be equal to the total service data in the total service record corresponding to the piece of service record group. Of course, similar to the summary table, the fragmentation table may also store service identifiers, which are not necessary in the fragmentation table.
Optionally, the total service records in the total table may further include a total record identifier, and the total record identifier in each total service record may be different. The total record identification may be a primary key in the summary table.
Optionally, the fragment service record in the fragment table may further include a fragment record identifier, and the fragment record identifier in each fragment service record may be different. The shard record identifier may be a primary key in the shard table.
Because of the existence of multiple services, the invention can separately set a summary table and a corresponding fragment table for each service, for example: setting a first total table for storing the service data of the first service, and setting a first fragmentation table for storing the service data of the first service; setting a second total table for storing the service data of the second service, and setting a second fragmentation table for storing the service data of the second service, wherein the first total table and the second total table are different; the first and second shard tables are different. For ease of understanding, the following first summary table, first sharding table are respectively illustrated:
for example: the first traffic may be B-traffic and the first summary may be as shown in table 1 or table 2.
Table 1, B summary of traffic
Group identification Total service data
Company A 20G
Company B 10G
Table 2, B summary of traffic
Group identification Service identification Total service data
Company A B traffic service 20G
Company B B traffic service 10G
Tables 1 and 2 are all summary tables of B traffic, and all the traffic data of the B traffic are stored, and table 1 integrates the traffic data of the B traffic of company a and company B into one table, so that for the B traffic, whether company a or company B can determine the total traffic data of the B traffic by group identification. The differences between table 2 and table 1 are: the service identity is also included in table 2. By means of the service identification it is possible to further verify which service the total service data in table 2 is the service data of. Of course, both tables 1 and 2 can determine which service data is the total service data in the total table by table name. Namely: the service identity is not necessary in the summary table.
For example: the first traffic may be B traffic and the first fragmentation table may be as shown in table 3 or table 4.
Table 3, B traffic fragmentation table
Group identification Service identification Fragmented traffic data
Company A B traffic service 10G
Company A B traffic service 10G
Company B B traffic service 8G
Company B B traffic service 2G
Table 4, B traffic fragmentation table
Among these, table 3 is a slice table corresponding to the total table shown in table 1, and table 4 is a slice table corresponding to the total table shown in table 2. The sum of the fragment service data of the B-traffic service corresponding to the group identification "a company" in table 3 is equal to the total service data of the B-traffic service corresponding to the group identification "a company" in table 1. Accordingly, the sum of the fragment service data corresponding to the group identifier "a company" and corresponding to the service identifier "B traffic service" in table 4 is equal to the total service data corresponding to the group identifier "a company" and corresponding to the service identifier "B traffic service" in table 2. The difference between table 4 and table 3 is: the service identity is also included in table 4.
Of course, since there are a plurality of groups, the present invention may also separately set a total table and a corresponding fragment table for each group, for example: setting a third total table for storing the business data of the first group, and setting a third fragmentation table for storing the business data of the first group; setting a fourth total table for storing the service data of the second group, and setting a fourth fragment table for storing the service data of the second group, wherein the third total table and the fourth total table are different; the third and fourth shard tables are different.
For ease of understanding, the following third summary table and third slice table are each illustrated:
for example: the group identification of the first group is company a and the third summary may be as shown in table 5 or table 6.
Table 5, company a summary
Service identification Total service data
B traffic service 20G
C traffic service 30G
Table 6, company a summary
Group identification Service identification Total service data
Company A B traffic service 20G
Company A C traffic service 30G
Tables 5 and 6 are all tables of company a, all store business data of company a, and tables 5 and 6 integrate business data of business B and business C of company a into one table, so that for company a, no matter business B or business C, corresponding total business data can be determined by business identification. The difference between tables 5 and 6 is that: group identification is also included in table 6. By means of the group identification it can be further verified which group the total traffic data in table 6 is. Of course, both tables 5 and 6 can determine which group of traffic data the total traffic data in the summary table is by table name.
For example: the first group may be company a and the third shard table may be as shown in table 7 or table 8.
TABLE 7A company fragmentation Table
Service identification Fragmented traffic data
B traffic service 10G
B flow industryBusiness service 10G
C traffic service 18G
C traffic service 12G
Table 8, company A fragmentation Table
Group identification Service identification Fragmented traffic data
Company A B traffic service 10G
Company A B traffic service 10G
Company A C traffic service 18G
Company A C traffic service 12G
Among these, table 7 is a slice table corresponding to the total table shown in table 5, and table 8 is a slice table corresponding to the total table shown in table 6. The sum of the fragment service data corresponding to the service identifier "B traffic" in table 7 is equal to the total service data corresponding to the service identifier "B traffic" in table 5. Correspondingly, the sum of the fragment service data corresponding to the group identifier "a company" and the service identifier "B traffic service" in the table 8 is equal to the total service data corresponding to the group identifier "a company" and the service identifier "B traffic service" in the table 6. The differences between table 8 and table 7 are: group identification is also included in table 8.
Of course, the present invention may also separately set a summary table and a corresponding fragment table for each group and each service, for example: setting a fifth total table for storing the service data of the first service of the first group, and setting a fifth fragmentation table for storing the service data of the first service of the first group; setting a sixth total table for storing the service data of the first service of the second group, and setting a sixth fragmentation table for storing the service data of the first service of the second group; setting a seventh total table for storing the service data of the second service of the first group, and setting a seventh fragmentation table for storing the service data of the second service of the first group; setting an eighth total table for storing the service data of the second service of the second group, and setting an eighth fragmentation table for storing the service data of the second service of the second group.
The invention can set the business data of a plurality of businesses of a plurality of groups in one summary table, as shown in table 9.
Table 9, summary
Group identification Service identification General industryData of business
Company A B traffic service 20G
Company D C traffic service 30G
The invention can set the business data of a plurality of businesses of a plurality of groups in one fragment table, as shown in table 10.
TABLE 10, fragment Table
Group identification Service identification Fragmented traffic data
Company A B traffic service 10G
Company A B traffic service 10G
Company D C traffic service 18G
Company D C traffic service 12G
Specifically, the total service record may further include information such as a service type, a valid period, and the like. The fragmented traffic record may also contain information about traffic type, validity period, etc.
In practical application, when a certain group subscribes to a service, the invention can correspondingly establish a total service record to record the related information of the subscribed service of the group.
Wherein a group may include a plurality of users, the group may be an organization, etc., such as: a company has unified subscription to the cell phone of its staff for the call duration service of a group, and each staff of the company shares free calling call duration of 10000 minutes every month. The group identifier may be a unique group identifier, i.e. the present invention may uniquely determine a group from a group identifier. In practical applications, the group identifier may be composed of one or more of characters such as numbers, letters, symbols, and the like, which is not limited in the present invention.
Specifically, the first service may be a periodic service (for example, a service that is effective every month), or may be a one-time service (for example, a service that is effective only in the month). When the first service subscribed to by the first group is validated, whether the periodic service or the disposable service, the total service data corresponding to the first service and the first group in the total table is initialized to an initial value. The initial value may be a preset initial value of the first service, for example: the first service is a periodic service, and the initial value of the first service is initialized to 100G at the beginning of each month when the free flow of each month is 100G. Similar to the summary, the fragmented traffic data in the fragmented table corresponding to the first traffic and the first group may also be initialized to respective initial values. After each initialization, the sum of the initial values of the fragment service data of the first service corresponding to the group identification of the first group is equal to the initial value of the total service data of the first service corresponding to the group identification of the first group.
It will be appreciated that as the user uses the service, the initial value of the total service data will gradually decrease, rather than being the initial value, at which point the initial value becomes the current value.
In practical applications, the first service may be a plurality of types of communication services, such as: traffic type traffic, call duration type traffic, short message number type traffic, etc., to which the present invention is not limited. It will be appreciated that there may be a variety of types of traffic, for example: there are a number of different traffic types, such as: 100G per month traffic packet traffic, 50G traffic packet traffic available on the current month, etc.
It should be noted that the total service record may be commonly owned and used by members of the group subscribed to the service. The invention can establish a plurality of corresponding fragment service records according to the total service records, and distribute the total service data in the total service records to the fragment service data in the corresponding plurality of fragment service records for recording. When any member in the group uses the subscribed service, the fragment service data in the corresponding at least one fragment service record can be updated accordingly, and further, the total service data in the total service record can be updated according to the corresponding fragment service data.
S20, determining a group identifier of a first group to which the first user belongs, wherein the first group comprises a plurality of users;
Specifically, after the used service data is obtained, the group identification of the first group to which the first user belongs can be determined according to the identification of the first user. For example, zhang San is an employee of the A company, and the identity of Zhang San is the mobile phone number of Zhang San, so that Zhang San can be determined to belong to the A company according to the mobile phone number of Zhang San. Specifically, when a service is handled for a group, a correspondence between a group identifier of the group and an identity identifier of a user in the group may be established. The invention can determine the group identification of the first group to which the first user belongs according to the corresponding relation.
The identity of the first user may be stored in the used service data of the first user, for example: the used service data of the first user is a traffic usage record of the first user, and the traffic usage record carries: the number of the first user's handset, the traffic used, the time period, etc., to show which user used how much traffic in which time period, to thereby subtract the traffic used from the group according to the traffic usage record, for example: the A company handles the group flow service, the staff of the A company share the free flow 100G, the staff of the A company is the staff of the A company, and the free flow of the A company is reduced to 99G by using 1G.
Because the service has multiple types, in practical application, the invention can group users according to the service type, and divide users sharing the same type of service data into one group. For example: company a has 100 employees, 30 employees are network sales staffs, the other 70 employees are telephone sales staffs, and the 30 employees can be transacted with a traffic service which can be shared by the 30 employees, for example, the 30 employees share 100G free traffic, so that the 30 employees sharing the free traffic can be divided into a group. Accordingly, a calling service that they can share can be transacted for another 70 employees, for example, the 70 employees share 10000 minutes of free calling, so that the 70 employees sharing free calling can be divided into another group.
S30, inquiring the current value of the total service data of the first service corresponding to the group identification of the first group;
specifically, when the used service data is a certain type of service data, if the first group to which the first user belongs subscribes only one of the types of services, the present invention can determine that the used service data belongs to the subscribed type of service, and query the current value of the corresponding total service data. For example: when the A company only subscribes the B traffic service shared by the staff and does not subscribe other traffic services, the invention can determine that the used traffic data belongs to the B traffic service according to the traffic type of the used traffic data when the A company staff acquires the used traffic data generated after the A company staff uses the traffic three times, and then inquire the current value of the total traffic data of the B traffic service of the A company.
When the used service data is a certain type of service data, if a first group to which the first user belongs subscribes a plurality of the types of services, the present invention can determine one of the types of services as the service to which the used service data belongs in a preset selection manner. The preset selection mode can be the sequence of use. For example: the A company subscribes the B flow service and the C flow service shared by the staff for the staff, and the preset selection mode is as follows: when the invention obtains the used business data generated after the staff of the A company tenses three used flows, the invention can firstly inquire the current value of the total business data of the B business of the A company, judge whether the current value is not less than the used amount in the used business data, and inquire the current value of the total business data of the C business of the A company if the current value is less than the used amount in the used business data.
S40, when the current value is not smaller than the use amount in the used service data of the first service, determining a target fragment service record to be updated from the fragment service records of the first service corresponding to the group identification of the first group;
When the current value is smaller than the use amount in the used service data of the first service, judging whether the group identifier of the first group to which the first user belongs corresponds to other services with the same type as the first service, and if so, inquiring the current value of the total service data of the other services corresponding to the group identifier of the first group.
When the current value is not less than the usage amount of the used service data of the first service, the total service data of the first service corresponding to the group identifier of the first group may satisfy the processing of the used service data (i.e., the used service data obtained in step S10). At this time, the present invention does not directly perform the subtraction in the total service data, but determines the target fragment service record to be updated from the fragment service records of the first service corresponding to the group identifier of the first group, and processes the used service data in the fragment service data of the target fragment service record. Since there are a plurality of fragmented service records corresponding to the first group and the first service, the used service data of different users can be processed in the fragmented service records of different parts. When one used service data is processed each time, only part of the fragmented service records are needed to be locked, and all the fragmented service records and the total service records are not needed to be locked, so that a plurality of used service data can be processed at the same time, and the processing efficiency is higher.
Specifically, the invention can determine the target fragment service record to be updated from the fragment service records of the first service corresponding to the group identification of the first group according to a preset selection mode. The preset selection mode may be: random selection, sequential selection according to the size of the current value of the fragmented traffic data in the fragmented traffic record, etc.
S50, modifying the current value of the fragment service data in the target fragment service record according to the usage amount.
Optionally, step S50 may specifically include:
determining whether the current value of the fragment service data in the target fragment service record is not less than the use amount in the used service data, if so, subtracting the use amount in the used service data from the current value of the fragment service data in the target fragment service record, and taking the calculation result as the current value of the fragment service data in the target fragment service record;
otherwise, modifying the current value of the fragment service data in the target fragment service record to 0, and modifying the current values of other fragment service data of the first service corresponding to the group identifier of the first group, so that the sum of the current modification quantity of the current value of the fragment service data in the target fragment service record and the current modification quantity of the current value of the other fragment service data is equal to the use quantity in the used service data.
Specifically, the invention can judge whether the current value of the fragmented service data in the target fragmented service record is not less than the use amount in the used service data, and if so, can determine that the fragmented service data in the target fragmented service record can be used for processing the used service data. For example, when the user watches the video and uses 100 megabits of traffic, the invention selects the fourth fragment service record as the target fragment service record, and the current value of the fragment service data of the fourth fragment service record is greater than 100 megabits, the fragment service data of the fourth fragment service record can be used for processing the 100 megabits of traffic used by the user. Specifically, the current value of the fragment service data of the fourth fragment service record may be subtracted by 100 megabits. When the current value of the sliced service data in the target sliced service record is smaller than the using amount of the used service data, the current value of the sliced service data in the target sliced service record cannot meet the processing of the used service data, and the invention can process the used service data by using the target sliced service record and other sliced service records together.
It will be appreciated that the above values of the individual fragment traffic data core subtraction are just one alternative example. Specifically, the invention can also determine the value of the required subtraction of each piece of service data according to the size relation of each piece of service data. Such as: the invention can control the minimum sliced business data to be reduced to 0 in advance, namely, the minimum sliced business data is controlled to be completely used for consuming the use amount of the used business data, then the minimum sliced business data is selected from the rest sliced business data for consuming the use amount of the rest used business data, and the like until each sliced business data completely consumes the use amount of the used business data.
It should be noted that, when the fragmented service record is in a fragmented state, that is, the value of the fragmented service data in the fragmented service record is smaller than the minimum data consumption unit that can be used for processing the usage amount of the used service data, the fragmented service data in the fragmented service record cannot be used for consuming the usage amount of the used service data. In this regard, optionally, in the method for managing other service data provided in this embodiment, the method may further include:
and collecting the first fragment service data with the current value smaller than the preset allowable threshold value into the second fragment service data, wherein the first fragment service data and the second fragment service data belong to the same service and correspond to the same group identifier.
The preset permission threshold may be a minimum data consumption unit that allows the fragmented traffic data to be used for processing the usage amount of the used traffic data. Of course, the preset allowable threshold may be determined by a technician according to practical situations, which is not limited by the present invention.
It should be noted that, because the first fragmented service data and the second fragmented service data belong to the same service and correspond to the same group identifier, the first fragmented service data and the second fragmented service data respectively correspond to different fragmented service records in the same fragmented service record group, for example, the first fragmented service data corresponds to a first fragmented service record in the first fragmented service record group, and the second fragmented service data corresponds to a second fragmented service record in the first fragmented service record group.
Specifically, the first fragment service data is fragment service data of a fragment service record in a fragment state; the second fragment service data may be fragment service data of another fragment service record in the fragment state, and the second fragment service data may also be fragment service data of a fragment service record not in the fragment state, that is, a current value of the second fragment service data may be less than or not less than a preset permission threshold.
Specifically, the invention can concentrate the first sliced service data into the second sliced service data with the current value not smaller than the preset allowable threshold, so that the sliced service data (namely, the first sliced service data) in the sliced service record in the original sliced state can be used as part of the service data in the sliced service data (namely, the second sliced service data) in the sliced service record not in the sliced state to consume the used service data, and the utilization rate of the sliced service data is improved. For example, when the preset allowable threshold is 20, the current value of the first fragment service data is 3, and the current value of the second fragment service data is 100, the first fragment service data cannot be used independently for consuming the usage amount of the used service data, the invention can concentrate the first fragment service data with the current value of 3 into the second fragment service data with the current value of 100, and then the current value of the first fragment service data is zero, the sum of the current values of the second fragment service data being 100 and 3, namely 103, so that the first fragment service data with the value of 3, which is originally smaller than the preset allowable threshold, can be used as a part of the second fragment service data with the current value of 103 for consuming the usage amount of the used service data.
Specifically, the present invention may also concentrate the first fragmented service data into the second fragmented service data whose current value is smaller than the preset permission threshold, so that the fragmented service data (i.e., the first fragmented service data) in the fragmented service record in the fragmented state is concentrated into the fragmented service data (i.e., the second fragmented service data) of another fragmented service record in the same fragmented state, so that the current value of the fragmented service data of the fragmented service record after the fragmented service data has been concentrated, i.e., the current value of the second fragmented service data is not smaller than the preset permission threshold, and further the fragmented service data of the two fragmented service records in the original fragmented state may be used together to consume the usage amount of the used service data, thereby improving the utilization ratio of the fragmented service data. For example, when the preset permission threshold is 20, the current value of the first fragment service data is 8, and the current value of the second fragment service data is 12, neither the first fragment service data nor the second fragment service data can be used solely for consuming the usage amount of the used service data, the present invention can concentrate the current value 8 of the first fragment service data into the current value 12 of the second fragment service data, and then the current value of the first fragment service data is 0, and the sum of the current values 12 and 8 of the second fragment service data is 20, so that the first fragment service data and the second fragment service data which cannot be used solely for consuming the used service data can be used together by the second fragment service data which is not less than the preset permission threshold and whose current value is 20.
In practical application, the invention can concentrate all the fragment service data with the current value smaller than the preset allowable threshold value into one fragment service data with the current value smaller than or not smaller than the preset allowable threshold value, so that the fragment service data of all the fragment service records in the fragment state can be concentrated into one fragment service data and used for consuming the use amount of the used service data together.
Optionally, the present invention may also concentrate part or all of the second fragment service data into the first fragment service data whose current value is smaller than the preset allowable threshold.
Specifically, when the current value of the second sliced service data is not smaller than the preset allowable threshold, the invention can divide a certain value of part of sliced service data from the second sliced service data according to the difference value between the first sliced service data and the preset allowable threshold, such as the sliced service data with the value equal to the difference value or the sum of the value equal to the difference value and the integer multiple of the preset allowable threshold, and concentrate the part of sliced service data into the first sliced service data, so that the current value of the first sliced service data is not smaller than the preset allowable threshold, namely the first sliced service data can be independently used for consuming the used service data, and the utilization rate of the sliced service data is improved.
Specifically, when the current value of the second fragment service data is not smaller than the preset allowable threshold, the invention can also directly centralize all fragment service data of the second fragment service data into the first fragment service data, so that the second fragment service data can be used as a part of the first fragment service data to consume the usage amount of the used service data together, further the first fragment service data which cannot consume the used service data independently can be used for processing the usage amount of the used service data, and the utilization rate of the fragment service data is improved.
Specifically, after the used service data is processed through the fragmented service data, the corresponding total service data may be modified according to the modification of the current value of the fragmented service data.
Specifically, when the present invention modifies the fragment service data of other fragment service records corresponding to the same total service record as the target fragment service record, other fragment service records to be modified may be determined in advance according to a preset selection mode, for example: the fragment service data to be modified is determined according to the size of the fragment service data, and smaller fragment service data can be determined as fragment service data to be modified.
Specifically, when the current value of the total service data of the first service corresponding to the group identifier of the first group is smaller than the usage amount in the used service data, the invention can reduce the total service data of the first service to zero and remind the user that the usage amount in the used service data of the current time exceeds the total service data of the first service.
It should be noted that, when the current value of the total service data is not updated synchronously with the corresponding piece of service data, the query result in step S30 cannot represent the sum of the current values of the corresponding pieces of service data in real time. When the value of the query result in step S30 is not less than the usage amount of the current used service data and the sum of the current values of the corresponding fragment service data is less than the usage amount of the current used service data, the present invention can remind the user that the usage amount of the current used service data exceeds the total service data of the first service after the corresponding fragment service data is reduced to zero.
Specifically, the invention can lock the business data of the business records by locking the business records. The present invention can use existing schemes to lock business records, among other things.
It should be noted that, for the current used service data of the first user, when the present invention processes the used service data, only the corresponding target fragment service record needs to be locked, and the locking processing is not needed to be performed on the total service record corresponding to the target fragment service record and other fragment service records of the total service record.
Optionally, in the method for managing other service data provided in this embodiment, after step S40, the method may further include:
and performing second locking processing on the fragment service data of the target fragment service record.
It should be noted that, during the period of locking the fragment service data of a certain fragment service record of the first service, the fragment service record subjected to the second locking process may only be processed (including reading and updating) according to the used service data obtained this time, but the fragment service record subjected to the second locking process may not be processed according to other used service data.
It should be noted that, alternatively, the present invention may perform the second locking process only on the target fragment service record that needs to be updated, and the second locking process is not required for the total service record corresponding to the target fragment service record and other fragment service records in the total service record. When the current value of the fragment service data in the target fragment service record is smaller than the use amount in the used service data and other fragment service records are required to be updated according to the use amount in the used service data, the invention performs second locking processing on the other fragment service records needing to be updated.
Optionally, in the method for managing other service data provided in this embodiment, after step S50, the method may further include:
and carrying out second unlocking processing on the fragment service data of the target fragment service record.
Wherein the second unlocking process corresponds to the second locking process.
Specifically, the present invention may modify the current value of the fragment service data in the target fragment service record according to the usage amount, and then perform the second unlocking process. After the second unlocking process is performed, the unlocked target fragment service record can be used for processing other used service data.
Through the second locking processing and the second unlocking processing, the invention can lock the target fragment business record by the used business data obtained this time in the process of modifying the current value of the fragment business data in the target fragment business record, thereby ensuring the accuracy of the data and preventing the situations of writing conflict and the like. Meanwhile, the invention can unlock the target fragment business record in time after modifying the current value of the fragment business data in the target fragment business record through the second unlocking process, thereby being used for processing other used business data.
According to the method for managing service data, the used service data of the first user is obtained, the group identification of the first group to which the first user belongs is determined, wherein the first group comprises a plurality of users, the current value of the total service data corresponding to the group identification of the first group in the first equipment is queried, when the current value is not smaller than the using amount in the used service data, the target fragment service record to be updated is determined from the fragment service records comprising the group identification of the first group, and the current value of the fragment service data in the target fragment service record is modified according to the using amount, so that the processing efficiency of the used service data can be effectively improved.
Based on the steps shown in fig. 1, another method for managing service data is also provided in this embodiment, as shown in fig. 2, where the method may further include:
s60, modifying the current value of the total service data of the first service corresponding to the group identification of the first group according to the modification of the current value of each piece of service data of the first service corresponding to the group identification of the first group.
Specifically, the present invention can update the current value of the corresponding total service data according to the current value of the fragment service data in each fragment service record.
Optionally, the present invention can update the current value of the corresponding total service data periodically according to the current value of the fragment service data in each fragment service record, for example, every 1 day;
optionally, the present invention can update the current value of the corresponding total service data when the current value of the fragment service data in each fragment service record is zero.
Optionally, the present invention can update the current value of the corresponding total service data when the data resource is consumed by a certain value, that is, according to the current value of the fragment service data in each fragment service record.
It should be noted that, the present invention is not limited to a specific time for updating the total service data according to the fragmented service data.
It should be noted that, the present invention may lock the total service data of a certain total service record before updating the total service data of the total service record, and unlock the total service data after updating.
The business data management method provided by the embodiment can determine the updating time of the total business records and improve the management quality of the business data.
Based on the steps shown in fig. 1, the present embodiment also proposes another method for managing service data, where each step in the method may be performed using the first device and the second device.
The first device may be a server device (e.g., a server), or may be a switch or a base station. The second device may be a client device.
Specifically, when the first device is a server device and the second device is a client device, the scheme of the present invention is as follows:
alternatively, step S10 may specifically be:
the client device obtains used service data for the first user.
Alternatively, step S20 may specifically be:
a client device determines a group identification of the first group to which the first user belongs, wherein the first group includes a plurality of users therein.
Optionally, step S30 may specifically include:
the client device sends a query request of the current value of the total service data of the first service corresponding to the group identifier of the first group to the server device;
and the client device obtains the current value of the total service data of the first service, which is returned by the server device and corresponds to the group identifier of the first group.
Optionally, step S40 may specifically be:
and when the current value is not smaller than the usage amount in the used service data of the first service, the client device determines a target fragment service record to be updated from the fragment service records of the first service corresponding to the group identification of the first group.
Specifically, the fragment service record may further include a fragment identifier. The invention can uniquely determine a piece of the service record according to a piece of the mark in the piece of the service record corresponding to the total service record.
Specifically, the client device and the server device may determine the target fragment service record according to the fragment identifier of the target fragment service record.
Alternatively, step S50 may specifically be:
and the client device sends the usage amount and the fragment identification of the target fragment service record to the server device, so that the server device modifies the current value of the fragment service data in the target fragment service record according to the usage amount.
By centralizing the operation logic in the client device, the invention reduces the operation logic in the server device as much as possible, thereby reducing the operation load of the server device.
Alternatively, the present invention may also use a server device to perform some relevant steps instead of a client device, as follows:
step S40 may specifically include:
when the current value is not smaller than the usage amount in the used service data, the client device sends the usage amount and the group identification of the first group to the server device;
and the server equipment determines a target fragment service record to be updated from the fragment service records of the first service including the group identification of the first group.
Step S50 may specifically be:
and the server-side equipment modifies the current value of the fragment service data in the target fragment service record according to the usage amount.
It should also be noted that, the present invention uses the server device to replace the client device to perform the determining step of the target slice record, which may reduce some operation logic for the client device, thereby reducing the operation burden of the client device.
According to the business data management method provided by the embodiment, some operation logics can be concentrated in the client device, so that the operation burden of the server device is reduced; some of the operating logic may also be centralized in the server device, reducing the operating burden on the client device.
Based on the steps shown in fig. 1, the present embodiment further proposes another method for managing service data, as shown in fig. 3, and after step S30, the method may further include the following steps:
s31, performing first locking processing on the total service data of the total service records of the first service corresponding to the group identification of the first group;
specifically, after determining a first service corresponding to a first group identifier to which used service data belongs, the invention can perform a first locking process on total service data of the first service.
It should be noted that, the first locking process is similar to the locking principle of the second locking process, and during the first locking process of the total service record of the first service corresponding to the first group identifier, the present invention can only process (including reading and updating) the total service data subjected to the first locking process according to the current service data, but cannot process the total service record subjected to the first locking process according to other service data.
S32, obtaining a current value of total service data of the first service corresponding to the group identifier of the first group;
specifically, the invention can read the total business data of the total business record subjected to the first locking processing according to the current used business data to obtain the current value of the total business data of the total business record.
S33, performing first unlocking processing on the total service data of the first service corresponding to the group identification of the first group.
Specifically, after the current value of the total service data of the first service corresponding to the group identifier of the first group is obtained, the invention can perform the first unlocking processing on the total service data without waiting until the total service data completes the updating of the current used service data. Wherein the first unlocking process corresponds to the first locking process.
It should be noted that, after the first unlocking process is performed on the total service data of the total service record of the first service corresponding to the first group identifier, the invention can calculate the value of the total service data to be subtracted according to the usage amount in the current service data, and update the total service data according to the calculation result. The invention does not lock the total business data in the stage of calculating the value of the total business record which needs to be subtracted, and locks the total business data before the total business data is updated. Compared with the prior art, the method and the device have the advantages that the total service data is not locked in the calculation stage, so that the total service records containing the total service data can process other used service data in the calculation stage, and the processing efficiency of using records for a plurality of data is effectively improved.
The business data management method provided by the embodiment can effectively improve the processing efficiency of using and recording a plurality of pieces of data.
Corresponding to the steps shown in fig. 1, this embodiment proposes a service data management apparatus, as shown in fig. 4, where a first device stores a total table and a fragment table, and at least a total service record of a first service is stored in the total table, where the total service record of the first service at least includes: the group identification corresponds to the total service data of the first service, the fragmentation table at least comprises a fragmentation service record group of the first service, the fragmentation service record group of the first service comprises at least two fragmentation service records of the first service, and each fragmentation service record of the first service at least comprises corresponding fragments: the group identifier and the fragmented service data of the first service, the sum of initial values of the fragmented service data of the first service corresponding to the group identifier of the first group is equal to the initial value of the total service data of the first service corresponding to the group identifier of the first group, and the device may include: a first obtaining unit 100, a first determining unit 200, a current value querying unit 300, a second determining unit 400, and a first modifying unit 500, wherein:
The first obtaining unit 100 is configured to obtain used service data of a first user;
the first device may be a server device (e.g., a server), or may be a switch or a base station.
Specifically, the invention can set a total table and a fragmentation table in the database of the first device. Both the summary table and the sharded table may be data tables in a database.
Wherein, the total business data can record the group data resource in the corresponding business.
Wherein the total table stores total service data of at least one service of at least one group. Each total service record in the summary table may include total service data for a group at a service. Specifically, each total service record may include a corresponding: group identification, service identification, and total service data.
The used service data is a data use record generated after a user uses a certain service.
Specifically, the invention can determine the service identification of the service to which the used service data of the user belongs and the group identification of the group to which the user belongs, and further inquire the total service data corresponding to the determined service identification and the group identification from the summary list. Of course, the identification of traffic in the summary table is not necessary. At this time, the invention can determine and store the total table of the service data of the service to which the used service data belongs according to the service type of the service to which the used service data belongs, and then the corresponding total service data can be queried through the group identification of the group to which the user belongs.
Wherein each set of fragmented traffic records in the fragmentation table may correspond to one total traffic record in the summary table. Specifically, the total service data in one total service record can be split to obtain a plurality of fragment service data, each fragment service data obtained by splitting can be located in one fragment service record, and the fragment service record where the plurality of fragment service data is obtained by splitting forms one fragment service record group corresponding to the total service record. Specifically, after adding the pieces of service data in one piece of service record group, the added pieces of service data can be equal to the total service data in the total service record corresponding to the piece of service record group. Of course, similar to the summary table, the fragmentation table may also store service identifiers, which are not necessary in the fragmentation table.
Optionally, the total service records in the total table may further include a total record identifier, and the total record identifier in each total service record may be different. The total record identification may be a primary key in the summary table.
Optionally, the fragment service record in the fragment table may further include a fragment record identifier, and the fragment record identifier in each fragment service record may be different. The shard record identifier may be a primary key in the shard table.
Because of the existence of multiple services, the invention can separately set the total table and the corresponding fragment table for each service.
Of course, since there are a plurality of groups, the present invention may also separately provide a total table and a corresponding fragment table for each group. Of course, the invention can also separately set the total table and the corresponding fragment table for each group and each service.
Specifically, the total service record may further include information such as a service type, a valid period, and the like. The fragmented traffic record may also contain information about traffic type, validity period, etc.
In practical application, when a certain group subscribes to a service, the invention can correspondingly establish a total service record to record the related information of the subscribed service of the group.
Wherein a group may include a plurality of users, the group may be an organization, or the like. The group identifier may be a unique group identifier, i.e. the present invention may uniquely determine a group from a group identifier. In practical applications, the group identifier may be composed of one or more of characters such as numbers, letters, symbols, and the like, which is not limited in the present invention.
Specifically, the first service may be a periodic service (for example, a service that is effective every month), or may be a one-time service (for example, a service that is effective only in the month). When the first service subscribed to by the first group is validated, whether the periodic service or the disposable service, the total service data corresponding to the first service and the first group in the total table is initialized to an initial value. The initial value may be a preset initial value of the first service. Similar to the summary, the fragmented traffic data in the fragmented table corresponding to the first traffic and the first group may also be initialized to respective initial values. After each initialization, the sum of the initial values of the fragment service data of the first service corresponding to the group identification of the first group is equal to the initial value of the total service data of the first service corresponding to the group identification of the first group.
It will be appreciated that as the user uses the service, the initial value of the total service data will gradually decrease, rather than being the initial value, at which point the initial value becomes the current value.
In practical applications, the first service may be a plurality of types of communication services. It will be appreciated that there may be a variety of types of traffic.
It should be noted that the total service record may be commonly owned and used by members of the group subscribed to the service. The invention can establish a plurality of corresponding fragment service records according to the total service records, and distribute the total service data in the total service records to the fragment service data in the corresponding plurality of fragment service records for recording. When any member in the group uses the subscribed service, the fragment service data in the corresponding at least one fragment service record can be updated accordingly, and further, the total service data in the total service record can be updated according to the corresponding fragment service data.
The first determining unit 200 is configured to determine a group identifier of the first group to which the first user belongs, where the first group includes a plurality of users;
specifically, after the used service data is obtained, the group identification of the first group to which the first user belongs can be determined according to the identification of the first user. Specifically, when a service is handled for a group, a correspondence between a group identifier of the group and an identity identifier of a user in the group may be established. The invention can determine the group identification of the first group to which the first user belongs according to the corresponding relation.
The identity of the first user can be stored in the used service data of the first user to show which user uses how much traffic in which time period, so that the used traffic is subtracted from the group according to the traffic usage record.
Because the service has multiple types, in practical application, the invention can group users according to the service type, and divide users sharing the same type of service data into one group.
The current value query unit 300 is configured to query a current value of total service data of the first service corresponding to the group identifier of the first group;
specifically, when the used service data is a certain type of service data, if the first group to which the first user belongs subscribes only one of the types of services, the present invention can determine that the used service data belongs to the subscribed type of service, and query the current value of the corresponding total service data.
When the used service data is a certain type of service data, if a first group to which the first user belongs subscribes a plurality of the types of services, the present invention can determine one of the types of services as the service to which the used service data belongs in a preset selection manner. The preset selection mode can be the sequence of use.
The second determining unit 400 is configured to determine, when the current value is not less than the usage amount in the used service data of the first service, a target fragment service record to be updated from the fragment service records of the first service corresponding to the group identifier of the first group;
when the current value is smaller than the use amount in the used service data of the first service, judging whether the group identifier of the first group to which the first user belongs corresponds to other services with the same type as the first service, and if so, inquiring the current value of the total service data of the other services corresponding to the group identifier of the first group.
When the current value is not less than the usage amount of the used service data of the first service, the total service data of the first service corresponding to the group identification of the first group can meet the processing of the used service data. At this time, the present invention does not directly perform the subtraction in the total service data, but determines the target fragment service record to be updated from the fragment service records of the first service corresponding to the group identifier of the first group, and processes the used service data in the fragment service data of the target fragment service record. Since there are a plurality of fragmented service records corresponding to the first group and the first service, the used service data of different users can be processed in the fragmented service records of different parts. When one used service data is processed each time, only part of the fragmented service records are needed to be locked, and all the fragmented service records and the total service records are not needed to be locked, so that a plurality of used service data can be processed at the same time, and the processing efficiency is higher.
Specifically, the invention can determine the target fragment service record to be updated from the fragment service records of the first service corresponding to the group identification of the first group according to a preset selection mode. The preset selection mode may be: random selection, sequential selection according to the size of the current value of the fragmented traffic data in the fragmented traffic record, etc.
The first modifying unit 500 is configured to modify the current value of the fragment service data in the target fragment service record according to the usage amount.
Optionally, the first modifying unit 500 may be specifically configured to:
determining whether the current value of the fragment service data in the target fragment service record is not less than the use amount in the used service data, if so, subtracting the use amount in the used service data from the current value of the fragment service data in the target fragment service record, and taking the calculation result as the current value of the fragment service data in the target fragment service record;
otherwise, modifying the current value of the fragment service data in the target fragment service record to 0, and modifying the current values of other fragment service data of the first service corresponding to the group identifier of the first group, so that the sum of the current modification quantity of the current value of the fragment service data in the target fragment service record and the current modification quantity of the current value of the other fragment service data is equal to the use quantity in the used service data.
Specifically, the invention can judge whether the current value of the fragmented service data in the target fragmented service record is not less than the use amount in the used service data, and if so, can determine that the fragmented service data in the target fragmented service record can be used for processing the used service data. When the current value of the sliced service data in the target sliced service record is smaller than the using amount of the used service data, the current value of the sliced service data in the target sliced service record cannot meet the processing of the used service data, and the invention can process the used service data by using the target sliced service record and other sliced service records together.
It will be appreciated that the above values of the individual fragment traffic data core subtraction are just one alternative example. Specifically, the invention can also determine the value of the required subtraction of each piece of service data according to the size relation of each piece of service data.
It should be noted that, when the fragmented service record is in a fragmented state, that is, the value of the fragmented service data in the fragmented service record is smaller than the minimum data consumption unit that can be used for processing the usage amount of the used service data, the fragmented service data in the fragmented service record cannot be used for consuming the usage amount of the used service data. In this regard, optionally, in the management apparatus for providing other service data according to this embodiment, the method may further include: a data-concentration unit, the data-concentration unit being operable to:
And collecting the first fragment service data with the current value smaller than the preset allowable threshold value into the second fragment service data, wherein the first fragment service data and the second fragment service data belong to the same service and correspond to the same group identifier.
The preset permission threshold may be a minimum data consumption unit that allows the fragmented traffic data to be used for processing the usage amount of the used traffic data. Of course, the preset allowable threshold may be determined by a technician according to practical situations, which is not limited by the present invention.
It should be noted that, because the first fragmented service data and the second fragmented service data belong to the same service and correspond to the same group identifier, the first fragmented service data and the second fragmented service data respectively correspond to different fragmented service records in the same fragmented service record group, for example, the first fragmented service data corresponds to a first fragmented service record in the first fragmented service record group, and the second fragmented service data corresponds to a second fragmented service record in the first fragmented service record group.
Specifically, the first fragment service data is fragment service data of a fragment service record in a fragment state; the second fragment service data may be fragment service data of another fragment service record in the fragment state, and the second fragment service data may also be fragment service data of a fragment service record not in the fragment state, that is, a current value of the second fragment service data may be less than or not less than a preset permission threshold.
Specifically, the invention can concentrate the first sliced service data into the second sliced service data with the current value not smaller than the preset allowable threshold, so that the sliced service data (namely, the first sliced service data) in the sliced service record in the original sliced state can be used as part of the service data in the sliced service data (namely, the second sliced service data) in the sliced service record not in the sliced state to consume the used service data, and the utilization rate of the sliced service data is improved.
Specifically, the present invention may also concentrate the first fragmented service data into the second fragmented service data whose current value is smaller than the preset permission threshold, so that the fragmented service data (i.e., the first fragmented service data) in the fragmented service record in the fragmented state is concentrated into the fragmented service data (i.e., the second fragmented service data) of another fragmented service record in the same fragmented state, so that the current value of the fragmented service data of the fragmented service record after the fragmented service data has been concentrated, i.e., the current value of the second fragmented service data is not smaller than the preset permission threshold, and further the fragmented service data of the two fragmented service records in the original fragmented state may be used together to consume the usage amount of the used service data, thereby improving the utilization ratio of the fragmented service data.
In practical application, the invention can concentrate all the fragment service data with the current value smaller than the preset allowable threshold value into one fragment service data with the current value smaller than or not smaller than the preset allowable threshold value, so that the fragment service data of all the fragment service records in the fragment state can be concentrated into one fragment service data and used for consuming the use amount of the used service data together.
Optionally, the data centralizing unit may be configured to centralize part or all of the second fragmented service data into the first fragmented service data whose current value is smaller than the preset allowable threshold.
Specifically, when the current value of the second sliced service data is not smaller than the preset allowable threshold, the invention can divide a part of sliced service data with a certain value from the second sliced service data according to the difference value between the first sliced service data and the preset allowable threshold, and centralize the part of sliced service data into the first sliced service data, so that the current value of the first sliced service data is not smaller than the preset allowable threshold, namely, the first sliced service data can be independently used for consuming the used service data, and the utilization rate of the sliced service data is improved.
Specifically, when the current value of the second fragment service data is not smaller than the preset allowable threshold, the invention can also directly centralize all fragment service data of the second fragment service data into the first fragment service data, so that the second fragment service data can be used as a part of the first fragment service data to consume the usage amount of the used service data together, further the first fragment service data which cannot consume the used service data independently can be used for processing the usage amount of the used service data, and the utilization rate of the fragment service data is improved.
Specifically, after the used service data is processed through the fragmented service data, the corresponding total service data may be modified according to the modification of the current value of the fragmented service data.
Specifically, when the fragment service data of other fragment service records corresponding to the same total service record as the target fragment service record are modified, the invention can also determine other fragment service records to be modified in advance according to a preset selection mode.
Specifically, when the current value of the total service data of the first service corresponding to the group identifier of the first group is smaller than the usage amount in the used service data, the invention can reduce the total service data of the first service to zero and remind the user that the usage amount in the used service data of the current time exceeds the total service data of the first service.
It should be noted that, when the current value of the total service data is not updated synchronously with the corresponding piece of service data, the result queried by the current value querying unit 300 cannot represent the sum of the current values of the corresponding pieces of service data in real time. If the result queried by the current value query unit 300 is not less than the usage amount of the current used service data, and the sum of the current values of the corresponding fragment service data is less than the usage amount of the current used service data, the invention can remind the user that the usage amount of the current used service data exceeds the total service data of the first service after the corresponding fragment service data is reduced to zero.
Specifically, the invention can lock the business data of the business records by locking the business records. The present invention can use existing schemes to lock business records, among other things.
It should be noted that, for the current used service data of the first user, when the present invention processes the used service data, only the corresponding target fragment service record needs to be locked, and the locking processing is not needed to be performed on the total service record corresponding to the target fragment service record and other fragment service records of the total service record.
Optionally, in the device for managing other service data provided in this embodiment, the method may further include: a second locking unit is provided for locking the second locking unit,
the second locking unit is configured to perform a second locking process on the fragmented service data of the target fragmented service record after determining, from among the fragmented service records of the first service corresponding to the group identifier of the first group, a target fragmented service record to be updated.
It should be noted that, during the period of locking the fragment service data of a certain fragment service record of the first service, the fragment service record subjected to the second locking process may only be processed (including reading and updating) according to the used service data obtained this time, but the fragment service record subjected to the second locking process may not be processed according to other used service data.
It should be noted that, alternatively, the present invention may perform the second locking process only on the target fragment service record that needs to be updated, and the second locking process is not required for the total service record corresponding to the target fragment service record and other fragment service records in the total service record. When the current value of the fragment service data in the target fragment service record is smaller than the use amount in the used service data and other fragment service records are required to be updated according to the use amount in the used service data, the invention performs second locking processing on the other fragment service records needing to be updated.
Optionally, in the device for managing other service data provided in this embodiment, the method may further include: and the second unlocking unit is used for carrying out second unlocking processing on the fragmented service data of the target fragmented service record after modifying the current value of the fragmented service data in the target fragmented service record according to the usage amount.
Wherein the second unlocking process corresponds to the second locking process.
Specifically, the present invention may modify the current value of the fragment service data in the target fragment service record according to the usage amount, and then perform the second unlocking process. After the second unlocking process is performed, the unlocked target fragment service record can be used for processing other used service data.
Through the second locking processing and the second unlocking processing, the invention can lock the target fragment business record by the used business data obtained this time in the process of modifying the current value of the fragment business data in the target fragment business record, thereby ensuring the accuracy of the data and preventing the situations of writing conflict and the like. Meanwhile, the invention can unlock the target fragment business record in time after modifying the current value of the fragment business data in the target fragment business record through the second unlocking process, thereby being used for processing other used business data.
The service data management apparatus according to the present embodiment may effectively improve the processing efficiency of the used service data by setting the first obtaining unit 100, the first determining unit 200, the current value querying unit 300, the second determining unit 400, and the first modifying unit 500.
Based on the apparatus shown in fig. 4, this embodiment further proposes another apparatus for managing service data, as shown in fig. 5, where the apparatus may further include: and a second modification unit 600, where the second modification unit 600 may be configured to modify, according to modification of the current value of each piece of service data of the first service corresponding to the group identifier of the first group, the current value of the total service data of the first service corresponding to the group identifier of the first group.
Specifically, the present invention can update the current value of the corresponding total service data according to the current value of the fragment service data in each fragment service record.
Optionally, the present invention can update the current value of the corresponding total service data periodically according to the current value of the fragment service data in each fragment service record.
Optionally, the present invention can update the current value of the corresponding total service data when the current value of the fragment service data in each fragment service record is zero.
Optionally, the present invention can update the current value of the corresponding total service data when the data resource is consumed by a certain value, that is, according to the current value of the fragment service data in each fragment service record.
It should be noted that, the present invention is not limited to a specific time for updating the total service data according to the fragmented service data.
It should be noted that, the present invention may lock the total service data of a certain total service record before updating the total service data of the total service record, and unlock the total service data after updating.
The service data management device provided by the embodiment can determine the update time of the total service record and improve the management quality of the service data.
Corresponding to the steps shown in fig. 1, this embodiment also proposes another service data management apparatus, which may include a first device and a second device.
The first device may be a server device (e.g., a server), or may be a switch or a base station. The second device may be a client device.
Specifically, when the first device is a server device and the second device is a client device, the scheme of the present invention is as follows:
The client device obtains used service data for the first user.
A client device determines a group identification of the first group to which the first user belongs, wherein the first group includes a plurality of users therein.
The client device sends a query request of the current value of the total service data of the first service corresponding to the group identifier of the first group to the server device;
and the client device obtains the current value of the total service data of the first service, which is returned by the server device and corresponds to the group identifier of the first group.
And when the current value is not smaller than the usage amount in the used service data of the first service, the client device determines a target fragment service record to be updated from the fragment service records of the first service corresponding to the group identification of the first group.
And the client device sends the usage amount and the fragment identification of the target fragment service record to the server device, so that the server device modifies the current value of the fragment service data in the target fragment service record according to the usage amount.
Specifically, the fragment service record may further include a fragment identifier. The invention can uniquely determine a piece of the service record according to a piece of the mark in the piece of the service record corresponding to the total service record.
Specifically, the client device and the server device may determine the target fragment service record according to the fragment identifier of the target fragment service record.
By centralizing the operation logic in the client device, the invention reduces the operation logic in the server device as much as possible, thereby reducing the operation load of the server device.
The present invention may also use a server device instead of a client device to perform some related processes, as follows:
when the current value is not less than the usage amount in the used service data of the first service, the determining, by the client device, the target fragment service record to be updated from among the fragment service records of the first service corresponding to the group identifier of the first group may specifically be set as follows:
when the current value is not smaller than the usage amount in the used service data, the client device sends the usage amount and the group identification of the first group to the server device;
and the server equipment determines a target fragment service record to be updated from the fragment service records of the first service including the group identification of the first group.
The client device sends the usage amount and the fragment identifier of the target fragment service record to the server device, so that the server device modifies the current value of the fragment service data in the target fragment service record according to the usage amount, and the method can be specifically set as follows:
and the server-side equipment modifies the current value of the fragment service data in the target fragment service record according to the usage amount.
It should also be noted that, the present invention uses the server device to replace the client device to perform the determining process of the target fragment record, which may reduce some operation logic for the client device, thereby reducing the operation burden of the client device.
The service data management device provided by the embodiment can concentrate some operation logics in the client device, so that the operation burden of the server device is reduced; some of the operating logic may also be centralized in the server device, reducing the operating burden on the client device.
Based on the apparatus shown in fig. 4, this embodiment further proposes another apparatus for managing service data, as shown in fig. 6, where the apparatus may further include: a first locking unit 310, a second obtaining unit 320, and a first unlocking unit 330, wherein:
The first locking unit 310 is configured to perform a first locking process on the total service data of the first service corresponding to the group identifier of the first group after the current value of the total service data of the first service corresponding to the group identifier of the first group is queried;
specifically, after determining a first service corresponding to a first group identifier to which used service data belongs, the invention can perform a first locking process on total service data of the first service.
It should be noted that, the first locking process is similar to the locking principle of the second locking process, and during the first locking process of the total service record of the first service corresponding to the first group identifier, the present invention can only process (including reading and updating) the total service data subjected to the first locking process according to the current service data, but cannot process the total service record subjected to the first locking process according to other service data.
The second obtaining unit 320 is configured to obtain a current value of total service data of the first service corresponding to the group identifier of the first group;
specifically, the invention can read the total business data of the total business record subjected to the first locking processing according to the current used business data to obtain the current value of the total business data of the total business record.
The first unlocking unit 330 is configured to perform a first unlocking process on total service data of the first service corresponding to the group identifier of the first group.
Specifically, after the current value of the total service data of the first service corresponding to the group identifier of the first group is obtained, the invention can perform the first unlocking processing on the total service data without waiting until the total service data completes the updating of the current used service data. Wherein the first unlocking process corresponds to the first locking process.
It should be noted that, after the first unlocking process is performed on the total service data of the total service record of the first service corresponding to the first group identifier, the invention can calculate the value of the total service data to be subtracted according to the usage amount in the current service data, and update the total service data according to the calculation result. The invention does not lock the total business data in the stage of calculating the value of the total business record which needs to be subtracted, and locks the total business data before the total business data is updated. Compared with the prior art, the method and the device have the advantages that the total service data is not locked in the calculation stage, so that the total service records containing the total service data can process other used service data in the calculation stage, and the processing efficiency of using records for a plurality of data is effectively improved.
The service data management device provided by the embodiment can effectively improve the processing efficiency of using and recording a plurality of pieces of data.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises an element.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.

Claims (8)

1. The service data management method is characterized in that a first device stores a total table and a fragmentation table, wherein at least a total service record of a first service is stored in the total table, and the total service record of the first service at least comprises: the group identification corresponds to the total service data of the first service, the fragmentation table at least comprises a fragmentation service record group of the first service, the fragmentation service record group of the first service comprises at least two fragmentation service records of the first service, and each fragmentation service record of the first service at least comprises corresponding fragments: the group identifier and the fragmented service data of the first service, wherein the sum of initial values of the fragmented service data of the first service corresponding to the group identifier of the first group is equal to the initial value of the total service data of the first service corresponding to the group identifier of the first group, and the method comprises the following steps:
Acquiring used service data of a first user;
determining a group identification of the first group to which the first user belongs, wherein the first group comprises a plurality of users;
inquiring the current value of the total service data of the first service corresponding to the group identification of the first group;
when the current value is not smaller than the usage amount in the used service data of the first service, determining a target fragment service record to be updated from the fragment service records of the first service corresponding to the group identification of the first group;
performing second locking processing on the fragment service data of the target fragment service record;
modifying the current value of the fragment service data in the target fragment service record according to the usage amount;
and carrying out second unlocking processing on the fragment service data of the target fragment service record.
2. The method according to claim 1, wherein the method further comprises:
and modifying the current value of the total service data of the first service corresponding to the group identification of the first group according to the modification of the current value of each piece of service data of the first service corresponding to the group identification of the first group.
3. The method of claim 1, wherein modifying the current value of the fragmented traffic data in the target fragmented traffic record according to the usage amount comprises:
determining whether the current value of the fragment service data in the target fragment service record is not less than the use amount in the used service data, if so, subtracting the use amount in the used service data from the current value of the fragment service data in the target fragment service record, and taking the calculation result as the current value of the fragment service data in the target fragment service record;
otherwise, modifying the current value of the fragment service data in the target fragment service record to 0, and modifying the current values of other fragment service data of the first service corresponding to the group identifier of the first group, so that the sum of the current modification quantity of the current value of the fragment service data in the target fragment service record and the current modification quantity of the current value of the other fragment service data is equal to the use quantity in the used service data.
4. The method of claim 1, wherein after the querying the current value of the total traffic data of the first traffic corresponding to the group identification of the first group, the method further comprises:
Performing first locking processing on the total service data of the first service corresponding to the group identifier of the first group;
obtaining a current value of total service data of the first service corresponding to the group identifier of the first group;
and carrying out first unlocking processing on the total service data of the first service corresponding to the group identification of the first group.
5. The service data management device is characterized in that a first device stores a total table and a fragmentation table, wherein at least a total service record of a first service is stored in the total table, and the total service record of the first service at least comprises: the group identification corresponds to the total service data of the first service, the fragmentation table at least comprises a fragmentation service record group of the first service, the fragmentation service record group of the first service comprises at least two fragmentation service records of the first service, and each fragmentation service record of the first service at least comprises corresponding fragments: the group identifier and the fragmented service data of the first service, wherein the sum of initial values of the fragmented service data of the first service corresponding to the group identifier of the first group is equal to the initial value of the total service data of the first service corresponding to the group identifier of the first group, and the device comprises: the device comprises a first obtaining unit, a first determining unit, a current value inquiring unit, a second determining unit, a second locking unit, a first modifying unit and a second unlocking unit, wherein:
The first obtaining unit is used for obtaining used service data of a first user;
the first determining unit is configured to determine a group identifier of the first group to which the first user belongs, where the first group includes a plurality of users;
the current value query unit is configured to query a current value of total service data of the first service corresponding to the group identifier of the first group;
the second determining unit is configured to determine, when the current value is not less than the usage amount in the used service data of the first service, a target fragment service record to be updated from fragment service records of the first service corresponding to the group identifier of the first group;
the second locking unit is used for performing second locking processing on the fragment service data recorded by the target fragment service;
the first modification unit is configured to modify a current value of the fragment service data in the target fragment service record according to the usage amount;
and the second unlocking unit is used for carrying out second unlocking processing on the fragment service data recorded by the target fragment service.
6. The apparatus of claim 5, wherein the apparatus further comprises: a second modification unit for modifying the second data,
The second modifying unit is configured to modify, according to modification of the current value of each piece of service data of the first service corresponding to the group identifier of the first group, the current value of the total service data of the first service corresponding to the group identifier of the first group.
7. The apparatus according to claim 5, wherein the first modification unit is specifically configured to:
determining whether the current value of the fragment service data in the target fragment service record is not less than the use amount in the used service data, if so, subtracting the use amount in the used service data from the current value of the fragment service data in the target fragment service record, and taking the calculation result as the current value of the fragment service data in the target fragment service record;
otherwise, modifying the current value of the fragment service data in the target fragment service record to 0, and modifying the current values of other fragment service data of the first service corresponding to the group identifier of the first group, so that the sum of the current modification quantity of the current value of the fragment service data in the target fragment service record and the current modification quantity of the current value of the other fragment service data is equal to the use quantity in the used service data.
8. The apparatus of claim 5, wherein the apparatus further comprises: the device comprises a first locking unit, a second obtaining unit and a first unlocking unit, wherein:
the first locking unit is configured to perform a first locking process on the total service data of the first service corresponding to the group identifier of the first group after the current value of the total service data of the first service corresponding to the group identifier of the first group is queried;
the second obtaining unit is configured to obtain a current value of total service data of the first service corresponding to the group identifier of the first group;
the first unlocking unit is configured to perform a first unlocking process on total service data of the first service corresponding to the group identifier of the first group.
CN202010389559.3A 2020-05-08 2020-05-08 Service data management method and device Active CN113630432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010389559.3A CN113630432B (en) 2020-05-08 2020-05-08 Service data management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010389559.3A CN113630432B (en) 2020-05-08 2020-05-08 Service data management method and device

Publications (2)

Publication Number Publication Date
CN113630432A CN113630432A (en) 2021-11-09
CN113630432B true CN113630432B (en) 2024-03-22

Family

ID=78377619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010389559.3A Active CN113630432B (en) 2020-05-08 2020-05-08 Service data management method and device

Country Status (1)

Country Link
CN (1) CN113630432B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208571A (en) * 2015-08-11 2015-12-30 北京奇虎科技有限公司 Calibration method and device for utilization amount of communication service
WO2017161522A1 (en) * 2016-03-23 2017-09-28 华为技术有限公司 Method, apparatus and system for collecting statistics of amount of flow usage
CN110087228A (en) * 2019-05-15 2019-08-02 中国联合网络通信集团有限公司 A kind of determination method and device of service package
CN110336683A (en) * 2019-07-18 2019-10-15 中国联合网络通信集团有限公司 A kind of method and device of conversation shift

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105208571A (en) * 2015-08-11 2015-12-30 北京奇虎科技有限公司 Calibration method and device for utilization amount of communication service
WO2017161522A1 (en) * 2016-03-23 2017-09-28 华为技术有限公司 Method, apparatus and system for collecting statistics of amount of flow usage
CN110087228A (en) * 2019-05-15 2019-08-02 中国联合网络通信集团有限公司 A kind of determination method and device of service package
CN110336683A (en) * 2019-07-18 2019-10-15 中国联合网络通信集团有限公司 A kind of method and device of conversation shift

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于一体化网络的分布式流量分析系统的设计与实现;张朝贵;中国优秀硕士学位论文全文数据库;20131220;全文 *

Also Published As

Publication number Publication date
CN113630432A (en) 2021-11-09

Similar Documents

Publication Publication Date Title
CN109861975B (en) Industrial Internet-oriented identification registration information query method and system
US20180359200A1 (en) System and method for facilitating the growth of a mobile community
CN107465692B (en) Unified user identity authentication method, system and storage medium
US9749153B2 (en) User registration notification between different communication services
CN101313555B (en) Authentication management system and method, authentication management server
CN107277086B (en) Service processing system, service processing method and service updating method
EP1679650A1 (en) List management server for managing updating of list by third-party terminal, list management system, list managing method, and program
CN101091369A (en) Means and method for control of personal data
US20150237000A1 (en) Enabling mapping identification of online identities between different messaging services
CN105894640B (en) A kind of guest room door lock management method and device
CN112328760B (en) Service providing method, device and system
CN101360345A (en) Data service management method, apparatus and system
CN107733774B (en) Account number association method and device
US9824227B2 (en) Simulated control of a third-party database
CN109583615B (en) Conference room booking method, conference room booking system, conference room booking server and computer readable storage medium
CN113630432B (en) Service data management method and device
CN101420681A (en) A kind of Business Management Platform is handled the method and apparatus that request is by all kinds of means ordered down
US11647022B2 (en) Method and system for providing access to data stored in a security data zone of a cloud platform
CN113630263B (en) Service data management method and device
CN111415147A (en) Marketing account management method, marketing account management device, marketing account management equipment and computer storage medium
CN103544515A (en) Bar code based electronic membership card
CN106330899A (en) Private cloud device account management method and system, electronic device and server
CN103942699A (en) Electronic membership card system based on NFC terminal
CN107770234B (en) Message pushing method and device
CN110704501B (en) User account correlation method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant