CN104394061B - Communication information method for pushing and device - Google Patents
Communication information method for pushing and device Download PDFInfo
- Publication number
- CN104394061B CN104394061B CN201410601620.0A CN201410601620A CN104394061B CN 104394061 B CN104394061 B CN 104394061B CN 201410601620 A CN201410601620 A CN 201410601620A CN 104394061 B CN104394061 B CN 104394061B
- Authority
- CN
- China
- Prior art keywords
- terminal
- user
- communication information
- status information
- state parameter
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Landscapes
- Telephonic Communication Services (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The disclosure discloses a kind of communication information method for pushing and device, belongs to field of computer technology.The communication information method for pushing includes:When pushing communication information to user account, whether detection user account is stored at least two terminals;If being detected as user account to be stored at least two terminals, the status information uploaded before each terminal is obtained, status information includes at least one state parameter for being used to indicate user's using terminal situation;According to the status information of each terminal, determine apart from the shortest terminal of user current location;Communication information is pushed to the terminal determined.By obtaining the status information uploaded before each terminal, determine the terminal nearest from user, communication information is pushed to the terminal determined;Therefore it solves in the relevant technologies since the equipment of acquiescence is not near user, causes user cannot be learn communication information at the first time the technical issues of;Achieve the effect that ensure that user can obtain important messages in first time.
Description
Technical field
This disclosure relates to field of computer technology, more particularly to a kind of communication information method for pushing and device.
Background technology
Universal with smart machine, user may use multiple equipment simultaneously, for example, smart mobile phone, Intelligent bracelet,
Palm PC and desktop computer etc., when each equipment is logged in same user account, server can be selectively
An equipment sends the communication information of the user account thereto.
When selectively an equipment sends communication information to server thereto from multiple equipment, it is necessary first to select
One of equipment, the method that an equipment is selected usually from numerous equipment are the equipment for selecting an acquiescence, such as in the presence of all
When including smart mobile phone in more equipment, smart mobile phone is determined as Default device, then sends and communicates to the equipment of the acquiescence
Message.
Inventor has found that at least there are following defects for the relevant technologies during the disclosure is realized:Due to being set from numerous
Standby middle selection be an acquiescence equipment, if the equipment of the acquiescence is not near user, user if, cannot be first
Time learns communication information, therefore can influence the communication of user, and user is caused to miss some important informations.
Invention content
In order to solve in the relevant technologies when the equipment for sending communication information and acquiescence to the equipment of acquiescence is not on user
When neighbouring, the problem of easily influencing the communication of user, user is caused to miss some important informations, the disclosure provides a kind of communication and disappears
Cease method for pushing and device.The technical solution is as follows:
According to the embodiment of the present disclosure in a first aspect, provide a kind of communication information method for pushing, the method includes:
When pushing communication information to user account, detect whether the user account is stored at least two terminals;
If being detected as the user account to be stored at least two terminals, obtain prestore with each terminal
Corresponding status information is identified, the status information includes at least one state for being used to indicate user and using the terminal situation
Parameter;
According to the status information of each terminal, determine apart from the shortest terminal of user current location;
The communication information is pushed to the terminal determined.
Optionally, the method further includes:
After long connection is established with the terminal, the status information that the terminal sends and the terminal are received
Mark, for the mark of the terminal for terminal described in unique identification, the status information includes whether being used to indicate the terminal
By the first state parameter of contact action, it is used to indicate the communication whether terminal receive specified wearable device and send
Whether second state parameter of signal is used to indicate the terminal by least one of mobile third state parameter;
The mark of each terminal is subjected to corresponding storage with the corresponding status information.
Optionally, when the status information includes two or more state parameters, the status information is wrapped
The each state parameter contained has preset priority level.
Optionally, the status information of each terminal of the basis was determined apart from user current location shortest end
End, including:
For each terminal, according to the priority level of state parameter in the status information of the terminal, from high to low successively
Judge whether the terminal is located near user;
When determining that the terminal is located near user according to a state parameter, the terminal is filtered out, and by institute
The priority level for stating state parameter is determined as judging judgement priority that the terminal is located near the user;
In at least one terminal filtered out, the terminal for judging highest priority is determined as apart from user current location
Shortest terminal.
Optionally, the method further includes:
After the communication information is pushed to the terminal, detect and whether received at the appointed time section for described
The response message of communication information feedback;
It, will if detecting the response message for not receiving in specified time section and being fed back for the communication information
The communication information is pushed to preassigned acquiescence terminal.
According to the second aspect of the embodiment of the present disclosure, a kind of communication information pusher is provided, described device includes:
First detection module is configured as, when pushing communication information to user account, whether detecting the user account
It is stored at least two terminals;
Acquisition module, the testing result for being configured as the first detection module are stored at least for the user account
On two station terminals, the status information corresponding with the mark of each terminal to prestore is obtained, the status information is included at least
A kind of state parameter for being used to indicate user and using the terminal situation;
Determining module is configured as the status information of each terminal obtained according to the acquisition module, determines
Apart from the shortest terminal of user current location;
First pushing module is configured as pushing the communication information to the terminal that the determining module is determined.
Optionally, described device further includes:
Receiving module is configured as after long connection is established with the terminal, receives the state that the terminal is sent
The mark of information and the terminal, for terminal described in unique identification, the status information includes using the mark of the terminal
In indicate the terminal whether by the first state parameter of contact action, be used to indicate the terminal and whether receive and specified can wear
It wears the second state parameter of the signal of communication of formula equipment transmission, whether be used to indicate the terminal by mobile third state parameter
At least one of;
Memory module is configured as the mark of each terminal carrying out corresponding storage with the corresponding status information.
Optionally, when the status information includes two or more state parameters, the status information is wrapped
The each state parameter contained has preset priority level.
Optionally, the determining module includes:
Decision sub-module is configured as each terminal, according in the status information of the terminal state parameter it is excellent
First grade, judges whether the terminal is located near user successively from high to low;
Submodule is screened, when being configured as determining that the terminal is located near user according to a state parameter, sieve
The terminal is selected, and the priority level of the state parameter is determined as to judge that the terminal is located near the user
Judgement priority;
Determination sub-module is configured as at least one terminal filtered out in the screening submodule, and judgement is preferential
The highest terminal of grade is determined as apart from the shortest terminal of user current location.
Optionally, described device further includes:
Second detection module is configured as after the communication information is pushed to the terminal, and detection is at the appointed time
The response message fed back for the communication information whether is received in section;
Second pushing module, the testing result for being configured as second detection module are in specified time section
The response message fed back for the communication information is not received, and the communication information is pushed to preassigned acquiescence eventually
End.
According to the third aspect of the embodiment of the present disclosure, a kind of communication information pusher is provided, described device includes:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
When pushing communication information to user account, detect whether the user account is stored at least two terminals;
If being detected as the user account to be stored at least two terminals, obtain prestore with each terminal
Corresponding status information is identified, the status information includes at least one state for being used to indicate user and using the terminal situation
Parameter;
According to the status information of each terminal, determine apart from the shortest terminal of user current location;
The communication information is pushed to the terminal determined.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By obtaining the status information uploaded before each terminal, the terminal nearest from user is determined, to what is determined
Terminal pushes communication information;Therefore it solves in the relevant technologies since the equipment of acquiescence is not near user, causes user cannot
Learn communication information at the first time the technical issues of;The effect for ensureing that user can obtain important messages in first time is reached
Fruit.
It should be understood that above general description and following detailed description is only exemplary, this can not be limited
It is open.
Description of the drawings
Attached drawing herein is incorporated into specification and forms the part of this specification, shows the implementation for meeting the disclosure
Example, and in specification together for explaining the principle of the disclosure.
Fig. 1 is showing according to the implementation environment involved by a kind of communication information method for pushing shown in an exemplary embodiment
It is intended to;
Fig. 2 is the flow chart according to a kind of communication information method for pushing shown in an exemplary embodiment;
Fig. 3 A are the flow charts of a kind of communication information method for pushing shown according to another exemplary embodiment;
Fig. 3 B are the implementation environments involved by a kind of communication information method for pushing shown according to another exemplary embodiment
Schematic diagram;
Fig. 3 C are the implementation environments involved by a kind of communication information method for pushing shown according to a further exemplary embodiment
Schematic diagram;
Fig. 3 D are according to the implementation environment involved by a kind of communication information method for pushing shown in another exemplary embodiment
Schematic diagram;
Fig. 4 is the block diagram according to a kind of communication information pusher shown in an exemplary embodiment;
Fig. 5 is the block diagram of a kind of communication information pusher shown according to another exemplary embodiment;
Fig. 6 is the block diagram according to a kind of device of push communication information shown in an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to
During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is showing according to the implementation environment involved by a kind of communication information method for pushing shown in an exemplary embodiment
It is intended to, as shown in Figure 1, the implementation environment can include at least one terminal 120 and network side equipment 140.
Terminal 120 can be the electronic equipment that can obtain status information, which can be smart mobile phone, tablet
Computer, smart television, E-book reader, multimedia player, pocket computer on knee and desktop computer etc..
Network side equipment 140 be for collecting the status information that each terminal 120 is sent, and according to status information determine from
The network side equipments such as the server or router of the nearest terminal 120 of user, the network side equipment 140 said here can be one
Platform network side equipment, such as router or the network side equipment cluster being made of several network side equipments or a cloud
Calculate service centre.
When network side equipment 140 is a network side equipment, each terminal 120 is grown with the network side equipment 140 to be connected
It connects;When network side equipment 140 is the network side equipment cluster that at least two network side equipments form, a wherein at least network
Side apparatus establishes network side cluster with each terminal 120.
Fig. 2 be according to a kind of flow chart of communication information method for pushing shown in an exemplary embodiment, as shown in Fig. 2,
The communication information method for pushing is applied in the network side equipment 140 in implementation environment shown in Fig. 1, includes the following steps.
In step 201, when pushing communication information to user account, whether detection user account is stored at least two
In terminal.
In step 202, it is stored at least two terminals, obtains prestoring with each end if being detected as user account
The corresponding status information of mark at end, status information include at least one state ginseng for being used to indicate user's using terminal situation
Number.
In step 203, it according to the status information of each terminal, determines apart from the shortest terminal of user current location.
In step 204, communication information is pushed to the terminal determined.
In conclusion the communication information method for pushing provided in the embodiment of the present disclosure, by obtaining on before each terminal
The status information of biography determines the terminal nearest from user, and communication information is pushed to the terminal determined;Therefore correlation is solved
Since the equipment of acquiescence is not near user in technology, cause user that cannot be asked in the technology for learning communication information at the first time
Topic;Achieve the effect that ensure that user can obtain important messages in first time.
Fig. 3 A are the flow charts of a kind of communication information method for pushing shown according to another exemplary embodiment, such as Fig. 3 A institutes
Show, which is applied in the network side equipment 140 in implementation environment shown in Fig. 1, includes the following steps.
In step 301, after long connection is established with terminal, the status information of terminal transmission and the mark of terminal are received
Know, the mark of each terminal is subjected to corresponding storage with corresponding status information.
For network side equipment after long connection is established with terminal, network side equipment and terminal are the shape being continuously connected with
State, that is, during subsequent communications, terminal directly can send information to network side equipment, without every time to net
Network side apparatus sends first request connection before message, ensure that terminal uploads the real-time of status information to network side equipment.
In order to ensure network side equipment learn be which terminal status information, terminal sends to network side equipment
During status information, the mark of the terminal usually can be also carried.Generally, the mark of terminal can be used for unique identification terminal,
For example, the mark of terminal can be unique sequence number that terminal is assigned in manufacture, the processor of terminal can be read out
The mark, and the mark and status information are sent jointly into network side equipment.
The status information of terminal can include at least one state parameter for being used to indicate user's using terminal situation, use
The situation of terminal can be that the screen of terminal is operated, signal that terminal receives etc..For example status information can include
Be used to indicate terminal whether by the first state parameter of contact action, be used to indicate whether terminal receives specified wearable set
Whether second state parameter of the signal of communication that preparation is sent is used to indicate terminal by least one in mobile third state parameter
Kind.
For first state parameter, when terminal is by contact action, show that the terminal is being used by a user, at this time the end
End is located near user, and user can be readily seen that the communication information for being sent to the terminal.
For the second state parameter, since wearable device is typically what is worn by user, such as wearable
Equipment is Intelligent bracelet, smartwatch, intelligent tie clip, intelligent button or intelligent key chain etc., and wearable device is current
Usually require closely with terminal interaction information, such as under same LAN utilize Wi-Fi (Wireless-
Fidelity, Wireless Fidelity) radio-frequency techniques such as technology or bluetooth communicate, can be worn so if terminal can receive
The signal of communication of formula equipment transmission is worn, also usually may indicate that user near the terminal.
For third state parameter, the motion sensors such as gyroscope can be usually provided in terminal, these motion-sensings
Device can know whether terminal is moved, if terminal is moved, usually manual movement, therefore may indicate that the terminal and user
It is close.
It follows that being analyzed according to above-mentioned first state parameter, the second state parameter and third state parametric synthesis, lead to
Often can be more accurate determine terminal whether be located at user near.
And in practical applications, these three state parameters determine user whether near terminal and which terminal from
Grade when family is nearest is typically different, for example terminal is placed on Bao Nei and moved by user, but the terminal receives
Message not necessarily can at the first time be seen by user, although also for example, terminal can receive wearable device transmission
Signal, if but wearable device can not illustrate that the terminal is closer from user, therefore not carried by user
It can be according to actual conditions, to first state parameter, the second state parameter and third state parameter setting priority level.That is,
When status information includes two or more state parameters, each state parameter that status information is included has in advance
The priority level of setting.
Generally, the higher state parameter of priority level, value more can be shown that terminal is close from user.
When network side equipment is after status information and the storage that terminal sends over is got, terminal is pushed in selection
To push the process of communication information, following step 302 is may refer to step 307.
In step 302, when pushing communication information to user account, whether detection user account is stored at least two
In terminal.
The account of user account unique mark user in the business corresponding to instant message applications.
Here the communication information pushed to user account said can be that good friend's account of the user account is sent to this
The popularization message that the communication information or server of user account are pushed according to the requirement of manufacturer to user account.
When network side equipment needs to push communication information to some user account, whether to need to detect the user account
It is stored, and whether be stored at least two terminals.When network side equipment detects the user account only in a terminal
It is stored, then directly pushes the communication information to the terminal.
It should be added that whether network side equipment stores in judgement user account and is stored in which terminal
When, it can be learnt according to the user account into the logging request that network side equipment is sent.Generally, user account is wanted to step on
During record, it is necessary first to send logging request to corresponding network side equipment, carry in the logging request user account and
The mark of terminal where logging in, such network side equipment can then know whether user account logs in and log in which and set
It is standby upper, and equipment can preserve the user account after user account login, even if the user account is offline in some equipment,
The equipment is still stored with the user account.
Optionally, when network side equipment needs to push communication information to some user account, the user can also be detected
Whether whether account has logged on, and log at least two terminals.When network side equipment detects that the user account only exists
It is logged in one terminal, then directly pushes the communication information to the terminal.
In step 303, it is stored at least two terminals, obtains prestoring with each end if being detected as user account
The corresponding status information of mark at end.
Here the corresponding status information of mark of each terminal to prestore is to be received and stored in step 301, works as net
After network side apparatus learns that user account stores in which terminal, state corresponding with these terminals letter to prestore can be searched
Breath, and since the status information of terminal and the mark of terminal are corresponding storages, network side equipment is in the shape for searching terminal
It can be searched during state information according to the mark of terminal.
In step 304, for each terminal, according to the priority level of state parameter in the status information of terminal, from height
Whether it is located near user to the low terminal of judgement successively.
That is, network side equipment judge a terminal whether be located at user near when, can be according to the terminal
Whether the state parameter judgement terminal with the first priority is located near user in status information, if it is decided that result is the end
End is not located near user, then continues that there is the state parameter of the second priority to judge terminal in the status information according to the terminal
Whether it is located near user, if it is decided that result is not located near user for the terminal, then continues the status information according to terminal
In have third priority state parameter judgement terminal whether be located at user near, and so on.First priority therein
Higher than the second priority, the second priority is higher than third priority.
In step 305, when determining that terminal is located near user according to a state parameter, terminal is filtered out, and
The priority level of state parameter is determined as to judge judgement priority that terminal is located near user.
Network side equipment is passing through step 304, when determining that terminal is located near user using a state parameter, determines
The priority level of the state parameter, and the priority level is determined as to judge that the judgement that the terminal is located near user is preferential
Grade.
For example, when the priority level of first state parameter be the first priority, the priority level of the second state parameter
For the second priority, when the priority level of third state parameter is third priority, if determined using the second state parameter
The terminal is located near user, then filters out the terminal, and the second priority is determined as to judge that terminal is located at user
Neighbouring judgement priority.
Within step 306, at least one terminal filtered out, the terminal for judging highest priority is determined as distance
The shortest terminal of user current location.
Still using the priority level of first state parameter as the first priority, the priority level of the second state parameter is second
Priority, the priority level of third state parameter is third priority, and the first priority is preferential higher than the second priority, second
Grade is located near user when going out terminal A according to first state parameter decision, is joined according to the third state higher than for third priority
When number determines terminal B and is located near user, since the priority corresponding to first state parameter is higher than third state parameter institute
Corresponding priority, and high priority most can determine that terminal near user, therefore can be determined as terminal A apart from user to work as
The shortest terminal in front position.
In step 307, communication information is pushed to the terminal determined.
Generally, network side equipment is usually the terminal nearest from user according to the terminal that above-mentioned steps are determined, but
Error, especially wearable device are also likely to be present not with user or when terminal is in the packet of user, is determined
Terminal may not ensure that user can receive communication information at the first time, therefore network side equipment is to determining
After terminal push communication information, it is also necessary to which the feedback that monitor terminal is given specifically may refer to step 308 to step 309.
In step 308, after communication information is pushed to terminal, whether detection, which is at the appointed time received in section, is directed to
The response message of communication information feedback.
Here the specified time section said is typically to avoiding after communication information is sent to terminal, and user is not
Immediately see, and in order to ensure that user can see that the communication information needs to push again as early as possible when set one is rational
Period, therefore specified time section can be determined according to practical service condition, for example can be 1 minute, 2 minutes or 5
Minute etc., the present embodiment is not construed as limiting the specific value of specified time section.
Here the response message said can receive the terminal of the communication information after the communication information is received
The feedback of progress, for example can be the communication information that is fed back in the terminal for have been received by the communication information or can be use
Message that family is generated when having carried out screen operator in the terminal for have been received by the communication information etc..
Optionally, which can also be that other-end (terminal for not receiving the communication information) is receiving eventually
The user account with sending the communication information that termination is fed back at the time of receiving after the communication information is corresponding to be replied message.It lifts
For example, when the mobile phone terminal of user has received the communication information of user account B transmissions, then user thinks that mobile phone terminal is beaten
Word is inconvenient, and computer has just had logged on the account of oneself at this time, and user can be selected on computers to user's account at this time
Number B transmission replies message, and corresponding, network side equipment can receive this and reply message, at this time it is considered that having received needle
To the response message of communication information feedback.
The present embodiment is not especially limited response message.
In a step 309, if detecting the response message that does not receive at the appointed time section and fed back for communication information,
Communication information is then pushed to preassigned acquiescence terminal.
Acquiescence terminal refers to the frequency of use that can receive communication information that user reserves on the server higher end
End, for example, if the acquiescence terminal reserved on the server of user is smart mobile phone, server if, can be true by smart mobile phone
It is set to Default device.
When network side equipment does not receive the response message fed back for the communication information in specified time section,
Generally indicate that user does not view the communication information, at this time in order to ensure that user can check that the communication disappears as early as possible as far as possible
Communication information further can be pushed to preassigned acquiescence terminal by breath, network side setting.
In conclusion the communication information method for pushing that the embodiment of the present disclosure provides, by being uploaded before obtaining each terminal
Status information, determine the terminal nearest from user, communication information pushed to the terminal determined;Therefore related skill is solved
Since the equipment of acquiescence is not near user in art, cause user cannot be learn communication information at the first time the technical issues of;
Achieve the effect that ensure that user can obtain important messages in first time.
The communication information method for pushing that the embodiment of the present disclosure provides is combined true by multiple state parameters in status information
The fixed terminal nearest from user, and to the terminal carry out communication information push;Therefore solve can not judge terminal whether position
The technical issues of near user, has achieved the effect that accurately determine whether terminal is located near user.
The communication information method for pushing that the embodiment of the present disclosure provides, judges successively by using the priority level of state parameter
Whether terminal is located at user nearby and filters out the terminal, the priority level of the terminal to filtering out be compared determine from
The nearest terminal in family;Therefore the technical issues of whether terminal is located at user at one's side can not be judged by solving, and having reached can be more
Accurately determine whether terminal is located near user, to ensure that user can learn communication according to terminal at one's side at the first time
The effect of message.
The communication information method for pushing that the embodiment of the present disclosure provides, by whether being received in detection terminal at the appointed time section
The response message of feedback is made for communication information to terminal, decides whether that communication information is pushed to preset acquiescence sets
It is standby;Therefore it solves and communication information is accidentally being issued to some terminal, and cause user that can not learn the communication information at the first time
The problem of, the equipment for having achieved the effect that acquiescence can be utilized ensures that user can learn communication information as early as possible as possible.
In a kind of realization scene, which can be independent server or independent router, at this time
The network side equipment 140 can perform step 301 in Fig. 3 A to step 309.Optionally, step 301 can be the network side
A special cell (can delimit as long connection unit) in equipment 140 the performs namely long connection unit dedicated for from
The status information that each terminal uploads and preservation are obtained in each terminal;Step 302 to step 309 can be the network side equipment
Another special cell (can delimit as message processing unit) performs on 140, which can utilize long connection
The status information for each terminal that unit obtains performs step 302 to step 309 to complete the push of communication information, length therein
Connection unit can also be made of several subelements, and message processing unit can also be made of several subelements, this implementation
Example is not restricted this.
Optionally, when network side equipment 140 is router, router can store LAN corresponding with the router
The mark of the logged user account of interior each terminal and the terminal for logging in the user account, when the user account is in login
In terminal it is offline after, router still preserves the correspondence of the mark of the user account and terminal, and router can be with
Long connection is established between each terminal, obtains the status information that these terminals report and storage in real time.When needing to the use
During the account push communication information of family, router is then believed using the state of each terminal of these correspondences and storage of storage
Breath, determines to push the communication information apart from the shortest terminal of user current location, and to the terminal.
In another kind realizes scene, which can include at least two network side equipments, i.e. network side
Equipment 140 is the cluster of at least two network side equipments composition, refers to shown in Fig. 3 B, is according to another exemplary embodiment
The schematic diagram of the implementation environment involved by a kind of communication information method for pushing shown, in figure 3b, network side equipment include the
One network side equipment 140a and the second network side equipment 140b, wherein, first network side apparatus 140a can be performed in Fig. 3 A
Step 301, i.e. network side equipment 140a believes dedicated for obtaining the state that each terminal 120 uploads from each terminal 120
It ceases and preserves;Second network side equipment 140b can perform step 302 to step 309 namely second network side in Fig. 3 B and set
The status information of each terminal 120 that standby 140b can utilize first network side apparatus 140a to obtain performs step 302 to step
309, to complete the push of communication information.
Optionally, first network side apparatus 140a can be with the state for receiving each terminal upload in corresponding LAN
The router of information, the second network side equipment 140b can be service servers;First network side apparatus 140a can be one
It is exclusively used in obtaining the server of each terminal's status information, the second network side equipment 140b can be service server.
Optionally, when first network side, 140a is router, when the second network side equipment 140b is service server, network
Side apparatus 140 can also include other several first network side apparatus 140a, each first network side apparatus 140a positioned at not
In same LAN, the second network side equipment 140b can obtain each terminal from all first network side apparatus 140a and upload
Status information.
For example, it refers to shown in Fig. 3 C, is that a kind of communication information shown according to a further exemplary embodiment pushes away
The schematic diagram of implementation environment involved by delivery method, wherein, when the second network side equipment 140b is sent to a certain use receiving
During the communication information of family account, if detecting the user account in two or more terminals 120 (such as terminal 120a
With terminal 120b) on logged in, and these terminals 120 are respectively positioned on the corresponding locals of same first network side apparatus 140a
In net, the second network side equipment 140b then can obtain the terminal 120a preserved and end from first network side apparatus 140a at this time
The status information that 120b is held to upload, and send the communication information to the terminal nearest from user determined.
Again for example, it refers to shown in Fig. 3 D, is according to a kind of communication information shown in another exemplary embodiment
The schematic diagram of implementation environment involved by method for pushing, second network side equipment 140b can utilize first network side apparatus
The status information for the terminal 120a that 140a1 is obtained and the state using the first network side apparatus 140a2 terminal 120b obtained
Information performs step 302 to step 309, to complete the push of communication information.Wherein, when the second network side equipment 140b is connecing
When receiving the communication information for being sent to a certain user account, if detecting the user account in two or more terminals
Login was carried out on (such as terminal 120a and terminal 120b), and these terminals are located at different first network side apparatus respectively
In 140a1 and the corresponding LANs of first network side apparatus 140a2, at this time the second network side equipment 140b then can from this first
Network side equipment 140a1 obtains the status information that the terminal 120a preserved is uploaded, and is obtained from first network side apparatus 140a2
The status information that the terminal 120b of preservation is uploaded, and send the communication information to the terminal nearest from user determined.
For example, the user's account of oneself is logged on the instant communication software stayed at home on computer before same user goes out
Number, then user carries mobile phone and gos out to a supermarket, and utilizes Instant Messenger of the network of the supermarket on oneself mobile phone
The login of the user account is carried out on letter software, the computer of the user and mobile phone are located in different LANs at this time, family
Router and computer establish long connection, and the status information that computer reports can be collected, router and the mobile phone of supermarket are established
Long connection, and the status information that mobile phone reports can be collected, it is then being determined with the service server of the instant communication software at this time
The computer and mobile phone are logged in same user account, and determine that the two terminals are located in different routers respectively,
Then obtain the status information of the two terminals respectively from the router of family and the router of supermarket at this time, and analyze determine from
The nearest terminal of user (being usually mobile phone), then push communication information to the terminal.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.For disclosure device reality
The details not disclosed in example is applied, please refers to embodiments of the present disclosure.
Fig. 4 is according to a kind of block diagram of communication information pusher shown in an exemplary embodiment, as shown in figure 4, should
Communication information pusher is applied in the network side equipment 140 in implementation environment shown in Fig. 1, the communication information pusher packet
It includes but is not limited to:First detection module 401, acquisition module 402,403 and first pushing module 404 of determining module.
The first detection module 401 is configured as when pushing communication information to user account, and whether detection user account
It is stored at least two terminals.
The acquisition module 402, the testing result for being configured as first detection module 401 are stored at least for user account
On two station terminals, the status information corresponding with the mark of each terminal to prestore is obtained, status information is used for including at least one
Indicate the state parameter of user's using terminal situation.
The determining module 403 is configured as the status information of each terminal obtained according to acquisition module 402, determines
Apart from the shortest terminal of user current location.
First pushing module 404 is configured as pushing communication information to the terminal that determining module 403 is determined.
In conclusion the communication information pusher provided in the embodiment of the present disclosure, by obtaining on before each terminal
The status information of biography determines the terminal nearest from user, and communication information is pushed to the terminal determined;Therefore correlation is solved
Since the equipment of acquiescence is not near user in technology, cause user that cannot be asked in the technology for learning communication information at the first time
Topic;Achieve the effect that ensure that user can obtain important messages in first time.
Fig. 5 is the block diagram of a kind of communication information pusher shown according to another exemplary embodiment, as shown in figure 5,
The communication information pusher is applied in the network side equipment 140 in implementation environment shown in Fig. 1, the communication information pusher
Including but not limited to:First detection module 501, acquisition module 502,503 and first pushing module 504 of determining module.
The first detection module 501 is configured as when pushing communication information to user account, and whether detection user account
It is stored at least two terminals.
The acquisition module 502, the testing result for being configured as first detection module 501 are stored at least for user account
On two station terminals, the status information corresponding with the mark of each terminal to prestore is obtained, status information is used for including at least one
Indicate the state parameter of user's using terminal situation.
The determining module 503 is configured as the status information of each terminal obtained according to acquisition module 502, determines
Apart from the shortest terminal of user current location.
First pushing module 504 is configured as pushing communication information to the terminal that determining module 503 is determined.
If above-mentioned is the first possible realization method in embodiment illustrated in fig. 5, then in the embodiment shown in fig. 5
In second of possible realization method, which can include:Receiving module 505 and memory module 506.
The receiving module 505 is configured as after long connection is established with terminal, receive status information that terminal sends and
The mark of terminal, for unique identification terminal, status information includes whether being used to indicate terminal by contact action the mark of terminal
First state parameter, be used to indicate the second state whether terminal receives the signal of communication that specified wearable device is sent
Whether parameter is used to indicate terminal by least one of mobile third state parameter.
The memory module 506 is configured as the mark of each terminal carrying out corresponding storage with corresponding status information.
In the third possible realization method in the embodiment shown in fig. 5, when status information include two or two with
On state parameter when, each state parameter that status information is included has preset priority level.
In the 4th kind of possible realization method in the embodiment shown in fig. 5, which can include:Judgement
Submodule 503a, screening submodule 503b and determination sub-module 503c.
Decision sub-module 503a is configured as each terminal, according to state parameter in the status information of terminal
Priority level, whether judgement terminal is located near user successively from high to low.
Screening submodule 503b, when being configured as determining that terminal is located near user according to a state parameter,
Terminal is filtered out, and the priority level of state parameter is determined as to judge that the judgement that terminal is located near the user is preferential
Grade.
Determination sub-module 503c is configured as at least one terminal filtered out in screening submodule 503b, will sentence
The terminal for determining highest priority is determined as apart from the shortest terminal of user current location.
In the 5th kind of possible realization method in the embodiment shown in fig. 5, which can include:
Second detection module 507 and the second pushing module 508.
Second detection module 507 is configured as after communication information is pushed to terminal, and detection is at the appointed time in section
Whether the response message that for communication information feeds back is received.
Second pushing module 508 is configured as the testing result of the second detection module 507 as at the appointed time section
The response message fed back for communication information is not received, and communication information is pushed to preassigned acquiescence terminal.
In conclusion the communication information pusher provided in the embodiment of the present disclosure, by obtaining on before each terminal
The status information of biography determines the terminal nearest from user, and communication information is pushed to the terminal determined;Therefore correlation is solved
Since the equipment of acquiescence is not near user in technology, cause user that cannot be asked in the technology for learning communication information at the first time
Topic;Achieve the effect that ensure that user can obtain important messages in first time.
The communication information pusher that the embodiment of the present disclosure provides is combined true by multiple state parameters in status information
The fixed terminal nearest from user, and to the terminal carry out communication information push;Therefore solve can not judge terminal whether position
The technical issues of near user, has achieved the effect that accurately determine whether terminal is located near user.
The communication information pusher that the embodiment of the present disclosure provides, judges successively by using the priority level of state parameter
Whether terminal is located at user nearby and filters out the terminal, the priority level of the terminal to filtering out be compared determine from
The nearest terminal in family;Therefore solving can not judge whether terminal is located near user, to ensure that user can first time root
The effect of communication information is learnt according to terminal at one's side.The communication information pusher that the embodiment of the present disclosure provides, by detecting eventually
It holds and the response message that terminal makes feedback for communication information whether is received at the appointed time section, decide whether to disappear communication
Breath is pushed to preset Default device;Therefore solve communication information accidentally issued to some terminal, and cause user without
The problem of method learns the communication information at the first time, the equipment that acquiescence can be utilized by having reached ensure that user can obtain as early as possible as possible
Know the effect of communication information.
About the device in above-described embodiment, wherein modules perform the concrete mode of operation in related this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
One exemplary embodiment of the disclosure provides a kind of communication information pusher, can realize that the disclosure provides logical
Believe information push method, which includes:Processor, the storage for storing processor-executable instruction
Device;
Wherein, processor is configured as:
When pushing communication information to user account, whether detection user account is stored at least two terminals;
If being detected as user account to be stored at least two terminals, acquisition prestores corresponding with the mark of each terminal
Status information, status information include at least one state parameter for being used to indicate user's using terminal situation;
According to the status information of each terminal, the terminal nearest from user is determined;
Communication information is pushed to the terminal determined.
Fig. 6 is the block diagram according to a kind of device of push communication information shown in an exemplary embodiment.For example, device
600 may be provided as a server.With reference to Fig. 6, device 600 includes processing component 602, further comprises one or more
Processor and as the memory resource representated by memory 604, for store can by the instruction of the execution of processing component 602,
Such as application program.The application program stored in memory 604 can include it is one or more each correspond to one
The module of group instruction.In addition, processing component 602 is configured as execute instruction, to perform the above method.
Device 600 can also include the power management that a power supply module 606 is configured as executive device 600, and one has
Line or radio network interface 608 are configured as device 600 being connected to network and input and output (I/O) interface 610.Dress
Putting 600 can operate based on the operating system for being stored in memory 604, such as Windows ServerTM, Mac OS XTM,
UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice invention disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as illustratively, and the true scope and spirit of the disclosure are by following
Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.
Claims (7)
1. a kind of communication information method for pushing, which is characterized in that the method includes:
When pushing communication information to user account, detect whether the user account is stored at least two terminals;
If being detected as the user account to be stored at least two terminals, the mark with each terminal to prestore is obtained
Corresponding status information, the status information include at least one state parameter for being used to indicate user and using the terminal situation
And when the status information includes two or more state parameters, each state that the status information is included is joined
Number has preset priority level;
For each terminal, according to the priority level of state parameter in the status information of the terminal, judge successively from high to low
Whether the terminal is located near user;
When determining that the terminal is located near user according to a state parameter, the terminal is filtered out, and by the shape
The priority level of state parameter is determined as judging judgement priority that the terminal is located near the user;
In at least one terminal filtered out, the terminal for judging highest priority is determined as most short apart from user current location
Terminal;
The communication information is pushed to the terminal determined.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
After long connection is established with the terminal, the status information of the terminal transmission and the mark of the terminal are received
Know, the mark of the terminal for terminal described in unique identification, the status information include being used to indicate the terminal whether by
The first state parameter of contact action is used to indicate whether the terminal receives the communication letter that specified wearable device is sent
Number the second state parameter, whether be used to indicate the terminal by least one of mobile third state parameter;
The mark of each terminal is subjected to corresponding storage with the corresponding status information.
3. according to the method any in claim 1 to 2, which is characterized in that the method further includes:
After the communication information is pushed to the terminal, detect and whether received for the communication at the appointed time section
The response message of message feedback;
If the response message for not receiving in specified time section and being fed back for the communication information is detected, by described in
Communication information is pushed to preassigned acquiescence terminal.
4. a kind of communication information pusher, which is characterized in that described device includes:
First detection module is configured as, when pushing communication information to user account, detecting whether the user account stores
In at least two terminals;
Acquisition module, the testing result for being configured as the first detection module are stored at least two for the user account
In terminal, the status information corresponding with the mark of each terminal to prestore is obtained, the status information includes at least one
User is used to indicate using the state parameter of the terminal situation and when the status information includes two or more shapes
During state parameter, each state parameter that the status information is included has preset priority level;
Determining module is configured as each terminal, according to the priority level of state parameter in the status information of the terminal,
Judge whether the terminal is located near user successively from high to low;When determining that the terminal is located at according to a state parameter
When near user, the terminal is filtered out, and the priority level of the state parameter is determined as to judge the terminal position
Judgement priority near the user;It is at least one terminal filtered out, the terminal for judging highest priority is true
It is set to apart from the shortest terminal of user current location;
First pushing module is configured as pushing the communication information to the terminal that the determining module is determined.
5. device according to claim 4, which is characterized in that described device further includes:
Receiving module is configured as after long connection is established with the terminal, receives the status information that the terminal is sent
And the mark of the terminal, for terminal described in unique identification, the status information includes referring to the mark of the terminal
Show the terminal whether by the first state parameter of contact action, be used to indicate the terminal whether receive it is specified wearable
Whether second state parameter of the signal of communication that equipment is sent is used to indicate the terminal by mobile third state parameter
It is at least one;
Memory module is configured as the mark of each terminal carrying out corresponding storage with the corresponding status information.
6. according to the device any in claim 4 to 5, which is characterized in that described device further includes:
Second detection module is configured as after the communication information is pushed to the terminal, and detection is at the appointed time in section
Whether the response message that for the communication information feeds back is received;
Second pushing module, the testing result for being configured as second detection module are not connect in specified time section
The response message for communication information feedback is received, the communication information is pushed to preassigned acquiescence terminal.
7. a kind of communication information pusher, which is characterized in that described device includes:
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured as:
When pushing communication information to user account, detect whether the user account is logged at least two terminals;
If being detected as the user account to log at least two terminals, the mark with each terminal to prestore is obtained
Corresponding status information, the status information include at least one state parameter for being used to indicate user and using the terminal situation
And when the status information includes two or more state parameters, each state that the status information is included is joined
Number has preset priority level;
For each terminal, according to the priority level of state parameter in the status information of the terminal, judge successively from high to low
Whether the terminal is located near user;
When determining that the terminal is located near user according to a state parameter, the terminal is filtered out, and by the shape
The priority level of state parameter is determined as judging judgement priority that the terminal is located near the user;
In at least one terminal filtered out, the terminal for judging highest priority is determined as most short apart from user current location
Terminal;
The communication information is pushed to the terminal determined.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410601620.0A CN104394061B (en) | 2014-10-31 | 2014-10-31 | Communication information method for pushing and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410601620.0A CN104394061B (en) | 2014-10-31 | 2014-10-31 | Communication information method for pushing and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104394061A CN104394061A (en) | 2015-03-04 |
CN104394061B true CN104394061B (en) | 2018-06-19 |
Family
ID=52611897
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410601620.0A Active CN104394061B (en) | 2014-10-31 | 2014-10-31 | Communication information method for pushing and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104394061B (en) |
Families Citing this family (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106254401B (en) * | 2015-06-08 | 2022-02-25 | 腾讯科技(深圳)有限公司 | Social relationship establishment method in network communication, terminal device and intelligent device |
CN105099841B (en) * | 2015-08-31 | 2018-10-26 | 小米科技有限责任公司 | Sending method, device, terminal and the router of message |
CN105302300B (en) | 2015-10-10 | 2020-02-21 | 惠州Tcl移动通信有限公司 | Display method and system for display information of wearable device |
CN105554266B (en) * | 2015-12-14 | 2019-09-20 | 小米科技有限责任公司 | Prompting message processing method, device and equipment |
CN105978971A (en) * | 2016-05-11 | 2016-09-28 | 北京奇虎科技有限公司 | Message pushing method and device, and message pushing server |
CN105812250A (en) * | 2016-05-11 | 2016-07-27 | 北京奇虎科技有限公司 | Control method and device for pushing message to wearable device and mobile terminal |
CN106296135A (en) * | 2016-08-25 | 2017-01-04 | 广州华多网络科技有限公司 | Event-prompting method, device and terminal |
CN106604244B (en) * | 2016-12-08 | 2020-06-02 | 北京小米移动软件有限公司 | Method and device for prompting notification message |
CN106487928B (en) | 2016-12-09 | 2019-12-13 | 北京小米移动软件有限公司 | Message pushing method and device |
CN106878402A (en) * | 2017-01-22 | 2017-06-20 | 广州云移信息科技有限公司 | Many intelligence POS event-prompting methods in shops |
CN107171926B (en) * | 2017-03-23 | 2020-08-14 | 深圳市口袋网络科技有限公司 | Switching method and device of multi-platform message push service |
CN107659489A (en) * | 2017-09-18 | 2018-02-02 | 北京小米移动软件有限公司 | A kind of method and apparatus for sending information |
CN109450769B (en) * | 2018-09-17 | 2021-08-10 | 百度在线网络技术(北京)有限公司 | Intelligent interaction method, device, equipment and storage medium |
CN113162958A (en) * | 2020-01-23 | 2021-07-23 | 腾讯科技(深圳)有限公司 | Method, device and equipment for intelligently pushing message and storage medium |
CN111984901A (en) * | 2020-08-31 | 2020-11-24 | 上海博泰悦臻电子设备制造有限公司 | Message pushing method and related product thereof |
CN112269614A (en) * | 2020-10-26 | 2021-01-26 | 维沃移动通信有限公司 | Message processing method and device and electronic equipment |
CN113590949A (en) * | 2021-07-28 | 2021-11-02 | 青岛博芬智能科技股份有限公司 | Method and device for wine recommendation, wine cabinet and storage medium |
CN114125044A (en) * | 2021-10-22 | 2022-03-01 | 青岛海尔科技有限公司 | Message pushing method and device based on object characteristics and storage medium |
CN114598744A (en) * | 2022-03-14 | 2022-06-07 | 合众新能源汽车有限公司 | Information pushing method and device |
CN115412389B (en) * | 2022-08-29 | 2023-12-05 | 深圳市酷开网络科技股份有限公司 | Message recommendation method and device, electronic equipment and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003094492A1 (en) * | 2002-04-30 | 2003-11-13 | Ntt Data Corporation | Mobile terminal server |
CN101399782A (en) * | 2007-09-30 | 2009-04-01 | 联想(北京)有限公司 | Communication terminal, mail transferring system and method |
CN102404397A (en) * | 2011-11-15 | 2012-04-04 | 宇龙计算机通信科技(深圳)有限公司 | Message reminding method, device and system |
CN103249002A (en) * | 2013-06-04 | 2013-08-14 | 徐晓东 | Message pushing method based on position information of mobile equipment |
-
2014
- 2014-10-31 CN CN201410601620.0A patent/CN104394061B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2003094492A1 (en) * | 2002-04-30 | 2003-11-13 | Ntt Data Corporation | Mobile terminal server |
CN101399782A (en) * | 2007-09-30 | 2009-04-01 | 联想(北京)有限公司 | Communication terminal, mail transferring system and method |
CN102404397A (en) * | 2011-11-15 | 2012-04-04 | 宇龙计算机通信科技(深圳)有限公司 | Message reminding method, device and system |
CN103249002A (en) * | 2013-06-04 | 2013-08-14 | 徐晓东 | Message pushing method based on position information of mobile equipment |
Also Published As
Publication number | Publication date |
---|---|
CN104394061A (en) | 2015-03-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104394061B (en) | Communication information method for pushing and device | |
CN107026793B (en) | Method for routing, apparatus and system | |
CN104113458B (en) | The method and device that a kind of mobile terminal is interconnected with intelligent appliance equipment | |
CN109769261B (en) | Network fault processing method and device | |
CN106412917B (en) | A kind of network expansion method and device | |
CN107733705B (en) | User experience quality assessment model establishing method and device | |
CN104852937B (en) | Method for network access and device for mobile application | |
CN112419693B (en) | Device control method, device, display device and computer readable storage medium | |
CN102710549B (en) | To be established a communications link the method for relation, terminal and system by shooting | |
CN105873122A (en) | Wireless router WiFi signal strength display method and device, and wireless router | |
CN105510908A (en) | Positioning method, device and system based on wireless communication | |
CN107770786B (en) | Method, equipment and system for testing network performance | |
CN107453934A (en) | A kind of method of testing, apparatus and system | |
CN109873728A (en) | A kind of terminal test method, device and storage medium | |
CN102970771A (en) | Signal detection and acquisition method and system based on wireless sensor network | |
CN108337125A (en) | Intelligent hardware devices test method, cloud platform and background controller | |
US9722666B2 (en) | Power line transmission system and method | |
CN106658756A (en) | Method and device for recognizing connection between terminal device and hotspot | |
CN104023016A (en) | Method and equipment for building communication connection at communication terminals | |
US20180070195A1 (en) | Data acquisition equipment, method and system for sharing data between data acquisition equipment | |
CN103701836B (en) | Information processing method, terminal device and server | |
CN105786694A (en) | Automatic test system and method, and mobile terminals | |
US11290571B2 (en) | Many-to-many state identification system of equipment names that are broadcasted from Internet-of-Things | |
CN107995650B (en) | Method and device for acquiring neighbor cell identifier | |
CN109922484A (en) | A kind of test method and test device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |