CN112016009B - Data processing method, balance acquisition device, equipment and storage medium - Google Patents

Data processing method, balance acquisition device, equipment and storage medium Download PDF

Info

Publication number
CN112016009B
CN112016009B CN202010900389.0A CN202010900389A CN112016009B CN 112016009 B CN112016009 B CN 112016009B CN 202010900389 A CN202010900389 A CN 202010900389A CN 112016009 B CN112016009 B CN 112016009B
Authority
CN
China
Prior art keywords
balance
period
account
value
time
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
CN202010900389.0A
Other languages
Chinese (zh)
Other versions
CN112016009A (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.)
Guangzhou Baiguoyuan Information Technology Co Ltd
Original Assignee
Guangzhou Baiguoyuan Information Technology Co Ltd
Filing date
Publication date
Application filed by Guangzhou Baiguoyuan Information Technology Co Ltd filed Critical Guangzhou Baiguoyuan Information Technology Co Ltd
Priority to CN202010900389.0A priority Critical patent/CN112016009B/en
Publication of CN112016009A publication Critical patent/CN112016009A/en
Application granted granted Critical
Publication of CN112016009B publication Critical patent/CN112016009B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a data processing method, a balance acquisition method, a device, equipment and a storage medium, which comprise the following steps: when the balance of the account is changed, obtaining balance change time when the balance is changed and a balance value after the balance is changed; determining the period starting time of the balance period to which the balance change time belongs, updating the balance value of the account at the period starting time in the period balance table into a balance value, and taking the balance value of the account at the period starting time before the period starting time as the balance value of the account at the period starting time when the account and the period starting time are used for acquiring the balance of the account at the period starting time. The method has the advantages that the balance table is not required to be locked, other services related to the balance table are not affected, the real instantaneous balance value can be obtained through the periodic balance table lookup, all running water of an account is not required to be reserved, the time and space complexity of the periodic balance table lookup operation is low, and the efficiency of obtaining the instantaneous balance is improved.

Description

Data processing method, balance acquisition device, equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of data processing, in particular to a data processing method, a balance acquisition device, balance acquisition equipment and a storage medium.
Background
With the popularization of social application programs such as short videos and live broadcast, in order to better realize social activities through the social application programs, the social application programs provide recharging functions, and users can enjoy more sexual social services after recharging.
In order to meet the business demands of data statistics, marketing, balance inquiry and the like, the instantaneous balance of a user at a certain time point is usually required to be obtained, the system only records the changed balance when the balance is changed, and the balance of the user at a specified time point cannot be recorded, so that the balance of the user at the specified time point cannot be directly obtained, and the balance of the user at the specified time point is obtained in two ways in the prior art. The first way is to lock the list of knot tables at a specified point in time, determine the balance of the user at the specified point in time by traversing the knot tables, however, the lock table period causes services associated with the balance table to be unavailable; in the second mode, the balance of a user at a designated time point is determined by paging and traversing all data after the balance table is pulled, and the account balance may change during the period of time because the balance table is pulled, and the pulled balance table data cannot contain all data before the designated time point, so that the real instantaneous balance at the designated time point cannot be obtained; the third mode is to trace back the last piece of running data before the appointed time point through running water trace, and the last piece of running water data is used as the instantaneous balance of the appointed time point, for n users, the running water of each user has m pieces, the time of each running water is inconsistent, all the historical running water of the user needs to be saved, the time and space complexity is high, and the efficiency of counting the instantaneous balance of all the users is low.
In summary, the prior art cannot quickly obtain the real instantaneous balance of the user at the specified time point without affecting other services.
Disclosure of Invention
The embodiment of the invention provides a data processing method, a balance acquisition device, equipment and a storage medium, which are used for solving the problem that the real instantaneous balance of a user at a designated time point cannot be acquired rapidly under the condition that other services are not influenced in the prior art.
In a first aspect, an embodiment of the present invention provides a data processing method, including:
When the balance of the account is changed, obtaining the balance change time when the balance is changed and the balance value after the balance is changed;
determining the cycle starting time of the balance period to which the balance change time belongs;
Updating the balance value of the account at the period starting time in a preset period balance table to be the balance value, wherein the account and the period starting time are used for acquiring the balance of the account at the appointed period starting time in the preset period balance table, and the balance value of the account at the period starting time before the appointed period starting time is used as the balance value of the account at the appointed period starting time.
In a second aspect, an embodiment of the present invention provides a balance obtaining method, including:
Receiving a balance acquisition request sent by a client, wherein the balance acquisition request is used for acquiring the balance of an account at the starting time of a designated period;
determining a previous cycle start time of the specified cycle start time;
Searching a balance value of the account at the starting time of the previous period in a preset period balance table;
Returning the balance value as a balance acquisition result to the client;
the preset period balance table is obtained after data are processed by the data processing method according to the first aspect of the invention.
In a third aspect, an embodiment of the present invention provides a data processing apparatus, including:
The balance change time and balance value acquisition module is used for acquiring the balance change time when the balance changes and the balance value after the balance changes when the balance changes;
The period starting time determining module is used for determining the period starting time of the balance period to which the balance change time belongs;
The balance value updating module is used for updating the balance value of the account at the period starting time in a preset period balance table into the balance value, and when the account and the period starting time are used for acquiring the balance of the account at the specified period starting time in the preset period balance table, the balance value of the account at the period starting time before the specified period starting time is used as the balance value of the account at the specified period starting time.
In a fourth aspect, an embodiment of the present invention provides a balance obtaining apparatus, including:
the balance acquisition request receiving module is used for receiving a balance acquisition request sent by the client, wherein the balance acquisition request is used for acquiring the balance of the account at the starting time of a designated period;
A previous cycle start time determining module, configured to determine a previous cycle start time of the specified cycle start time;
the balance value searching module is used for searching the balance value of the account at the starting time of the previous period in a preset period balance table;
the balance acquisition result sending module is used for returning the balance value as a balance acquisition result to the client;
the preset period balance table is obtained after data are processed by the data processing method according to the first aspect of the invention.
In a fifth aspect, an embodiment of the present invention provides an electronic device, including:
One or more processors;
Storage means for storing one or more programs,
When the one or more programs are executed by the one or more processors, the one or more processors implement the data processing method and/or the balance obtaining method according to any of the embodiments of the present invention.
In a sixth aspect, an embodiment of the present invention provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements a data processing method according to any of the embodiments of the present invention, and/or a balance obtaining method.
The embodiment of the invention sets the periodic balance table, wherein the periodic starting time in the periodic balance table is the starting time of each balance period, when the balance of the account is changed, the balance change time when the balance is changed and the balance value after the balance change are obtained, after the periodic starting time of the balance period to which the balance change time belongs is determined, the balance value of the account in the preset periodic balance table at the periodic starting time is updated into the balance value, so that the balance of the account at the designated periodic starting time is obtained, the balance value of the balance at the previous periodic starting time of the designated periodic starting time is used as the balance value of the account at the designated periodic starting time by searching the periodic balance table, the balance value of the balance table is not required to be locked, other business related to the balance table is not influenced, and the balance value of the corresponding periodic starting time in the periodic balance table is changed after the balance change of the account is monitored, the real instantaneous balance value of the account at the designated periodic starting time can be obtained through the periodic balance table, the balance value of the account is not required to be reserved, the balance value of the account is determined through tracing, the balance value of the balance table is required to be found, the operation of the balance table is performed with low operation efficiency, and the instantaneous balance operation is improved.
Drawings
FIG. 1 is a flowchart illustrating a data processing method according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a data processing method according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a data processing method according to a third embodiment of the present invention;
FIG. 4 is a flowchart illustrating steps of a balance obtaining method according to a fourth embodiment of the present invention;
FIG. 5 is a block diagram of a data processing apparatus according to a fifth embodiment of the present invention;
FIG. 6 is a block diagram of a balance acquiring device according to a sixth embodiment of the present invention;
Fig. 7 is a schematic structural diagram of an electronic device according to a seventh embodiment of the present invention.
Detailed Description
The application is described in further detail below with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the structures related to the present application are shown in the drawings. Embodiments of the application and features of the embodiments may be combined with each other without conflict.
Example 1
Fig. 1 is a flowchart of steps of a data processing method according to an embodiment of the present invention, where the embodiment of the present invention is applicable to a case of calculating an instantaneous balance of a user at a specified time point, and the method may be performed by a data processing apparatus according to an embodiment of the present invention, where the data processing apparatus may be implemented by hardware or software, and integrated into an electronic device according to an embodiment of the present invention, and specifically, as shown in fig. 1, the data processing method according to an embodiment of the present invention may include the following steps:
s101, when the balance of the account is changed, obtaining the balance change time when the balance is changed and the balance value after the balance is changed.
In the embodiment of the invention, the balance of the account can be the currency balance or the virtual gold coin balance after currency is exchanged into the virtual gold coin. For the balance of the account, when the balance of the account is consumed or recharged by a user, the balance of the account is changed, the system records the time when the balance is changed and the changed balance value, in practical application, the system can form account running water, the account running water records the balance change history of the account, the running water of the account can be monitored, when newly added running water is monitored, the balance value in the newly added running water is obtained as the changed balance value, and the timestamp in the running water is the balance change time.
In a preferred embodiment, a balance table may be established for the account, where the balance table may be a table recording a balance change time and a changed balance value of the account, and when the balance table is newly recorded, the balance is changed, and the balance change time and the changed balance value when the balance is changed may be obtained from the balance table.
Of course, in practical application, a person skilled in the art can record the change of the balance according to the change of the balance, so as to obtain the balance change time and the balance value after the balance change by adopting different methods.
S102, determining the cycle starting time of the balance period to which the balance change time belongs.
In the embodiment of the invention, the balance of the account can be checked and checked, and the check period can be in units of month, day and hour, and can be 1 month, 1 day or 1 hour, and the period duration of the check period is not limited in the embodiment of the invention.
The cycle start time is the starting time of each balance cycle, or may be the deadline of the account balance acquired by the user, in one example, the balance cycle is 1 month, when the balance of the account on 1 day 00:00:00 of each month needs to be acquired, the cycle start time is 00:00:00 of 1 day of each month, and similarly, the balance cycle is 1 day, the cycle start time is 00:00:00 of each day, the balance cycle is 1 hour, and the cycle start time is 0 minute and 0 second of each hour.
When the balance of the account is changed, the cycle start time of the balance cycle to which the balance change time belongs when the balance is changed can be determined. In one example, the balance period is 1 day, if the balance of an account a changes in the balance of 25 days 07:15:23 of 25 days 2020, the balance change time 2020 is a period start time of the balance period belonging to 25 days 07:15:23 of 2020, the balance of an account a changes in the balance of 25 days 17:10:03 of 2020, and the balance change time 2020 is a period start time of the balance period belonging to 25 days 00:00:00 of 2020.
In an alternative embodiment of the present invention, the balance change time may be a balance change timestamp generated when the balance changes, a time difference from a cycle start timestamp of the first balance period to the balance change timestamp may be calculated first, a ratio of the time difference to a preset cycle duration is calculated and rounded down to obtain a cycle number, a product of the cycle number and the preset cycle duration is calculated, and a cycle start time of the balance cycle to which the balance change timestamp belongs is obtained by summing a value of the product and the start timestamp of the first balance period, where the cycle start time is a cycle start time of the balance cycle to which the balance change time belongs.
S103, updating the balance value of the account at the period starting time in a preset period balance table into the balance value, wherein in the preset period balance table, when the account and the period starting time are used for acquiring the balance of the account at the appointed period starting time, the balance value of the account at the period starting time before the appointed period starting time is used as the balance value of the account at the appointed period starting time.
In particular, the periodic balance table may be a table in which accounts, period start times, and balance values are recorded, and in one example, one periodic balance table may be generated for each account, where the periodic balance table records balance values of the account at the period start times of the respective balance periods, and of course, one periodic balance table may also record balance values of a plurality of accounts at the period start times of the respective balance periods. After determining the period starting time of the balance period to which the balance change time belongs, the balance value can be replaced by the balance value corresponding to the period starting time in the period balance table. Of course, if there is no account balance value in the periodic balance table at the period start time, the period start time and balance value may be inserted into the periodic balance table, thereby obtaining the account balance value at the period start time.
In practical applications, when the balance of the account needs to be acquired at the designated cycle start time in response to the balance acquisition request, the balance value at the time of the cycle start time before the designated cycle start time is taken as the balance acquisition result, and the balance period is 1 day, for example, when the balance of the account a at the time of 25 days in 2020, 00:00:00 (designated cycle start time) needs to be acquired, the balance value of the account a at the time of 24 days, 00:00 (the time of the cycle start time before) in 2020, in the balance table, can be taken as the balance of the account a at the time of 25 days, 00:00 in 2020.
In another example, when balance of all accounts at the designated cycle start time is required to be acquired for balance operation, the balance values of all accounts in the cycle balance table at the period start time before the designated cycle start time are summed to obtain the balance value.
When the balance of the account is changed, the balance change time and the balance value after the balance change are obtained, after the period starting time of the balance period to which the balance change time belongs is determined, the balance value of the account at the period starting time in the preset period balance table is updated to the balance value, so that the balance value of the account at the designated period starting time is obtained, the balance value of the balance at the period starting time before the designated period starting time is used as the balance value of the account at the designated period starting time through searching the period balance table, a lock table is not needed to be carried out on the balance table, other services related to the balance table are not influenced, the balance value of the corresponding period starting time in the period table is changed after the balance change of the account is monitored, the real instantaneous balance value of the account at the designated period starting time can be obtained through the period balance table, the balance value of the account is not required to be confirmed through running water back, the operation time and the space complexity of the period balance table is low, and the efficiency of obtaining the instantaneous balance table is improved.
Example two
Fig. 2 is a step flow chart of a data processing method provided in a second embodiment of the present invention, where the data processing method in the first embodiment of the present invention is optimized based on the first embodiment, specifically, as shown in fig. 2, the data processing method in the embodiment of the present invention may include the following steps:
s201, monitoring the balance of the account to determine whether the balance of the account changes.
In practical application, when the account has consumption or recharging operation, the balance of the account can be changed, the balance of the account can be monitored in real time, in one example, the balance of the account can be obtained according to a preset period, the balance of the account is determined to be changed when the balances obtained in two adjacent periods are not equal, in another example, the balance of the account is determined to be changed when the account is newly added and recorded, or the balance of the account is determined to be changed when a record is newly added in a balance list for recording the balance change of the account. The person skilled in the art may monitor the balance of the account in any way to determine whether the balance of the account has changed, and execute S202 when the balance of the account has changed, otherwise continue to monitor the balance of the account.
S202, obtaining the balance value after the balance change and a balance change time stamp generated when the balance is changed.
In the embodiment of the invention, when the balance of the account is changed, the system records the changed balance value and generates a time stamp, wherein the time stamp is the balance change time stamp, and the balance change time stamp is the time when the balance is changed. In one example, a running water is generated after the balance of the account is changed, and the running water at least comprises a balance value after the change and a balance change time stamp when the balance is changed.
S203, calculating the cycle starting time of the balance change time stamp belonging to the balance change period by adopting the cycle starting time stamp of the first balance change period, the balance change time stamp and the preset cycle duration.
In an alternative embodiment of the present invention, the balance change time is a balance change timestamp generated when the balance changes, a time difference from a cycle start timestamp of the first balance cycle to the balance change timestamp may be calculated, a ratio of the time difference to a preset cycle duration is calculated and rounded down to obtain a cycle number, a product of the cycle number and the cycle duration is calculated, and a cycle start time of the balance change cycle is obtained by summing a value of the product and the start timestamp of the first balance cycle.
Specifically, assuming that the period start time stamp of the first balance period is S 0, the period duration is T, and the balance change time stamp is n, the period start time Stime of the balance change period to which the balance change time stamp belongs may be calculated by the following formula:
Stime=int((n-S0)/T)×T+S0
where int () is a downward rounding function.
The following describes the process of calculating the cycle start time with a balance cycle of 1 day as an example, assuming that the running water of user a at 08 in 2020 is in the following balance:
User ID Balance change time stamp Balance value
A 08 And 01 of 2020:09:30:01 100
A 2020, 08, 01 And 19:00:00 50
A 08, 02, 10:01:08 In 2020 70
A 08 And 03 days of 2020, 20:07:08 80
A 08, 03, 23:01:08 In 2020 100
The cycle start time stamp S 0 of the first balance cycle is 2020, 08, 01, 00 and 00, and the preset cycle time T is 24 hours, then:
When the balance change time stamp n is 09:30:01 on the 08 th month 01 of 2020, the time difference between the balance change time stamp n and the cycle start time stamp S 0 (00:00 on the 08 th month 01 of 2020) of the first balance period is 9.5 hours, the ratio of the time difference to the preset cycle duration is 9.5/24, the ratio is rounded down to the whole cycle number of 0, and the cycle start time Stime of the balance change time stamp n is the balance change time stamp of 09:30:01 on the 08 th month 01 of 2020, and the cycle start time Stime of the balance period is 00:00 on the 08 th month 01 of 2020;
When the balance change time stamp n is 19:00:00 on the 01 st day of the 2020 month, the time difference between the balance change time stamp n and the cycle start time stamp S 0 (the 01 st day of the 2020 month, 00:00) of the first balance period is 19 hours, the ratio of the time difference to the preset cycle duration is 19/24, the ratio is 0 when the whole cycle number is rounded down, and the cycle start time Stime of the balance change time stamp n of the balance period which belongs to the 19:00:00 on the 01 st month of the 2020 month is 00:00 on the 01 st month of the 2020 year 08 month;
when the balance change time stamp n is 10:01:08 on 02 th of 2020, the time difference between the balance change time stamp n and the cycle start time stamp S 0 (00:00 on 01 th of 2020) of the first balance period is 34 hours, the ratio of the time difference to the preset cycle duration is 34/24, the ratio is 1×24+s 0, the downward rounding cycle number is 1, the balance change time stamp n is the second balance period start time after the first balance period start time, namely, the cycle start time Stime of the balance period which belongs to the balance change time stamp n is 10:01:08 on 02 th of 2020 is 00:00 on 02 th of 2020;
By analogy, the period start time Stime of the balance period to which the balance change timestamp n belongs when the balance change timestamp n is 20:07:08 on the 08 th month 03 on the 2020 is 00:00:00 on the 08 th month 03, the period start time Stime of the balance change time stamp n is the balance period to which the year 2020, month 03, 23:01:08 belongs is the year 2020, month 03, 00:00.
In practical application, the period duration of the balance time period may be not limited, and in addition, a person skilled in the art may set the period start time of the balance time period according to the actual requirement, for example, the period start time is set to be 18:00:00 per day, furthermore, the balance time period to which the balance change timestamp belongs may be directly determined through time logic, and the period start time is determined through the belonging balance time period, for example, in the above example, the period start time is set to be 2020, the period start time is 2020, 08, 03, and the period start time is 2020, 08, 03, 00:00:00, and the embodiment of the present invention does not limit the period start time of the balance change timestamp.
S204, judging whether a balance value of the account at the period starting time exists in the preset period balance table.
In an alternative embodiment of the present invention, a periodic balance table may be preset, and the preset periodic balance table is initialized, where the initialization may be to initialize each field in the periodic balance table and determine an initial value of each field, and in one example, a table structure of the periodic balance table is as follows:
Field name Meaning of field
Uid User ID
Stime Cycle start time
Count Balance value
During initialization, an account, the period starting time of the first balance period and the initial balance value can be written into the periodic balance table, in one example, the balance tables of all existing users can be pulled, and the account and the balance value in the balance table are imported into the preset periodic balance table to finish initialization. Inserting new period starting time and updating balance value along with the time, judging whether the balance value of the account at the determined period starting time exists in the preset period balance table after the balance is changed and the period starting time of the balance period to which the balance change time stamp belongs is determined, if so, executing S205, otherwise, executing S206.
S205, updating the balance value of the account in the preset period balance table at the period starting time to be the balance value.
For the period starting time of the balance period to which the balance change time stamp belongs, if the balance value of the account at the period starting time exists in the preset period balance table, replacing the balance value of the account at the period starting time in the preset period balance table by the current monitored balance value after change.
S206, inserting the balance value into the preset period balance table as a balance value of the account at the period starting time.
For the period starting time of the balance period to which the balance change time stamp belongs, if the balance value of the account at the period starting time does not exist in the preset period balance table, inserting the period starting time into the preset period balance table, and setting the balance value of the inserted period starting time to be the monitored balance value after change.
In order to make the embodiments of the present invention more clearly understood by those skilled in the art, the following description will illustrate the updating process of the balance value by way of example:
Taking account a as an example, the balance period is 1 day, the period start time of each balance period is 00:00:00 per day, and the partial flow of user a is as follows (balance change):
The balance of 01:00:00 of the year 2020, 08 and 01 is 18 yuan;
the balance of 07:00:00 in the year 2020, 08 and 01 is 108 yuan;
the balance of 12:00:00 in 01 of 08 in 2020 is 100 yuan;
The balance of 21:00:00 in the year 2020, 08 and 01 is 30 yuan;
the balance of 23:00:00 in the year 2020, 08 and 01 is 40 yuan;
60 yuan for the balance of 02:00:00 of 02:02 of 2020 month,
The balance of 10:00:00 in 02 of 2020 is 80 yuan,
The balance of 21:00:00 on 02 of 08 in 2020 is 101 yuan,
The balance of the balance is unchanged in the year 08 and 03 in 2020;
10 yuan is the account balance of 10:00:00 points on 04 th month in 2020.
The process of updating the preset periodic balance table is as follows:
08 month 01 day 01:00:00, uid=a, stime =1 day 00:00:00, count=18;
08 month 01 day 07:00:00, uid=a, stime =1 day 00:00:00, count=108;
08 month 01 day 12:00:00, uid=a, stime =1 day 00:00:00, count=100;
08 month 01 day 21:00:00, uid=a, stime =1 day 00:00:00, count=30;
08 month 01 day 23:00:00, uid=a, stime =1 day 00:00:00, count=40;
From the above procedure, it can be seen that for 08 months 01 days 00:00:00-24:00: the balance of the changes occurring between 00, the cycle start times of which are Stime =1d00: 00:00, stone=1 day 00:00: the updating process of the balance value count of 00 is 18, 108, 100, 30 and 40 in sequence.
By analogy, for a balance change of 2 days, the process of updating the preset periodic balance table is as follows:
08 month 02 day 02:00:00, uid=a, stime =2 day 00:00:00, count=60;
08 month 02 day 10:00:00, uid=a, stime =2 day 00:00:00, count=80;
08 month 02 day 21:00:00, uid=a, stime =2 day 00:00:00, count=101;
I.e. Stime = 2 days 00:00: the updating process of the balance value count of 00 is 60, 80 and 101 in sequence.
Similarly, there was no change in balance on day 08, 03, uid=a, stime =3k00: 00:00, count=101;
08 month 04 day 10:00:00, uid=a, stime =4 day 00:00:00, count=10.
The final preset periodic balance at 08 month 04 day 10:00:00 is as follows:
Uid Stime Count
A 1 day 00:00:00 40
A 2 Days 00:00:00 101
A 3 Days 00:00:00 101
A 4 Days 00:00:00 10
As can be seen from the above example, when the balance of the account a is changed, that is, the balance value count of the corresponding period starting time Stime is updated, and the balance of the account a at 8 months 2 days 00:00:00 is to be obtained, the final balance of the account a before 8 months 2 days 00:00:00 is recorded by the balance balance=40 of the 8 months 1 days 00:00:00 in the preset period balance table, so the balance balance=40 of the 8 months 1 days 00:00:00 in the preset period balance table is the real instantaneous balance of the account a at 8 months 2 days 00:00:00. Therefore, the setting of the periodic balance table and the updating of the periodic balance table according to the balance change are realized, when the balance of the account at the designated period starting time is obtained, the balance value of the period starting time before the designated period starting time is used as the balance value of the account at the designated period starting time by searching the periodic balance table, the balance table is not required to be locked, other services related to the balance table are not influenced, the balance value of the corresponding period starting time in the periodic balance table is changed after the change of the balance of the account is monitored, the real instantaneous balance value of the account at the designated period starting time can be quickly obtained through the periodic balance table lookup table, all flowing water of the account is not required to be reserved to trace back to determine the balance value of the account through flowing water, the time and space complexity of the periodic balance table lookup operation are low, and the efficiency of obtaining the instantaneous balance is improved.
Example III
Fig. 3 is a step flow chart of a data processing method according to a third embodiment of the present invention, where the data processing method according to the first embodiment of the present invention is optimized based on the first embodiment, specifically, as shown in fig. 3, the data processing method according to the embodiment of the present invention may include the following steps:
S301, when the balance of the account is changed, obtaining the balance change time when the balance is changed and the balance value after the balance is changed.
In the implementation of the present invention, S301 may refer to S101 in the first embodiment, or S201 to S202 in the second embodiment, which are not described in detail herein for avoiding repetition.
S302, determining the cycle starting time of the balance period to which the balance change time belongs.
S303, updating the balance value of the account at the period starting time in a preset period balance table into the balance value, wherein in the preset period balance table, when the account and the period starting time are used for acquiring the balance of the account at the specified period starting time, the balance value of the account at the period starting time before the specified period starting time is used as the balance value of the account at the specified period starting time.
In the implementation of the present invention, S302 to S303 may refer to S102 to S103 in the first embodiment, or S203 to S206 in the second embodiment, which are not described in detail herein for avoiding repetition.
S304, if the current time is the period starting time of the current balance period, and the balance of the account is not changed within the current balance period, taking the balance value of the period starting time of the previous balance period as the balance value of the period starting time of the current balance period.
In an alternative embodiment of the present invention, the current time is inserted in the period balance table as the period start time of the current balance period, and the balance value of the period start time of the previous balance period is used as the balance value of the period start time of the current balance period.
Specifically, the current time may refer to the current time of the system, if the current time is the period starting time of the current balance period, the current time may be inserted in the preset period balance table as the period starting time of the current balance period, if the balance of the account within the current balance period does not change, the balance value of the last balance period may be used as the balance value of the current balance period, for example, in the example provided in step S206 of the second embodiment, when the current time is 08 months 03 days 00:00:00, the period starting time Stime =3 days 00:00:00 is inserted in the preset period balance table, and if the balance of the account a does not change within 08 months 03 days, stime =2 days 00:00: count=101 of 00 as Stime =3daily 00:00:00 balance, i.e. new Stime =3daily 00 in the preset periodic balance table: 00:00, count=101, thereby avoiding account a at Stime =3 days 00:00:00 has no balance value, cannot acquire account a on 3 days 00:00: a balance of 00.
When the current time is the period starting time of the current balance period and the balance of the account in the current balance period is unchanged, the balance value of the period starting time of the previous balance period is used as the balance value of the period starting time of the current balance period, so that the problem that the balance value of the account in the balance period cannot be obtained due to the fact that the balance value of the account in the balance period is not available due to the fact that the balance of the account in the balance period is not available in a certain balance period can be avoided, the balance value of the account in the balance period is available in the period starting time of each balance period, and the balance value of the account in the period starting time of each balance period can be obtained.
S305, counting the number of periods contained in the preset period balance table.
In one example, the number of cycle start times of the accounts in the preset cycle balance table may be counted as the number of cycles.
And S306, when the cycle number is larger than a preset threshold value, clearing balance values of the first N balance cycles before the cycle starting time.
In one example, the preset threshold may be 2, i.e., the balance value of the last 2 balance periods is retained in the preset period balance table, and the balance values of the first N balance periods before the period start time are deleted, so that the balance value of the last 2 balance periods is always retained in the preset period balance table. Assuming that the number of accounts is n, and data of the two latest balance periods are stored, the time complexity of table lookup is O (n log (n)), the space complexity is O (2 n), and m running water of each user is inconsistent with the time of each running water relative to n users, so that the time and space complexity of obtaining balance values are further reduced, the balance of the account at the starting time of a designated period can be obtained rapidly by querying a preset period balance table, and the efficiency of obtaining the balance of the account is improved.
It should be noted that, steps S304-S306 may be performed after S206 in the second embodiment as an optional step, and of course, steps S304-S306 may also be performed before or simultaneously with any one of the steps in the first embodiment, the second embodiment, or the third embodiment, which is not a limitation on when steps S304-S306 are performed in the present invention.
When the balance of the account is changed, the balance change time when the balance is changed and the balance value after the balance change are obtained, and after the period starting time of the balance period to which the balance change time belongs is determined, the balance value of the account in the preset period balance table at the period starting time is updated to be the balance value. Therefore, when the balance of the account at the appointed period starting time is obtained, the balance value of the account at the period starting time before the appointed period starting time is used as the balance value of the account at the appointed period starting time by searching the period balance table, the balance table is not required to be locked, other services related to the balance table are not affected, the balance value of the corresponding period starting time in the period balance table is changed after the change of the balance of the account is monitored, the real instantaneous balance value of the account at the appointed period starting time can be quickly obtained through the table lookup of the period balance table, all running water of the account is not required to be reserved to determine the balance value of the account through the running water backtracking, the time and space complexity of the table lookup operation on the period balance table is low, and the efficiency of obtaining the instantaneous balance is improved.
Further, when the current time is the period starting time of the current balance period and the balance of the account in the current balance period is not changed, taking the balance value of the period starting time of the previous balance period as the balance value of the period starting time of the current balance period, the balance value of the account in the balance period can be prevented from being obtained due to the fact that the balance value of the account in the balance period is not obtained due to the fact that the balance value of the account is not changed in the balance period in a certain balance period, and the account has the balance value at the period starting time of each balance period.
Furthermore, the number of cycles contained in the preset cycle balance table is counted, and when the number of cycles is larger than a preset threshold value, the balance values of the first N balance cycles before the starting time of the cycle are emptied, so that the complexity of time and space of table lookup is further reduced, the balance of the account at the starting time of the appointed cycle can be quickly obtained by querying the cycle balance table, and the efficiency of obtaining the balance of the account is improved.
Example IV
Fig. 4 is a flowchart illustrating steps of a balance obtaining method according to a fourth embodiment of the present invention, where the embodiment of the present invention is applicable to a case where a balance of a user at a specified time point is obtained, the method may be performed by a balance obtaining device according to an embodiment of the present invention, the balance obtaining device may be implemented by hardware or software, and integrated into an electronic device according to an embodiment of the present invention, and specifically, as shown in fig. 4, the balance obtaining method according to an embodiment of the present invention may include the following steps:
S401, receiving a balance acquisition request sent by a client, wherein the balance acquisition request is used for acquiring the balance of an account at the starting time of a designated period.
In one application scenario of the present invention, it may be that the client receives a balance inquiry request generated by user operation, for example, the user inquires about the balance of account a on 8 months and 3 days, and then 8 months and 3 days 00:00:00 are taken as the designated period starting time, so as to generate a balance acquisition request including account a and the designated period starting time, so as to request the server to return the balance of account a on 8 months and 3 days 00:00:00.
In another application scenario, a marketer or a manager needs to acquire balances of all accounts at the beginning time of a designated period, for example, a financial staff operates a financial system to perform daily clearing operation on the balances of all accounts, a balance acquisition request can be generated through the financial system, a server is requested to acquire balance values of all accounts at 00:00:00 every day through the balance acquisition request, and a sum value obtained by accumulating the balance values of all accounts at 00:00:00 every day is used as a daily clearing result.
S402, determining the starting time of the previous cycle of the designated starting time of the cycle.
In an alternative embodiment, the difference between the cycle start time of the specified balance cycle and the cycle duration of the balance cycle may be calculated as the previous cycle start time. Specifically, the period duration of each balance period is T, and for a specified period start time, the previous period start time is the difference between the specified period start time and the period duration T, and in one example, the specified period start time is 8 months, 2 days, 00:00, and the period duration T is 1 day or 24 hours, and then the previous period start time is 8 months, 1 days, 00:00, and 00.
S403, searching a balance value of the account at the starting time of the previous period in a preset period balance table.
Specifically, the preset periodic balance table of the embodiment of the present invention is obtained by processing balance data of an account by using the data processing method provided in the first embodiment or the second embodiment or the third embodiment, where the period start time of each balance period is a specified expiration time of the balance of the account acquired by the user, where the balance period may be a period of performing a balance operation on the balance of the account, the balance period may be a month, a day, or an hour, and exemplarily, the balance period may be 1 month, or may be 1 day, or may be 1 hour, or the like, in one example, the balance period is 1 month, and when the balance of the account needs to be acquired at 1 day 00:00:00 per month, the period start time is 00:00 per month, and similarly, the balance period is 1 day, the period start time is 00:00:00 per day, and the balance period is 1 hour, and the period start time is 0 minute 0 second per hour.
In the preset period balance table, when the account and the period starting time are used for acquiring the balance of the account at the designated period starting time, the balance value of the account at the period starting time before the designated period starting time is taken as the balance value of the account at the designated period starting time, wherein the generation of the preset period balance table can refer to embodiment one, embodiment two or embodiment three, and the generation of the preset period balance table is not described in detail herein.
S404, returning the balance value as a balance acquisition result to the client.
Specifically, the balance value of the period starting time before the period starting time is taken as the balance value of the account at the period starting time, and the balance value is returned to the client side, so that balance operation is carried out on the balance of all the accounts at the client side.
In order to make the balance acquisition method of the embodiments of the present invention more clearly understood by those skilled in the art, the balance acquisition method is described below as an example:
assume that the periodic balance table for account a is as follows:
Uid Stime Count
A 1 day 00:00:00 40
A 2 Days 00:00:00 101
A 3 Days 00:00:00 101
A 4 Days 00:00:00 10
When obtaining the balance value of account A at 2 days 00:00:00, since 1 day 00:00:00 records the last balance value of account A before 2 days 00:00:00, the balance value 40 of account A at 1 day 00:00:00 can be used as the balance value of account A at 2 days 00:00:00.
After the balance acquisition request sent by the client is received, the previous cycle starting time of the appointed cycle starting time in the balance acquisition request is determined, the balance value of the account at the previous cycle starting time is searched in the cycle balance table and is returned to the client as a balance acquisition result, the balance table is not required to be locked, other services related to the balance table are not influenced, the real instantaneous balance value of the account at the appointed cycle starting time can be quickly obtained through the table lookup of the cycle balance table, all running water of the account is not required to be reserved to determine the balance value of the account through the running water backtracking, the time and space complexity of the table lookup operation on the cycle balance table is low, and the efficiency of obtaining the instantaneous balance is improved.
Example five
Fig. 5 is a block diagram of a data processing apparatus according to a fifth embodiment of the present invention, and as shown in fig. 5, the data processing apparatus according to the embodiment of the present invention may specifically include the following modules:
the balance change time and balance value obtaining module 501 is configured to obtain, when the balance of the account changes, a balance change time when the balance changes and a balance value after the balance changes;
a period start time determining module 502, configured to determine a period start time of a balance period to which the balance change time belongs;
A balance value updating module 503, configured to update a balance value of the account at the period start time in a preset period balance table to the balance value, where the account and the period start time are used to obtain, when the account balances at a specified period start time, the balance value of the account at a period start time before the specified period start time as the balance value of the account at the specified period start time.
The data processing device provided by the embodiment of the invention can execute the data processing method provided by any one of the first to third embodiments of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example six
Fig. 6 is a block diagram of a balance obtaining device according to a sixth embodiment of the present invention, and as shown in fig. 6, the balance obtaining device according to the embodiment of the present invention may specifically include the following modules:
A balance acquisition request receiving module 601, configured to receive a balance acquisition request sent by a client, where the balance acquisition request is used to acquire a balance of an account at a start time of a specified period;
A previous cycle start time determination module 602, configured to determine a previous cycle start time of the specified cycle start time;
a balance value searching module 603, configured to search a preset period balance table for a balance value of the account at the starting time of the previous period;
A balance obtaining result sending module 604, configured to return the balance value as a balance obtaining result to the client;
the preset periodic balance table is obtained after data is processed by the data processing method provided in the first embodiment, the second embodiment or the third embodiment.
The balance acquisition device provided by the embodiment of the invention can execute the balance acquisition method provided by the fourth embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
Example seven
Referring to fig. 7, a schematic diagram of an apparatus in one example of the invention is shown. As shown in fig. 7, the apparatus may specifically include: a processor 701, a storage device 702, a display screen 703 with touch functions, an input device 704, an output device 705, and a communication device 706. The number of processors 701 in the device may be one or more, one processor 701 being illustrated in fig. 7. The processor 701, the storage 702, the display 703, the input 704, the output 705 and the communication 706 means of the apparatus may be connected by a bus or by other means, in fig. 7 by way of example. The device is used for executing the data processing method and/or the balance acquisition method provided by any embodiment of the invention.
Embodiments of the present invention also provide a computer-readable storage medium, where instructions in the storage medium, when executed by a processor of a device, enable the device to perform a data processing method and/or a balance obtaining method as described in the above method embodiments.
It should be noted that, in the embodiments of the apparatus, device, and storage medium, the description is relatively simple, and the relevant points refer to the part of the description of the method embodiments, since they are basically similar to the method embodiments.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms do not necessarily refer to the same embodiments or examples. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples.
Note that the above is only a preferred embodiment of the present invention and the technical principle applied. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious alterations, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, while the invention has been described in connection with the above embodiments, the invention is not limited to the embodiments, but may be embodied in many other equivalent forms without departing from the spirit or scope of the invention, which is set forth in the following claims.

Claims (13)

1. A method of data processing, comprising:
when the balance of the account is changed, obtaining the balance change time when the balance is changed and the balance value after the balance is changed; establishing a balance table for the account, wherein the balance table is a table for recording the balance change time and the changed balance value of the account;
determining the cycle starting time of the balance period to which the balance change time belongs;
updating a balance value of the account at the cycle starting time in a preset cycle balance table to be the balance value, wherein the account and the cycle starting time are used for acquiring the balance of the account at the appointed cycle starting time, and the balance value of the account at the cycle starting time before the appointed cycle starting time is used as the balance value of the account at the appointed cycle starting time;
After updating the balance value of the account in the preset period balance table at the period starting time to the balance value, the method further comprises the following steps:
Counting the number of cycles contained in the preset periodic balance table;
When the cycle number is larger than a preset threshold value, clearing balance values of the first N balance cycles before the cycle starting time;
the balance change time is a balance change time stamp generated when the balance is changed, and the determining the cycle starting time of the balance cycle to which the balance change time belongs includes:
calculating the cycle starting time of the balance change time stamp belonging to the balance change period by adopting the cycle starting time stamp of the first balance change period, the balance change time stamp and the preset cycle duration;
Before updating the balance value of the account in the preset period balance table at the period starting time to the balance value, the method comprises the following steps:
initializing the preset periodic balance table.
2. The data processing method according to claim 1, wherein when the balance of the account is changed, before obtaining the balance change time when the balance is changed and the balance value after the balance change, further comprising:
monitoring the balance of an account to determine whether the balance of the account changes;
If yes, executing the step of obtaining the balance change time when the balance is changed and the balance value after the balance is changed.
3. The method according to claim 1, wherein the step of obtaining the balance change time when the balance is changed and the balance value after the balance change when the balance is changed includes:
When the balance of the account is changed, the balance value after the balance is changed and a balance change time stamp generated when the balance is changed are obtained.
4. The method according to claim 1, wherein calculating the cycle start time of the balance change time stamp belonging to the balance change cycle using the cycle start time stamp of the first balance change cycle, the balance change time stamp, and a preset cycle duration includes:
Calculating a time difference from a cycle start time stamp of the first balance cycle to the balance change time stamp;
calculating the ratio of the time difference to the preset period duration and rounding down to obtain the period number;
calculating the product of the cycle number and the cycle duration;
and summing the sum of the product and the starting time stamp of the first balance change time stamp to obtain the cycle starting time of the balance change time stamp.
5. A data processing method according to any one of claims 1 to 3, further comprising, prior to updating the balance value of the account in a preset period balance table at the period start time to the balance value:
Judging whether a balance value of the account at the period starting time exists in the preset period balance table or not;
If yes, a step of updating the balance value of the account in the preset period balance table at the period starting time into the balance value is executed;
if not, the balance value is inserted into the preset period balance table to serve as a balance value of the account at the period starting time.
6. A data processing method according to any one of claims 2 to 3, further comprising, after updating a balance value of the account in a preset period balance table at the period start time to the balance value:
and if the current time is the period starting time of the current balance period, taking the balance value of the period starting time of the previous balance period as the balance value of the period starting time of the current balance period when the balance of the account is not changed within the current balance period.
7. The method according to claim 6, wherein if the current time is a cycle start time of the current balance cycle, when the balance of the account is not changed within the current balance cycle, taking the balance value of the cycle start time of the previous balance cycle as the balance value of the cycle start time of the current balance cycle, comprising:
inserting the current time into the preset period balance table as the period starting time of the current balance period;
and taking the balance value at the cycle starting time of the previous balance period as the balance value at the cycle starting time of the current balance period.
8. A balance acquisition method, comprising:
Receiving a balance acquisition request sent by a client, wherein the balance acquisition request is used for acquiring the balance of an account at the starting time of a designated period;
determining a previous cycle start time of the specified cycle start time;
Searching a balance value of the account at the starting time of the previous period in a preset period balance table;
Returning the balance value as a balance acquisition result to the client;
wherein the preset periodic balance table is obtained after data processing by the data processing method according to any one of claims 1 to 7.
9. The balance acquisition method of claim 8, wherein the determining a previous cycle start time of the specified cycle start time comprises:
and calculating the difference value between the appointed cycle starting time and the preset cycle duration as the previous cycle starting time.
10. A data processing apparatus, comprising:
The balance change time and balance value acquisition module is used for acquiring the balance change time when the balance changes and the balance value after the balance changes when the balance changes; establishing a balance table for the account, wherein the balance table is a table for recording the balance change time and the changed balance value of the account;
The period starting time determining module is used for determining the period starting time of the balance period to which the balance change time belongs;
A balance value updating module, configured to update a balance value of the account at the period starting time in a preset period balance table to the balance value, where in the preset period balance table, when the account and the period starting time are used to obtain a balance of the account at a specified period starting time, the balance value of the account at a period starting time before the specified period starting time is used as the balance value of the account at the specified period starting time;
After updating the balance value of the account in the preset period balance table at the period starting time to the balance value, the method further comprises the following steps:
Counting the number of cycles contained in the preset periodic balance table;
When the cycle number is larger than a preset threshold value, clearing balance values of the first N balance cycles before the cycle starting time;
the balance change time is a balance change time stamp generated when the balance is changed, and the determining the cycle starting time of the balance cycle to which the balance change time belongs includes:
calculating the cycle starting time of the balance change time stamp belonging to the balance change period by adopting the cycle starting time stamp of the first balance change period, the balance change time stamp and the preset cycle duration;
Before updating the balance value of the account in the preset period balance table at the period starting time to the balance value, the method comprises the following steps:
initializing the preset periodic balance table.
11. A balance acquisition device, comprising:
the balance acquisition request receiving module is used for receiving a balance acquisition request sent by the client, wherein the balance acquisition request is used for acquiring the balance of the account at the starting time of a designated period;
A previous cycle start time determining module, configured to determine a previous cycle start time of the specified cycle start time;
the balance value searching module is used for searching the balance value of the account at the starting time of the previous period in a preset period balance table;
the balance acquisition result sending module is used for returning the balance value as a balance acquisition result to the client;
wherein the preset periodic balance table is obtained after data processing by the data processing method according to any one of claims 1 to 7.
12. An electronic device, the electronic device comprising:
One or more processors;
Storage means for storing one or more programs,
The one or more programs, when executed by the one or more processors, cause the one or more processors to implement the data processing method of any of claims 1-7, and/or the balance acquisition method of any of claims 8-9.
13. A computer-readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements a data processing method according to any one of claims 1-7 and/or a balance acquisition method according to any one of claims 8-9.
CN202010900389.0A 2020-08-31 Data processing method, balance acquisition device, equipment and storage medium Active CN112016009B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010900389.0A CN112016009B (en) 2020-08-31 Data processing method, balance acquisition device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010900389.0A CN112016009B (en) 2020-08-31 Data processing method, balance acquisition device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112016009A CN112016009A (en) 2020-12-01
CN112016009B true CN112016009B (en) 2024-05-31

Family

ID=

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008040932A (en) * 2006-08-09 2008-02-21 Hitachi Kokusai Electric Inc Profit and loss calculation system
CN103955854A (en) * 2014-04-28 2014-07-30 华为技术有限公司 Account management device and method
CN104778576A (en) * 2015-03-13 2015-07-15 上海灵兮信息科技有限公司 Method for automatically initializing accounting data set by using account balance report
CN106952158A (en) * 2017-03-17 2017-07-14 证通股份有限公司 Solve the problems, such as the bookkeeping methods and equipment of focus account
CN107016604A (en) * 2017-02-22 2017-08-04 阿里巴巴集团控股有限公司 Buffer method, device and the equipment of book keeping operation
CN109034493A (en) * 2018-08-22 2018-12-18 阿里巴巴集团控股有限公司 A kind of account balance prediction technique and device
CN110070350A (en) * 2019-03-25 2019-07-30 中金支付有限公司 A kind of payment transaction settlement processing method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008040932A (en) * 2006-08-09 2008-02-21 Hitachi Kokusai Electric Inc Profit and loss calculation system
CN103955854A (en) * 2014-04-28 2014-07-30 华为技术有限公司 Account management device and method
CN104778576A (en) * 2015-03-13 2015-07-15 上海灵兮信息科技有限公司 Method for automatically initializing accounting data set by using account balance report
CN107016604A (en) * 2017-02-22 2017-08-04 阿里巴巴集团控股有限公司 Buffer method, device and the equipment of book keeping operation
CN106952158A (en) * 2017-03-17 2017-07-14 证通股份有限公司 Solve the problems, such as the bookkeeping methods and equipment of focus account
CN109034493A (en) * 2018-08-22 2018-12-18 阿里巴巴集团控股有限公司 A kind of account balance prediction technique and device
CN110070350A (en) * 2019-03-25 2019-07-30 中金支付有限公司 A kind of payment transaction settlement processing method and system

Similar Documents

Publication Publication Date Title
CN107798057B (en) Transaction data processing method, device, storage medium and computer equipment
CN103714133A (en) Data operation and maintenance management method and device
CN107038620A (en) Based on user call a taxi preference information push and device
CN109241067A (en) transaction data management method and device
CN110471945A (en) Processing method, system, computer equipment and the storage medium of alive data
CN105760982A (en) Human resources management system
CN110602215B (en) Resource processing method based on alliance block chain and alliance block chain system
CN114416891B (en) Method, system, apparatus and medium for data processing in a knowledge graph
CN111768174A (en) Activity management method, apparatus, device and medium
CN114282011B (en) Knowledge graph construction method and device, and graph calculation method and device
CN111984677B (en) Resource data checking method, device, computer equipment and storage medium
CN111901405B (en) Multi-node monitoring method and device, electronic equipment and storage medium
CN112016009B (en) Data processing method, balance acquisition device, equipment and storage medium
CN115879889A (en) Service processing method and device based on block chain and computer equipment
CN112016009A (en) Data processing method, balance obtaining method, device, equipment and storage medium
CN115563160A (en) Data processing method, data processing device, computer equipment and computer readable storage medium
CN109815278A (en) A kind of method for exhibiting data and its equipment, storage medium, electronic equipment
CN113409147A (en) Account data processing method and device, electronic equipment and storage medium
CN113722141A (en) Method and device for determining delay reason of data task, electronic equipment and medium
CN111686451A (en) Business processing method, device, equipment and computer storage medium
CN105955969A (en) User behavior data ranking method and device
Kanagasabai et al. Ec2bargainhunter: It's easy to hunt for cost savings on amazon ec2!
CN112084022B (en) Project capacity planning method and device, computer equipment and storage medium
CN113591005B (en) Information pushing method, device and terminal
CN113837593B (en) Virtual data distribution method, device, equipment and storage medium

Legal Events

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