CN107491252B - Read the statistical method and electronic equipment of duration - Google Patents
Read the statistical method and electronic equipment of duration Download PDFInfo
- Publication number
- CN107491252B CN107491252B CN201710719958.XA CN201710719958A CN107491252B CN 107491252 B CN107491252 B CN 107491252B CN 201710719958 A CN201710719958 A CN 201710719958A CN 107491252 B CN107491252 B CN 107491252B
- Authority
- CN
- China
- Prior art keywords
- period
- terminal
- reading period
- terminal reading
- duration
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04847—Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0483—Interaction with page-structured environments, e.g. book metaphor
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of statistical methods and electronic equipment for reading duration.Wherein, method includes:The terminal reading period reported with the corresponding each terminal device of user account is obtained, each terminal reading period is ranked up according to the slot start time included in each terminal reading period;For each terminal reading period after sequence, judge the adjacent terminal reading period in time with the presence or absence of coincidence;If so, obtain account reading duration corresponding with the user's account after removing the coincidence period by default Duplicate Removal Algorithm.Using this programme, duration can be read by counting user exactly, same user account is avoided, which to read duration statistical result in more station terminal equipment while caused by logging in, can not reflect the actual situation for reading duration of user, and can reduce the loss that e-book platform is brought due to user brushes the cheating for reading duration.
Description
Technical field
The present invention relates to electronic information technical fields, and in particular to a kind of statistical method and electronic equipment for reading duration.
Background technology
E-book refers to the digitized publication of the message contents such as word, picture, sound, image.With science and technology and society
The continuous development of meeting, e-book popularization degree are also continuously improved, and user reads duration also as a weight in e-book field
Want index.At present, e-book platform is when counting user reads duration, usually by same user account in each terminal device
On reading duration accumulation result as the corresponding reading duration of the user's account.
But in the implementation of the present invention, it is as follows to have found that aforesaid way of the prior art at least exists by inventor
Problem:It is corresponding due to each terminal equipment statistics when user is when more station terminal equipment log in same user account simultaneously
It reads to exist in duration and overlaps segment so that the corresponding statistical result for reading duration of the user's account can not accurately truly
Reflect that user reads duration.For example, same user account logs in terminal device 1 and terminal device 2, terminal device 1 counts
Reading time section be 10:00-23:00, the reading time section that terminal device 2 counts is 11:00-22:00, then exist and overlap
Segment 11:00-22:00, and current reading duration statistical method is used, all terminal devices of the user's account will be logged in
Reading time adds up, then on the day of the user's account during corresponding reading it is a length of 34 it is small when, so as to can not be accurately truly anti-
It reflects user and reads duration.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly
The statistical method and electronic equipment of the reading duration of the above problem.
According to an aspect of the invention, there is provided a kind of statistical method for reading duration, including:
The terminal reading period reported with the corresponding each terminal device of user account is obtained, is read according to each terminal
The slot start time for reading to include in the period is ranked up each terminal reading period;
For each terminal reading period after sequence, judge that the adjacent terminal reading period whether there is in time
It overlaps;
If so, it obtains readding with the corresponding account of the user's account after removing the coincidence period by default Duplicate Removal Algorithm
Read duration.
According to another aspect of the present invention, a kind of electronic equipment is provided, including:Processor, memory, communication interface
And communication bus, processor, memory and communication interface complete mutual communication by communication bus;Memory is used to deposit
An at least executable instruction is put, executable instruction makes processor perform following operation:
The terminal reading period reported with the corresponding each terminal device of user account is obtained, is read according to each terminal
The slot start time for reading to include in the period is ranked up each terminal reading period;
For each terminal reading period after sequence, judge that the adjacent terminal reading period whether there is in time
It overlaps;
If so, it obtains readding with the corresponding account of the user's account after removing the coincidence period by default Duplicate Removal Algorithm
Read duration.
According to another aspect of the invention, a kind of computer storage media is provided, at least one is stored in storage medium
Executable instruction, executable instruction make processor perform following operation:
The terminal reading period reported with the corresponding each terminal device of user account is obtained, is read according to each terminal
The slot start time for reading to include in the period is ranked up each terminal reading period;
For each terminal reading period after sequence, judge that the adjacent terminal reading period whether there is in time
It overlaps;
If so, it obtains readding with the corresponding account of the user's account after removing the coincidence period by default Duplicate Removal Algorithm
Read duration.
It is opposite with user account by obtaining in the statistical method of reading duration provided by the invention and electronic equipment
The terminal reading period that each terminal device answered reports, according to the slot start time included in each terminal reading period
Each terminal reading period is ranked up;For each terminal reading period after sequence, when judging adjacent terminal reading
Section is in time with the presence or absence of coincidence;If so, it is obtained and the user's account after removing the coincidence period by default Duplicate Removal Algorithm
Corresponding account reads duration.Using this programme, duration can be read by counting user exactly, avoid same user account
The actual feelings for reading duration of user can not be reflected by reading duration statistical result caused by more station terminal equipment log in simultaneously
Shape, and the loss that e-book platform is brought due to user brushes the cheating for reading duration can be reduced.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention,
And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can
It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is general for this field
Logical technical staff will be apparent understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to this hair
Bright limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow chart of the statistical method for the reading duration that the embodiment of the present invention one provides;
Fig. 2 shows the flow chart of the statistical method of reading duration provided by Embodiment 2 of the present invention;
Fig. 3 shows the structure diagram of according to embodiments of the present invention three a kind of electronic equipment provided.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although this public affairs is shown in attached drawing
The exemplary embodiment opened, it being understood, however, that may be realized in various forms the disclosure without the implementation that should be illustrated here
Example is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the disclosure
Scope is completely communicated to those skilled in the art.
Embodiment one
Fig. 1 shows the flow chart of the statistical method for the reading duration that the embodiment of the present invention one provides.It, should as shown in Fig. 1
Method comprises the following steps:
Step S110:The terminal reading period reported with the corresponding each terminal device of user account is obtained, according to each
The slot start time included in a terminal reading period is ranked up each terminal reading period.
Wherein, a user account corresponds at least one terminal device.Each terminal device can report respective terminal
Read the period.Optionally, terminal reporting terminal reads the mode of period and real-time report can be used or non real-time report.For example,
It can be read the period according to the default report cycle reporting terminal of each terminal device, the present invention reports end to each terminal device
The mode that the period is read at end does not limit, and those skilled in the art can voluntarily be set.
Specifically, the terminal reading period include read initial time, can according to included in each terminal reading period when
Section initial time is ranked up each terminal reading period.It for example, can be in the way of permutation with positive order by each terminal reading
Period is arranged according to the sequencing of time.
Step S120:For each terminal reading period after sequence, the adjacent terminal reading period is judged in time
With the presence or absence of coincidence, if the determination result is YES, then step S130 is performed.
Specifically, it can judge that algorithm judges whether the adjacent terminal reading period deposits in time by default coincidence
It is overlapping.For example, can determine whether in two adjacent terminal reading periods, the permutation with positive order order posterior terminal reading period
Initial time whether between the permutation with positive order order preceding terminal reading period initial time and terminate the time between, if so,
Then two terminal reading times exist overlap in time.
Step S130:It is removed by default Duplicate Removal Algorithm and is obtained and the corresponding account of the user's account after overlapping the period
Number read duration.
Specifically, if step S120 judging results are yes, the terminal reading reported is removed by default Duplicate Removal Algorithm
The coincidence period included in period, and the duration of each period not coincided after duplicate removal is handled adds up, so as to
It obtains account corresponding with the user's account and reads duration.
It can be seen that in mode provided by the invention, by obtaining and the corresponding each terminal device of user account
The terminal reading period reported, during according to the slot start time included in each terminal reading period to each terminal reading
Section is ranked up, so as to quickly determine that the adjacent terminal reading period in time with the presence or absence of coincidence;And pass through
Default Duplicate Removal Algorithm removal obtains account reading duration corresponding with the user's account after overlapping the period, so as to standard
True geo-statistic user reads duration, and same user account is avoided to read duration in more station terminal equipment while caused by logging in
Statistical result can not reflect the actual situation for reading duration of user, and can reduce e-book platform and read duration because user brushes
Cheating and the loss brought.
Embodiment two
Fig. 2 shows the flow chart of the statistical method of reading duration provided by Embodiment 2 of the present invention.It, should as shown in Fig. 2
Method comprises the following steps:
Step S210 obtains the terminal reading period reported with the corresponding each terminal device of user account, according to each
The slot start time included in a terminal reading period is ranked up each terminal reading period.
Wherein, a user account corresponds at least one terminal device.Each terminal device can report respective terminal
Read the period.Optionally, terminal reporting terminal reads the mode of period and real-time report can be used or non real-time report.For example,
It can be read the period according to the default report cycle reporting terminal of each terminal device, the present invention reports end to each terminal device
The mode that the period is read at end does not limit, and those skilled in the art can voluntarily be set.
Specifically, the terminal reading period includes reading initial time and period lasts duration.Wherein, during period lasts
Long end time period for determining the terminal reading period.
Can be logged in more station terminal equipment due to, same user account and/or, same user account can be at same end
Different business is performed simultaneously in end equipment, such as is carried out at the same time the business of listening to storytelling and reading business, so same account is corresponding
The terminal reading period of more station terminal equipment, and/or same account may deposit in the terminal reading period of same terminal device
In time of coincidence section, therefore, service identification and/or equipment mark can be included in the terminal reading period that each terminal device reports
Know, service identification can be used for the reading duration that identity user performs the corresponding business of the service identification and generates in the terminal, example
Such as, service identification can include listen to storytelling service identification and/or reading service identification;Device identification is for identity user in the equipment
Identify the reading duration generated in corresponding terminal device.For example, user account " 0325 " corresponding terminal device
For 3, in 3 terminal devices, user may perform the business of listening to storytelling and reading business simultaneously, then obtain with user's account
The terminal reading period that number " 0325 " corresponding each terminal device reports is as shown in table 1.Wherein, Z1, Z2 and Z3 are respectively
The device identification of terminal device 1, terminal device 2 and terminal device 3, T are service identification of listening to storytelling, and D is reading service identification.Its
Middle number is that terminal reading period information 1. represents user account " 0325 " in terminal device 1 10:02 to 10:In 10
Execution is listened to storytelling business.
Further, can according to the slot start time included in each terminal reading period to each terminal reading when
Section is ranked up.Specifically, each terminal reading period is originated according to the period in the way of permutation with positive order in the present embodiment
Time is arranged by the order in morning to evening.
Table 1
Number | Terminal iidentification | Service identification | Initial time | Duration |
① | Z1 | T | 10:02 | 8min |
② | Z2 | D | 10:15 | 5min |
③ | Z3 | D | 10:18 | 7min |
④ | Z1 | D | 10:00 | 5min |
⑤ | Z3 | T | 10:06 | 2min |
Step S220, judges whether the slot start time for the terminal reading period being presently processing is located at upper one
Before end time period of treated terminal reading period, if the determination result is YES, then step S230 is performed;If judge
As a result it is no, then performs step S240.
After step S210 is ranked up each terminal reading period, when can determine whether each terminal reading
Section is in time with the presence or absence of coincidence.Specifically, it can determine whether the service identification different terminal reading period deposits in time
And/or, judge the device identification different terminal reading period in time with the presence or absence of overlapping overlapping.It, can by taking table 1 as an example
It is 1. to the terminal reading period 5. with the presence or absence of coincidence to judge number.
Specifically, during judging the terminal reading period in time with the presence or absence of overlapping, can determine whether currently locating
Whether the slot start time of the terminal reading period of reason is at the end of the period for being located at upper one treated terminal reading period
Between before.
Wherein, according to putting in order in step S210 (each terminal reading period according to slot start time by it is early extremely
Evening is ranked sequentially), successively by untreated terminal reading period middle position sequence most before the terminal of (i.e. initial time is earliest) read
The period is read as the terminal reading period being presently processing.Since the terminal reading period is according to from the period in step S210
Time beginning being ranked sequentially to evening by morning, then the initial time for the terminal reading period being presently processing is later than at one
The initial time of terminal reading period after reason, if the slot start time for the terminal reading period being presently processing is located at
Before end time period of upper one treated terminal reading period, then when illustrating the terminal reading being presently processing
The initial time of section is located at upper one, and treated between terminal reading slot start time and termination time, i.e., currently
The terminal reading period of processing and overlapping in upper one treated terminal reading period existence time, therefore, perform step
S230;Otherwise, step S240 is performed.
In this step process is performed for the first time, it is no that can directly set judging result, performs step S240.Alternatively, due to
Each terminal reading period is in untreated state, ranks most preceding terminal reading in the untreated terminal reading period
Period is ranking first a reading period after step S210 sequences.Due at the beginning of upper one treated terminal reading period
Initial value is defaulted as sky, then the terminal reading period being presently processing is not located at one treated the terminal reading period
Before end time period, so, perform step S240.
Step S230, when determining that the terminal reading period being presently processing is with a treated terminal reading thereon
Section exists in time to be overlapped, and upper one treated terminal reading period and the terminal being presently processing are read
Reading the period merges, and the terminal reading period after merging is determined as new treated terminal reading period, it is new to calculate this
The reading duration of treated terminal reading period.
When judging result is yes in step S220, it is determined that the terminal reading period being presently processing and one thereon
Treated there is coincidence in the terminal reading period in time.Then further to upper one treated terminal reading period
And the terminal reading period being presently processing merges.Specifically, by upper one treated terminal reading period with
And in the terminal reading period being presently processing end time period of end time the latest be determined as it is new when treated
The section end time;It will be originated in upper one treated terminal reading period and the terminal reading period being presently processing
Time earliest slot start time is determined as new treated slot start time;It will be from new treated period
Begin time and new treated that readings period that end time period defines is determined as the terminal reading period after merging.
So as to by the terminal reading period being presently processing and the time of coincidence section in upper one treated terminal reading period into
Row filters out.For example, the terminal reading slot start time being presently processing is 10:10, it is 10 to terminate the time:15, upper one
Treated, and terminal reading slot start time is 10:05, it is 10 to terminate the time:12.Terminal reading period after then merging
Initial time is 10:05 (rises in upper one treated terminal reading period and the terminal reading period being presently processing
Begin time earliest slot start time), it is 10 to terminate the time:15 (upper one treated terminal reading periods and current
End time period of end time the latest in the terminal reading period handled).
Further, the terminal reading period after merging is determined as new treated terminal reading period, calculating should
The reading duration of new treated terminal reading period.Exemplified by more than example, this is new treated terminal reading period reads
It is 10 minutes a length of during reading (to terminate the time 10:15 with initial time 10:05 difference).
Step S250 is further performed after a deuterzooid step is performed.
Step S240, when determining that the terminal reading period being presently processing is with a treated terminal reading thereon
Section is in time there is no overlapping, using the terminal reading period being presently processing as during newly treated terminal reading
Section calculates the reading duration of new treated terminal reading period.
When judging result is no in step S220, it is determined that the terminal reading period being presently processing and one thereon
Treated terminal reading period in time there is no overlapping, then without the terminal reading period to being presently processing with
Upper one treated terminal reading period carries out duplicate removal processing, only using the terminal reading period being presently processing as newly
Treated the terminal reading period, calculates the reading duration of new treated terminal reading period.And it is performing once
After this step, step S250 is further performed.
Step S250, judge this it is new treated whether the terminal reading period is the last one terminal reading period, if
Judging result is yes, then performs step S260;If judging result is no, step S220 is performed.
Step S260, for finally obtain it is each treated that the terminal reading period adds up, obtain and the user
The corresponding account of account reads duration.
Due in step S220 when terminal reading period for being presently processing and one thereon treated terminal reading
Period merges it when the time existing and overlapping so that in each treated the terminal reading period finally obtained not
In the presence of overlapping segment, so as to be directed to finally obtain it is each treated that the terminal reading period adds up, obtain and the use
Account corresponding account in family reads duration.
The implementation process of step S210-S260 is illustrated with a specific example below:
The terminal reading reported with the corresponding each terminal device of user account " 0325 " got in step S210
Period is as shown in Table 1 above.During then according to the slot start time included in each terminal reading period to each terminal reading
Section is arranged each terminal reading period according to slot start time in the way of permutation with positive order by the order in morning to evening
Row, obtain terminal reading period information as shown in Table 2.Wherein, the termination time is determined by initial time and duration, sequence
Number represent the order of each terminal reading period.
After step S210 is ranked up each terminal reading period, step S220 is performed, by serial number 1 (not
Initial time is earliest in the terminal reading period of processing) the terminal period as the reading period being presently processing,
Table 2
Sequence number | Terminal iidentification | Service identification | Initial time | Terminate the time | Duration |
1 | Z1 | D | 10:00 | 10:05 | 5min |
2 | Z1 | T | 10:02 | 10:10 | 8min |
3 | Z3 | T | 10:06 | 10:08 | 2min |
4 | Z2 | D | 10:15 | 10:20 | 5min |
5 | Z3 | D | 10:18 | 10:25 | 7min |
Judging result is no during due to, the step S210 of execution for the first time of setting, then performs step S240.It will currently
The terminal reading period of processing, i.e. initial time are 10:00, it is 10 to terminate the time:05 terminal reading period is as new place
Terminal reading period after reason, a length of 5min when calculating the reading of new treated terminal reading period are obtained such as table 3
Shown terminal period information.
Table 3
Sequence number | Terminal iidentification | Service identification | Initial time | Terminate the time | Duration |
The processed terminal period | 10:00 | 10:05 | 5min | ||
2 | Z1 | T | 10:02 | 10:10 | 8min |
3 | Z3 | T | 10:06 | 10:08 | 2min |
4 | Z2 | D | 10:15 | 10:20 | 5min |
5 | Z3 | D | 10:18 | 10:25 | 7min |
Step S250 is further performed, when due to the terminal reading period of serial number 1 not being the last one terminal reading
Section then further performs step S220.It, should using the terminal period of serial number 2 as the terminal reading period being presently processing
The slot start time of terminal reading period is located at 10:The 05 termination time of terminal reading period (upper one treated) it
Before, then further perform step S230.It is 10 by the terminal period of serial number 2 and initial time:00, it is 10 to terminate the time:05
The terminal reading period (upper one treated terminal reading period) merge, the terminal reading period after being merged
It is 10 for initial time:00, it is 10 to terminate the time:10 terminal reading period, and using the terminal reading period as new
Treated the terminal reading period, and a length of 10min during the reading of the terminal reading period obtains the terminal reading as shown in table 4
Period information.
Table 4
Sequence number | Terminal iidentification | Service identification | Initial time | Terminate the time | Duration |
The processed terminal period | 10:00 | 10:10 | 10min | ||
3 | Z3 | T | 10:06 | 10:08 | 2min |
4 | Z2 | D | 10:15 | 10:20 | 5min |
5 | Z3 | D | 10:18 | 10:25 | 7min |
Step S250 is further performed, when due to the terminal reading period of serial number 2 not being the last one terminal reading
Section then further performs step S220.Using the terminal reading period of serial number 3 as during the terminal reading being presently processing
Section, the slot start time of the terminal reading period are located at 10:Before 10, then step S230 is further performed.By serial number 3
The terminal reading period merge to obtain slot start time with upper one processed terminal reading period for 10:00, during termination
Between be 10:10 terminal reading period, and using the terminal reading period as new treated terminal reading period, this is new
A length of 10min during the reading of treated terminal reading period, and obtain terminal reading period information as shown in table 5.
Table 5
Sequence number | Terminal iidentification | Service identification | Initial time | Terminate the time | Duration |
The processed terminal period | 10:00 | 10:10 | 10min | ||
4 | Z2 | D | 10:15 | 10:20 | 5min |
5 | Z3 | D | 10:18 | 10:25 | 7min |
Step S250 is further performed, when due to the terminal reading period of serial number 3 not being the last one terminal reading
Section then further performs step S220.It, should using the terminal period of serial number 4 as the terminal reading period being presently processing
The slot start time of terminal reading period is located at 10:After 10, then step S240 is further performed, will handled
Initial time is 10:15, it is 10 to terminate the time:20 terminal reading period as new treated terminal reading period, newly
A length of 5min during the reading of treated terminal reading period, obtains terminal reading period information as shown in table 6.
Step S250 is further performed, since the terminal period of serial number 4 is not the last one terminal reading period, then
Further perform step S220.Using the terminal period of serial number 5 as the terminal reading period being presently processing, the terminal
The slot start time for reading the period is located at upper one processed terminal slot end time 10:Before 20, then further hold
Row step S230, from the terminal reading period of serial number 3 to merge with upper one processed terminal reading period to obtain the period
Time beginning is 10:15, it is 10 to terminate the time:25 terminal reading period, and using the terminal reading period as new processing after
The terminal reading period, a length of 10min during the reading of this is new treated terminal reading period obtains end as shown in table 7
Read period information in end.
Table 6
Sequence number | Terminal iidentification | Service identification | Initial time | Terminate the time | Duration |
The processed terminal period | 10:00 | 10:10 | 10min | ||
The processed terminal period | 10:15 | 10:20 | 5min | ||
5 | Z3 | D | 10:18 | 10:25 | 7min |
And step S250 is further performed, when due to the terminal reading period of serial number 5 being the last one terminal reading
Section then further performs step S260, i.e., the reading time of 2 processed terminal periods in table 7 is added up (tired
It is 20min to add result), it obtains and a length of 20min during user " 0325 " corresponding reading.
Table 7
Sequence number | Terminal iidentification | Service identification | Initial time | Terminate the time | Duration |
The processed terminal period | 10:00 | 10:10 | 10min | ||
The processed terminal period | 10:15 | 10:25 | 10min |
In addition, for further improve read duration statistical accuracy, before step S210 is performed, can obtain in advance and
The corresponding each terminal device of user account reads duration for the single page of every page of e-book, according to the list of every page of e-book
Page is read duration and is determined and the corresponding reasonable reading duration of the user's account.Specifically, due to the reading habit of different user
Difference so being not quite similar with the corresponding reasonable reading duration of different user account, then can pass through the history row of user account
For analysis and the corresponding reasonable reading duration of the user's account.It for example, can be to corresponding every page of e-book of user account
Single page read duration and carry out regression analysis, read the corresponding regressand value of duration with the single page of every page of e-book so as to obtain,
The regressand value is determined as to the reasonable reading duration corresponding to the user.
In a kind of optional embodiment:Step S260 obtain with user account it is corresponding read duration after,
When judging to read duration with rationally reading for the single page of every page of e-book with the corresponding each terminal device of the user's account
Whether the difference between length is more than default dithering threshold.If so, by default correction algorithm to the single page of this page of e-book
Duration is read to be modified, and it is opposite with the user's account according to the single page of revised this page of e-book reading time scale modification
The reading duration answered.Wherein, default correction algorithm can be:The single page of this page of e-book reads time scale modification rationally to read
Duration is read, alternatively, the single page that this page of e-book is filtered out from the corresponding reading duration of the user's account reads duration.Example
Such as, a length of 1min during reasonable reading corresponding with user account, it is 3min to preset dithering threshold, if in some terminal device
A length of 10min when certain page of record is read, then it is 1min that the single page of this page of e-book, which reads time scale modification, also can be directly from step
Corresponding read in duration of the user obtained in rapid S260 subtracts 10min as the final corresponding reading duration of the user.
In another optional embodiment:It can be in step S210 be performed, with user account corresponding each end
The single page that end equipment can monitor every page of e-book reads duration, and when the corresponding reasonable reading duration of the user's account it
Between difference when being more than default dithering threshold, pass through default correction algorithm duration read to the single page of this page of e-book and carry out
It corrects.Wherein, default correction algorithm can be:The single page of this page of e-book is read into time scale modification rationally to read duration,
And reported, alternatively, when the single page that device end is filtered out to this page of e-book in the terminal reading duration reported is read
It is long.For example, a length of 1min during reasonable reading corresponding with user account, it is 3min to preset dithering threshold, if some terminal is set
A length of 10min when certain page of standby middle record is read, then it is 1min that the single page of this page of e-book, which reads time scale modification, then uses this
The duration of the terminal reported period is needed to subtract 9min (this page reading durations recorded in terminal device before the end correction of family
Difference with rationally reading duration) or the duration of terminal period that also can directly report on the terminal device in subtract
10min, and the revised terminal reading duration is reported.It can be seen that in this kind of optional embodiment,
The reading duration that each terminal device reports can be modified in advance, so that after each terminal device directly reports amendment
Reading duration.In short, the present invention, which does not limit the specific of amendment operation, performs opportunity, as long as can make what is finally counted to read
Read duration more precisely.
Optionally, in the optional embodiment of above two, default dithering threshold can be true according to reasonable reading duration
It is fixed.For example, dithering threshold can be determined according to y=kx+b, wherein y is default dithering threshold, and rationally to read duration, k and b are x
Constant.
It can be seen that in mode provided by the invention, by that will obtain and the corresponding each terminal of user account
The terminal reading period that equipment reports is ranked up, so as to pass through the period for the terminal reading period for judging to be presently processing
Whether initial time is located at before end time period of upper one treated terminal reading period, can quickly judge
Whether the two neighboring terminal reading period overlaps;And the terminal reading period overlapped is merged so that final
Obtain the processed terminal reading period in time there is no overlap, so as to by processed terminal reading when
The long corresponding reading duration of cumulative acquisition user account.So as to which same user account be avoided to be stepped on simultaneously in more station terminal equipment
The phenomenon that including a large amount of repeated fragments in duration statistics is read caused by record;Also, the terminal that each terminal device reports
It reads in the period and further includes service identification, so as to which same user account is further avoided to be performed in same terminal device
During different business, the phenomenon that including a large amount of repeated fragments in duration statistics is read, when being read so as to further improve user
Long statistical accuracy;In addition, the amendment of duration can be read by being directed to the single page of every page of e-book, reading is further improved
Duration statistical accuracy.Also, by the accurate statistics that duration is read to user, e-book platform can be reduced because user's brush is read
The loss read the cheating of duration and brought.
Embodiment three
The embodiment of the present application three provides a kind of nonvolatile computer storage media, and the computer storage media is deposited
An at least executable instruction is contained, which can perform the reading duration in above-mentioned any means embodiment
Statistical method.
Executable instruction specifically can be used for so that processor performs following operation:
The terminal reading period reported with the corresponding each terminal device of user account is obtained, is read according to each terminal
The slot start time for reading to include in the period is ranked up each terminal reading period;
For each terminal reading period after sequence, judge that the adjacent terminal reading period whether there is in time
It overlaps;
If so, it obtains readding with the corresponding account of the user's account after removing the coincidence period by default Duplicate Removal Algorithm
Read duration.
In a kind of optional mode, the executable instruction makes the processor perform following operation:
Judge whether to be located at upper one by the slot start time of terminal reading period being presently processing treated eventually
It reads before end time period of period at end;
If it is not, determine the terminal reading period being presently processing with one thereon treated that the terminal reading period exists
There is no overlapping on time, using the terminal reading period being presently processing as during newly treated terminal reading
Section calculates the reading duration of new treated terminal reading period;It will be under new treated terminal reading period
One terminal reading period is redefined as the terminal reading period being presently processing and cycles execution above-mentioned steps;
If so, determine the terminal reading period being presently processing with one thereon treated that the terminal reading period exists
Exist on time and overlap, described upper one treated terminal reading period and the terminal being presently processing are read
Reading the period merges, and the terminal reading period after merging is determined as new treated terminal reading period, it is new to calculate this
The reading duration of treated terminal reading period;Next terminal of new treated terminal reading period is read
The reading period is redefined as the terminal reading period being presently processing and cycles execution above-mentioned steps.
In a kind of optional mode, the executable instruction makes the processor perform following operation:
It will be in described upper one treated terminal reading period and the terminal reading period being presently processing
End time period of end time the latest is determined as new treated end time period;
It will be in described upper one treated terminal reading period and the terminal reading period being presently processing
The earliest slot start time of initial time is determined as new treated slot start time;
It will be by new treated the slot start time and described new treated that end time period is defined
The reading period be determined as the terminal reading period after the merging.
In a kind of optional mode, further included in each terminal reading period:Period lasts duration,
In, the period lasts duration is used to determine end time period of terminal reading period.
In a kind of optional mode, business mark is further included in the terminal reading period that each terminal device reports
Know and/or device identification, the executable instruction make the processor perform following operation:
Judge the service identification different terminal reading period in time with the presence or absence of overlap and/or, judge equipment mark
The different terminal reading periods is known in time with the presence or absence of coincidence.
In a kind of optional mode, the service identification includes:Listen to storytelling service identification and/or reading service identification.
In a kind of optional mode, the executable instruction makes the processor perform following operation:
When acquisition in advance is read with the corresponding each terminal device of the user account for the single page of every page of e-book
It is long, duration is read according to the single page of every page of e-book and is determined and the corresponding reasonable reading duration of the user account;
Judge with the corresponding each terminal device of the user account for the single page of every page of e-book read duration with
Whether the reasonable difference read between duration is more than default dithering threshold;
It is modified if so, reading duration to the single page of this page of e-book by default correction algorithm, and according to repairing
The single page of this page of e-book after just read described in time scale modification with the corresponding reading duration of the user's account.
In a kind of optional mode, the executable instruction makes the processor perform following operation:
It calculates and reads the corresponding regressand value of duration with the single page of every page of e-book, the regressand value is determined as described
Rationally read duration;Also, the default dithering threshold is determined according to the reasonable reading duration.
In a kind of optional mode, the default correction algorithm includes:The single page of this page of e-book is read into duration
It is modified to the reasonable reading duration;Alternatively, the described page is filtered out in duration with the user's account corresponding read from described
The single page of e-book reads duration.
Example IV
Fig. 3 shows the structure diagram of according to embodiments of the present invention four a kind of electronic equipment, present invention specific implementation
Example does not limit the specific implementation of electronic equipment.
As shown in figure 3, the electronic equipment can include:Processor (processor) 302, communication interface
(Communications Interface) 304, memory (memory) 306 and communication bus 308.
Wherein:Processor 302, communication interface 304 and memory 306 are completed mutual by communication bus 308
Communication.Communication interface 304, for communicating with the network element of miscellaneous equipment such as client or other servers etc..Processor 302,
For performing program 310, the correlation step in the statistical method embodiment of above-mentioned reading duration can be specifically performed.
Specifically, program 310 can include program code, which includes computer-managed instruction.
Processor 302 may be central processor CPU or specific integrated circuit ASIC (Application
Specific Integrated Circuit) or be arranged to implement the embodiment of the present invention one or more integrate
Circuit.The one or more processors that electronic equipment includes can be same type of processor, such as one or more CPU;
Can also be different types of processor, such as one or more CPU and one or more ASIC.
Memory 306, for storing program 310.Memory 306 may include high-speed RAM memory, it is also possible to also wrap
Include nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 310 specifically can be used for so that processor 302 performs following operation:
The terminal reading period reported with the corresponding each terminal device of user account is obtained, is read according to each terminal
The slot start time for reading to include in the period is ranked up each terminal reading period;
For each terminal reading period after sequence, judge that the adjacent terminal reading period whether there is in time
It overlaps;
If so, it obtains readding with the corresponding account of the user's account after removing the coincidence period by default Duplicate Removal Algorithm
Read duration.
In a kind of optional mode, program 310 is further such that processor 302 performs following operation:
Judge whether to be located at upper one by the slot start time of terminal reading period being presently processing treated eventually
It reads before end time period of period at end;
If it is not, determine the terminal reading period being presently processing with one thereon treated that the terminal reading period exists
There is no overlapping on time, using the terminal reading period being presently processing as during newly treated terminal reading
Section calculates the reading duration of new treated terminal reading period;It will be under new treated terminal reading period
One terminal reading period is redefined as the terminal reading period being presently processing and cycles execution above-mentioned steps;
If so, determine the terminal reading period being presently processing with one thereon treated that the terminal reading period exists
Exist on time and overlap, described upper one treated terminal reading period and the terminal being presently processing are read
Reading the period merges, and the terminal reading period after merging is determined as new treated terminal reading period, it is new to calculate this
The reading duration of treated terminal reading period;Next terminal of new treated terminal reading period is read
The reading period is redefined as the terminal reading period being presently processing and cycles execution above-mentioned steps.
In a kind of optional mode, program 310 is further such that processor 302 performs following operation:
It will be in described upper one treated terminal reading period and the terminal reading period being presently processing
End time period of end time the latest is determined as new treated end time period;
It will be in described upper one treated terminal reading period and the terminal reading period being presently processing
The earliest slot start time of initial time is determined as new treated slot start time;
It will be by new treated the slot start time and described new treated that end time period is defined
The reading period be determined as the terminal reading period after the merging.
In a kind of optional mode, further included in each terminal reading period:Period lasts duration,
In, the period lasts duration is used to determine end time period of terminal reading period.
In a kind of optional mode, business mark is further included in the terminal reading period that each terminal device reports
Knowledge and/or device identification, program 310 is further such that processor 302 performs following operation:
Judge the service identification different terminal reading period in time with the presence or absence of overlap and/or, judge equipment mark
The different terminal reading periods is known in time with the presence or absence of coincidence.
In a kind of optional mode, the service identification includes:Listen to storytelling service identification and/or reading service identification.
In a kind of optional mode, program 310 is further such that processor 302 performs following operation:
When acquisition in advance is read with the corresponding each terminal device of the user account for the single page of every page of e-book
It is long, duration is read according to the single page of every page of e-book and is determined and the corresponding reasonable reading duration of the user account;
Judge with the corresponding each terminal device of the user account for the single page of every page of e-book read duration with
Whether the reasonable difference read between duration is more than default dithering threshold;
It is modified if so, reading duration to the single page of this page of e-book by default correction algorithm, and according to repairing
The single page of this page of e-book after just read described in time scale modification with the corresponding reading duration of the user's account.
In a kind of optional mode, program 310 is further such that processor 302 performs following operation:
It calculates and reads the corresponding regressand value of duration with the single page of every page of e-book, the regressand value is determined as described
Rationally read duration;Also, the default dithering threshold is determined according to the reasonable reading duration.
In a kind of optional mode, the default correction algorithm includes:The single page of this page of e-book is read into duration
It is modified to the reasonable reading duration;Alternatively, the described page is filtered out in duration with the user's account corresponding read from described
The single page of e-book reads duration.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein.
Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system
Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various
Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this
The preferred forms of invention.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention
Example can be put into practice without these specific details.In some instances, well known method, knot is not been shown in detail
Structure and technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect,
Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single reality sometimes
It applies in example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:Want
Ask protection the present invention claims the more features of feature than being expressly recited in each claim.More precisely, such as
As following claims reflect, inventive aspect is all features less than single embodiment disclosed above.
Therefore, it then follows thus claims of specific embodiment are expressly incorporated in the specific embodiment, wherein each right
It is required that in itself all as separate embodiments of the invention.
Those skilled in the art, which are appreciated that, to carry out adaptivity to the module in the equipment in embodiment
Ground changes and they is arranged in one or more equipment different from the embodiment.It can be the module in embodiment
Or unit or component are combined into a module or unit or component and can be divided into multiple submodule or son in addition
Unit or sub-component.It, can be in addition at least some in such feature and/or process or unit exclude each other
Using any combinations to all features disclosed in this specification (including adjoint claim, summary and attached drawing) and such as
Any method of the displosure or all processes or unit of equipment are combined.Unless expressly stated otherwise, this specification
Each feature disclosed in (including adjoint claim, summary and attached drawing) can be by providing identical, equivalent or similar mesh
Alternative features replace.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments
In included some features rather than other feature, but the combination of the feature of different embodiments means in the present invention
Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed
One of arbitrary mode can use in any combination.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and this
Field technology personnel can design alternative embodiment without departing from the scope of the appended claims.In claim
In, any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" is not excluded for depositing
In element or step not listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple
Such element.The present invention can be by means of including the hardware of several different elements and by means of properly programmed calculating
Machine is realized.If in the unit claim for listing equipment for drying, several in these devices can be by same
Hardware branch embodies.The use of word first, second, and third does not indicate that any order.It can be by these word solutions
It is interpreted as title.
Claims (27)
1. a kind of statistical method for reading duration, including:
The terminal reading period reported with the corresponding each terminal device of user account is obtained, according to each terminal reading period
In the slot start time that includes each terminal reading period is ranked up;
For each terminal reading period after sequence, judge the adjacent terminal reading period in time with the presence or absence of coincidence;
If so, when being read by obtaining account corresponding with the user's account after the default Duplicate Removal Algorithm removal coincidence period
It is long.
2. according to the method described in claim 1, wherein, each terminal reading period for after sequence judges adjacent
The terminal reading period in time with the presence or absence of overlap;If so, it is obtained after removing the coincidence period by default Duplicate Removal Algorithm
The step of account reading duration corresponding with the user's account, specifically includes:
Judge whether to be located at upper one by the slot start time of terminal reading period being presently processing that treated that terminal is read
Before end time period for reading the period;
If it is not, determine the terminal reading period being presently processing with treated terminal reading period thereon in time
There is no coincidence, using the terminal reading period being presently processing as new treated terminal reading period, calculate
The reading duration of this is new treated terminal reading period;Judging this, new treated whether the terminal reading period is last
One terminal reading period;If so, for finally obtain it is each treated that the terminal reading period adds up, obtain with
The corresponding account of the user's account reads duration;If it is not, then by next end of new treated terminal reading period
The end reading period is redefined as the terminal reading period being presently processing and cycles the execution judgement and is presently processing
The slot start time of terminal reading period whether be located at end time period of upper one treated terminal reading period
Before the step of;
If so, determine the terminal reading period being presently processing with treated terminal reading period thereon in time
There are coincidence, to described upper one treated terminal reading period and the terminal reading period being presently processing into
Row merges, and is determined as new treated terminal reading period, after calculating the new processing terminal reading period after merging
The terminal reading period reading duration;Judging this, new treated whether the terminal reading period is the last one terminal reading
Period;If so, for finally obtain it is each treated that the terminal reading period adds up, obtain and the user's account phase
Corresponding account reads duration;If it is not, then by the weight of next terminal reading period of new treated terminal reading period
When being newly determined as the terminal reading period being presently processing and cycling the terminal reading that the execution judgement is presently processing
The step of whether slot start time of section was located at before end time period of upper one treated terminal reading period.
It is described to described upper one treated terminal reading period and institute 3. according to the method described in claim 2, wherein
Stating the step of merging terminal reading period being presently processing specifically includes:
It will terminate in described upper one treated terminal reading period and the terminal reading period being presently processing
End time period of time the latest is determined as new treated end time period;
It will be originated in described upper one treated terminal reading period and the terminal reading period being presently processing
Time earliest slot start time is determined as new treated slot start time;
It will be by new treated the slot start time and described new treated that end time period defines reads
The reading period is determined as the terminal reading period after the merging.
4. it according to the method in claim 2 or 3, wherein, is further included in each terminal reading period:Period holds
Continuous duration, wherein, the period lasts duration is used to determine end time period of terminal reading period.
5. according to any methods of claim 1-3, wherein, into one in the terminal reading period that each terminal device reports
Step includes service identification and/or device identification, then described to judge the adjacent terminal reading period in time with the presence or absence of coincidence
The step of specifically include:
Judge the service identification different terminal reading period in time with the presence or absence of overlap and/or, judge device identification difference
The terminal reading period in time with the presence or absence of overlap.
6. according to the method described in claim 5, wherein, the service identification includes:Listen to storytelling service identification and/or reading business
Mark.
7. according to any methods of claim 1-3, wherein, before the method performs, further comprise:It obtains in advance
Duration is read with single page of the corresponding each terminal device of the user account for every page of e-book, according to every page of e-book
Single page read duration determine and the corresponding reasonable reading duration of the user account;
Then it is described removed by default Duplicate Removal Algorithm overlap the period after obtain and the user account is corresponding reads duration
After step, further comprise:
Judge with the corresponding each terminal device of the user account for every page of e-book single page reading duration with it is described
Rationally read whether the difference between duration is more than default dithering threshold;
Be modified if so, reading duration to the single page of this page of e-book by default correction algorithm, and according to amendment after
This page of e-book single page read time scale modification described in the corresponding reading duration of the user's account.
8. according to the method described in claim 7, wherein, the single page according to every page of e-book read duration determine with it is described
User account it is corresponding it is reasonable reading duration the step of specifically include:
It calculates and reads the corresponding regressand value of duration with the single page of every page of e-book, the regressand value is determined as described rationally readding
Read duration;Also, the default dithering threshold is determined according to the reasonable reading duration.
9. according to the method described in claim 7, wherein, the default correction algorithm includes:By the single page of this page of e-book
Reading time scale modification is the reasonable reading duration;Alternatively, it is filtered out from described with corresponding read in duration of the user's account
The single page of this page of e-book reads duration.
10. a kind of electronic equipment, including:Processor, memory, communication interface and communication bus, the processor, the storage
Device and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, the executable instruction makes the processor perform following behaviour
Make:
The terminal reading period reported with the corresponding each terminal device of user account is obtained, according to each terminal reading period
In the slot start time that includes each terminal reading period is ranked up;
For each terminal reading period after sequence, judge the adjacent terminal reading period in time with the presence or absence of coincidence;
If so, when being read by obtaining account corresponding with the user's account after the default Duplicate Removal Algorithm removal coincidence period
It is long.
11. electronic equipment according to claim 10, it is following that the executable instruction further performs the processor
Operation:
Judge whether to be located at upper one by the slot start time of terminal reading period being presently processing that treated that terminal is read
Before end time period for reading the period;
If it is not, determine the terminal reading period being presently processing with treated terminal reading period thereon in time
There is no coincidence, using the terminal reading period being presently processing as new treated terminal reading period, calculate
The reading duration of this is new treated terminal reading period;By next terminal of new treated terminal reading period
The reading period, which is redefined as the terminal reading period being presently processing and cycles, performs what the judgement was presently processing
The slot start time of terminal reading period whether be located at upper one treated terminal reading period end time period it
Preceding step;
If so, determine the terminal reading period being presently processing with treated terminal reading period thereon in time
There are coincidence, to described upper one treated terminal reading period and the terminal reading period being presently processing into
Row merges, and is determined as new treated terminal reading period, after calculating the new processing terminal reading period after merging
The terminal reading period reading duration;By next terminal reading period of new treated terminal reading period again
It is determined as the terminal reading period being presently processing and cycles to perform the terminal reading period for judging to be presently processing
Slot start time the step of whether being located at before end time period of upper one treated terminal reading period.
12. electronic equipment according to claim 11, it is following that the executable instruction further performs the processor
Operation:
It will terminate in described upper one treated terminal reading period and the terminal reading period being presently processing
End time period of time the latest is determined as new treated end time period;
It will be originated in described upper one treated terminal reading period and the terminal reading period being presently processing
Time earliest slot start time is determined as new treated slot start time;
It will be by new treated the slot start time and described new treated that end time period defines reads
The reading period is determined as the terminal reading period after the merging.
13. the electronic equipment according to claim 11 or 12, wherein, it is further wrapped in each terminal reading period
Contain:Period lasts duration, wherein, the period lasts duration is used to determine end time period of terminal reading period.
14. according to any electronic equipments of claim 10-12, wherein, during the terminal reading that each terminal device reports
Service identification and/or device identification are further included in section;
The executable instruction further makes the processor perform following operation:
Judge the service identification different terminal reading period in time with the presence or absence of overlap and/or, judge device identification difference
The terminal reading period in time with the presence or absence of overlap.
15. electronic equipment according to claim 14, wherein, the service identification includes:It listens to storytelling service identification and/or reading
Book service identification.
16. according to any electronic equipments of claim 10-12, wherein, the executable instruction further makes the place
It manages device and performs following operation:
It obtains in advance and reads duration, root with single page of the corresponding each terminal device of the user account for every page of e-book
Duration is read according to the single page of every page of e-book to determine and the corresponding reasonable reading duration of the user account;
Judge with the corresponding each terminal device of the user account for every page of e-book single page reading duration with it is described
Rationally read whether the difference between duration is more than default dithering threshold;
Be modified if so, reading duration to the single page of this page of e-book by default correction algorithm, and according to amendment after
This page of e-book single page read time scale modification described in the corresponding reading duration of the user's account.
17. electronic equipment according to claim 16, wherein, the executable instruction further performs the processor
It operates below:
It calculates and reads the corresponding regressand value of duration with the single page of every page of e-book, the regressand value is determined as described rationally readding
Read duration;Also, the default dithering threshold is determined according to the reasonable reading duration.
18. electronic equipment according to claim 16, wherein, the default correction algorithm includes:By this page of e-book
Single page read time scale modification be the reasonable reading duration;Alternatively, from described with the corresponding reading duration of the user's account
In filter out the single page of this page of e-book and read duration.
19. a kind of computer storage media, an at least executable instruction, the executable instruction are stored in the storage medium
Processor is made to perform following operation:
The terminal reading period reported with the corresponding each terminal device of user account is obtained, according to each terminal reading period
In the slot start time that includes each terminal reading period is ranked up;
For each terminal reading period after sequence, judge the adjacent terminal reading period in time with the presence or absence of coincidence;
If so, when being read by obtaining account corresponding with the user's account after the default Duplicate Removal Algorithm removal coincidence period
It is long.
20. computer storage media according to claim 19, the executable instruction further holds the processor
The following operation of row:
Judge whether to be located at upper one by the slot start time of terminal reading period being presently processing that treated that terminal is read
Before end time period for reading the period;
If it is not, determine the terminal reading period being presently processing with treated terminal reading period thereon in time
There is no coincidence, using the terminal reading period being presently processing as new treated terminal reading period, calculate
The reading duration of this is new treated terminal reading period;By next terminal of new treated terminal reading period
The reading period, which is redefined as the terminal reading period being presently processing and cycles, performs what the judgement was presently processing
The slot start time of terminal reading period whether be located at upper one treated terminal reading period end time period it
Preceding step;
If so, determine the terminal reading period being presently processing with treated terminal reading period thereon in time
There are coincidence, to described upper one treated terminal reading period and the terminal reading period being presently processing into
Row merges, and is determined as new treated terminal reading period, after calculating the new processing terminal reading period after merging
The terminal reading period reading duration;By next terminal reading period of new treated terminal reading period again
It is determined as the terminal reading period being presently processing and cycles to perform the terminal reading period for judging to be presently processing
Slot start time the step of whether being located at before end time period of upper one treated terminal reading period.
21. computer storage media according to claim 20, the executable instruction further holds the processor
The following operation of row:
It will terminate in described upper one treated terminal reading period and the terminal reading period being presently processing
End time period of time the latest is determined as new treated end time period;
It will be originated in described upper one treated terminal reading period and the terminal reading period being presently processing
Time earliest slot start time is determined as new treated slot start time;
It will be by new treated the slot start time and described new treated that end time period defines reads
The reading period is determined as the terminal reading period after the merging.
22. the computer storage media according to claim 20 or 21, wherein, into one in each terminal reading period
Step includes:Period lasts duration, wherein, the period lasts duration is used to determine end time period of terminal reading period.
23. according to any computer storage medias of claim 19-21, wherein, the terminal that each terminal device reports
It reads in the period and further includes service identification and/or device identification;
The executable instruction further makes the processor perform following operation:
Judge the service identification different terminal reading period in time with the presence or absence of overlap and/or, judge device identification difference
The terminal reading period in time with the presence or absence of overlap.
24. computer storage media according to claim 23, wherein, the service identification includes:It listens to storytelling service identification
And/or reading service identification.
25. according to any computer storage medias of claim 19-21, wherein, the executable instruction further makes
The processor performs following operation:
It obtains in advance and reads duration, root with single page of the corresponding each terminal device of the user account for every page of e-book
Duration is read according to the single page of every page of e-book to determine and the corresponding reasonable reading duration of the user account;
Judge with the corresponding each terminal device of the user account for every page of e-book single page reading duration with it is described
Rationally read whether the difference between duration is more than default dithering threshold;
Be modified if so, reading duration to the single page of this page of e-book by default correction algorithm, and according to amendment after
This page of e-book single page read time scale modification described in the corresponding reading duration of the user's account.
26. computer storage media according to claim 25, wherein, the executable instruction further makes the processing
Device performs following operation:
It calculates and reads the corresponding regressand value of duration with the single page of every page of e-book, the regressand value is determined as described rationally readding
Read duration;Also, the default dithering threshold is determined according to the reasonable reading duration.
27. computer storage media according to claim 25, wherein, the default correction algorithm includes:By the page
It is the reasonable reading duration that the single page of e-book, which reads time scale modification,;Alternatively, from it is described with the user's account is corresponding reads
The single page for reading to filter out this page of e-book in duration reads duration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710719958.XA CN107491252B (en) | 2017-08-21 | 2017-08-21 | Read the statistical method and electronic equipment of duration |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710719958.XA CN107491252B (en) | 2017-08-21 | 2017-08-21 | Read the statistical method and electronic equipment of duration |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107491252A CN107491252A (en) | 2017-12-19 |
CN107491252B true CN107491252B (en) | 2018-05-29 |
Family
ID=60645717
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710719958.XA Active CN107491252B (en) | 2017-08-21 | 2017-08-21 | Read the statistical method and electronic equipment of duration |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107491252B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108520440B (en) * | 2018-03-30 | 2020-12-08 | 掌阅科技股份有限公司 | Method for determining total consumption stock demand of reading user, electronic equipment and computer storage medium |
CN109240973B (en) * | 2018-08-30 | 2020-03-06 | 掌阅科技股份有限公司 | Electronic book-based reading state information determination method and electronic equipment |
CN109361957B (en) * | 2018-10-18 | 2021-02-12 | 广州酷狗计算机科技有限公司 | Method and device for sending praise request |
CN110288333A (en) * | 2019-06-28 | 2019-09-27 | 广州华多网络科技有限公司 | A kind of processing method of business datum, client, server and system |
CN110514982B (en) | 2019-08-22 | 2022-03-22 | 上海兆芯集成电路有限公司 | Performance analysis system and method |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104090741A (en) * | 2014-06-17 | 2014-10-08 | 小米科技有限责任公司 | Statistical method and device for electronic book reading |
CN106933964A (en) * | 2017-02-07 | 2017-07-07 | 掌阅科技股份有限公司 | A kind of method, device and electronic equipment for determining to read duration |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150026176A1 (en) * | 2010-05-15 | 2015-01-22 | Roddy McKee Bullock | Enhanced E-Book and Enhanced E-book Reader |
CN104850409B (en) * | 2015-06-05 | 2019-06-04 | 北京京东尚科信息技术有限公司 | Statistical web page stay time method |
CN107070580A (en) * | 2017-05-16 | 2017-08-18 | 上海斐讯数据通信技术有限公司 | A kind of detection method and device of time conflict |
-
2017
- 2017-08-21 CN CN201710719958.XA patent/CN107491252B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104090741A (en) * | 2014-06-17 | 2014-10-08 | 小米科技有限责任公司 | Statistical method and device for electronic book reading |
CN106933964A (en) * | 2017-02-07 | 2017-07-07 | 掌阅科技股份有限公司 | A kind of method, device and electronic equipment for determining to read duration |
Also Published As
Publication number | Publication date |
---|---|
CN107491252A (en) | 2017-12-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107491252B (en) | Read the statistical method and electronic equipment of duration | |
CN107343047A (en) | Application system and method | |
CN111914936B (en) | Data characteristic enhancement method and device for corpus data and computer equipment | |
CN107908548A (en) | A kind of method and apparatus for generating test case | |
CN107220853A (en) | Prize drawing data processing method, device, server and computer-readable storage medium | |
CN109829757B (en) | Optimal marketing scheme selection method and device | |
CN109408262A (en) | A kind of business data processing method and relevant device | |
CN106529727A (en) | User loss prediction model generation method and related device | |
CN111340606A (en) | Full-process income auditing method and device | |
CN114048055A (en) | Time series data abnormal root cause analysis method and system | |
CN110991901A (en) | Task allocation method, computer storage medium and electronic device | |
CN108830658B (en) | Data processing method and device for information push, electronic equipment and storage medium | |
CN108829572A (en) | The analysis method and device of user's login behavior | |
CN109597744A (en) | Data unusual fluctuation analysis method and device | |
CN113657922B (en) | Scheme planning method, planning device, terminal equipment and readable storage medium | |
CN109919762A (en) | Reporting method, device, equipment and the storage medium of customer information | |
CN112328882B (en) | Information recommendation method, device, terminal equipment and storage medium | |
CN108255704A (en) | A kind of script calls the exception response method and its terminal of event | |
CN114595146A (en) | AB test method, device, system, electronic equipment and medium | |
CN107818390A (en) | A kind of check requirements generation method and device | |
CN113112158A (en) | Method and device for processing equipment use data, storage medium and electronic device | |
CN112434019A (en) | Historical electric quantity tracing and cleaning method applied to household variable relation change and electric power center | |
CN106909612A (en) | A kind for the treatment of method and apparatus of following behavior data | |
CN109919470B (en) | Method and device for distributing customer information | |
CN117217830B (en) | Advertisement bill monitoring and identifying method, system and readable storage medium |
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 | ||
CB03 | Change of inventor or designer information | ||
CB03 | Change of inventor or designer information |
Inventor after: Liu Weiping Inventor after: Wang Liang Inventor before: Wang Zhipeng |
|
GR01 | Patent grant | ||
GR01 | Patent grant |