CN105978971A - Message pushing method and device, and message pushing server - Google Patents

Message pushing method and device, and message pushing server Download PDF

Info

Publication number
CN105978971A
CN105978971A CN201610312558.2A CN201610312558A CN105978971A CN 105978971 A CN105978971 A CN 105978971A CN 201610312558 A CN201610312558 A CN 201610312558A CN 105978971 A CN105978971 A CN 105978971A
Authority
CN
China
Prior art keywords
terminal unit
user
message
state
running order
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
CN201610312558.2A
Other languages
Chinese (zh)
Inventor
周振华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qiku Internet Technology Shenzhen Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qiku Internet Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Qihoo Technology Co Ltd, Qiku Internet Technology Shenzhen Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610312558.2A priority Critical patent/CN105978971A/en
Publication of CN105978971A publication Critical patent/CN105978971A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a message pushing method and device, and a message pushing server. The method comprises the following steps: obtaining the current states of N pieces of terminal equipment where one user logs in, wherein the current states are a working state or an idle state, and N is not less than two; judging whether there is the terminal equipment in working state in the N pieces of terminal equipment or not; and pushing a message to the terminal equipment in the working state if there is the terminal equipment in working state. The method just pushes the message to the terminal equipment in the working state, does not repeatedly push the message to other terminal equipment, enables other terminal equipment not to be disturbed, reduces the electric energy consumption, and prolongs the duration.

Description

Information push method, device and message push server
Technical field
The present invention relates to Internet technical field, more particularly, to a kind of information push method, device and Message push server.
Background technology
Along with the development of science and technology, terminal unit is more and more universal, and all kinds of terminal applies also emerge in an endless stream. Terminal use, after registering a certain terminal applies, can obtain the user account specified, the server of terminal applies End all can push various message to user account.No matter user logs on which kind of terminal unit, disappearing of propelling movement Breath all can show on the terminal device.It is convenient that this life being terminal use or work bring.
But, along with the kind of terminal unit is on the increase, sometimes, same user account can be in multiple terminals Log on equipment.In prior art, the server of terminal applies is directly to user account PUSH message, therefore These multiple terminal units all can receive same message.And asking of generally existing of existing terminal unit Topic is exactly that the flying power of battery is not enough.If these are logged in multiple terminal units of same user account There is the terminal unit being in idle state, when receiving the message of repetition, it can change from idle state To duty, this process can consume the electricity of terminal unit, shortens its cruising time.
Summary of the invention
In view of the above problems, the present invention proposes a kind of information push method, device and message push server, Solve the problem that prior art shortens terminal unit cruising time because repeating PUSH message.
First aspect, embodiments provides a kind of information push method, comprises the following steps: obtain Take the current state of the N number of terminal unit being logged in same user, described current state be duty or Idle state, N >=2;Judge that whether there is in running order terminal in described N number of terminal unit sets Standby;If there is in running order terminal unit, push away to one of in running order terminal unit Send message.
In the above-described embodiments, the described step to one of in running order terminal unit PUSH message Suddenly, particularly as follows: in running order terminal unit currently can cruising time the longest terminal unit PUSH message.
In the above-described embodiments, the described step to one of in running order terminal unit PUSH message Suddenly, particularly as follows: most to the historical log number of times of user described in running order terminal unit Terminal unit PUSH message.
In the above-described embodiments, the described step to one of in running order terminal unit PUSH message Suddenly, particularly as follows: the longest to the history line duration of user described in running order terminal unit Terminal unit PUSH message.
It is in the above-described embodiments, further comprising the steps of: if there is not in running order terminal unit, To one of described N number of terminal unit PUSH message.
In the above-described embodiments, the described step to one of described N number of terminal unit PUSH message, tool Body is: in described N number of terminal unit currently can cruising time the longest terminal unit PUSH message.
In the above-described embodiments, the described step to one of described N number of terminal unit PUSH message, tool Body is: the most terminal unit of historical log number of times to user described in described N number of terminal unit pushes Message.
In the above-described embodiments, described duty is released state, and described idle state is screen lock state.
Second aspect, embodiments provides a kind of message pusher, and this message pusher has Realize message in above-mentioned first aspect and push the function of behavior.Described function can be realized by hardware, it is possible to To perform the realization of corresponding software by hardware.Described message pusher, including: acquisition module, it is used for Obtaining the current state of the N number of terminal unit being logged in same user, described current state is duty Or idle state;Whether determination module, be used for judging to exist in described N number of terminal unit to be in work shape The terminal unit of state;Pushing module, for existing in determination module judges described N number of terminal unit During in running order terminal unit, to one of in running order terminal unit PUSH message.
The third aspect, embodiments provides a kind of message push server, including: state obtains Module, for obtaining the current state of the N number of terminal unit being logged in same user, described current state For duty or idle state;Whether state determination module, be used for judging in described N number of terminal unit There is in running order terminal unit;Message pushing module, for judging at state determination module When described N number of terminal unit exists in running order terminal unit, in running order end One of end equipment PUSH message.
Relative to prior art, the scheme provided based on the present invention, server obtains and is logged in same user's The current state of N number of terminal unit, described current state is duty or idle state, it is determined that described N Whether individual terminal unit exists in running order terminal unit, if there is in running order end End equipment, to one of in running order terminal unit PUSH message.Therefore, server is only to place In the terminal unit PUSH message of duty, and do not repeat to other-end equipment PUSH message so that it is His terminal unit is without disturbance, just decreases its electric quantity consumption, extends its cruising time.
The aspects of the invention or other aspects be meeting more straightforward in the following description.
Accompanying drawing explanation
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, institute in embodiment being described below The accompanying drawing used is needed to be briefly described, it should be apparent that, the accompanying drawing in describing below is only the present invention Some embodiments, for those skilled in the art, on the premise of not paying creative work, also Other accompanying drawing can be obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the information push method of an embodiment of the present invention.
Fig. 2 is the flow chart of the information push method of another kind embodiment of the present invention.
Fig. 3 is the structural representation of the message pusher of a kind of embodiment of present aspect.
Fig. 4 is the structural representation of the server of a kind of embodiment of present aspect.
Detailed description of the invention
In order to make those skilled in the art be more fully understood that the present invention program, implement below in conjunction with the present invention Accompanying drawing in example, is clearly and completely described the technical scheme in the embodiment of the present invention.
In some flow processs of description in description and claims of this specification and above-mentioned accompanying drawing, comprise The multiple operations occurred according to particular order, but it should be clearly understood that these operations can not according to it The order occurred in this article performs or executed in parallel, the sequence number of operation such as 101,102 etc., is only to use In distinguishing each different operation, sequence number itself does not represent any execution sequence.It addition, these flow processs More or less of operation can be included, and these operations can perform or executed in parallel in order.Need Illustrating, " first ", " second " herein etc. describes, be for distinguish different message, equipment, Modules etc., do not represent sequencing, and not limiting " first " and " second " is different types.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly Chu, be fully described by, it is clear that described embodiment be only a part of embodiment of the present invention rather than Whole embodiments.Based on the embodiment in the present invention, those skilled in the art are not making creative labor The every other embodiment obtained under dynamic premise, broadly falls into the scope of protection of the invention.
Fig. 1 is the flow chart of the information push method of a certain kind embodiment of the present invention.
A kind of information push method, the method runs on the server of application program, and application program includes But it is not limited to social networking application, sound shadow audiovisual applications, shopping application, Domestic News application and game application, Such as QQ, wechat, Alipay etc..The server admin of application program has numerous user, these users Pass through registration and there is the user name characterizing its uniqueness.Each user is by inputting user name and close Code, enters application program after empirical tests.Server is as required to the user's PUSH message specified, user Terminal unit after login i.e. receives the message of server push.In the present embodiment, terminal unit includes But it is not limited to mobile phone, intelligent watch, PC, handheld computer, electronic reader or panel computer. As it is shown in figure 1, it comprises the following steps:
S101: obtain the current state of the N number of terminal unit being logged in same user, described current state For duty or idle state.
It is mounted on corresponding application program on N number of terminal unit, the most N number of terminal unit is logged in The same user of this application program.
In one implementation, terminal unit self determines its current state.Each terminal unit can be in real time Or timing acquisition characterizes the status data of self current state, determine the current shape of self according to status data State, then the current state of self is sent to server, server i.e. gets the current shape of each terminal unit State.Or, server sends current state to each terminal unit and obtains request, and each terminal unit responds this shape State obtains request, obtains the status data of self, determines the current state of self according to status data, then The current state of self being sent to server, clothes characterize the business device of self current state and i.e. get each end The current state of end equipment.
In another kind of implementation, the current state of terminal unit is determined by server.Each terminal unit Meeting is in real time or timing acquisition characterizes the status data of self current state, sends status data to server, Server determines the current state of each terminal unit according to this status data.Or, server is to each terminal Equipment sends current state and obtains request, and each terminal unit responds this state and obtains request, obtains the shape of self State data, send status data to server, and server determines each terminal unit according to this status data Current state.
Wherein, current state includes duty or idle state.Duty refers to that terminal unit is in electricity Amount consumes of a relatively high state, and now, the CPU usage of terminal unit is higher or EMS memory occupation is more, Such as bright screen state or released state.It is relatively low that idle state refers to that terminal unit is in electric quantity consumption State, now, the CPU usage of terminal unit is relatively low or EMS memory occupation is less, screen state of such as going out or Person's screen lock state.
It addition, status data includes hardware data and/or software data.End can be determined according to hardware data The current state of end equipment.Such as, obtain the monochrome information of terminal unit display screen, bright according to display screen Degree information determines the current state of terminal unit.Also the current shape of terminal unit can be determined according to software data Whether state, such as detection terminal unit have specific process to start, the operation conditions etc. of equipment manager.
The most also can pre-install corresponding fail-safe software, these fail-safe softwares can read terminal unit Hardware information or software information, so that it is determined that the current state of each terminal unit, then working as each terminal unit Front state sends to server.
S102: judge whether there is in running order terminal unit in described N number of terminal unit.
Current state is duty and idle state, and the most each terminal unit is likely to be at duty, it is possible to Idle state can be in.Server is according to the current state of each terminal unit got, it is determined that these terminals Whether equipment exists in running order terminal unit.
S103: if there is in running order terminal unit, in running order terminal unit One of PUSH message.
If N number of terminal unit exists in running order terminal unit, just it is in work shape to these A PUSH message in the terminal unit of state, and do not repeat the terminal unit to being in idle state and push Message, the terminal unit being in idle state would not be waken up, thus the electric energy decreasing terminal unit disappears Consumption, promotes its cruising time.
It should be noted that in the present embodiment, the value of N is more than or equal to 2.Such as, N value is 2, I.e. there are two terminal units.If there is in running order terminal unit, the most in running order The quantity of terminal unit is 1 or 2, if only a terminal unit is in running order, just to only having In running order terminal unit PUSH message.If the quantity of in running order terminal unit At least two, then can one of wherein PUSH message, or part PUSH message wherein, or Person is to all in running order terminal unit PUSH messages.
In one embodiment, if particularly as follows: there is in running order terminal unit in step S103, In in running order terminal unit currently can cruising time the longest terminal unit PUSH message.Tool For body, if there is in running order terminal unit, server obtains in running order each Terminal unit currently can cruising time, contrast these terminal units currently can cruising time, determine work as Before can cruising time the longest terminal unit, only currently can continue a journey in running order terminal unit The terminal unit PUSH message that time is the longest, and do not repeat to other-end equipment PUSH message, thus to the greatest extent Amount reduces the power consumption of other-end equipment, promotes the cruising time of other-end equipment.Certainly, it is possible to With set a certain can cruising time threshold value, server obtains currently may be used of in running order each terminal unit After cruising time, by these terminal units currently can cruising time with can cruising time threshold value compare, Only in running order terminal unit currently can cruising time more than can cruising time threshold value terminal Equipment PUSH message, or only to currently can cruising time more than can cruising time threshold value terminal unit in One of PUSH message.
In one implementation, terminal unit self can obtain self according to the change of cell output voltage The dump energy of battery, sends dump energy to server, then server is to the most terminal of dump energy Equipment PUSH message.Further, server storage has the power consumption information corresponding to terminal unit, service Device obtains the dump energy of terminal unit, power consumption information based on terminal unit, calculates terminal unit Currently can cruising time, only to can cruising time the longest terminal unit PUSH message.
In another kind of implementation, terminal unit is preinstalled with corresponding fail-safe software, these fail-safe softwares Power consumption information and the dump energy information of terminal unit can be obtained, thus dope currently may be used of terminal unit In cruising time, currently can send terminal unit cruising time to server, server is only to continuing a journey The terminal unit PUSH message that time is the longest.
In another kind of embodiment, if particularly as follows: there is in running order terminal unit in step S103, The terminal unit most to the historical log number of times of user described in running order terminal unit pushes Message.Server can record user's log-on message the most on the terminal device, including login time, steps on The record information such as place and login ID, server calculates user's historical log number of times on the terminal device, than To the historical log number of times of user on each terminal unit, only user in running order terminal unit The most terminal unit PUSH message of historical log number of times.
Number due to login times often characterizes the use frequency of user, and user logs on the terminal device Often, user's this terminal unit commonly used is described to a certain extent.Therefore, to historical log number of times Most terminal unit PUSH messages, user can get the message of propelling movement in time by this terminal unit, Thus promote Consumer's Experience.
In some cases, user may have the custom of often login on multiple terminal units.This Time, historical log frequency threshold value can be preset, server obtains in running order terminal unit User's historical log number of times, searches user's historical log number of times and sets more than the terminal of historical log frequency threshold value Standby, the terminal unit PUSH message of historical log frequency threshold value it is more than to user's historical log number of times.Then use The terminal unit that family often logs in all can receive message, and user can be in any one terminal often logged in Get information on equipment, Consumer's Experience can be promoted further.
In another kind of embodiment, if particularly as follows: there is in running order terminal unit in step S103, The terminal unit the longest to the history line duration of user described in running order terminal unit pushes Message.Server can record user's log-on message the most on the terminal device, including login time, steps on The information such as record place, login ID and downtime, when the line duration of user is login time and rolls off the production line Time period between.The online hours that server statistics user is each, calculate user on the terminal device History line duration, the history line duration of user on each terminal unit of comparison, only to the history of user The terminal unit PUSH message that line duration is the longest.
For some application program, after user logs in the most on the terminal device, would not often roll off the production line, And it is held in line states at running background.For this kind of application program, the line duration of user is the longest, But login times is few, such as QQ, wechat etc..Therefore, judged by the historical log number of times of user The most commonly used terminal unit of user, is inaccurate in some cases.The present embodiment is to user's history The terminal unit PUSH message that line duration is the longest, user can get propelling movement in time by this terminal unit Message, thus improve Consumer's Experience.
In some cases, user may have the most online custom on multiple terminal units.This Time, history line duration threshold value can be preset, server obtains in running order terminal unit User's history line duration, searches user's history line duration and sets more than the terminal of history line duration threshold value Standby, the terminal unit PUSH message of history line duration threshold value it is more than to user's history line duration.Then use The terminal unit that family often logs in all can receive message, and user can be in any one the most online terminal Get information on equipment, Consumer's Experience can be promoted further.
Fig. 2 is the flow chart of the information push method of another kind embodiment of the present invention.
A kind of information push method, the method runs on the server of application program, as in figure 2 it is shown, It comprises the following steps:
S201: obtain the current state of the N number of terminal unit being logged in same user, described current state For duty or idle state.
S202: judge whether there is in running order terminal unit in described N number of terminal unit.
S203: if there is in running order terminal unit, in running order terminal unit One of PUSH message.
S204: if there is not in running order terminal unit, to one of described N number of terminal unit PUSH message.
The present embodiment, on the basis of above-described embodiment, adds step S204: be in work if not existing The terminal unit of state, to one of described N number of terminal unit PUSH message, therefore, the present embodiment will Elaborate for step S204.
If N number of terminal unit does not exist in running order terminal unit, illustrate that all of terminal sets Standby all in idle state, now, only in these terminal units or part PUSH message, And not to other-end equipment PUSH message.Ensure that at least a terminal unit can receive message, Do not have the omission of information, meanwhile, do not repeat to push to other terminal units being in idle state to disappear Breath, other terminal units being in idle state would not be waken up, thus decrease these terminal units Power consumption, promotes its cruising time.
In one embodiment, step S204 is particularly as follows: set if there is no in running order terminal Standby, predetermined in N number of terminal unit terminal unit PUSH message.This making a reservation for can be based on user Self-defined, it is also possible to be made a reservation for by server.
In a kind of implementation, application program provides custom option, selects to set in all terminals for user For when being in idle state, to what terminal unit PUSH message.Server can obtain based on application program The type of terminal unit, determines that terminal unit is mobile phone or panel computer etc..Such as, user can basis The use habit of self, only selects to mobile phone PUSH message.Then in all terminal units of whois lookup Mobile phone, only to mobile phone PUSH message.
Further, server obtains the type of terminal unit based on application program, also can obtain terminal The brand of equipment and model.The recordable each user of server log in the type of terminal unit, brand and Model.Application program is when providing custom option, by type, the product of terminal unit logged for user Board and model present to user with tabular form, select for user.Such as, user is optional only to 360 Whether mobile phone PUSH message, then have 360 mobile phones during server can search all terminal units, if it has, Then only to this 360 mobile phone PUSH message.
In another kind of implementation, a terminal unit can be arbitrarily designated, equal at all terminal units When being in idle state, only to the terminal unit PUSH message specified.Such as, server can obtain each end The network formats of end equipment, only to the terminal unit PUSH message that network formats is higher, it is ensured that message pushes Speed.
In another kind of embodiment, if particularly as follows: there is not in running order terminal and set in step S204 Standby, in described N number of terminal unit currently can cruising time the longest terminal unit PUSH message.Specifically For, if there is no in running order terminal unit, server obtains the current of each terminal unit Can cruising time, contrast each terminal unit currently can cruising time, determine currently can cruising time the longest Terminal unit, only to can cruising time the longest terminal unit PUSH message.Do not repeat to other-end Equipment PUSH message, thus reduce the power consumption of these terminal units, promote its cruising time further.
It is of course also possible to set a certain can cruising time threshold value, server obtains currently may be used of each terminal unit After cruising time, by these terminal units currently can cruising time with can cruising time threshold value compare, Only to currently can cruising time more than can cruising time threshold value terminal unit PUSH message, or only to work as Before can cruising time more than can cruising time threshold value one of terminal unit PUSH message.
In one implementation, terminal unit self can obtain self according to the change of cell output voltage The dump energy of battery, sends dump energy to server, then server is to the most terminal of dump energy Equipment PUSH message.Further, server storage has the power consumption information corresponding to terminal unit, service Device obtains the dump energy of terminal unit, power consumption information based on terminal unit, calculates terminal unit Currently can cruising time, only to can cruising time the longest terminal unit PUSH message.
In another kind of implementation, terminal unit is preinstalled with corresponding fail-safe software, these fail-safe softwares Power consumption information and the dump energy information of terminal unit can be obtained, thus dope currently may be used of terminal unit In cruising time, currently can send terminal unit cruising time to server, server is only to continuing a journey The terminal unit PUSH message that time is the longest.
In another kind of embodiment, if particularly as follows: there is not in running order terminal and set in step S204 Standby, the most terminal unit of historical log number of times to user described in described N number of terminal unit pushes and disappears Breath.Server can record user's log-on message the most on the terminal device, including login time, login The information such as place and login ID, server calculates user's historical log number of times on the terminal device, comparison The historical log number of times of user on each terminal unit, only user in running order terminal unit The terminal unit PUSH message that historical log number of times is most.
In some cases, user may have the custom of often login on multiple terminal units.This Time, historical log frequency threshold value can be preset, server obtains user's historical log of each terminal unit Number of times, searches user's historical log number of times terminal unit more than historical log frequency threshold value, goes through to user History login times is more than the terminal unit PUSH message of historical log frequency threshold value.Then user often logs in Terminal unit all can receive message, and user can learn on any one terminal unit often logged in Message, can promote Consumer's Experience further.In some cases, user may be on multiple terminal units All there is the most online custom.Now, can preset history line duration threshold value, server obtains User's history line duration of in running order terminal unit, searches user's history line duration and is more than The terminal unit of history line duration threshold value, to user's history line duration more than history line duration threshold value Terminal unit PUSH message.The terminal unit that then user often logs in all can receive message, Yong Huke Any one terminal unit often logged in gets information, Consumer's Experience can be promoted further.
In another kind of embodiment, if particularly as follows: there is not in running order terminal and set in step S204 Standby, the longest terminal unit of history line duration to user described in described N number of terminal unit pushes and disappears Breath.Server can record user's log-on message the most on the terminal device, including login time, login The information such as place, login ID and downtime, the line duration of user is login time and downtime Between time period.Server calculates user's history line duration on the terminal device, each terminal of comparison The history line duration of user on equipment, only pushes to the terminal unit that the history line duration of user is the longest Message.
In some cases, user may have the most online custom on multiple terminal units.This Time, history line duration threshold value can be preset, user's history that server obtains each terminal unit is online Time, search user's history line duration terminal unit more than history line duration threshold value, go through to user History line duration is more than the terminal unit PUSH message of history line duration threshold value.Then user often logs in Terminal unit all can receive message, and user can get on the terminal unit that any one is the most online Information, can promote Consumer's Experience further.
As the improvement of above-described embodiment, in the present embodiment, duty is released state, idle state For screen lock state.When terminal unit is in released state, often explanation user is currently in use terminal unit, this Time user can get the message of propelling movement in time, when terminal unit is in screen lock state, often explanation user is not Use terminal unit.
Specifically, owing to all there being equipment manager in terminal unit, can be checked by equipment manager and Change device attribute, more new device driver, the configuration information such as equipment and unloading equipment, terminal unit Screen locking or unlock all can the equipment manager of activated terminals equipment.Terminal unit monitors the equipment manager of self, Obtain screen locking information, judge that terminal unit is currently at released state and still locks according to screen locking information Screen state, then state transmission judgement arrived is to server.Or, it is preinstalled with corresponding on the terminal device Fail-safe software, the current state of these fail-safe software real-time monitoring terminal equipment, server is based on these safety Software gets the current state of terminal unit.
In another embodiment, duty is bright screen state, and idle state is screen state of going out.
In a kind of implementation, the bright screen of terminal unit and the screen that goes out all can activate equipment manager, terminal unit Obtain the related data of terminal unit display screen from the equipment manager of mobile terminal, determine that terminal unit is place In bright screen state, screen state of still going out.
In another kind of implementation, section terminating equipment, can be automatically into low-light level shape when user does not uses State and the screen that do not goes out, now, the brightness of terminal unit display screen is less than brightness during normal use.Therefore, eventually End equipment obtains the brightness value of its display screen, it is determined that whether the brightness value of display screen is higher than a certain predetermined brightness value, If being higher than, it is determined that terminal unit is in running order, if being less than, it is determined that terminal unit is in idle shape State.
In another kind of embodiment, terminal unit, according to the cpu data of self, determines whether self is in work Make state.For most terminal units, when terminal unit is in idle state, its CPU usage phase To relatively low, in the given time, its CPU usage can be maintained at scope relatively smoothly, does not have bigger Saltus step.When terminal unit is in running order, its CPU usage is of a relatively high, along with user opens Or close a certain application program, its CPU usage can have bigger saltus step in the given time.
In a kind of implementation, terminal unit obtains the CPU usage of self, it is determined that the CPU of self uses Rate, whether more than predetermined utilization rate, if greater than predetermined utilization rate, determines that terminal unit is in running order, If the most predetermined utilization rate, determine that terminal unit is in idle state.
In another kind of implementation, terminal unit obtains the CPU usage of self, it is determined that the CPU of self makes By rate saltus step scope in the given time whether more than preset range, if greater than preset range, determine end End equipment is in running order, if no more than preset range, determines that terminal unit is in idle state.
Fig. 3 is the structural representation of the message pusher of an embodiment of the present invention.
A kind of message pusher, including: acquisition module 301, determination module 302 and pushing module 303. Acquisition module 301, for obtaining the current state of the N number of terminal unit being logged in same user, described is worked as Front state is duty or idle state.Determination module 302 is used for judging in described N number of terminal unit Whether there is in running order terminal unit.Pushing module 303, for sentencing at determination module 302 When determining to there is in running order terminal unit in described N number of terminal unit, in running order One of terminal unit PUSH message.
It is mounted on corresponding application program on N number of terminal unit, the most N number of terminal unit is logged in The same user of this application program.When message pusher needs to user's PUSH message, acquisition module 301 for obtaining the current state of this N number of terminal unit.
In one implementation, terminal unit self determines its current state.Each terminal unit can be in real time Or timing acquisition characterizes the status data of self current state, determine the current shape of self according to status data State, then the current state of self is sent to acquisition module 301, acquisition module 301 i.e. gets each end The current state of end equipment.Or, acquisition module 301 obtains for sending current state to each terminal unit Taking request, each terminal unit responds this state and obtains request, obtains the status data of self, according to state Data determine the current state of self, then the current state of self is sent acquisition module 301, obtain mould Block 301 i.e. gets the current state of each terminal unit.
In another kind of implementation, the current state of terminal unit is determined by message pusher.Each end The meeting of end equipment is in real time or timing acquisition characterizes the status data of self current state, is sent extremely by status data Acquisition module 301, acquisition module 301 for determining the current shape of each terminal unit according to this status data State.Or, acquisition module 301 obtains request, each terminal for sending current state to each terminal unit Equipment responds this state and obtains request, obtains the status data of self, sends status data to obtaining mould Block 301, it is determined that module 302 for determining the current state of each terminal unit according to this status data.
Wherein, current state includes duty or idle state.Duty refers to that terminal unit is in The state that electric quantity consumption is of a relatively high, now, the CPU usage of terminal unit is higher or EMS memory occupation More, such as bright screen state or released state.Idle state refers to that terminal unit is in electric quantity consumption phase To relatively low state, now, the CPU usage of terminal unit is relatively low or EMS memory occupation is less, such as Go out screen state or screen lock state.
It addition, status data includes hardware data and/or software data.End can be determined according to hardware data The current state of end equipment.Such as, obtain the monochrome information of terminal unit display screen, according to display screen Monochrome information determines the current state of terminal unit.Also working as of terminal unit can be determined according to software data Whether front state, such as detection terminal unit have specific process to start, the operation conditions etc. of equipment manager.
The most also can pre-install corresponding fail-safe software, these fail-safe softwares can read terminal unit Hardware information or software information, so that it is determined that the current state of each terminal unit, then by each terminal unit Current state send to message pusher.
Determination module 302 is for judging that whether there is in running order terminal in N number of terminal unit sets Standby.Current state is duty and idle state, and the most each terminal unit is likely to be at duty, also It is likely to be at idle state.Message pusher, according to the current state of each terminal unit got, is sentenced Whether these terminal units fixed exist in running order terminal unit.
Pushing module 303 is in work for judging in N number of terminal unit to exist at determination module 302 During the terminal unit of state, to one of in running order terminal unit PUSH message.
If there is in running order terminal unit in N number of terminal unit, pushing module 303 is used for A PUSH message in the terminal unit that these are in running order, and do not repeat to being in idle shape The terminal unit PUSH message of state, the terminal unit being in idle state would not be waken up, thus reduce The power consumption of terminal unit, promotes its cruising time.
It should be noted that in the present embodiment, the value of N is more than or equal to 2.Such as, N value is 2, i.e. there are two terminal units.If there is in running order terminal unit, the most in running order The quantity of terminal unit be 1 or 2, when only a terminal unit is in running order, just to only The in running order terminal unit PUSH message having.If the number of in running order terminal unit Amount at least two, then can one of wherein PUSH message, or part PUSH message wherein, Or to all in running order terminal unit PUSH messages.
In one embodiment, pushing module 303 is for judging to described N number of end at determination module 302 When there is in running order terminal unit in end equipment, in running order terminal unit when Before can cruising time the longest terminal unit PUSH message.
Specifically, if there is in running order terminal unit, acquisition module 301 is used for obtaining In running order each terminal unit currently can cruising time, it is determined that module 302 is used for contrasting these Terminal unit currently can cruising time, determine currently can cruising time the longest terminal unit, push mould Block 303 for only in running order terminal unit currently can cruising time the longest terminal unit PUSH message, and do not repeat to other-end equipment PUSH message, thus reduce other-end equipment as far as possible Power consumption, promote other-end equipment cruising time.It is of course also possible to set a certain continuation of the journey Time threshold, acquisition module 301 is for obtaining currently can continuing a journey of in running order each terminal unit Time, it is determined that module 302 for by these terminal units currently can cruising time with can cruising time threshold Value compares, and pushing module 303 is for only currently can continue a journey time in running order terminal unit Between more than can cruising time threshold value terminal unit PUSH message, or only to currently can being more than cruising time Can cruising time threshold value one of terminal unit PUSH message.
In one implementation, terminal unit self can be obtained from according to the change of cell output voltage The dump energy of body battery, sends dump energy to acquisition module 301, it is determined that module 302 is for right The ratio dump energy of each terminal unit, pushing module 303 is for pushing away to the terminal unit that dump energy is most Send message.Further, in message pusher, storage has the power consumption information corresponding to terminal unit, Acquisition module 301 is for obtaining the dump energy of terminal unit, it is determined that module 302 is for setting according to terminal Standby power consumption information, calculate terminal unit currently can cruising time, pushing module 303 for only to Can cruising time the longest terminal unit PUSH message.
In another kind of implementation, terminal unit is preinstalled with corresponding fail-safe software, these fail-safe softwares Power consumption information and the dump energy information of terminal unit can be obtained, thus dope currently may be used of terminal unit In cruising time, currently can send terminal unit cruising time to message pusher, message pushes dress Put only to can cruising time the longest terminal unit PUSH message.
In another kind of embodiment, pushing module 303 is for judging to described N number of at determination module 302 When terminal unit exists in running order terminal unit, in running order terminal unit The terminal unit PUSH message that the historical log number of times of user is most.
Message pusher can record user's log-on message every time the most on the terminal device, including login time, The information such as place and login ID of login, message pusher calculates user's historical log on the terminal device Number of times, on each terminal unit of comparison, the historical log number of times of user, only sets in running order terminal For the terminal unit PUSH message that the historical log number of times of middle user is most.
Number due to login times often characterizes the use frequency of user, and user logs on the terminal device Often, user's this terminal unit commonly used is described to a certain extent.Therefore, to historical log number of times Most terminal unit PUSH messages, user can get the message of propelling movement in time by this terminal unit, Thus promote Consumer's Experience.
In some cases, user may have the custom of often login on multiple terminal units.This Time, historical log frequency threshold value can be preset, acquisition module 301 is in running order for obtaining User's historical log number of times of terminal unit, it is determined that it is big that module 302 is used for searching user's historical log number of times In the terminal unit of historical log frequency threshold value, pushing module 303 is for big to user's historical log number of times Terminal unit PUSH message in historical log frequency threshold value.The terminal unit that then user often logs in Receiving message, user can get information on any one terminal unit often logged in, and can enter one Step promotes Consumer's Experience.
In another kind of embodiment, pushing module 303 is for judging to N number of terminal at determination module 302 When equipment exists in running order terminal unit, described in running order terminal unit The terminal unit PUSH message that the history line duration of user is the longest.
Message pusher can record user's log-on message every time the most on the terminal device, including login time, Logging in the information such as place, login ID and downtime, the line duration of user is login time and rolls off the production line Time period between time.The online hours that message pusher counting user is each, calculate user at end History line duration on end equipment, the history line duration of user on each terminal unit of comparison, only to The terminal unit PUSH message that the history line duration at family is the longest.
For some application program, after user logs in the most on the terminal device, would not often roll off the production line, And it is held in line states at running background.The present embodiment sets to the terminal that user's history line duration is the longest Standby PUSH message, user can be got the message of propelling movement in time, thus promote user by this terminal unit Experience.
In some cases, user may have the most online custom on multiple terminal units.This Time, history line duration threshold value can be preset, acquisition module 301 is in running order for obtaining User's history line duration of terminal unit, it is determined that it is big that module 302 is used for searching user's history line duration In the terminal unit of history line duration threshold value, pushing module 303 is for big to user's history line duration Terminal unit PUSH message in history line duration threshold value.The terminal unit that then user often logs in Receiving message, user can get information on the terminal unit that any one is the most online, can enter one Step promotes Consumer's Experience.
As the improvement of above-described embodiment, in the present embodiment, pushing module 303 is additionally operable at determination module 302 judge to when there is not in running order terminal unit in N number of terminal unit, to N number of terminal One of equipment PUSH message.
If N number of terminal unit does not exist in running order terminal unit, illustrate that all of terminal sets Standby all in idle state, now, pushing module 303 for only in these terminal units or Person's part PUSH message, and not to other-end equipment PUSH message.Ensure that at least a terminal sets For message can be received, do not have the omission of information, meanwhile, do not repeat to be in idle state to other Terminal unit PUSH message, other terminal units being in idle state would not be waken up, thus reduce The power consumption of these terminal units, promotes its cruising time.
In one embodiment, pushing module 303 is additionally operable to judge to described N number of at determination module 302 When terminal unit does not exist in running order terminal unit, to one of described N number of terminal unit PUSH message.
In a kind of implementation, application program provides custom option, selects to set in all terminals for user For when being in idle state, to what terminal unit PUSH message.Message pusher is based on application program The type of terminal unit can be obtained, determine that terminal unit is mobile phone or panel computer etc..Such as, user Only can select to mobile phone PUSH message according to the use habit of self.Then message pusher is searched all Mobile phone in terminal unit, only to mobile phone PUSH message.
Further, acquisition module, for obtaining the type of terminal unit based on application program, also can obtain Take brand and the model of terminal unit.The terminal unit that the recordable each user of message pusher logs in Type, brand and model.Terminal logged for user, when providing custom option, is set by application program Standby type, brand and model present to user with tabular form, select for user.Such as, Yong Huke Select only to 360 mobile phone PUSH messages, then whether have during message pusher can search all terminal units 360 mobile phones, if it has, then only to this 360 mobile phone PUSH message.
In another kind of implementation, message pusher can be arbitrarily designated a terminal unit, in institute When having terminal unit to be in idle state, only to the terminal unit PUSH message specified.Such as, message Pusher can obtain the network formats of each terminal unit, only pushes to the terminal unit that network formats is higher Message, it is ensured that the speed that message pushes.
In another kind of embodiment, pushing module 303 is for judging to described N number of at determination module 302 When terminal unit does not exist in running order terminal unit, current in described N number of terminal unit Can cruising time the longest terminal unit PUSH message.
Specifically, if there is no in running order terminal unit, acquisition module 301 is used for obtaining Take each terminal unit currently can cruising time, it is determined that module 302 is for contrasting the current of each terminal unit Can cruising time, determine currently can cruising time the longest terminal unit, pushing module 303 for only to Can cruising time the longest terminal unit PUSH message.Do not repeat to other-end equipment PUSH message, from And reduce the power consumption of these terminal units, promote its cruising time further.
It is of course also possible to set a certain can cruising time threshold value, acquisition module 301 is used for obtaining each terminal and sets Standby currently can be after cruising time, it is determined that module 302 for by these terminal units when currently can continue a journey Between with can cruising time threshold value compare, pushing module 303 for only to currently can cruising time more than can Cruising time threshold value terminal unit PUSH message, or only to currently can cruising time more than can continue a journey time Between one of the terminal unit PUSH message of threshold value.
In one implementation, terminal unit self can obtain self according to the change of cell output voltage The dump energy of battery, sends dump energy to message pusher, then message pusher is to residue electricity Measure most terminal unit PUSH messages.Further, the storage of message pusher has terminal unit institute right The power consumption information answered, acquisition module 301 is for obtaining the dump energy of terminal unit, it is determined that module 302 Power consumption information based on terminal unit, calculate terminal unit currently can cruising time, pushing module 303 For only to can cruising time the longest terminal unit PUSH message.
In another kind of implementation, terminal unit is preinstalled with corresponding fail-safe software, these fail-safe softwares Power consumption information and the dump energy information of terminal unit can be obtained, thus dope currently may be used of terminal unit In cruising time, currently can send terminal unit cruising time to message pusher, message pushes dress Put only to can cruising time the longest terminal unit PUSH message.
In another kind of embodiment, pushing module 303 is for judging to N number of terminal at determination module 302 When equipment does not exist in running order terminal unit, to user described in described N number of terminal unit The most terminal unit PUSH message of historical log number of times.
Message pusher can record user's log-on message every time the most on the terminal device, including login time, The information such as place and login ID of login, message pusher calculates user's historical log on the terminal device Number of times, on each terminal unit of comparison, the historical log number of times of user, only sets in running order terminal For the terminal unit PUSH message that the historical log number of times of middle user is most.
In some cases, user may have the custom of often login on multiple terminal units.This Time, historical log frequency threshold value can be preset, acquisition module 302 is for obtaining the use of each terminal unit Family historical log number of times, it is determined that module 302 is used for searching user's historical log number of times more than historical log time The terminal unit of number threshold value, pushing module 303 is for secondary more than historical log to user's historical log number of times The terminal unit PUSH message of number threshold value.The terminal unit that then user often logs in all can receive message, User can learn message on any one terminal unit often logged in, and can promote user's body further Test.
In another kind of embodiment, described pushing module 303 is for judging to described N at determination module 302 When individual terminal unit does not exist in running order terminal unit, described in described N number of terminal unit The terminal unit PUSH message that the history line duration of user is the longest.
Message pusher can record user's log-on message every time the most on the terminal device, including login time, Logging in the information such as place, login ID and downtime, the line duration of user is login time and rolls off the production line Time period between time.Message pusher calculates user's history line duration on the terminal device, The history line duration of user on each terminal unit of comparison, only to the end that the history line duration of user is the longest End equipment PUSH message.
In some cases, user may have the most online custom on multiple terminal units.This Time, history line duration threshold value can be preset, acquisition module 301 is for obtaining the use of each terminal unit Family history line duration, it is determined that module 302 be used for searching user's history line duration online more than history time Between the terminal unit of threshold value, pushing module 303 is for when user's history line duration is online more than history Between the terminal unit PUSH message of threshold value.The terminal unit that then user often logs in all can receive message, User can get information on the terminal unit that any one is the most online, can promote user's body further Test.
As the improvement of above-described embodiment, in the present embodiment, duty is released state, idle state For screen lock state.When terminal unit is in released state, often explanation user is currently in use terminal unit, this Time user can get the message of propelling movement in time, when terminal unit is in screen lock state, often explanation user is not Use terminal unit.
Specifically, owing to all there being equipment manager in terminal unit, the screen locking of terminal unit or unblock are all The equipment manager of meeting activated terminals equipment.Terminal unit monitors the equipment manager of self, obtains and characterizes screen According to screen locking information, the screen locking information whether curtain locks, judges that terminal unit is currently at unblock shape State or screen lock state, then state transmission judgement arrived is to message pusher.Or, at terminal unit On be preinstalled with corresponding fail-safe software, the current state of these fail-safe software real-time monitoring terminal equipment, message Pusher gets the current state of terminal unit based on these fail-safe softwares.
In another embodiment, duty is bright screen state, and idle state is screen state of going out.
In a kind of implementation, the bright screen of terminal unit and the screen that goes out all can activate equipment manager, terminal unit Obtain the related data of terminal unit screen from the equipment manager of mobile terminal, determine that terminal unit is in Bright screen state, screen state of still going out.Or, terminal unit obtains terminal from the equipment manager of mobile terminal The related data of device screen also sends to message pusher, and message pusher is according to terminal unit screen Related data determine that terminal unit is in bright screen state, screen state of still going out.
In another kind of implementation, section terminating equipment, can be automatically into low-light level shape when user does not uses State and the screen that do not goes out, now, the brightness of terminal unit display screen is less than brightness during normal use.Therefore, eventually End equipment obtains the brightness value of its display screen, it is determined that whether the brightness value of display screen is higher than a certain predetermined brightness value, If being higher than, it is determined that terminal unit is in running order, if being less than, it is determined that terminal unit is in idle shape State.
In another kind of embodiment, terminal unit, according to the cpu data of self, determines whether self is in work Make state.For most terminal units, when terminal unit is in idle state, its CPU usage phase To relatively low, in the given time, its CPU usage can be maintained at scope relatively smoothly, does not have bigger Saltus step.When terminal unit is in running order, its CPU usage is of a relatively high, along with user opens Or close a certain application program, its CPU usage can have bigger saltus step in the given time.
In a kind of implementation, terminal unit obtains the CPU usage of self, it is determined that the CPU of self uses Rate, whether more than predetermined utilization rate, if greater than predetermined utilization rate, determines that terminal unit is in running order, If the most predetermined utilization rate, determine that terminal unit is in idle state.
In another kind of implementation, terminal unit obtains the CPU usage of self, it is determined that the CPU of self makes By rate saltus step scope in the given time whether more than preset range, if greater than preset range, determine end End equipment is in running order, if no more than preset range, determines that terminal unit is in idle state.
Fig. 4 is the structural representation of the message push server of an embodiment of the present invention.
A kind of message push server, including: state acquisition module 401, state determination module 402 and Message pushing module 403.State acquisition module 401 is logged in N number of terminal of same user for obtaining The current state of equipment, described current state is duty or idle state.State determination module 402 For judging whether described N number of terminal unit exists in running order terminal unit.Message pushes Module 403, is in work for judging in described N number of terminal unit to exist at state determination module 402 When making the terminal unit of state, to one of in running order terminal unit PUSH message.
It is mounted on corresponding application program on N number of terminal unit, the most N number of terminal unit is logged in The same user of this application program.When server needs to user's PUSH message, state acquisition module 401 For obtaining the current state of this N number of terminal unit.
In one implementation, terminal unit self determines its current state.Each terminal unit can be in real time Or timing acquisition characterizes the status data of self current state, determine the current shape of self according to status data State, then the current state of self is sent to state acquisition module 401, state acquisition module 401 i.e. obtains Get the current state of each terminal unit.Or, state acquisition module 401 is for sending out to each terminal unit Sending current state to obtain request, each terminal unit responds this state and obtains request, obtains the status number of self According to, determine the current state of self according to status data, then the current state of self is sent state acquisition Module 401, state acquisition module 401 i.e. gets the current state of each terminal unit.
In another kind of implementation, the current state of terminal unit is determined by server.Each terminal unit Meeting is in real time or timing acquisition characterizes the status data of self current state, status data transmission is obtained to state Delivery block 401, state acquisition module 401 is for determining the current of each terminal unit according to this status data State.Or, state acquisition module 401 obtains request for sending current state to each terminal unit, Each terminal unit responds this state and obtains request, obtains the status data of self, is sent extremely by status data State acquisition module 401, state determination module 402 is for determining each terminal unit according to this status data Current state.
Wherein, current state includes duty or idle state.Duty refers to that terminal unit is in The state that electric quantity consumption is of a relatively high, now, the CPU usage of terminal unit is higher or EMS memory occupation More, such as bright screen state or released state.Idle state refers to that terminal unit is in electric quantity consumption phase To relatively low state, now, the CPU usage of terminal unit is relatively low or EMS memory occupation is less, such as Go out screen state or screen lock state.
It addition, status data includes hardware data and/or software data.End can be determined according to hardware data The current state of end equipment.Such as, obtain the monochrome information of terminal unit display screen, according to display screen Monochrome information determines the current state of terminal unit.Also working as of terminal unit can be determined according to software data Whether front state, such as detection terminal unit have specific process to start, the operation conditions etc. of equipment manager.
The most also can pre-install corresponding fail-safe software, these fail-safe softwares can read terminal unit Hardware information or software information, so that it is determined that the current state of each terminal unit, then by each terminal unit Current state send to server.
State determination module 402 is for judging whether to exist in N number of terminal unit in running order end End equipment.Current state is duty and idle state, and the most each terminal unit is likely to be at duty, It is likely to be in idle state.Server is according to the current state of each terminal unit got, it is determined that this Whether a little terminal units exist in running order terminal unit.
Message pushing module 403 is for existing in state determination module 402 judges N number of terminal unit During in running order terminal unit, to one of in running order terminal unit PUSH message.
If N number of terminal unit exists in running order terminal unit, message pushing module 403 A PUSH message in the terminal unit in running order to these, and do not repeat to being in the spare time The terminal unit PUSH message of configuration state, the terminal unit being in idle state would not be waken up, thus Decrease the power consumption of terminal unit, promote its cruising time.
It should be noted that in the present embodiment, the value of N is more than or equal to 2.Such as, N value is 2, i.e. there are two terminal units.If there is in running order terminal unit, the most in running order The quantity of terminal unit be 1 or 2, when only a terminal unit is in running order, just to only The in running order terminal unit PUSH message having.If the number of in running order terminal unit Amount at least two, then can one of wherein PUSH message, or part PUSH message wherein, Or to all in running order terminal unit PUSH messages.
In one embodiment, message pushing module 403 is for judging to institute at state determination module 402 State time N number of terminal unit exists in running order terminal unit, in running order terminal In equipment currently can cruising time the longest terminal unit PUSH message.
Specifically, if there is in running order terminal unit, state acquisition module 401 is used for Obtain in running order each terminal unit currently can cruising time, state determination module 402 is used for Contrast these terminal units currently can cruising time, determine currently can cruising time the longest terminal unit, Message pushing module 403 for only in running order terminal unit currently can cruising time the longest Terminal unit PUSH message, and do not repeat to other-end equipment PUSH message, thus reduce it as far as possible The power consumption of his terminal unit, promotes the cruising time of other-end equipment.It is of course also possible to set A certain can cruising time threshold value, state acquisition module 401 sets for obtaining in running order each terminal Standby currently can cruising time, state determination module 402 is for currently can continue a journey these terminal units Time with can cruising time threshold value compare, message pushing module 403 is for only in running order In terminal unit currently can cruising time more than can cruising time threshold value terminal unit PUSH message, or Only to currently can cruising time more than can cruising time threshold value one of terminal unit PUSH message.
In one implementation, terminal unit self can be obtained from according to the change of cell output voltage The dump energy of body battery, sends dump energy to state acquisition module 401, state determination module 402 For contrasting the dump energy of each terminal unit, message pushing module 403 is for most to dump energy Terminal unit PUSH message.Further, in server, storage has the power consumption corresponding to terminal unit to believe Breath, state acquisition module 401 is for obtaining the dump energy of terminal unit, and state determination module 402 is used According to the power consumption information of terminal unit, calculate terminal unit currently can cruising time, message pushes Module 403 for only to can cruising time the longest terminal unit PUSH message.
In another kind of implementation, terminal unit is preinstalled with corresponding fail-safe software, these fail-safe softwares Power consumption information and the dump energy information of terminal unit can be obtained, thus dope currently may be used of terminal unit In cruising time, currently can send terminal unit cruising time to server, server is only to continuing a journey The terminal unit PUSH message that time is the longest.
In another kind of embodiment, message pushing module 403 is for judging to arrive at state determination module 402 When described N number of terminal unit exists in running order terminal unit, in running order end The terminal unit PUSH message that in end equipment, the historical log number of times of user is most.
Server can record user's log-on message the most on the terminal device, including login time, login The information such as place and login ID, server calculates user's historical log number of times on the terminal device, comparison The historical log number of times of user on each terminal unit, only user in running order terminal unit The terminal unit PUSH message that historical log number of times is most.
Number due to login times often characterizes the use frequency of user, and user logs on the terminal device Often, user's this terminal unit commonly used is described to a certain extent.Therefore, to historical log number of times Most terminal unit PUSH messages, user can get the message of propelling movement in time by this terminal unit, Thus promote Consumer's Experience.
In some cases, user may have the custom of often login on multiple terminal units.This Time, historical log frequency threshold value can be preset, state acquisition module 401 is in work shape for acquisition User's historical log number of times of the terminal unit of state, state determination module 402 is used for searching user's history and steps on Record number of times is more than the terminal unit of historical log frequency threshold value, and message pushing module 403 is for going through to user History login times is more than the terminal unit PUSH message of historical log frequency threshold value.Then user often logs in Terminal unit all can receive message, and user can get on any one terminal unit often logged in Information, can promote Consumer's Experience further.
In another kind of embodiment, message pushing module 403 is for judging to arrive at state determination module 402 When N number of terminal unit exists in running order terminal unit, set in running order terminal The terminal unit PUSH message that the history line duration of user described in Bei is the longest.
Server can record user's log-on message the most on the terminal device, including login time, login The information such as place, login ID and downtime, the line duration of user is login time and downtime Between time period.Online hours that server statistics user is each, calculate user on the terminal device History line duration, on each terminal unit of comparison, the history line duration of user, only exists to the history of user The terminal unit PUSH message that the line time is the longest.
For some application program, after user logs in the most on the terminal device, would not often roll off the production line, And it is held in line states at running background.The present embodiment sets to the terminal that user's history line duration is the longest Standby PUSH message, user can be got the message of propelling movement in time, thus promote user by this terminal unit Experience.
In some cases, user may have the most online custom on multiple terminal units.This Time, history line duration threshold value can be preset, state acquisition module 401 is in work shape for acquisition User's history line duration of the terminal unit of state, state determination module 402 is used for searching user's history and exists The line time, message pushing module 403 was for going through to user more than the terminal unit of history line duration threshold value History line duration is more than the terminal unit PUSH message of history line duration threshold value.Then user often logs in Terminal unit all can receive message, and user can get on the terminal unit that any one is the most online Information, can promote Consumer's Experience further.
As the improvement of above-described embodiment, in the present embodiment, message pushing module 403 is additionally operable in state When determination module 402 judges to there is not in running order terminal unit in N number of terminal unit, to One of N number of terminal unit PUSH message.
If N number of terminal unit does not exist in running order terminal unit, all of terminal is described Equipment is all in idle state, and now, message pushing module 403 is for only in these terminal units One or part PUSH message, and not to other-end equipment PUSH message.Ensure that at least one Terminal unit can receive message, does not haves the omission of information, meanwhile, does not repeat to be in the spare time to other The terminal unit PUSH message of configuration state, other terminal units being in idle state would not be waken up, Thus decrease the power consumption of these terminal units, promote its cruising time.
In one embodiment, message pushing module 403 is additionally operable to judge to arrive at state determination module 402 When described N number of terminal unit does not exist in running order terminal unit, set to described N number of terminal One of standby PUSH message.
In a kind of implementation, application program provides custom option, selects to set in all terminals for user For when being in idle state, to what terminal unit PUSH message.Server can obtain based on application program The type of terminal unit, determines that terminal unit is mobile phone or panel computer etc..Such as, user can basis The use habit of self, only selects to mobile phone PUSH message.Then in all terminal units of whois lookup Mobile phone, only to mobile phone PUSH message.
Further, state acquisition module for obtaining the type of terminal unit, also based on application program Brand and the model of terminal unit can be obtained.The class of the terminal unit that the recordable each user of server logs in Type, brand and model.Application program is when providing custom option, by terminal unit logged for user Type, brand and model present to user with tabular form, for user select.Such as, user is optional Select only to 360 mobile phone PUSH messages, then whether have 360 mobile phones during server can search all terminal units, If it has, then only to this 360 mobile phone PUSH message.
In another kind of implementation, server can be arbitrarily designated a terminal unit, in all terminals When equipment is in idle state, only to the terminal unit PUSH message specified.Such as, server can obtain Take the network formats of each terminal unit, only to the terminal unit PUSH message that network formats is higher, it is ensured that disappear The speed that breath pushes.
In another kind of embodiment, message pushing module 403 is for judging to arrive at state determination module 402 When described N number of terminal unit does not exist in running order terminal unit, set to described N number of terminal In Bei currently can cruising time the longest terminal unit PUSH message.
Specifically, if there is no in running order terminal unit, state acquisition module 401 is used In obtain each terminal unit currently can cruising time, state determination module 402 is used for contrasting each terminal and sets Standby currently can cruising time, determine currently can cruising time the longest terminal unit, message pushing module 403 for only to can cruising time the longest terminal unit PUSH message.Do not repeat to other-end equipment PUSH message, thus reduce the power consumption of these terminal units, promote its cruising time further.
It is of course also possible to set a certain can cruising time threshold value, state acquisition module 401 is used for obtaining each Terminal unit currently can be after cruising time, state determination module 402 is for working as these terminal units Before can cruising time with can cruising time threshold value compare, message pushing module 403 is for only to currently may be used Cruising time more than can cruising time threshold value terminal unit PUSH message, or only in time currently can continuing a journey Between more than can cruising time threshold value one of terminal unit PUSH message.
In one implementation, terminal unit self can be obtained from according to the change of cell output voltage The dump energy of body battery, sends dump energy to server, then server is most to dump energy Terminal unit PUSH message.Further, server storage has the power consumption information corresponding to terminal unit, State acquisition module 401 is for obtaining the dump energy of terminal unit, and state determination module 402 is based on end The power consumption information of end equipment, calculate terminal unit currently can cruising time, message pushing module 403 For only to can cruising time the longest terminal unit PUSH message.
In another kind of implementation, terminal unit is preinstalled with corresponding fail-safe software, these fail-safe softwares Power consumption information and the dump energy information of terminal unit can be obtained, thus dope currently may be used of terminal unit In cruising time, currently can send terminal unit cruising time to server, server is only to continuing a journey The terminal unit PUSH message that time is the longest.
In another kind of embodiment, message pushing module 403 is for judging to arrive at state determination module 402 When N number of terminal unit does not exist in running order terminal unit, in described N number of terminal unit The terminal unit PUSH message that the historical log number of times of described user is most.
Server can record user's log-on message the most on the terminal device, including login time, login The information such as place and login ID, server calculates user's historical log number of times on the terminal device, comparison The historical log number of times of user on each terminal unit, only user in running order terminal unit The terminal unit PUSH message that historical log number of times is most.
In some cases, user may have the custom of often login on multiple terminal units.This Time, historical log frequency threshold value can be preset, state acquisition module 402 is used for obtaining each terminal unit User's historical log number of times, state determination module 402 is used for searching user's historical log number of times more than going through The terminal unit of history login times threshold value, message pushing module 403 is for big to user's historical log number of times Terminal unit PUSH message in historical log frequency threshold value.The terminal unit that then user often logs in Receiving message, user can learn message on any one terminal unit often logged in, and can enter one Step promotes Consumer's Experience.
In another kind of embodiment, described message pushing module 403 is for sentencing at state determination module 402 When determining to there is not in running order terminal unit in described N number of terminal unit, to described N number of end The terminal unit PUSH message that the history line duration of user described in end equipment is the longest.
Server can record user's log-on message the most on the terminal device, including login time, login The information such as place, login ID and downtime, the line duration of user is login time and downtime Between time period.Server calculates user's history line duration on the terminal device, each terminal of comparison The history line duration of user on equipment, only pushes to the terminal unit that the history line duration of user is the longest Message.
In some cases, user may have the most online custom on multiple terminal units.This Time, history line duration threshold value can be preset, state acquisition module 401 is used for obtaining each terminal unit User's history line duration, state determination module 402 is used for searching user's history line duration more than going through The terminal unit of history line duration threshold value, message pushing module 403 is for big to user's history line duration Terminal unit PUSH message in history line duration threshold value.The terminal unit that then user often logs in Receiving message, user can get information on the terminal unit that any one is the most online, can enter one Step promotes Consumer's Experience.
As the improvement of above-described embodiment, in the present embodiment, duty is released state, idle shape State is screen lock state.When terminal unit is in released state, often explanation user is currently in use terminal unit, Now user can get the message of propelling movement in time, when terminal unit is in screen lock state, often illustrates to use Family does not uses terminal unit.
Specifically, owing to all having equipment manager, the screen locking of terminal unit or unblock in terminal unit The equipment manager of capital activated terminals equipment.Terminal unit monitors the equipment manager of self, obtains table Levy the screen locking information whether screen locks, judge that terminal unit is currently at according to screen locking information Released state or screen lock state, then state transmission judgement arrived is to server.Or, set in terminal Corresponding fail-safe software it is preinstalled with on Bei, the current state of these fail-safe software real-time monitoring terminal equipment, Server gets the current state of terminal unit based on these fail-safe softwares.
In another embodiment, duty is bright screen state, and idle state is screen state of going out.
In a kind of implementation, the bright screen of terminal unit and the screen that goes out all can activate equipment manager, and terminal sets The standby related data obtaining terminal unit screen from the equipment manager of mobile terminal, determines that terminal unit is It is in bright screen state, screen state of still going out.Or, terminal unit obtains from the equipment manager of mobile terminal Obtaining the related data of terminal unit screen and send to server, server is according to the phase of terminal unit screen Close data and determine that terminal unit is in bright screen state, screen state of still going out.
In another kind of implementation, section terminating equipment, can be automatically into low-light level when user does not uses State and the screen that do not goes out, now, the brightness of terminal unit display screen is less than brightness during normal use.Therefore, Terminal unit obtains the brightness value of its display screen, it is determined that the brightness value of display screen is predetermined the brightest higher than a certain Angle value, if being higher than, it is determined that terminal unit is in running order, if being less than, it is determined that at terminal unit In idle state.
In another kind of embodiment, terminal unit, according to the cpu data of self, determines whether self is in Duty.For most terminal units, when terminal unit is in idle state, its CPU uses Rate is relatively low, and in the given time, its CPU usage can be maintained at scope relatively smoothly, will not There is bigger saltus step.When terminal unit is in running order, its CPU usage is of a relatively high, along with User opens or closes a certain application program, and its CPU usage can have bigger jumping in the given time Become.
In a kind of implementation, terminal unit obtains the CPU usage of self, it is determined that the CPU of self makes By rate whether more than predetermined utilization rate, if greater than predetermined utilization rate, determine that terminal unit is in work shape State, if the most predetermined utilization rate, determines that terminal unit is in idle state.
In another kind of implementation, terminal unit obtains the CPU usage of self, it is determined that the CPU of self Whether utilization rate saltus step scope in the given time is more than preset range, if greater than preset range, really Determine terminal unit in running order, if no more than preset range, determine that terminal unit is in idle shape State.
Those skilled in the art is it can be understood that arrive, for convenience and simplicity of description, and foregoing description System, the specific works process of device and module, be referred to the corresponding process in preceding method embodiment, Do not repeat them here.
In several embodiments provided herein, it should be understood that disclosed system, device and side Method, can realize by another way.Such as, device embodiment described above is only schematically , such as, the division of described module, be only a kind of logic function and divide, actual can have when realizing another Outer dividing mode, the most multiple modules or assembly can in conjunction with or be desirably integrated into another system, or Some features can be ignored, or does not performs.Another point, shown or discussed coupling each other or straight Connect coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or module or communication connection, Can be electrical, machinery or other form.
The described module illustrated as separating component can be or may not be physically separate, as The parts that module shows can be or may not be physical module, i.e. may be located at a place, or Can also be distributed on multiple mixed-media network modules mixed-media.Can select therein some or all of according to the actual needs Module realizes the purpose of the present embodiment scheme.
It addition, each functional module in each embodiment of the present invention can be integrated in a processing module, Can also be that modules is individually physically present, it is also possible to two or more modules are integrated in a module In.Above-mentioned integrated module both can realize to use the form of hardware, it would however also be possible to employ software function module Form realizes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment The program that can be by completes to instruct relevant hardware, and this program can be stored in a computer-readable and deposit In storage media, storage medium may include that read only memory (ROM, Read Only Memory), random Access memorizer (RAM, Random Access Memory), disk or CD etc..
One of ordinary skill in the art will appreciate that all or part of step realizing in above-described embodiment method is Can instruct relevant hardware by program to complete, described program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read only memory, disk or CD etc..
Above a kind of server provided by the present invention is described in detail, for the general skill of this area Art personnel, according to the thought of the embodiment of the present invention, the most all can change Part, in sum, this specification content should not be construed as limitation of the present invention.

Claims (10)

1. an information push method, it is characterised in that: comprise the following steps:
Obtaining the current state of the N number of terminal unit being logged in same user, described current state is work State or idle state, N >=2;
Judge whether described N number of terminal unit exists in running order terminal unit;
If there is in running order terminal unit, push away to one of in running order terminal unit Send message.
Method the most according to claim 1, it is characterised in that:
The described step to one of in running order terminal unit PUSH message, particularly as follows:
In in running order terminal unit currently can cruising time the longest terminal unit push and disappear Breath.
Method the most according to claim 1, it is characterised in that:
The described step to one of in running order terminal unit PUSH message, particularly as follows:
To the terminal unit that the historical log number of times of user described in running order terminal unit is most PUSH message.
Method the most according to claim 1, it is characterised in that:
The described step to one of in running order terminal unit PUSH message, particularly as follows:
To the terminal unit that the history line duration of user described in running order terminal unit is the longest PUSH message.
5. according to the method described in any one described in claim 1-4, it is characterised in that: also wrap Include following steps:
If there is not in running order terminal unit, pushing to one of described N number of terminal unit and disappearing Breath.
Method the most according to claim 5, it is characterised in that:
The described step to one of described N number of terminal unit PUSH message, particularly as follows:
In described N number of terminal unit currently can cruising time the longest terminal unit PUSH message.
Method the most according to claim 5, it is characterised in that:
The described step to one of described N number of terminal unit PUSH message, particularly as follows:
Push to the terminal unit that the historical log number of times of user described in described N number of terminal unit is most and disappear Breath.
8. according to the method described in claim 1-4 any one, it is characterised in that:
Described duty is released state, and described idle state is screen lock state.
9. a message pusher, it is characterised in that: including:
Acquisition module, for obtaining the current state of the N number of terminal unit being logged in same user, described Current state is duty or idle state;
Determination module, for judging whether there is in running order terminal in described N number of terminal unit Equipment;
Pushing module, is in work shape for judging in described N number of terminal unit to exist at determination module During the terminal unit of state, to one of in running order terminal unit PUSH message.
10. a message push server, it is characterised in that: including:
State acquisition module, for obtaining the current state of the N number of terminal unit being logged in same user, Described current state is duty or idle state;
State determination module, in running order for judging whether described N number of terminal unit exists Terminal unit;
Message pushing module, in state determination module judges described N number of terminal unit at existence When the terminal unit of duty, to one of in running order terminal unit PUSH message.
CN201610312558.2A 2016-05-11 2016-05-11 Message pushing method and device, and message pushing server Pending CN105978971A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610312558.2A CN105978971A (en) 2016-05-11 2016-05-11 Message pushing method and device, and message pushing server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610312558.2A CN105978971A (en) 2016-05-11 2016-05-11 Message pushing method and device, and message pushing server

Publications (1)

Publication Number Publication Date
CN105978971A true CN105978971A (en) 2016-09-28

Family

ID=56991713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610312558.2A Pending CN105978971A (en) 2016-05-11 2016-05-11 Message pushing method and device, and message pushing server

Country Status (1)

Country Link
CN (1) CN105978971A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025570A (en) * 2017-01-05 2017-08-08 李汉洙 A kind of method in movie theatre advertisement
CN107911487A (en) * 2017-12-18 2018-04-13 广东欧珀移动通信有限公司 Information-pushing method, device, server and readable storage medium storing program for executing
CN108011976A (en) * 2017-12-26 2018-05-08 福建星瑞格软件有限公司 A kind of recognition methods of access terminals model and computer equipment
CN108540378A (en) * 2018-04-24 2018-09-14 广州鲁邦通物联网科技有限公司 A kind of method of industry things-internet gateway ladder power saving
CN111672192A (en) * 2020-05-28 2020-09-18 佛山市百斯特电器科技有限公司 Cleaning reminding method and device for washing equipment
CN111859239A (en) * 2020-07-30 2020-10-30 青岛海尔科技有限公司 Method and device for message pushing and electronic equipment
CN114598744A (en) * 2022-03-14 2022-06-07 合众新能源汽车有限公司 Information pushing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130210493A1 (en) * 2011-11-04 2013-08-15 Eran Tal Device Actions Based on Device Power
CN103546363A (en) * 2012-07-12 2014-01-29 中国移动通信集团公司 Method, device and system for pushing instant communication messages
CN104394061A (en) * 2014-10-31 2015-03-04 小米科技有限责任公司 Communication message pushing method and device
CN105024905A (en) * 2014-04-17 2015-11-04 腾讯科技(深圳)有限公司 Message pushing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130210493A1 (en) * 2011-11-04 2013-08-15 Eran Tal Device Actions Based on Device Power
CN103546363A (en) * 2012-07-12 2014-01-29 中国移动通信集团公司 Method, device and system for pushing instant communication messages
CN105024905A (en) * 2014-04-17 2015-11-04 腾讯科技(深圳)有限公司 Message pushing method and device
CN104394061A (en) * 2014-10-31 2015-03-04 小米科技有限责任公司 Communication message pushing method and device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025570A (en) * 2017-01-05 2017-08-08 李汉洙 A kind of method in movie theatre advertisement
CN107911487A (en) * 2017-12-18 2018-04-13 广东欧珀移动通信有限公司 Information-pushing method, device, server and readable storage medium storing program for executing
CN108011976A (en) * 2017-12-26 2018-05-08 福建星瑞格软件有限公司 A kind of recognition methods of access terminals model and computer equipment
CN108011976B (en) * 2017-12-26 2022-07-26 福建星瑞格软件有限公司 Internet access terminal model identification method and computer equipment
CN108540378A (en) * 2018-04-24 2018-09-14 广州鲁邦通物联网科技有限公司 A kind of method of industry things-internet gateway ladder power saving
CN111672192A (en) * 2020-05-28 2020-09-18 佛山市百斯特电器科技有限公司 Cleaning reminding method and device for washing equipment
CN111859239A (en) * 2020-07-30 2020-10-30 青岛海尔科技有限公司 Method and device for message pushing and electronic equipment
CN114598744A (en) * 2022-03-14 2022-06-07 合众新能源汽车有限公司 Information pushing method and device

Similar Documents

Publication Publication Date Title
CN105978971A (en) Message pushing method and device, and message pushing server
US20190122260A1 (en) Method and apparatus for generating targeted label, and storage medium
CN108566312A (en) Off-line checking method, device and computer readable storage medium
CN106945544B (en) Battery altering management method and system
CN110858843B (en) Service request processing method and device and computer readable storage medium
CN104298335A (en) Application program process cleaning method and device of mobile terminal and mobile terminal
CN104281510A (en) Method and system for obtaining power consumption degree of application program and energy-saving method and system
CN104572889A (en) Method, device and system for recommending search terms
CN109581122A (en) A kind of detection method that vehicle abnormality wakes up, apparatus and system
CN105897813A (en) Heartbeat message sending method, heartbeat message receiving method, heartbeat message sending device and heartbeat message receiving device
CN107484190B (en) Method for connecting network, mobile terminal and computer readable storage medium
CN110381130A (en) The long connection method of keep-alive, device, communication terminal and storage medium
CN105573461A (en) Intelligent power-saving method and device and terminal
CN106487612A (en) A kind of server node monitoring method, monitoring server and system
CN106403186A (en) Household air conditioner energy consumption comparison system based on social platform
CN106411920A (en) Data sharing method and device
CN112184242A (en) Red packet resource sending method, device, equipment and storage medium
CN104219250B (en) Web data acquisition methods and device and web data sending method and device
CN108271238A (en) The power-saving method and terminal device of a kind of terminal device
CN201985891U (en) System for preventing harassment of strangers in social network
CN106604316A (en) Wireless access equipment fault positioning method, device and system
CN113271360A (en) Recommendation method and device of application program, electronic device and medium
CN105430721A (en) Data interaction control method, data interaction control device and wearable equipment
CN106850284A (en) A kind of smart jack management method and its managing device, a kind of Cloud Server
CN108551685B (en) Antenna control method, antenna control device, storage medium and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20160928