CN104618138A - Server and terminals - Google Patents

Server and terminals Download PDF

Info

Publication number
CN104618138A
CN104618138A CN201410836752.1A CN201410836752A CN104618138A CN 104618138 A CN104618138 A CN 104618138A CN 201410836752 A CN201410836752 A CN 201410836752A CN 104618138 A CN104618138 A CN 104618138A
Authority
CN
China
Prior art keywords
terminal
state information
duration
server
target
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
CN201410836752.1A
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.)
Shenzhen Jinli Communication Equipment Co Ltd
Original Assignee
Shenzhen Jinli Communication Equipment 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 Shenzhen Jinli Communication Equipment Co Ltd filed Critical Shenzhen Jinli Communication Equipment Co Ltd
Priority to CN201410836752.1A priority Critical patent/CN104618138A/en
Publication of CN104618138A publication Critical patent/CN104618138A/en
Pending legal-status Critical Current

Links

Landscapes

  • Telephonic Communication Services (AREA)
  • Telephone Function (AREA)

Abstract

An embodiment of the invention provides a server and terminals. In the server, a third processing unit can be used for receiving the current state information sent form a plurality of terminals, obtaining the target use time length of every terminal according to the received state information and determining the accumulated use time length according to the target use time length or a fourth processing unit can be used for receiving the target use time length sent from the plurality of terminals and determining the accumulated use time length according to the target use time length. According to the server and the terminals, the timely statistics on the accumulated use time length of every terminal can be achieved according to the information sent from the corresponding terminal.

Description

A kind of server and terminal
Technical field
The present invention relates to communication technical field, be specifically related to a kind of server and terminal.
Background technology
At present, the display screen that the terminals such as smart mobile phone, panel computer, notebook, Smart Home all can be arranged by terminal and user carry out alternately, meet the many demands in user job, life and amusement.Although user has multiple similar terminal equipment, can spend every day use these terminals most of the time, the accumulative use duration using various terminal cannot be determined, thus further cannot improve the experience of user.
Summary of the invention
Embodiments provide a kind of server and terminal, the accumulative use duration of each terminal can be added up in time.
Embodiment of the present invention first aspect provides a kind of server, comprising:
3rd processing unit, for receiving the current state information that multiple terminal sends, and the target of each terminal uses duration according to described state information acquisition, and uses duration to determine accumulative use duration according to described target;
Or,
Fourth processing unit, the target sent for receiving multiple terminal uses duration, and uses duration to determine accumulative use duration according to described target;
Wherein, described multiple terminal and server associated connection, described target use duration is the use duration of single terminal, and described accumulative use duration is the summation of the target use duration of described multiple terminal.
Correspondingly, embodiment of the present invention second aspect provides a kind of terminal, comprising:
Acquiring unit, for obtaining current state information;
First processing unit, sends to server for the state information obtained by described acquiring unit, to make described server use duration according to described state information acquisition target, then uses duration to determine accumulative use duration according to described target; Or
Second processing unit, uses duration for the state information acquisition target obtained according to described acquiring unit, and uses duration to send to server described target, uses duration to determine accumulative use duration to make described server according to described target;
Described target uses duration to be the use duration with the single terminal of described server associated connection, and described accumulative use duration is summation, described multiple terminal and the described server associated connection of the target use duration of multiple terminal.
In the embodiment of the present invention, the 3rd processing unit can receive the current state information that multiple terminal sends, and uses duration according to the target of each terminal of state information acquisition received, and uses duration to determine to add up to use duration according to target; Or fourth processing unit can receive the target use duration that multiple terminal sends, and duration is used to determine accumulative use duration according to target.Visible, the information that the embodiment of the present invention can send according to terminal, the in time accumulative use duration of each terminal of statistics.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the schematic flow sheet that a kind of terminal that the embodiment of the present invention provides adds up the statistical method using duration;
Fig. 2 is the schematic flow sheet that another kind of terminal that the embodiment of the present invention provides adds up the statistical method using duration;
The schematic diagram of a kind of network system that Fig. 3 provides for the embodiment of the present invention;
Fig. 4 is the structural representation of a kind of terminal that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the another kind of terminal that the embodiment of the present invention provides;
Fig. 6 is the structural representation of another terminal that the embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of server that the embodiment of the present invention provides;
Fig. 8 is the structural representation of the another kind of server that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiments provide a kind of server and terminal, real-time statistics can use the accumulative use duration of each terminal.Below be described in detail respectively.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet that a kind of terminal that the embodiment of the present invention provides adds up the statistical method using duration.As shown in Figure 1, this terminal adds up to use the statistical method of duration to comprise the following steps.
S101, terminal obtain current state information.
In the embodiment of the present invention, the terminal that smart mobile phone, computer, TV and the accessible network equipment etc. can be provided with display screen obtains current state information.Wherein, the state information that obtain can comprise application that terminal running, display screen operating state or by the transducer that arranges to the situation etc. of the perception of surrounding environment.
As one execution mode alternatively, step S101 specifically can comprise the following steps:
11) terminal sets up connection between server by targeted customer's account;
12) terminal obtains the time statistical rules that in server, targeted customer's account is corresponding;
13) terminal is according to time statistical rules, obtains current state information.
Terminal is by step 11) to 13) can according to the time statistical rules preset, obtain current state information, such as, use the duration of terminal to add up using the operating state of display screen as benchmark to user if time statistical rules is specified, then terminal only can obtain the work state information of display screen.Wherein, targeted customer's account is that user uses the target of any terminal to use duration to determine the accumulative unique identification using duration at server.
Alternatively, the type of the terminal that time statistical rules corresponding to targeted customer's account also often can use according to user determines time statistical rules, the benchmark whether portable electronic display device that such as panel computer and smart mobile phone etc. have camera can have facial image and/or eyeball to add up as the time using the preset range that camera detection display screen is corresponding, the electronic display unit such as TV, refrigerator can using the whether in running order benchmark as time statistics of display screen.
In the embodiment of the present invention, terminal obtains current state information and can be specially: by whether there being the state information of facial image in the preset range corresponding to camera head acquisition display screen; Or obtain current preset and apply the state information whether be activated; Or obtaining display screen is the state information being lit or extinguishing.
In the embodiment of the present invention, multiple terminal and server associated connection can be specially: multiple terminal is by targeted customer's account game server, thus multiple terminal can associate, so that add up the accumulative use duration of multiple terminal; Or can pre-set the model of multiple terminal in server, server adds up the accumulative use duration of terminal by the model of each terminal.
S102, terminal use duration according to this state information acquisition target.
This target uses duration to send to server by S103, terminal, uses duration to determine accumulative use duration to make server according to the target of multiple associated terminal.
As one execution mode alternatively, after terminal execution step S101 obtains current state information, the state information of this acquisition can be sent to server, to make server use duration according to this state information acquisition target, and then use duration to determine accumulative use duration according to target.
In the embodiment of the present invention, in step S102, terminal uses duration specifically to comprise the following steps according to state information acquisition target:
21), when the state information obtained when terminal is designated as the first preset state, time set is started;
22), when the state information obtained when terminal is designated as the second preset state, the duration of time set current statistic is used duration as target.
Wherein, the first preset state and the second preset state are terminal correlation behavior in a certain respect, and such as, lighting and OFF state of terminal display screen, presets the open and close state etc. of application in terminal.Wherein, this time set can be timer, also can be the software program of timing module.
For example, first terminal can detect environmental light intensity angle value residing for local terminal whether within the scope of default light intensity value; If environmental light intensity angle value is within the scope of default light intensity value, then start camera head whether to have facial image in the preset range corresponding to detection display screen, if having, then the state information obtained is the first preset state; If the state information no, then obtained is the second preset state.Further, if environmental light intensity angle value is not within the scope of default light intensity value, then whether detection display screen is in running order, if in running order, then current running status is the first preset state; If the non operating state of being in, then current running status is the second preset state.
As one execution mode alternatively, step S102, terminal uses duration to be specially according to state information acquisition target:
31) when there being facial image in the preset range corresponding to the state information instruction display screen obtained, time set is started;
32) when there is no facial image in the preset range corresponding to the state information instruction display screen obtained, determine that this time set institute timing length is that target uses duration.
As another kind execution mode alternatively, step S102, terminal uses duration to be specially according to state information acquisition target:
41) when the default application of state information instruction obtained is activated, time set is started;
42) when the default application of state information instruction obtained is closed or suspends, determine that time set institute timing length is that target uses duration.
Wherein, this default application can comprise video playback application, e-book application or microblogging etc., can by some the conventional application of user's chosen in advance as default application.
As another execution mode alternatively, step S102, terminal uses duration to be specially according to state information acquisition target:
51) when the state information instruction display screen obtained is lit, time set is started;
52) when the state information instruction display screen obtained is extinguished, determine that time set institute timing length is that target uses duration.
In the embodiment of the present invention, after step s 103, terminal can also the prompting message that sends when accumulative use duration is greater than predetermined threshold value of reception server, and performs the prompting operation preset.For example, the prompting operation preset can be: the user exported for pointing out targeted customer's account corresponding needs word or the speech message of in good time rest eyes, and the display screen parameter arranging local terminal is preset parameter value, or closes any one in display screen; The prompting operation preset also can be: while exporting the word or speech message that user for pointing out targeted customer's account corresponding needs in good time rest eyes, the display screen parameter arranging local terminal is preset parameter value.Wherein, this prompting operation can perform when terminal is in running status.This execution mode when accumulative use duration is long, can performs the prompting operation reminding user preset and is accustomed to help user's specification eye in time.
Add up in the terminal described by Fig. 1 to use in the statistical method of duration, terminal can obtain current state information and send to server, uses duration by server according to state information acquisition target, and then determines accumulative use duration; Or terminal itself uses duration according to the state information acquisition target obtained, then uses duration to send to server target, duration is used to determine accumulative use duration by server according to the target that multiple terminal sends.Wherein, in the embodiment of the present invention, target uses duration to be the use duration with the single terminal of server associated connection, and accumulative use duration is the summation of the target use duration of multiple terminal.Visible, the method described by Fig. 1 can add up the accumulative use duration of each terminal in time, makes user understand the duration situation using terminal in time, thus improves Consumer's Experience.
Refer to Fig. 2, Fig. 2 adds up the statistical method using duration for another kind of terminal that the embodiment of the present invention provides.Compared with the statistical method adding up to use duration with the terminal described by Fig. 1, terminal described by Fig. 2 adds up to use the statistical method of duration to be how to add up to use the method for duration to be described in detail according to the state information statistics received from server side to server.Terminal described by Fig. 2 adds up to use the statistical method of duration to comprise the following steps:
S201, server receive the current state information that multiple terminal sends.
S202, server use duration according to the target of each terminal of state information acquisition received.
S203, server use duration to determine accumulative use duration according to the target of each terminal obtained.
Wherein, multiple terminal and server associated connection, target use duration is the use duration of single terminal, and accumulative use duration is the summation using duration with the target of multiple terminals of server associated connection.
In another kind of embodiment, step S201 also can use duration for server receives the target that multiple terminal sends, and like this, server can perform step S202, directly performs step S203 and uses duration to determine accumulatively to use duration according to the target received.
It should be noted that, server is when the state information that receiving terminal sends or target use duration, also can extract the information such as targeted customer's account that terminal uses or model from the message sent, so that server determines the accumulative use duration of multiple associated terminal.Wherein, associated terminal refers to that multiple terminal is connected by targeted customer's account relating with server, or the model of the terminal associated pre-set by server and server associated connection.
In the embodiment of the present invention, in step S202, server uses duration specifically to comprise the following steps according to the target of each terminal of state information acquisition received:
61) server is when the state information received is designated as the first preset state, starts the time set for the terminal sending this state information;
62) server is when the state information received is designated as the second preset state, and the duration of this time set current statistic is used duration as target.
Wherein, the first preset state and the second preset state are terminal correlation behavior in a certain respect, and such as, lighting and OFF state of terminal display screen, presets the open and close state etc. of application in terminal.
As one execution mode alternatively, step S202, server uses duration to be specially according to the target of each terminal of state information acquisition:
71), when server has a facial image in the preset range corresponding to the state information instruction display screen received, the time set for the terminal sending this state information is started;
72), when server does not have a facial image in the preset range corresponding to the state information instruction display screen received, determine that the target of the long terminal for sending this state information of this time set institute timing uses duration.
As another kind execution mode alternatively, in step S202, server uses duration to be specially according to the target of each terminal of state information acquisition:
81) server is when the default application of state information instruction received is activated, and starts the time set for the terminal sending this state information;
82) server the state information instruction received preset application be closed or suspend time, determine that duration that time set is counted is that the target of the terminal sending this state information uses duration.
Wherein, this default application can comprise video playback application, e-book application or microblogging etc., can by some the conventional application of user's chosen in advance as default application.
As another execution mode alternatively, step S202, server uses duration to be specially according to the target of each terminal of state information acquisition:
91) server is when the state information instruction display screen received is lit, and starts the time set for the terminal sending this state information;
92) server is when the state information instruction display screen received is extinguished, and determines that duration that this time set is counted is that the target of the terminal sending this state information uses duration.
In the embodiment of the present invention, after step S203, server can judge whether the accumulative use duration determined is greater than predetermined threshold value, if be greater than, can generate prompting message and send to terminal, performs the prompting operation preset to make terminal.Wherein, the accumulative use duration determined is with predetermined period if 24 hours or 12 hours are for benchmark, and when exceeding predetermined period, the accumulative use duration of associated terminal can reset by server, and counting user uses the accumulative use duration of each terminal again.
In the embodiment of the present invention, before step S201, server can also set up the connection between multiple terminal by targeted customer's account; The time statistical rules of this targeted customer's account is sent to multiple terminal, to make multiple terminal obtain current state information according to described time statistical rules, and then determines accumulative use duration according to above-mentioned state information.This execution mode can unify the type of the state information that each terminal obtains, and makes the accumulative duration that uses reflect that user uses the situation of each terminal more accurately.
In the method described by Fig. 2, server can receive current state information or the target use duration of the transmission of multiple terminal, and the target according to each terminal of state information acquisition received uses duration; And then according to obtain or the target that receives use the accumulative use duration of duration determination associated terminal.Visible, by the method described by Fig. 2, accumulative use duration can be determined by server in real time according to the state information received, reduce the performance requirement to terminal, make the equipment such as Smart Home also can use duration by the method statistics is accumulative.Thus improve the experience of user.
Refer to Fig. 3, the schematic diagram of a kind of network system that Fig. 3 provides for the embodiment of the present invention.Network system shown in Fig. 3 comprises multiple terminal and server, and server can be formed by multiple service equipment, and multiple terminal can be mobile phone, notebook, computer and panel computer etc. as shown in Figure 3.Concrete, in the network system shown in Fig. 3:
(1) multiple terminal obtains current state information respectively;
(2) state information of acquisition is sent to server by multiple terminal respectively;
(3) server receives the state information that multiple terminal sends;
(4) server uses duration according to the target of each terminal of state information acquisition;
(5) server uses duration to determine accumulative use duration according to the target of multiple terminal;
In another inventive embodiments, after multiple terminal obtains current state information, each terminal can use duration according to the state information acquisition target obtained; The target of acquisition uses duration to send to server by each terminal respectively, and server receives the target use duration that each terminal sends, and determines accumulative use duration.
In the embodiment of the present invention, multiple terminal and server associated connection, target use duration is the use duration of single terminal, and accumulative use duration is the summation of the target use duration of multiple terminal.Wherein, multiple terminal and server associated connection can be specially multiple terminal and be connected by targeted customer's account relating with server, or the terminal models associated that pre-sets according to server of multiple terminal and server associated connection.
In the embodiment of the present invention, after step S305, server can also judge whether the accumulative use duration determined is greater than predetermined threshold value, if be greater than, then send prompting message to multiple terminal, multiple terminal is performed and points out operation accordingly, or make multiple terminal show this prompting message when starting shooting, and execution points out operation accordingly.
In the embodiment of the present invention, step S303 server uses the concrete manner of execution of duration with reference to the related content of the step S202 in foregoing invention embodiment, can to describe in detail no longer one by one here according to the target of each terminal of state information acquisition.
Refer to Fig. 4, the structural representation of a kind of terminal that Fig. 4 provides for the embodiment of the present invention.As shown in Figure 4, this terminal can comprise with lower unit:
Acquiring unit 401, for obtaining current state information.
First processing unit 402, sends to server for the state information obtained by acquiring unit 401, to make server use duration according to state information acquisition target, then uses duration to determine accumulative use duration according to target.
Second processing unit 403, uses duration for the state information acquisition target obtained according to acquiring unit 401, and uses duration to send to server the target of acquisition, uses duration to determine accumulative use duration to make server according to target.
In the embodiment of the present invention, target uses duration to be the use duration with the single terminal of server associated connection, and accumulative use duration is summation, multiple terminal and the server associated connection of the target use duration of multiple terminal.Alternatively, multiple terminal and server associated connection can be specially multiple terminal and server carries out associated connection by targeted customer's account.
It should be noted that, the first processing unit 402 and the second processing unit 403 can be comprised in terminal simultaneously, corresponding processing unit can be run according to the handling property of terminal, such as, for the terminal that handling property is higher, send to server again after the second processing unit 403 can be adopted to obtain target use duration, use duration to determine accumulative use duration to make server according to the target received; For the terminal that handling property is lower, the first processing unit 402 can be adopted directly the state information that acquiring unit 401 obtains to be sent to server, determine accumulative use duration by server according to the state information received.
Please also refer to the structural representation of the another kind of terminal that Fig. 5, Fig. 5 provide for the embodiment of the present invention.Wherein, the terminal shown in Fig. 5 is that the terminal shown in Fig. 4 is optimized acquisition, and compared with the terminal shown in Fig. 4, the terminal shown in Fig. 5 can point out user to use the accumulative use duration of terminal in time, avoids excessive user's eye.Concrete, the terminal shown in Fig. 5, except can comprising the unit shown in Fig. 4, can also comprise with lower unit:
Receiving element 404, the prompting message sent when being greater than predetermined threshold value for reception server according to the accumulative use duration that the information that the first processing unit 402 or the second processing unit 403 send is determined, and perform the prompting operation preset.
In the embodiment of the present invention, in the terminal shown in Fig. 5, acquiring unit 401 can specifically for obtaining the state information whether having facial image in the preset range corresponding to display screen by camera head; Or obtain current preset and apply the state information whether be activated; Or obtain the state information whether display screen is lit or extinguishes.Alternatively, acquiring unit 401 also can obtain above-mentioned three kinds of state informations simultaneously, uses duration to obtain target.
In the embodiment of the present invention, in the terminal shown in Fig. 5, acquiring unit 401 can specifically comprise with lower unit:
First linkage unit 4011, for setting up the connection between server by targeted customer's account;
Rule unit 4012, for obtaining the time statistical rules that in server, in the first linkage unit 4011, targeted customer's account is corresponding;
Information acquisition unit 4013, for the time statistical rules obtained according to Rule unit 4012, obtains current state information.
As one execution mode alternatively, in the terminal shown in Fig. 5, the second processing unit 403 can comprise with lower unit:
First timing unit 4031, when the state information for obtaining at acquiring unit 401 indicates in the preset range corresponding to display screen and has facial image, starts time set;
First acquiring unit 4032, when the state information for obtaining at acquiring unit 401 indicates in the preset range corresponding to display screen and do not have facial image, the time set institute timing length obtaining the first timing unit 4031 is that target uses duration;
First transmitting element 4033, the target for the first determining unit 4032 being determined uses duration to send to server, uses duration to determine accumulative use duration to make described server according to target.
As another kind execution mode alternatively, in the terminal shown in Fig. 5, the second processing unit 403 can comprise with lower unit:
Second timing unit 4034, when the default application of state information instruction for obtaining at acquiring unit 401 is activated, starts time set;
Second acquisition unit 4035, when the default application of state information instruction for obtaining at acquiring unit 401 is closed or suspends, the time set institute timing length obtaining the second timing unit 4034 is that target uses duration;
Second transmitting element 4036, the target for the second determining unit 4035 being determined uses duration to send to server, uses duration to determine accumulative use duration to make server according to target.
As another execution mode alternatively, in the terminal shown in Fig. 5, the second processing unit 402 can comprise with lower unit:
3rd timing unit 4037, when the state information instruction display screen for obtaining at acquiring unit 401 is lit, starts time set;
3rd acquiring unit 4038, when the state information instruction display screen for obtaining at acquiring unit 401 is extinguished, the time set institute timing length obtaining the 3rd timing unit 4037 is that target uses duration;
3rd transmitting element 4039, the target for the 3rd determining unit 4038 being determined uses duration to send to server, uses duration to determine accumulative use duration to make described server according to target.
As one execution mode alternatively, the second processing unit 402 selects according to the particular content of the state information of acquiring unit 401 acquisition, and these optional execution modes can exist in same terminal, and the mode also can selecting exists in the terminal.If when numerous embodiments is deposited in the terminal simultaneously, the time statistical rules can selected according to the handling property of terminal or user determines to run which kind of execution mode.For example, user wants to add up the accumulative use duration using video playback application viewing video, then terminal just only can obtain the state information of this application, determined accumulative to use duration by the state information of this application, thus can should be applied in accumulative use duration situation in predetermined period to user by accurate feedback.
Concrete, the terminal introduced in the present embodiment can implement the part or all of flow process that terminal that composition graphs 1 of the present invention introduces adds up to use in the statistical method embodiment of duration.
In terminal described by Fig. 4 and Fig. 5, acquiring unit can obtain the current state information of terminal, by the first processing unit, the state information of acquisition is sent to server, obtains target use duration to make server, and then determines accumulative use duration; Or the state information acquisition target to be obtained according to acquiring unit by the second processing unit uses duration, then uses duration to send to server this target, uses duration to determine the accumulative use duration of multiple terminals to make server according to this target.Further, the terminal described by Fig. 5 can also the prompting message that sends when accumulative use duration is greater than predetermined threshold value of reception server, and performs and point out operation accordingly, thus can be accustomed to by reminding user specification eye, vision protection.
Refer to Fig. 6, the structural representation of another terminal that Fig. 6 provides for the embodiment of the present invention, as shown in Figure 6, this terminal can comprise: at least one processor 501, such as CPU, input unit 502, memory 503, at least one communication bus 504, and output device 505.Wherein, communication bus 504 is for realizing the connection communication between these assemblies.Wherein, input unit 502 can comprise keyboard, mouse etc., and output device 505 can comprise display screen, and this display screen can for having the display screen of touch controllable function, alternatively, input unit 502 or output device 505 can also comprise wireline interface, the wave point of standard.Memory 503 can be high-speed RAM memory, also can be non-labile memory (non-volatilememory), such as at least one magnetic disc store.Memory 503 can also be optionally that at least one is positioned at the storage device away from aforementioned processor 501.Wherein, store batch processing code in memory 503, processor 501 calls the program code stored in memory 503, for performing following operation:
Obtain the state information that output device 505 is current;
State information is sent to server, obtains target to make server according to state information and use duration, then use duration to determine accumulative use duration according to target; Or
Use duration according to state information acquisition target, and use duration to send to server target, use duration to determine accumulative use duration to make server according to target.
In the embodiment of the present invention, target uses duration to be the use duration with the single terminal of server associated connection, and accumulative use duration is summation, multiple terminal and the server associated connection of the target use duration of multiple terminal.Alternatively, multiple terminal and server associated connection can be specially multiple terminal and server carries out associated connection by targeted customer's account.
It should be noted that, above-mentioned two kinds can be comprised in terminal simultaneously and determine the accumulative execution mode using duration, or corresponding execution mode can be run by user according to the handling property of terminal, such as, for the terminal that handling property is higher, can adopt after using duration according to the state information acquisition target obtained and send to server again, use duration to determine accumulative use duration to make server according to the target received; For the terminal that handling property is lower, can adopt and directly the state information of acquisition be sent to server, determine accumulative use duration by server according to the state information received.
In the embodiment of the present invention, processor 501 calls the program code in memory 503, can also perform following operation:
By the prompting message that input unit 502 reception server sends when accumulative use duration is greater than predetermined threshold value, and perform the prompting operation preset.
In the embodiment of the present invention, processor 501 calls the program code in memory 503, obtains current state information, and what can specifically perform is operating as: by whether there being the state information of facial image in the preset range corresponding to camera head acquisition display screen; Or, obtain current preset and apply the state information whether be activated; Or, obtain the state information whether display screen is lit or extinguishes.
In the embodiment of the present invention, processor 501 calls the program code in memory 503, obtains current state information, can also comprise following operation:
The connection between server is set up by targeted customer's account;
Obtain the time statistical rules that in server, targeted customer's account is corresponding;
According to time statistical rules, obtain current state information.
As one execution mode alternatively, processor 501 calls the program code in memory 503, uses duration can specifically perform following operation according to state information acquisition target:
When the state information instruction output device 505 obtained display screen corresponding to preset range in have a facial image time, start time set;
When the state information instruction output device 505 obtained display screen corresponding to preset range in there is no a facial image time, determine this time set institute timing long be target use duration.
As another kind execution mode alternatively, processor 501 calls the program code in memory 503, uses duration can specifically perform following operation according to state information acquisition target:
When the default application of state information instruction obtained is activated, start time set;
When the default application of state information instruction of acquisition is closed or suspends, obtaining the timing of time set institute long is target use duration.
As another execution mode alternatively, processor 501 calls the program code in memory 503, uses duration can specifically perform following operation according to state information acquisition target:
When the display screen of the state information instruction output device 505 obtained is lit, start time set;
When the display screen of the state information instruction output device 505 obtained is extinguished, obtaining the timing of time set institute long is target use duration.
Above-mentioned processor 501 calls the program code in memory 503, use the execution mode alternatively of the operation correspondence of duration can determine according to the particular content of the state information obtained according to state information acquisition target, these alternatively execution mode can exist in same terminal, the mode also can selecting exists in the terminal.If when numerous embodiments is deposited in the terminal simultaneously, the time statistical rules can selected according to the handling property of terminal or user determines to run which kind of execution mode.For example, user wants to add up the accumulative use duration using video playback application viewing video, then terminal just only can obtain the state information of this application, determined accumulative to use duration by the state information of this application, thus can should be applied in accumulative use duration situation in predetermined period to user by accurate feedback.
In terminal described by Fig. 6, processor can obtain the current state information of terminal, and the state information of acquisition is sent to server, obtains target use duration to make server, and then determines accumulative use duration; Or processor uses duration according to the state information acquisition target obtained, then use duration to send to server this target, use duration to determine the accumulative use duration of multiple terminals to make server according to this target.Further, the terminal described by Fig. 6 can also the prompting message that sends when accumulative use duration is greater than predetermined threshold value of reception server, and performs and point out operation accordingly, thus can be accustomed to by reminding user specification eye, vision protection.
Refer to Fig. 7, the structural representation of a kind of server that Fig. 7 provides for the embodiment of the present invention.As shown in Figure 6, this server can comprise with lower unit:
3rd processing unit 601, for receiving the current state information that multiple terminal sends, and uses duration according to the target of each terminal of state information acquisition, and uses duration to determine the accumulative use duration of each terminal according to target.
Fourth processing unit 602, the target sent for receiving multiple terminal uses duration, and uses duration to determine accumulative use duration according to target.
In the embodiment of the present invention, multiple terminal and server associated connection, target use duration is the use duration of single terminal, and accumulative use duration is the summation of the target use duration of multiple terminal.Alternatively, multiple terminal and server associated connection can be specially multiple terminal and server carries out associated connection by targeted customer's account.Alternatively, accumulative use duration can be the accumulative use duration of each associated terminal in predetermined period, such as, predetermined period be 24 hours or 12 hours etc., specifically can be set by the user.
In the embodiment of the present invention, the server shown in Fig. 7 can also comprise:
Generation unit 603, when the accumulative use duration for determining at the 3rd processing unit 601 or fourth processing unit 602 being greater than predetermined threshold value, generating prompting message and sending to multiple terminal to perform default prompting operation.
In the embodiment of the present invention, the server shown in Fig. 7 can also comprise with lower unit:
Second linkage unit 604, for setting up the connection between multiple terminal by targeted customer's account;
4th transmitting element 605, for the time statistical rules of targeted customer's account in the second linkage unit 604 is sent to the multiple terminals connected by the second linkage unit 604, obtains current state information to make multiple terminal according to this time statistical rules.
Correspondingly, the 4th transmitting element 605 sends to statistical rules terminal time, to make terminal obtain the state information of terminal according to this time statistical rules, and triggers the state information of the 3rd processing unit 601 receiving terminal transmission, and then determines accumulative use duration; Or, 4th transmitting element 605 can send to statistical rules terminal time, duration is used to make terminal according to the state information of this time statistical rules acquisition terminal and to obtain target, 4th transmitting element can trigger the target use market that fourth processing unit 602 receiving terminal sends simultaneously, to determine the accumulative use duration of each terminal.
In the embodiment of the present invention, the time statistical rules for the terminal associated by targeted customer's account number that time statistical rules can preset for user, or the time statistical rules that the type of the terminal often used according to user is determined, such as, the benchmark whether portable electronic display device that panel computer and smart mobile phone etc. have camera can have facial image and/or eyeball to add up as the time using the preset range that camera detection display screen is corresponding, TV, the electronic display units such as refrigerator can using the whether in running order benchmark as time statistics of display screen.
As one execution mode alternatively, in the server shown in Fig. 7, the 3rd processing unit 601 can comprise with lower unit:
First receiving element 6011, for receiving the current state information that multiple terminal sends;
4th timing unit 6012, when the state information for receiving at the first receiving element 6011 indicates in the preset range corresponding to display screen and has facial image, starts the time set for the terminal sending state information;
4th acquiring unit 6013, when state information for receiving at the first receiving element 6011 indicates in the preset range corresponding to display screen and do not have facial image, the duration that the time set obtaining the 4th timing unit 6012 is counted is that the target of the terminal sending state information uses duration;
First determining unit 6014, the target for each terminal in multiple terminals of being determined by the 4th acquiring unit 6013 uses the cumulative of duration, determines accumulatively to use duration.
As another kind execution mode alternatively, in the server shown in Fig. 7, the 3rd processing unit 601 can comprise with lower unit:
Second receiving element 6015, for receiving the current state information that multiple terminal sends;
5th timing unit 6016, when the default application of state information instruction for receiving at the second receiving element 6015 is activated, starts the time set for the terminal sending this state information;
5th acquiring unit 6017, the state information instruction for receiving at the second receiving element 6015 is preset application and is closed or suspends, then the duration that acquisition time set is counted is that the target of the terminal sending state information uses duration;
Second determining unit 6018, the target for each terminal in multiple terminals of being determined by the 5th acquiring unit 6017 uses the cumulative of duration, determines accumulatively to use duration.
As another execution mode alternatively, in the server shown in Fig. 7, the 3rd processing unit 601 can comprise with lower unit:
3rd receiving element 6019, for receiving the current state information that multiple terminal sends;
6th timing unit 601a, when the state information instruction display screen for receiving at the 3rd receiving element 6019 is lit, starts the time set for the terminal sending this state information;
6th acquiring unit 601b, indicates described display screen to be extinguished for the state information received at the 3rd receiving element 6019, then obtain the target use duration that duration that described time set counts is the terminal sending described state information;
3rd determining unit 601c, the target for each terminal in multiple terminals of being determined by the 6th acquiring unit 601b uses the cumulative of duration, determines accumulatively to use duration.
It should be noted that above-mentioned 3rd processing unit 601 alternatively execution mode can deposit in a terminal simultaneously, the mode also can selecting exists; Correspondingly, also directly can use duration according to the target received by fourth processing unit 602, determine accumulative use duration.For example, user wants to add up the accumulative use duration using video playback application viewing video, then terminal just only can obtain the state information of this application, determined accumulative to use duration by the state information of this application, thus can should be applied in accumulative use duration situation in predetermined period to user by accurate feedback.
In server described by Fig. 7, the 3rd processing unit can the current state information that sends of receiving terminal, and uses duration according to the target of each terminal of state information acquisition, and then determines the accumulative use duration of each terminal; Or fourth processing unit can directly use duration to determine accumulative use duration according to the target received.Can select to perform corresponding operation or the corresponding operation of fourth processing unit execution, to determine accumulative use duration by the 3rd processing unit in server according to the handling property of terminal or server in the embodiment of the present invention.Further, the server described by Fig. 7 when accumulative use duration is greater than predetermined threshold value, can also generates prompting message and sends multiple terminal to perform default prompting operation, thus user can be made to understand by eye custom in time, vision protection.
Refer to Fig. 8, the structural representation of the another kind of server that Fig. 8 provides for the embodiment of the present invention.As shown in Figure 8, this server can comprise: at least one processor 701, such as CPU, input unit 702, memory 703, at least one communication bus 704, and output device 705.Wherein, communication bus 704 is for realizing the connection communication between these assemblies.Wherein, input unit 702 can comprise keyboard, mouse etc., and output device 705 can comprise display screen, and this display screen can for having the display screen of touch controllable function, alternatively, input unit 702 or output device 705 can also comprise wireline interface, the wave point of standard.Memory 703 can be high-speed RAM memory, also can be non-labile memory (non-volatilememory), such as at least one magnetic disc store.Memory 703 can also be optionally that at least one is positioned at the storage device away from aforementioned processor 701.Wherein, store batch processing code in memory 703, processor 701 calls the program code stored in memory 703, for performing following operation:
Receive the current state information that multiple terminal sends, the target according to each terminal of state information acquisition uses duration, and uses duration to determine accumulative use duration according to target;
Or, receive the target use duration that multiple terminal sends, and use duration to determine accumulative use duration according to target.
In the embodiment of the present invention, multiple terminal and server associated connection, target use duration is the use duration of single terminal, and accumulative use duration is the summation of the target use duration of multiple terminal.Alternatively, multiple terminal and server associated connection can be specially multiple terminal and server carries out associated connection by targeted customer's account.Alternatively, accumulative use duration can be the accumulative use duration of each associated terminal in predetermined period, such as, predetermined period be 24 hours or 12 hours etc., specifically can be set by the user.
In the embodiment of the present invention, processor 701 calls the program code in memory 703, can also perform following operation:
When the accumulative use duration determined is greater than predetermined threshold value, generates prompting message and send to multiple terminal to perform default prompting operation.
As one execution mode alternatively, processor 701 calls the program code in memory 703, uses duration can specifically comprise following operation according to the target of each terminal of state information acquisition:
If have facial image in the preset range of state information instruction corresponding to display screen, then start the time set for the terminal sending state information;
If there is no facial image in the preset range of state information instruction corresponding to display screen, then determine that duration that time set is counted is that the target of the terminal sending this state information uses duration.
As another kind execution mode alternatively, processor 701 calls the program code in memory 703, uses duration can specifically comprise following operation according to the target of each terminal of state information acquisition:
If state information instruction is preset application and is activated, then start the time set for the terminal sending this state information;
Be closed if application is preset in state information instruction or suspend, then determining that duration that time set is counted is that the target of the terminal sending this state information uses duration.
As another execution mode alternatively, processor 701 calls the program code in memory 703, uses duration can specifically comprise following operation according to the target of each terminal of state information acquisition:
If state information instruction display screen is lit, then start the time set for the terminal sending this state information;
If state information instruction display screen is extinguished, then determine that duration that time set is counted is that the target of the terminal sending this state information uses duration.
It should be noted that above-mentioned processor 701 calls the program code in memory 703, use the execution mode alternatively of duration operation to deposit in a terminal according to the target of each terminal of state information acquisition, the mode also can selecting exists simultaneously; Correspondingly, processor 701 also directly can use duration according to the target received, and determines accumulative use duration.For example, user wants to add up the accumulative use duration using video playback application viewing video, then terminal just only can obtain the state information of this application, determined accumulative to use duration by the state information of this application, thus can should be applied in accumulative use duration situation in predetermined period to user by accurate feedback.
In the embodiment of the present invention, processor 701 calls the program code in memory 703, before the current state information receiving the transmission of multiple terminal, can also perform following operation:
The connection between multiple terminal is set up by targeted customer's account;
The time statistical rules of targeted customer's account is sent to multiple terminal, obtains current state information to make multiple terminal according to time statistical rules.
In the embodiment of the present invention, the time statistical rules for the terminal associated by targeted customer's account number that time statistical rules can preset for user, or the time statistical rules that the type of the terminal often used according to user is determined, such as, the benchmark whether portable electronic display device that panel computer and smart mobile phone etc. have camera can have facial image and/or eyeball to add up as the time using the preset range that camera detection display screen is corresponding, TV, the electronic display units such as refrigerator can using the whether in running order benchmark as time statistics of display screen.
In server described by Fig. 8, processor can the current state information that sends of receiving terminal, and uses duration according to the target of each terminal of state information acquisition, and then determines the accumulative use duration of each terminal; Or processor can directly use duration to determine accumulative use duration according to the target received.Can select by the execution mode of processor execution in server according to the handling property of terminal or server in the embodiment of the present invention, to determine accumulative use duration.Further, the server described by Fig. 8 when accumulative use duration is greater than predetermined threshold value, can also generates prompting message and sends multiple terminal to perform default prompting operation, thus user can be made to understand by eye custom in time, vision protection.
Concrete, the server introduced in the present embodiment can implement the part or all of flow process that terminal that composition graphs 2 of the present invention introduces adds up to use in the statistical method embodiment of duration.
Step in embodiment of the present invention method can be carried out order according to actual needs and be adjusted, merges and delete.
Unit in embodiment of the present invention device can carry out merging, divide and deleting according to actual needs.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment can carry out the device-dependent hardware of command terminal by program to have come, this program can be stored in a computer-readable recording medium, storage medium can comprise: flash disk, read-only memory (Read-OnlyMemory, ROM), random access device (Random Access Memory, RAM), disk or CD etc.
Above to embodiments providing a kind of server and terminal is described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a server, is characterized in that, comprising:
3rd processing unit, for receiving the current state information that multiple terminal sends, and the target of each terminal uses duration according to described state information acquisition, and uses duration to determine accumulative use duration according to described target;
Or,
Fourth processing unit, the target sent for receiving multiple terminal uses duration, and uses duration to determine accumulative use duration according to described target;
Wherein, described target use duration is the use duration of single terminal, and described accumulative use duration is the summation of the target use duration of described multiple terminal.
2. server as claimed in claim 1, it is characterized in that, described multiple terminal and server carry out associated connection by targeted customer's account.
3. server as claimed in claim 1, it is characterized in that, described server also comprises:
Generation unit, when the accumulative use duration for determining at described 3rd processing unit or described fourth processing unit being greater than predetermined threshold value, generating prompting message and sending to described multiple terminal to perform default prompting operation.
4. server as claimed in claim 1, it is characterized in that, described 3rd processing unit comprises:
First receiving element, for receiving the current state information that multiple terminal sends;
4th timing unit, when the state information for receiving at described first receiving element indicates in the preset range corresponding to display screen and has facial image, starts the time set for the terminal sending described state information;
4th acquiring unit, when state information for receiving at described first receiving element indicates in the preset range corresponding to display screen and do not have facial image, the duration that the time set obtaining described 4th timing unit is counted is that the target of the terminal sending described state information uses duration;
First determining unit, the target for each terminal in multiple terminals of being determined by described 4th acquiring unit uses the cumulative of duration, determines accumulatively to use duration.
5. server as claimed in claim 1, it is characterized in that, described 3rd processing unit comprises:
Second receiving element, for receiving the current state information that multiple terminal sends;
5th timing unit, when the default application of state information instruction for receiving at described second receiving element is activated, starts the time set for the terminal sending described state information;
5th acquiring unit, is closed for the described default application of state information instruction received at described second receiving element or suspends, then obtain the target use duration that duration that described time set counts is the terminal sending described state information;
Second determining unit, the target for each terminal in multiple terminals of being determined by described 5th acquiring unit uses the cumulative of duration, determines accumulatively to use duration.
6. server as claimed in claim 1, it is characterized in that, described 3rd processing unit comprises:
3rd receiving element, for receiving the current state information that multiple terminal sends;
6th timing unit, when the state information instruction display screen for receiving at described 3rd receiving element is lit, starts the time set for the terminal sending described state information;
6th acquiring unit, indicates described display screen to be extinguished for the state information received at described 3rd receiving element, then obtain the target use duration that duration that described time set counts is the terminal sending described state information;
3rd determining unit, the target for each terminal in multiple terminals of being determined by described 6th acquiring unit uses the cumulative of duration, determines accumulatively to use duration.
7. the server as described in any one of claim 1 to 6, is characterized in that, described server also comprises:
Second linkage unit, for setting up the connection between multiple terminal by targeted customer's account;
4th transmitting element, for the time statistical rules of described targeted customer's account being sent to the multiple terminals connected by described second linkage unit, obtains current state information to make described multiple terminal according to described time statistical rules.
8. a terminal, is characterized in that, comprising:
Acquiring unit, for obtaining current state information;
First processing unit, sends to server for the state information obtained by described acquiring unit, to make described server use duration according to described state information acquisition target, then uses duration to determine accumulative use duration according to described target; Or
Second processing unit, uses duration for the state information acquisition target obtained according to described acquiring unit, and uses duration to send to server described target, uses duration to determine accumulative use duration to make described server according to described target;
Described target uses duration to be the use duration with the single terminal of described server associated connection, and described accumulative use duration is the summation of the target use duration of multiple terminal.
9. terminal as claimed in claim 8, it is characterized in that, described multiple terminal and described server carry out associated connection by targeted customer's account.
10. terminal as claimed in claim 8, it is characterized in that, described terminal also comprises:
Receiving element, for receiving the prompting message that described server sends when described accumulative use duration is greater than predetermined threshold value, and performs the prompting operation preset.
CN201410836752.1A 2014-12-26 2014-12-26 Server and terminals Pending CN104618138A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410836752.1A CN104618138A (en) 2014-12-26 2014-12-26 Server and terminals

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410836752.1A CN104618138A (en) 2014-12-26 2014-12-26 Server and terminals

Publications (1)

Publication Number Publication Date
CN104618138A true CN104618138A (en) 2015-05-13

Family

ID=53152429

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410836752.1A Pending CN104618138A (en) 2014-12-26 2014-12-26 Server and terminals

Country Status (1)

Country Link
CN (1) CN104618138A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506810A (en) * 2016-10-12 2017-03-15 北京小米移动软件有限公司 The method and apparatus of the use time of limiting terminal equipment
CN107958576A (en) * 2016-10-17 2018-04-24 深圳市信息大成网络有限公司 The method that other people use eye health is reminded in monitoring based on internet
CN110493075A (en) * 2019-08-01 2019-11-22 京信通信系统(中国)有限公司 The method, apparatus and system of equipment on-line duration monitoring

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101883178A (en) * 2010-05-10 2010-11-10 天津通广集团数字通信有限公司 Method and system for automatically timing and metering during surfing Internet with cell phone on basis of cell phone terminal
CN101998344A (en) * 2009-08-20 2011-03-30 中国移动通信集团辽宁有限公司 Method and device for multi-user charging
CN103416040A (en) * 2012-08-29 2013-11-27 华为终端有限公司 Terminal control method, apparatus and terminal
CN103559116A (en) * 2013-10-30 2014-02-05 深圳市金立通信设备有限公司 Method for reminding time and terminal
CN104065491A (en) * 2014-07-04 2014-09-24 中国联合网络通信集团有限公司 Internet surfing time billing method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998344A (en) * 2009-08-20 2011-03-30 中国移动通信集团辽宁有限公司 Method and device for multi-user charging
CN101883178A (en) * 2010-05-10 2010-11-10 天津通广集团数字通信有限公司 Method and system for automatically timing and metering during surfing Internet with cell phone on basis of cell phone terminal
CN103416040A (en) * 2012-08-29 2013-11-27 华为终端有限公司 Terminal control method, apparatus and terminal
CN103559116A (en) * 2013-10-30 2014-02-05 深圳市金立通信设备有限公司 Method for reminding time and terminal
CN104065491A (en) * 2014-07-04 2014-09-24 中国联合网络通信集团有限公司 Internet surfing time billing method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106506810A (en) * 2016-10-12 2017-03-15 北京小米移动软件有限公司 The method and apparatus of the use time of limiting terminal equipment
CN107958576A (en) * 2016-10-17 2018-04-24 深圳市信息大成网络有限公司 The method that other people use eye health is reminded in monitoring based on internet
CN110493075A (en) * 2019-08-01 2019-11-22 京信通信系统(中国)有限公司 The method, apparatus and system of equipment on-line duration monitoring
CN110493075B (en) * 2019-08-01 2021-06-25 京信通信系统(中国)有限公司 Method, device and system for monitoring online duration of equipment

Similar Documents

Publication Publication Date Title
US11647172B2 (en) Content presentation method, content presentation mode push method, and intelligent terminal
CN109408223B (en) Resource allocation method, device, terminal and storage medium
US10659844B2 (en) Interaction method and system based on recommended content
US10812849B2 (en) Method, apparatus, and storage medium for media file delivery
US9361017B2 (en) Method of displaying information by category and electronic device
CN104615531A (en) Statistical method for accumulated terminal using duration time and network system
CN107045508B (en) Application program processing method and device
CN104598315A (en) Memory managing method, device and terminal
CN106022101B (en) application management method and terminal
CN107402808B (en) Process management method, device, storage medium and electronic equipment
CN106412106B (en) Message sending method and device
CN111914149A (en) Request processing method and device, storage medium and electronic equipment
CN104618138A (en) Server and terminals
CN112019422A (en) Information sharing method, information processing method, related device and equipment
CN105530232B (en) Account login method and device
CN111625690A (en) Object recommendation method, device, equipment and medium
CN112654957B (en) Suspended window control method and related products
CN111784418B (en) Display control method and device for live broadcasting room, computer medium and electronic equipment
CN103457832A (en) Information management method, device and terminal
CN114337896B (en) Equipment state processing method and device, storage medium and electronic device
CN108282890B (en) Resource scheduling processing method, network side equipment and mobile terminal
CN105159580A (en) Grouping method, device and system
CN104967905A (en) Video playback control methods and device
CN110458925B (en) Animation material playing method and device, electronic equipment and storage medium
CN113891123A (en) Method, device and system for pushing virtual space information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150513

WD01 Invention patent application deemed withdrawn after publication