CN109246233A - Data processing method, device, equipment and storage medium based on on-line monitoring - Google Patents

Data processing method, device, equipment and storage medium based on on-line monitoring Download PDF

Info

Publication number
CN109246233A
CN109246233A CN201811160190.8A CN201811160190A CN109246233A CN 109246233 A CN109246233 A CN 109246233A CN 201811160190 A CN201811160190 A CN 201811160190A CN 109246233 A CN109246233 A CN 109246233A
Authority
CN
China
Prior art keywords
account
online
time
time interval
server
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.)
Pending
Application number
CN201811160190.8A
Other languages
Chinese (zh)
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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201811160190.8A priority Critical patent/CN109246233A/en
Publication of CN109246233A publication Critical patent/CN109246233A/en
Pending legal-status Critical Current

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/535Tracking the activity of the user

Abstract

This specification embodiment provides a kind of data processing method based on on-line monitoring, device, equipment and storage medium.Its method includes: to detect whether each time interval of account within a predetermined period of time has online behavior, and the predetermined amount of time is divided into multiple time intervals;The online hours weight of the account is generated according to testing result;Preservation is associated with the account according to the online hours Weight Acquisition business datum, and by the business datum.Whether the embodiment of the present invention is online without real-time monitoring account, therefore saves process resource.

Description

Data processing method, device, equipment and storage medium based on on-line monitoring
Technical field
The present embodiments relate to technical field of the computer network more particularly to a kind of data processings based on on-line monitoring Method, apparatus, equipment and storage medium.
Background technique
With the development of computer networking technology, there is the diversified business function for relying on computer equipment realization Energy.Such as online game, on-line study business etc..These business functions are generally required based on the online hours statistics to account Data processing is carried out, such as user is rewarded according to online hours, bonus data is generated, in another example according to online hours pair On-line study duration carries out timing or countdown statistics etc..
It is common to be achieved in that whether continue to monitor account online, to count online hours, and then according to it is online when A length of account carries out data processing, and this implementation occupies a large amount of process resources.
Summary of the invention
The problem of in view of a large amount of process resources are occupied in existing data handling procedure for statistics online hours, the present invention Propose a kind of data processing method based on on-line monitoring and corresponding device, computer equipment and computer-readable storage medium Matter can save process resource.
In a first aspect, the embodiment of the invention provides a kind of data processing methods based on on-line monitoring, this method comprises:
Whether each time interval of detection account within a predetermined period of time has online behavior, which is divided For multiple time intervals;
The online hours weight of above-mentioned account is generated according to testing result;
According to the online hours Weight Acquisition business datum, and the business datum is associated with preservation with the account.
The predetermined amount of time for needing to monitor online hours is divided into multiple time zones by method provided in an embodiment of the present invention Between, whether have online behavior, if having online behavior in some time interval, then it is assumed that the account if detecting user in each time interval Whether family is online in the time interval, online instead of real-time monitoring account in this way, and then gives birth to according to testing result At online hours weight, it is based on online hours Weight Acquisition business datum.It is whether online due to not needing real-time monitoring account, because Process resource is greatly saved in this.
With reference to first aspect, in the first implementation of first aspect of the embodiment of the present invention, above-mentioned detection account exists Whether each time interval in predetermined amount of time has online behavior, and implementation may include:
The user behaviors log of above-mentioned account is obtained from local computer device;
Search whether each time interval of the account within a predetermined period of time has online behavior number from behavior log According to.
Since the local computer that account is logged in preserves the user behaviors log of account game server, behavior log note Record has the online behavioral data of account, therefore, in order to further mitigate account server processing load, save server Process resource can detect online behavior on the local computer that account is logged in.
The first implementation with reference to first aspect, in second of implementation of first aspect of the embodiment of the present invention Each of in, the above-mentioned user behaviors log that account is obtained from local computer device can specifically include: within a predetermined period of time After time interval, the user behaviors log of the corresponding above-mentioned account of this time interval is obtained from local computer device;Accordingly , search whether each time interval of the account within a predetermined period of time has online behavioral data in above-mentioned subordinate act log, It include: to search whether to have online behavioral data in this time interval in subordinate act log.
Online behavioral data is searched for this time interval after each time interval, band can be searched to avoid concentrating The larger problem of the operand come, improves process performance.
With reference to first aspect, in the third implementation of first aspect of the embodiment of the present invention, above-mentioned detection account exists Whether each time interval in predetermined amount of time has online behavior, and implementation may include:
Whether each time interval of detection within a predetermined period of time has the service of local computer device Yu above-mentioned account Session link between device.
If account is online, need account log in where local computer device and account server between establish and Session link is kept, therefore online behavior can be judged whether there is by detecting session link, implementation is simple, quick.
The third implementation with reference to first aspect, in the 4th kind of implementation of first aspect of the embodiment of the present invention In, whether each time interval of above-mentioned detection within a predetermined period of time has the server of local computer device Yu above-mentioned account Between session link, implementation may include:
After each time interval in above-mentioned predetermined amount of time, detected whether local computer device with it is above-mentioned Session link between the server of account.
Session link is detected for this time interval after each time interval, it can be to avoid centralized detecting bring The larger problem of operand improves process performance.
With reference to the above first aspect, the first implementation of first aspect, second of implementation of first aspect, The third implementation of one side or the 4th kind of implementation of first aspect, the of first aspect of the embodiment of the present invention In five kinds of implementations, above-mentioned according to online hours Weight Acquisition business datum, implementation may include:
The online hours weight of above-mentioned account is sent to the server of above-mentioned account, and receives the server of above-mentioned account The business datum of return;
Alternatively, business numerical value is obtained from the server of above-mentioned account, using above-mentioned online hours weight to above-mentioned business number Value carries out that business datum is calculated.
If detecting the online behavior of account, on the local computer that account is logged in order to save the place of local computer Resource is managed, business datum can be generated by server, and local server obtains the data that service server generates;In order to save clothes The process resource of business device, the business numerical generation that business datum can also be sent by local computer device according to server.
With reference to the above first aspect, the first implementation of first aspect, second of implementation of first aspect, The third implementation of one side or the 4th kind of implementation of first aspect, the of first aspect of the embodiment of the present invention In six kinds of implementations, the above-mentioned online hours weight for generating above-mentioned account according to testing result, implementation may include:
Accumulation operations, the object time are carried out to online hours weight enumerator according to the corresponding step-length in object time section Section is the corresponding time interval of online behavior detected;After the completion of the detection of above-mentioned predetermined amount of time, read online Online hours weight of the count value of duration weight enumerator as above-mentioned account.
In order to quickly and accurately calculate online hours weight, counter can be introduced, is obtained online by the way that counter is cumulative Duration weight.
Second aspect, the embodiment of the invention provides a kind of data processing equipments based on on-line monitoring, comprising:
Online behavioral value module, for detecting whether each time interval of account within a predetermined period of time has online row For the predetermined amount of time is divided into multiple time intervals;
Online hours weight generation module, for generating the online hours weight of above-mentioned account according to testing result;
Business datum obtains module, for according to the online hours Weight Acquisition business datum, and by the business datum with Account association saves.
The predetermined amount of time for needing to monitor online hours is divided into multiple time zones by device provided in an embodiment of the present invention Between, whether have online behavior, if having online behavior in some time interval, then it is assumed that the account if detecting user in each time interval Whether family is online in the time interval, online instead of real-time monitoring account in this way, and then gives birth to according to testing result At online hours weight, it is based on online hours Weight Acquisition business datum.It is whether online due to not needing real-time monitoring account, because Process resource is greatly saved in this.
In conjunction with second aspect, in the first implementation of second aspect of the embodiment of the present invention, above-mentioned online behavior inspection Module is surveyed to be used for:
The user behaviors log of account is obtained from local computer device;
Search whether each time interval of the account within a predetermined period of time has online behavior number from behavior log According to.
Since the local computer that account is logged in preserves the user behaviors log of account game server, behavior log note Record has the online behavioral data of account, therefore, in order to further mitigate account server processing load, save server Process resource can detect online behavior on the local computer that account is logged in.
In conjunction with the first implementation of second aspect, in second of implementation of second aspect of the embodiment of the present invention In, online behavioral value module is used for:
After each time interval within a predetermined period of time, this time interval pair is obtained from local computer device The user behaviors log for the account answered;
Whether search from behavior log has online behavioral data in this time interval.
Online behavioral data is searched for this time interval after each time interval, band can be searched to avoid concentrating The larger problem of the operand come, improves process performance.
In conjunction with second aspect, in the third implementation of second aspect of the embodiment of the present invention, above-mentioned online behavior inspection Module is surveyed to be used for:
Whether each time interval of detection within a predetermined period of time has the service of local computer device Yu above-mentioned account Session link between device.
If account is online, need account log in where local computer device and account server between establish and Session link is kept, therefore online behavior can be judged whether there is by detecting session link, implementation is simple, quick.
In conjunction with the third implementation of second aspect, in the 4th kind of implementation of second aspect of the embodiment of the present invention In, in order to detect the server whether each time interval within a predetermined period of time has local computer device Yu above-mentioned account Between session link, above-mentioned online behavioral value module is used for:
After each time interval in above-mentioned predetermined amount of time, detected whether local computer device with it is above-mentioned Session link between the server of account.
Session link is detected for this time interval after each time interval, it can be to avoid centralized detecting bring The larger problem of operand improves process performance.
In conjunction with the first implementation of above-mentioned second aspect, second aspect, second of implementation of second aspect, The third implementation of two aspects or the 4th kind of implementation of second aspect, the of second aspect of the embodiment of the present invention In five kinds of implementations, above-mentioned business datum obtains module and is used for:
The online hours weight of above-mentioned account is sent to the server of above-mentioned account, and receives the server of above-mentioned account The business datum of return;
Alternatively, business numerical value is obtained from the server of above-mentioned account, using above-mentioned online hours weight to above-mentioned business number Value carries out that business datum is calculated.
If detecting the online behavior of account, on the local computer that account is logged in order to save the place of local computer Resource is managed, business datum can be generated by server, and local server obtains the data that service server generates;In order to save clothes The process resource of business device, the business numerical generation that business datum can also be sent by local computer device according to server.
In conjunction with the first implementation of above-mentioned second aspect, second aspect, second of implementation of second aspect, The third implementation of two aspects or the 4th kind of implementation of second aspect, the of second aspect of the embodiment of the present invention In six kinds of implementations, above-mentioned online hours weight generation module is used for:
Accumulation operations are carried out to online hours weight enumerator according to the corresponding step-length in object time section, when above-mentioned target Between section be the corresponding time interval of online behavior detected;After the completion of the detection of above-mentioned predetermined amount of time, read Online hours weight of the count value of line duration weight enumerator as above-mentioned account.
In order to quickly and accurately calculate online hours weight, counter can be introduced, is obtained online by the way that counter is cumulative Duration weight.
The third aspect, the embodiment of the invention provides a kind of computer equipments comprising processor and memory:
Memory is used to store the program for executing the method in above-mentioned any embodiment;
Processor is configurable for executing the program stored in the memory.
The predetermined amount of time for needing to monitor online hours is divided into multiple by computer equipment provided in an embodiment of the present invention Whether time interval, detecting user in each time interval has online behavior, if having online behavior in some time interval, recognizes It is online in the time interval for the account, it is whether online instead of real-time monitoring account in this way, and then according to detection As a result online hours weight is generated, online hours Weight Acquisition business datum is based on.Due to whether not needing real-time monitoring account Online, therefore process resource is greatly saved.
Fourth aspect, the embodiment of the invention provides a kind of computer readable storage mediums, are stored with computer program, should The method in above-mentioned any embodiment is realized when computer program is executed by processor.
Computer readable storage medium provided in an embodiment of the present invention draws the predetermined amount of time for needing to monitor online hours It is divided into multiple time intervals, whether have online behavior, if having online in some time interval if detecting user in each time interval Behavior, then it is assumed that whether the account is online in the time interval, online instead of real-time monitoring account in this way, in turn Online hours weight is generated according to testing result, is based on online hours Weight Acquisition business datum.Due to not needing real-time monitoring Whether account is online, therefore process resource is greatly saved.
The aspects of the invention or other aspects can more straightforwards in the following description.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached Figure.
Fig. 1 shows the computer equipment structural schematic diagram for realizing data processing method of the embodiment of the present invention;
Fig. 2 shows the handset structure schematic diagrames for realizing data processing method of the embodiment of the present invention;
Fig. 3 shows data processing method flow chart according to an embodiment of the invention;
Fig. 4 shows the block diagram of data processing method device in accordance with another embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described.
In some processes of the description in description and claims of this specification and above-mentioned attached drawing, contain according to Multiple operations that particular order occurs, but it should be clearly understood that these operations can not be what appears in this article suitable according to its Sequence is executed or is executed parallel, and serial number of operation such as 301,302 etc. is only used for distinguishing each different operation, serial number It itself does not represent and any executes sequence.In addition, these processes may include more or fewer operations, and these operations can To execute or execute parallel in order.It should be noted that the description such as " first " herein, " second ", is for distinguishing not Same message, equipment, module etc., does not represent sequencing, does not also limit " first " and " second " and be different type.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those skilled in the art's every other implementation obtained without creative efforts Example, shall fall within the protection scope of the present invention.
Data method provided in an embodiment of the present invention based on on-line monitoring may operate in computer equipment, can also be with It operates on intelligent mobile terminal.
Above-mentioned computer equipment can refer to server, may also mean that the personal computer where account logs in, knot Structure is as shown in Figure 1, wherein the central processing unit 130 of personal computer is used for the reading program from memory 150, to realize this The method that inventive embodiments provide.
Above-mentioned intelligent mobile terminal can refer to mobile phone, vehicle-mounted computer, POS (Point of Sales, point-of-sale terminal) etc., It takes the mobile phone as an example, structure is as shown in Figure 2, wherein the processor 280 of mobile phone is used for the reading program from memory 220, with reality Existing method provided in an embodiment of the present invention.
At the data based on on-line monitoring realized with reference to the accompanying drawing to above-mentioned computer equipment or intelligent mobile terminal Reason method is described in detail.
As shown in figure 3, the embodiment of the invention provides a kind of data processing method based on on-line monitoring, this method includes Following steps:
Whether step 301, each time interval of detection account within a predetermined period of time have online behavior, the predetermined time Section is divided into multiple time intervals.
The beginning and ending time of predetermined amount of time of the embodiment of the present invention is defined, and does not also carry out to the division mode of time interval It limits.For example, predetermined amount of time can be divided into multiple time intervals.
Step 302, the online hours weight for generating above-mentioned account according to testing result.
In the embodiment of the present invention, online hours weight reflects account online hours, detects the time zone of online behavior Between it is more, online hours weight is bigger.
In the embodiment of the present invention, online hours weight is bigger, it is meant that account line duration is longer.It should be pointed out that Due to online hours weight can there are many expression way, online hours weight is bigger, it is not intended to which its value is bigger.
Step 303, according to the online hours Weight Acquisition business datum, and the business datum is associated with guarantor with the account It deposits.
According to different business processing purposes, the business datum of acquisition is also different, and which is not limited by the present invention.
The predetermined amount of time for needing to monitor online hours is divided into multiple time zones by method provided in an embodiment of the present invention Between, whether have online behavior, if having online behavior in some time interval, then it is assumed that the account if detecting user in each time interval Whether family is online in the time interval, online instead of real-time monitoring account in this way, and then gives birth to according to testing result At online hours weight, it is based on online hours Weight Acquisition business datum.It is whether online due to not needing real-time monitoring account, because Process resource is greatly saved in this.
In the embodiment of the present invention, there are many embodiment modes of online behavior, by taking server side is realized as an example, in database The online behavioral data after account logs in can be saved in one or more list.By taking local computer device is realized as an example, account Online behavioral data can be recorded in the user behaviors log generated after logging in.In addition, no matter being realized in server side or in local meter It calculates and is realized on machine equipment, if account is online, then can establish and keep the session of account between local computer and server Link, the session link then indicates online behavior if it exists.
The embodiment of the present invention is not defined the specific manifestation form of online behavioral data, according to business difference, online Behavioral data is also different.By taking game as an example, after user logs in game by game account, under presence, it will do it corresponding Game operation, then game operation data is exactly online behavioral data, in addition, logging in behavior itself also belongs to online behavior, because If this, which is detected, logs in data, this logs in data and is also used as online behavioral data.
If detecting online behavioral data in one or more list of database, correspondingly, in above-mentioned steps 301, tool Body can be is detected account each time zone within a predetermined period of time by server from one or more list in database Between in online behavioral data.
For the online behavior list of account A shown in following table 1, online behavioral data is detected to above-mentioned server and is carried out Explanation.
Account name Online content of the act Online time of the act
zhangsan It supplements with money 2018.09.15.08:05
zhangsan Check equipment 2018.09.15.08:26
zhangsan Add good friend 2018.09.15.08:44
It should be pointed out that table 1 is only the signal of the form data content of data form, rather than the reality of database list Data structure.
As shown in Table 1, an online behavioral data includes account name, online content of the act and online time of the act, root Account is identified according to account name therein, online behavior is judged whether it is according to online content of the act therein, according to Line time of the act determines the corresponding time interval of online behavior.
Assuming that predetermined amount of time is on September 15th, 2,018 8 when 9, which is divided into 3 time zones Between, server finds online behavioral data by 3 datas in reading table 1.Further, server is at first Between read above-mentioned table 1 after section, only the first data, determines according to the first data in first time interval at this time There is online behavior, and so on.
If online behavioral data can be detected in user behaviors log, then, in above-mentioned steps 301, specifically from local computing The user behaviors log of above-mentioned account is obtained in machine equipment;When searching the account within a predetermined period of time each from behavior log Between section whether have online behavioral data.
Specific lookup mode is referred to an implementation, and details are not described herein again.
Since the local computer that account is logged in preserves the user behaviors log of account game server, behavior log note Record has the online behavioral data of account, therefore, in order to further mitigate account server processing load, save server Process resource can detect online behavior on the local computer that account is logged in.
In the embodiment of the present invention, online behavioral value can be carried out after predetermined amount of time, it can also be when each Between detect after section.If being detected after each time interval, then, it is above-mentioned that account is obtained from local computer device The user behaviors log at family, can specifically include: after each time interval within a predetermined period of time, from local computer device The middle user behaviors log for obtaining the corresponding above-mentioned account of this time interval;Exist correspondingly, searching the account in above-mentioned subordinate act log Whether each time interval in predetermined amount of time has online behavioral data, comprising: searches this time interval in subordinate act log Inside whether there is online behavioral data.
Online behavioral data is searched for this time interval after each time interval, band can be searched to avoid concentrating The larger problem of the operand come, improves process performance.
If by searching for the online behavior of session link detecting, correspondingly, detecting in above-mentioned steps 301 in predetermined amount of time Whether interior each time interval has the session link between local computer device and the server of above-mentioned account.
The implementation is not only suitable for realizing the situation of method provided in an embodiment of the present invention in server end, is also applied for The situation of method provided in an embodiment of the present invention is realized in personal computer or intelligent mobile terminal side.
Wherein, there are many implementations for searching session link, for example, can be by checking the session link state of account Session link is judged whether there is,
If account is online, need account log in where local computer device and account server between establish and Session link is kept, therefore online behavior can be judged whether there is by detecting session link, implementation is simple, quick.
In the embodiment of the present invention, session link can be both searched after predetermined amount of time, it can also be in each time Session link is searched when section starts, and session link can also be searched after each time interval.If in each time zone Between after search session link, correspondingly, whether each time interval of above-mentioned detection within a predetermined period of time has local meter The session link between machine equipment and the server of above-mentioned account is calculated, implementation may include: in above-mentioned predetermined amount of time After interior each time interval, the session chain between local computer device and the server of above-mentioned account is detected whether Road.
Session link is detected for this time interval after each time interval, it can be to avoid centralized detecting bring The larger problem of operand improves process performance.
In any means embodiment provided in an embodiment of the present invention, if this method is in personal computer or intelligent mobile It is realized in terminal, then, above-mentioned according to online hours Weight Acquisition business datum, implementation may include: by above-mentioned account The online hours weight at family is sent to the server of above-mentioned account, and the business datum that the server for receiving above-mentioned account returns; Alternatively, obtaining business numerical value from the server of above-mentioned account, above-mentioned business numerical value is counted using above-mentioned online hours weight Calculation obtains business datum.
If detecting the online behavior of account, on the local computer that account is logged in order to save the place of local computer Resource is managed, business datum can be generated by server, and local server obtains the data that service server generates;In order to save clothes The process resource of business device, the business numerical generation that business datum can also be sent by local computer device according to server.
On the basis of above-mentioned any means embodiment, generate the online hours weight of above-mentioned account implementation have it is more Kind, for example, carrying out accumulation operations, the object time to online hours weight enumerator according to the corresponding step-length in object time section Section is the corresponding time interval of online behavior detected;After the completion of the detection of above-mentioned predetermined amount of time, read online Online hours weight of the count value of duration weight enumerator as above-mentioned account.
In order to quickly and accurately calculate online hours weight, counter can be introduced, is obtained online by the way that counter is cumulative Duration weight.
It is carried out below in the method for be monitored online to account in scene of game and then carrying out game service processing detailed Explanation.
In this scene of game, 4 periods (i.e. predetermined amount of time) are divided by daily 8 points to 23 points, wherein 8 O'clock to 12 points be first period, 12 points to 17 points be second period, 17 points to 21 points be the third period, 21 points It is the 4th period to 23 points.Each period is divided into multiple time intervals as unit of 1 hour.
The corresponding counter step-length of each time interval is identical in the same period, each time interval in each period Corresponding counter step-length counter step-length corresponding greater than time interval each in its previous time period.
In one implementation, game server (server of i.e. above-mentioned account) is in the time interval of each period After, the online behavioral data for logging in each account of game is searched from the list of database.In a time interval, One account may have multiple online behavioral datas, in this implementation, be process resource, improve treatment effeciency, finding One of account no longer continues to search other online behavioral datas of the user after line behavioral data in this time interval. Server often detects the online behavioral data of some account in some time interval, then according to the corresponding counting of the time interval Device step-length carries out accumulated counts to the online hours weight enumerator of the account, and meter is emptied after each predetermined amount of time Number device.After each predetermined amount of time, server generates online reward total value, and is taken according to the counter of each account Value determines the corresponding reward probability of each account, carries out operation to online reward total value according to reward probability, obtains each account The online reward numerical value at family.
In another implementation, time interval of the game application on intelligent mobile terminal in each period terminates Afterwards, the user behaviors log of account is obtained, and searches the online behavioral data for logging in the account of game in user behaviors log.At one Between in section, an account may have multiple online behavioral datas, in this implementation, be process resource, improve treatment effeciency, One of account is being found after line behavioral data, other online rows of the user are no longer continued to search in this time interval For data.Game application often detects the online behavioral data of account in some time interval, then corresponding according to the time interval Counter step-length accumulated counts are carried out to the online hours weight enumerator of the account, and after each predetermined amount of time Empty counter.After each predetermined amount of time, game application obtains online reward total value and online account from server Amount amount, and the corresponding reward probability of this account is determined according to the counter value of this account and online account quantity, according to prize It encourages probability and operation is carried out to online reward total value, obtain the online reward numerical value of this account.
As shown in figure 4, the embodiment of the invention provides a kind of data processing equipment based on on-line monitoring, the device packet It includes:
Online behavioral value module 401, for detecting whether each time interval of account within a predetermined period of time has Line behavior, the predetermined amount of time are divided into multiple time intervals;
Online hours weight generation module 402, for generating the online hours weight of above-mentioned account according to testing result;
Business datum obtains module 403, for according to the online hours Weight Acquisition business datum, and by the business datum Preservation is associated with the account.
The predetermined amount of time for needing to monitor online hours is divided into multiple time zones by device provided in an embodiment of the present invention Between, whether have online behavior, if having online behavior in some time interval, then it is assumed that the account if detecting user in each time interval Whether family is online in the time interval, online instead of real-time monitoring account in this way, and then gives birth to according to testing result At online hours weight, it is based on online hours Weight Acquisition business datum.It is whether online due to not needing real-time monitoring account, because Process resource is greatly saved in this.
In the embodiment of the present invention, there are many embodiment modes of online behavior, by taking server side is realized as an example, in database The online behavioral data after account logs in can be saved in one or more list.By taking local computer device is realized as an example, account Online behavioral data can be recorded in the user behaviors log generated after logging in.In addition, no matter being realized in server side or in local meter It calculates and is realized on machine equipment, if account is online, then can establish and keep the session of account between local computer and server Link, the session link then indicates online behavior if it exists.
If detecting online behavioral data in one or more list of database, correspondingly, above-mentioned online behavioral value Module is used for: detecting account each time zone within a predetermined period of time from one or more list in database by server Between in online behavioral data.
If online behavioral data can be detected in user behaviors log, then, above-mentioned online behavioral value module is used for:
The user behaviors log of account is obtained from local computer device;
Search whether each time interval of the account within a predetermined period of time has online behavior number from behavior log According to.
Since the local computer that account is logged in preserves the user behaviors log of account game server, behavior log note Record has the online behavioral data of account, therefore, in order to further mitigate account server processing load, save server Process resource can detect online behavior on the local computer that account is logged in.
In the embodiment of the present invention, online behavioral value can be carried out after predetermined amount of time, it can also be when each Between detect after section.If being detected after each time interval, then, online behavioral value module is used for: predetermined After each time interval in period, the behavior of the corresponding account of this time interval is obtained from local computer device Log;Whether search from behavior log has online behavioral data in this time interval.
Online behavioral data is searched for this time interval after each time interval, band can be searched to avoid concentrating The larger problem of the operand come, improves process performance.
In the embodiment of the present invention, session link can be both searched after predetermined amount of time, it can also be in each time Session link is searched when section starts, and session link can also be searched after each time interval.If in each time zone Between after search session link, correspondingly, above-mentioned online behavioral value module is used for:
Whether each time interval of detection within a predetermined period of time has the service of local computer device Yu above-mentioned account Session link between device.
If account is online, need account log in where local computer device and account server between establish and Session link is kept, therefore online behavior can be judged whether there is by detecting session link, implementation is simple, quick.
In above-mentioned any device embodiment, in order to which whether each time interval for detecting within a predetermined period of time has local meter The session link between machine equipment and the server of above-mentioned account is calculated, above-mentioned online behavioral value module is used for:
After each time interval in above-mentioned predetermined amount of time, detected whether local computer device with it is above-mentioned Session link between the server of account.
Session link is detected for this time interval after each time interval, it can be to avoid centralized detecting bring The larger problem of operand improves process performance.
On the basis of above-mentioned any device embodiment, above-mentioned business datum obtains module and is used for:
The online hours weight of above-mentioned account is sent to the server of above-mentioned account, and receives the server of above-mentioned account The business datum of return;
Alternatively, business numerical value is obtained from the server of above-mentioned account, using above-mentioned online hours weight to above-mentioned business number Value carries out that business datum is calculated.
If detecting the online behavior of account, on the local computer that account is logged in order to save the place of local computer Resource is managed, business datum can be generated by server, and local server obtains the data that service server generates;In order to save clothes The process resource of business device, the business numerical generation that business datum can also be sent by local computer device according to server.
On the basis of above-mentioned any device embodiment, above-mentioned online hours weight generation module is used for:
Accumulation operations are carried out to online hours weight enumerator according to the corresponding step-length in object time section, when above-mentioned target Between section be the corresponding time interval of online behavior detected;After the completion of the detection of above-mentioned predetermined amount of time, read Online hours weight of the count value of line duration weight enumerator as above-mentioned account.
In order to quickly and accurately calculate online hours weight, counter can be introduced, is obtained online by the way that counter is cumulative Duration weight.
Device provided in an embodiment of the present invention, implementation are referred to the above-mentioned each embodiment of the method for aforementioned present invention Explanation, to the greatest extent place repeat no more.
The embodiment of the invention provides a kind of computer equipments comprising processor and memory:
Memory is used to store the program of the method in any embodiment for executing above-mentioned second application program side;
Processor is configurable for executing the program stored in the memory.
As described above, computer equipment provided in an embodiment of the present invention can be server, it is also possible to personal computer, It implements structure as shown in Figure 1, for ease of description, only parts related to embodiments of the present invention are shown, specific skill Art details does not disclose, please refers to present invention method part.
Shown in fig. 1 is server relevant to embodiment of the method provided in an embodiment of the present invention or PC device Part-structure block diagram.With reference to Fig. 1, comprising: power supply 110, mainboard 120, central processing unit (Central Precessing Unit, CPU) 130, system bus 140, built-in storage 150, disk 160, input unit 170, display unit 180, network interface card 190 Equal components.It will be understood by those skilled in the art that computer equipment device structure shown in Fig. 1 is not constituted and is set to computer The restriction of standby equipment may include perhaps combining certain components or different component cloth than illustrating more or fewer components It sets.
It is specifically introduced below with reference to each component parts of the Fig. 1 to computer equipment:
Power supply 110 is used to 220V exchange being converted to 5V, 12V, and 3.3V direct current supplies each portion in computer equipment Part, it is preferred that power supply can be logically contiguous by power-supply management system and central processing unit 130, to pass through power management system System realizes the functions such as management charging, electric discharge and power managed.
Mainboard 120 is the platform that all parts work in computer equipment, provides the electrical connection access between component, each Component carries out electric signal transmission by mainboard, and all parts are mounted on mainboard by modes such as grafting, welding.
Central processing unit 130 is the control centre of computer equipment, mainly include arithmetic logical unit (ALU, Arithmetic Logic Unit) 131, program counter (PC, Program Counter) 132, register group 233, high speed Buffer storage (Cache) 134 and bus (Bus) interface 135 for being used for transmission data, control and state.Wherein, arithmetic is patrolled The component that arithmetic element 131 executes various arithmetic sum logical operations is collected, basic operation is including adding, subtracting, multiplication and division four fundamental rules are transported Calculate, with or non-, exclusive or, shift operation and relational calculus and logical operation etc. operate.Program counter 132 is centre The register in 130 control unit of device is managed, for storing the address of next instruction;Register group 133 include general register, Special register and control register.Register possesses very high read or write speed, so the data transmission between register It is very fast.Cache memory 134 is by SRAM (Static Random Access Memory, static random access memory Device) composition Low-Volume High-Velocity memory, for caching common instruction and data.Bus interface 135 is used for central processing unit Information is transmitted between 130 and other components.Central processing unit 130 is stored in built-in storage 150 or disk 160 by operation or execution Interior application program, and the data being stored in built-in storage 150 or disk 160 are called, execute the various of computer equipment Function and processing data, thus to integral monitoring is carried out.
System bus 140 is the common communication main line that information is transmitted between computer equipment various parts, is by conducting wire The transmission harness of composition.The information category transmitted according to computer equipment, system bus can be divided into data/address bus (Data Bus), address bus (Address Bus) and control bus (Control Bus), be respectively intended to transmission data, data address and Control signal.
Built-in storage 150 be electronic type storage equipment, be made of circuit board and chip, feature be it is small in size, speed is fast, has Electricity can be deposited, and no electricity empties, i.e., computer equipment in open state in memory can storing data, will be emptied wherein automatically after shutdown All data.Built-in storage 150 can be divided into SDRAM (Synchronous Dynamic Random Access Memory, together Walk dynamic RAM) memory and DDR (Double Data Rate, Double Data Rate) memory.Application program and relevant number According to being read into built-in storage 150 first, central processing unit 11130 is read from built-in storage 150 and loading application programs.
Disk 160 be also known as external memory, preserve computer equipment operation needed for operating system, application program, Data etc. will not lose data as computer equipment powers off.
Input unit 170 can be used for receiving the number or character information of input, and generate the user with computer equipment Setting and the related key signals input of function control.Input unit specifically includes I/O controller and input equipment again, wherein I/O controller is transferred on system bus for being adapted to the signal of input equipment.Input unit 170 can be divided into Mouse 171, keyboard 172, touch panel 173 etc..
Display unit 180 can be used for showing information input by user or the information and computer equipment that are supplied to user Various menus.Display unit 180 may include display card 181 and display 182.Further, touch panel 173 can cover aobvious The display panel for showing device 182 sends central processing to after touch panel 173 detects touch operation on it or nearby Device 130 to determine the type of touch event, be followed by subsequent processing device 130 according to the type of touch event display 182 display surface Corresponding visual output is provided on plate.Although touch panel 173 and display 182 are as two independent components in Fig. 1 Realize the function that outputs and inputs of computer equipment, but in some embodiments it is possible to by touch panel 173 and display 182 display panel is integrated and that realizes computer equipment output and input function.
Network interface card 190 is network components of the work in data link layer, is that personal computer and transmission Jie are connected in local area network The interface of matter.Network interface card 190 can be divided into wired network adapter, wireless network card again.
Although being not shown, computer equipment can also include the input and output lists such as sound card, loudspeaker, microphone, camera The communication units such as member and bluetooth module, details are not described herein.
The predetermined amount of time for needing to monitor online hours is divided into multiple by computer equipment provided in an embodiment of the present invention Whether time interval, detecting user in each time interval has online behavior, if having online behavior in some time interval, recognizes It is online in the time interval for the account, it is whether online instead of real-time monitoring account in this way, and then according to detection As a result online hours weight is generated, online hours Weight Acquisition business datum is based on.Due to whether not needing real-time monitoring account Online, therefore process resource is greatly saved.
Computer equipment provided in an embodiment of the present invention can be above-mentioned intelligent mobile terminal, be also possible to above-mentioned meter Calculate machine equipment.By taking computer equipment as an example, memory can with but be not limited only to refer to CPU register, cache memory, Built-in storage and disk, the storage system that additional remote storage system collectively forms.
As described above, computer equipment provided in an embodiment of the present invention can also be Intelligent mobile equipment, take the mobile phone as an example, Fig. 2 shows be mobile phone relevant to embodiment of the method provided in an embodiment of the present invention part-structure block diagram.With reference to Fig. 2, Mobile phone includes: radio frequency (Radio Frequency, RF) circuit 210, memory 220, input unit 230, display unit 240, passes Sensor 250, voicefrequency circuit 260, Wireless Fidelity (wireless-fidelity, Wi-Fi) module 270, processor 280, Yi Ji electricity The components such as source 290.It will be understood by those skilled in the art that handset structure shown in Figure 2 does not constitute the restriction to mobile phone, it can To include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 2 to mobile phone:
RF circuit 210 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 280;In addition, the data of uplink are sent to base station.In general, RF circuit 210 includes But be not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 210 can also be communicated with network and other equipment by wireless communication.Above-mentioned channel radio Any communication standard or agreement, including but not limited to global system for mobile communications (Global System of can be used in letter Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), it is long term evolution (Long Term Evolution, LTE), Email, short Messaging service (Short Messaging Service, SMS) etc..
Memory 220 can be used for storing software program and module, and processor 280 is stored in memory 220 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 220 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phone Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 220 may include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.
Input unit 230 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 230 may include that touch panel 231 and other inputs are set Standby 232.Touch panel 231, also referred to as touch screen, collect user on it or nearby touch operation (such as user use The operation of any suitable object or attachment such as finger, stylus on touch panel 231 or near touch panel 231), and root Corresponding attachment device is driven according to preset formula.Optionally, touch panel 231 may include touch detecting apparatus and touch Two parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected, Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touching Point coordinate, then gives processor 280, and can receive order that processor 280 is sent and be executed.Furthermore, it is possible to using electricity The multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 231.In addition to touch panel 231, input Unit 230 can also include other input equipments 232.Specifically, other input equipments 232 can include but is not limited to secondary or physical bond One of disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 240 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 240 may include display panel 241, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 241.Further, touch panel 231 can cover display panel 241, when touch panel 231 detect it is on it or attached After close touch operation, processor 280 is sent to determine the type of touch event, is followed by subsequent processing device 280 according to touch event Type corresponding visual output is provided on display panel 241.Although in Fig. 2, touch panel 231 and display panel 241 It is that the function that outputs and inputs of mobile phone is realized as two independent components, but in some embodiments it is possible to by touch-control Panel 231 and display panel 241 are integrated and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 250, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 241, proximity sensor can close display panel 241 when mobile phone is moved in one's ear And/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directions Size, can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture, (for example horizontal/vertical screen is cut Change, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phone The other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensor of configuration, details are not described herein.
Voicefrequency circuit 260, loudspeaker 261, microphone 262 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 261, be converted to sound by loudspeaker 261 by road 260 Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 262, is turned after being received by voicefrequency circuit 260 It is changed to audio data, then by after the processing of audio data output processor 280, such as another mobile phone is sent to through RF circuit 210, Or audio data is exported to memory 220 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 270 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 2 shows WiFi module 270, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely Become in the range of the essence of invention and omits.
Processor 280 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the application program and/or module being stored in memory 220, and call and be stored in memory 220 Data execute the various functions and processing data of mobile phone, to carry out whole monitoring to mobile phone.Optionally, processor 280 can wrap Include one or more processing units;Preferably, processor 280 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 280.
Mobile phone further includes the power supply 290 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 280 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
The embodiment of the invention provides a kind of computer readable storage mediums, are stored with computer program, the computer journey The method in any embodiment of above-mentioned second application program side is realized when sequence is executed by processor.
Computer readable storage medium provided in an embodiment of the present invention, in the first application program launching or its first operation After execution module is called, i.e., data is read in the shear plate memory space of local computer device automatically, obtained to decrypt Task data is taken, and then the first operation is executed according to task data.Compared to traditional across program task processing mode, do not need User calls the scanning function of the first application program manually, does not also need user and transfers photograph album manually and therefrom select to need to scan Image, therefore, computer readable storage medium provided in an embodiment of the present invention simplifies operating process, so that across program task Treatment process is simple, efficient.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be with It realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage Medium may include: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc..
Those of ordinary skill in the art will appreciate that implement the method for the above embodiments be can be with Relevant hardware is instructed to complete by program, the program can store in a kind of computer readable storage medium, on Stating the storage medium mentioned can be read-only memory, disk or CD etc..
A kind of computer equipment provided by the present invention is described in detail above, for the general technology of this field Personnel, thought according to an embodiment of the present invention, there will be changes in the specific implementation manner and application range, to sum up institute It states, the contents of this specification are not to be construed as limiting the invention.
The invention discloses: A1, a kind of data processing method based on on-line monitoring characterized by comprising
Whether each time interval of detection account within a predetermined period of time has online behavior, and the predetermined amount of time is drawn It is divided into multiple time intervals;
The online hours weight of the account is generated according to testing result;
Preservation is associated with the account according to the online hours Weight Acquisition business datum, and by the business datum.
A2, method according to a1, which is characterized in that each time zone of the detection account within a predetermined period of time Between whether have online behavior, comprising:
The user behaviors log of the account is obtained from local computer device;
Search whether each time interval of the account within a predetermined period of time has online row from the user behaviors log For data.
A3, the method according to A2, which is characterized in that the row that the account is obtained from local computer device For log, comprising: after each time interval in the predetermined amount of time, this when is obtained from local computer device Between the corresponding account in section user behaviors log;
It is described to search whether each time interval of the account within a predetermined period of time has from the user behaviors log Line behavioral data, comprising: whether search from the user behaviors log has online behavioral data in this time interval.
A4, method according to a1, which is characterized in that each time zone of the detection account within a predetermined period of time Between whether have online behavior, comprising:
Whether each time interval of detection within a predetermined period of time has the service of local computer device Yu the account Session link between device.
A5, method according to a4, which is characterized in that detection each time interval within a predetermined period of time is The no session link having between local computer device and the server of the account, comprising:
After each time interval in the predetermined amount of time, detected whether local computer device with it is described Session link between the server of account.
A6, according to the described in any item methods of A1~A5, which is characterized in that it is described according to the online hours Weight Acquisition Business datum, comprising:
The online hours weight of the account is sent to the server of the account, and receives the server of the account The business datum of return;
Alternatively, business numerical value is obtained from the server of the account, using the online hours weight to the business number Value carries out that business datum is calculated.
A7, according to the described in any item methods of A1~A5, which is characterized in that it is described to generate the account according to testing result Online hours weight, comprising:
Accumulation operations are carried out to online hours weight enumerator according to the corresponding step-length in object time section, when the target Between section be the corresponding time interval of online behavior detected;After the completion of the detection of the predetermined amount of time, institute is read State online hours weight of the count value as the account of online hours weight enumerator.
B8, a kind of data processing equipment based on on-line monitoring characterized by comprising
Online behavioral value module, for detecting whether each time interval of account within a predetermined period of time has online row For the predetermined amount of time is divided into multiple time intervals;
Online hours weight generation module, for generating the online hours weight of the account according to testing result;
Business datum obtains module, for according to the online hours Weight Acquisition business datum, and by the business number Preservation is associated with according to the account.
B9, the device according to B8, which is characterized in that the online behavioral value module is used for:
The user behaviors log of the account is obtained from local computer device;
Search whether each time interval of the account within a predetermined period of time has online row from the user behaviors log For data.
B10, the device according to B9, which is characterized in that the online behavioral value module is used for:
After each time interval in the predetermined amount of time, this time zone is obtained from local computer device Between the corresponding account user behaviors log;
Whether search from the user behaviors log has online behavioral data in this time interval.
B11, the device according to B8, which is characterized in that the online behavioral value module is used for:
Whether each time interval of detection within a predetermined period of time has the service of local computer device Yu the account Session link between device.
B12, the device according to B11, which is characterized in that in order to detect each time interval within a predetermined period of time Whether session link local computer device and the server of the account between is had, and the online behavioral value module is used In:
After each time interval in the predetermined amount of time, detected whether local computer device with it is described Session link between the server of account.
B13, according to the described in any item devices of B8~B12, which is characterized in that the business datum obtains module and is used for:
The online hours weight of the account is sent to the server of the account, and receives the server of the account The business datum of return;
Alternatively, business numerical value is obtained from the server of the account, using the online hours weight to the business number Value carries out that business datum is calculated.
B14, according to the described in any item devices of B8~B12, which is characterized in that the online hours weight generation module is used In:
Accumulation operations are carried out to online hours weight enumerator according to the corresponding step-length in object time section, when the target Between section be the corresponding time interval of online behavior detected;After the completion of the detection of the predetermined amount of time, institute is read State online hours weight of the count value as the account of online hours weight enumerator.
C15, a kind of computer equipment, which is characterized in that including processor and memory:
The memory is used to store the program for executing any one of A1 to A7 the method;
The processor is configured to for executing the program stored in the memory.
D16, a kind of computer readable storage medium, are stored with computer program, which is characterized in that the computer program A1 to A7 described in any item methods are realized when being executed by processor.

Claims (10)

1. a kind of data processing method based on on-line monitoring characterized by comprising
Whether each time interval of detection account within a predetermined period of time has online behavior, and the predetermined amount of time is divided into Multiple time intervals;
The online hours weight of the account is generated according to testing result;
Preservation is associated with the account according to the online hours Weight Acquisition business datum, and by the business datum.
2. the method according to claim 1, wherein each time of the detection account within a predetermined period of time Whether section has online behavior, comprising:
The user behaviors log of the account is obtained from local computer device;
Search whether each time interval of the account within a predetermined period of time has online behavior number from the user behaviors log According to.
3. according to the method described in claim 2, it is characterized in that, described obtain the account from local computer device User behaviors log, comprising: after each time interval in the predetermined amount of time, obtain this from local computer device The user behaviors log of the corresponding account of time interval;
It is described to search whether each time interval of the account within a predetermined period of time has online row from the user behaviors log For data, comprising: whether search from the user behaviors log has online behavioral data in this time interval.
4. the method according to claim 1, wherein each time of the detection account within a predetermined period of time Whether section has online behavior, comprising:
Detection each time interval within a predetermined period of time whether have the server of local computer device and the account it Between session link.
5. according to the method described in claim 4, it is characterized in that, each time interval of the detection within a predetermined period of time Whether session link local computer device and the server of the account between is had, comprising:
After each time interval in the predetermined amount of time, local computer device and the account have been detected whether Server between session link.
6. described in any item methods according to claim 1~5, which is characterized in that described to be obtained according to the online hours weight Take business datum, comprising:
The online hours weight of the account is sent to the server of the account, and the server for receiving the account returns Business datum;
Alternatively, from the server of the account obtain business numerical value, using the online hours weight to the business numerical value into Business datum is calculated in row.
7. described in any item methods according to claim 1~5, which is characterized in that described to generate the account according to testing result The online hours weight at family, comprising:
Accumulation operations, the object time area are carried out to online hours weight enumerator according to the corresponding step-length in object time section Between for the corresponding time interval of online behavior that detects;After the completion of the detection of the predetermined amount of time, read it is described Online hours weight of the count value of line duration weight enumerator as the account.
8. a kind of data processing equipment based on on-line monitoring characterized by comprising
Online behavioral value module, for detecting whether each time interval of account within a predetermined period of time has online behavior, The predetermined amount of time is divided into multiple time intervals;
Online hours weight generation module, for generating the online hours weight of the account according to testing result;
Business datum obtains module, for according to the online hours Weight Acquisition business datum, and by the business datum with The account association saves.
9. a kind of computer equipment, which is characterized in that including processor and memory:
The memory is used to store the program that perform claim requires any one of 1 to 7 the method;
The processor is configured to for executing the program stored in the memory.
10. a kind of computer readable storage medium, is stored with computer program, which is characterized in that the computer program is located It manages when device executes and realizes the described in any item methods of claim 1 to 7.
CN201811160190.8A 2018-09-30 2018-09-30 Data processing method, device, equipment and storage medium based on on-line monitoring Pending CN109246233A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811160190.8A CN109246233A (en) 2018-09-30 2018-09-30 Data processing method, device, equipment and storage medium based on on-line monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811160190.8A CN109246233A (en) 2018-09-30 2018-09-30 Data processing method, device, equipment and storage medium based on on-line monitoring

Publications (1)

Publication Number Publication Date
CN109246233A true CN109246233A (en) 2019-01-18

Family

ID=65055510

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811160190.8A Pending CN109246233A (en) 2018-09-30 2018-09-30 Data processing method, device, equipment and storage medium based on on-line monitoring

Country Status (1)

Country Link
CN (1) CN109246233A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111163327A (en) * 2019-12-31 2020-05-15 广州酷狗计算机科技有限公司 Method and device for counting number of online accounts
CN111632384A (en) * 2020-05-29 2020-09-08 网易(杭州)网络有限公司 Game online number detection method, device, equipment and storage medium
CN113065990A (en) * 2021-04-08 2021-07-02 上海高顿教育培训有限公司 Learning duration reporting method and device based on browser monitoring

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110066717A1 (en) * 2009-09-16 2011-03-17 Nokia Corporation Method and apparatus for time adaptation of online services to user behavior
US20160267520A1 (en) * 2015-03-10 2016-09-15 Bidtellect, Inc. Method and system for online user engagement measurement
CN106899457A (en) * 2017-03-17 2017-06-27 腾讯科技(深圳)有限公司 A kind of method and server for monitoring application online hours

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110066717A1 (en) * 2009-09-16 2011-03-17 Nokia Corporation Method and apparatus for time adaptation of online services to user behavior
US20160267520A1 (en) * 2015-03-10 2016-09-15 Bidtellect, Inc. Method and system for online user engagement measurement
CN106899457A (en) * 2017-03-17 2017-06-27 腾讯科技(深圳)有限公司 A kind of method and server for monitoring application online hours

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111163327A (en) * 2019-12-31 2020-05-15 广州酷狗计算机科技有限公司 Method and device for counting number of online accounts
CN111632384A (en) * 2020-05-29 2020-09-08 网易(杭州)网络有限公司 Game online number detection method, device, equipment and storage medium
CN111632384B (en) * 2020-05-29 2023-04-28 网易(杭州)网络有限公司 Game online number detection method, device, equipment and storage medium
CN113065990A (en) * 2021-04-08 2021-07-02 上海高顿教育培训有限公司 Learning duration reporting method and device based on browser monitoring

Similar Documents

Publication Publication Date Title
CN104679969B (en) Prevent the method and device of customer churn
CN106778585A (en) A kind of face key point-tracking method and device
CN104238893B (en) A kind of method and apparatus that video preview picture is shown
CN103150248B (en) Method and device for measuring and calculating startup time consumption
CN106708676A (en) Interface test method and apparatus
CN106708554A (en) Program running method and device
CN105830016A (en) User equipment power management method and power management device
CN105530239B (en) Multi-medium data acquisition methods and device
CN106293308A (en) A kind of unlocking screen method and device
CN104699501B (en) A kind of method and device for running application program
CN109246233A (en) Data processing method, device, equipment and storage medium based on on-line monitoring
CN105335653A (en) Abnormal data detection method and apparatus
CN110597793A (en) Data management method and device, electronic equipment and computer readable storage medium
CN108151716A (en) Flight instruments mapping operating area planing method, device and terminal
CN104063400B (en) Data search method and data search device
CN107276602A (en) Radio frequency interference processing method, device, storage medium and terminal
CN103501487A (en) Method, device, terminal, server and system for updating classifier
CN107171740A (en) Radio frequency interference processing method, device, storage medium and terminal
CN106791153A (en) Using PUSH message classifying indication method, device and mobile terminal
CN109344035A (en) A kind of progress control method of application program, device, equipment and storage medium
CN105550316A (en) Pushing method and device of audio list
CN107256383A (en) The acquisition method and Related product of fingerprint
CN106155888A (en) The detection method of webpage loading performance and device in a kind of Mobile solution
CN110413639A (en) Data check method and device, electronic equipment and computer readable storage medium
CN107122036A (en) CPU frequency adjusting 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190118