CN107391273A - Message display method, information push method and device - Google Patents
Message display method, information push method and device Download PDFInfo
- Publication number
- CN107391273A CN107391273A CN201710502804.5A CN201710502804A CN107391273A CN 107391273 A CN107391273 A CN 107391273A CN 201710502804 A CN201710502804 A CN 201710502804A CN 107391273 A CN107391273 A CN 107391273A
- Authority
- CN
- China
- Prior art keywords
- message
- display mode
- push
- type
- type identification
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/546—Message passing systems or structures, e.g. queues
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention discloses a kind of message display method, information push method and device, belong to internet arena.This method includes receiving the PUSH message that message push server is sent, and PUSH message carries type identification, and type identification is used for the type of message for identifying PUSH message;Display mode corresponding with type identification is determined according to default corresponding relation, PUSH message is shown using display mode.The present invention is by when user needs to change the display mode of certain class PUSH message, only need to reset type identification and the corresponding relation of display mode in the predetermined application of control device, so that meeting the individual demand of user while the workload of message push server is not increased.
Description
Technical field
The present embodiments relate to Smart Home technical field, more particularly to a kind of message display method, message push side
Method and device.
Background technology
Typical intelligent domestic system includes:Control device, server and multiple intelligent home devices.With control device
Operating system takes for exemplified by Apple Macintosh operating system (Iphone Operating System, IOS), then the control device is corresponding
Business device includes:Application server and apple push server (Apple Push Notification service, APNs).
In the intelligent domestic system, the message display method that correlation technique provides includes:When intelligent home device detects
When being changed to equipment state or ambient conditions, notice is reported to application server corresponding with the intelligent home device
Message;Corresponding, application server receives the notification message that intelligent home device reports, and sends and be somebody's turn to do to message push server
Notification message so that message push server pushes to the notification message control device bound with the intelligent home device.
When control device receives notification message, IOS obtains the message content of the notification message, shows that the notice disappears
Breath.
In the above-mentioned methods, all kinds of notification messages are often shown in the form of ejecting prompting frame and playing alert tones,
Deficiency is considered to the individual demand of different user.
The content of the invention
Insufficient problem is considered to the individual demand of different user in order to solve the display mode of current all kinds of notification messages,
The embodiments of the invention provide a kind of message display method, information push method and device.The technical scheme is as follows:
First aspect, there is provided a kind of message display method, this method include:
The PUSH message that message push server is sent is received, PUSH message carries type identification, and type identification is used for
Identify the type of message of PUSH message;
Display mode corresponding with type identification is determined according to default corresponding relation, default corresponding relation includes default disappear
Cease the type identification of type and the corresponding relation of display mode;
PUSH message is shown using display mode.
Optionally, display mode corresponding with type identification is determined according to default corresponding relation, including:
If type identification is in first kind logo collection, it is determined that display mode corresponding with type identification is first aobvious
Show mode, the first display mode includes display pop-up box and/or playing alert tones;
If type identification is in Second Type logo collection, it is determined that display mode corresponding with type identification is second aobvious
Show mode, the second display mode includes that pop-up box need not be shown and do not need playing alert tones;
Wherein, first kind logo collection and Second Type logo collection, which are not present, occurs simultaneously.
Optionally, when display mode corresponding with type identification is the second display mode, shown and pushed away using display mode
Before sending message, in addition to:
The running status of predetermined application is determined, running status is included in front stage operation state and background operation state
It is a kind of;
When predetermined application is in front stage operation state, display mode is revised as first from the second display mode and shown
Show mode;
When predetermined application is in background operation state, it is that the second display mode is constant to keep display mode.
Optionally, message push server includes APNS servers, receives the PUSH message that message push server is sent,
Including:
When target account number in predetermined application is in logging status, receives the push that APNS servers are sent and disappear
Breath, PUSH message also carry silent parameter, and silent parameter is used to indicate to allow to make a reservation for apply journey when receiving PUSH message
Sequence directly reads the message content in PUSH message;
By predetermined application according to silent parameter, the message content of PUSH message is read.
Optionally, the type of message of PUSH message include equipment alarm message, operation message, operation family's attribute message and
At least one of equipment control message.
Optionally, this method is applied to control device, and method also includes:
When never logging status switches to logging status to the target account number in predetermined application, opening disappears offline
Push channel is ceased, deferred information push channel includes the message push channel between control device and application server, using clothes
Business device is used to cache deferred information, and deferred information is included in target account number and is in not the period interior caching of logging status extremely
A few notification message, notification message are used for the equipment state and/or ambient condition of indicating intelligent home equipment;
Deferred information is obtained from application server by deferred information push channel;
Deferred information is shown in the message center of predetermined application.
Optionally, this method, in addition to:
When the target account number in predetermined application is from when logging status switches to not logging status, disconnection disappears offline
Cease push channel.
Second aspect, there is provided a kind of information push method, this method include:
The notification message that intelligent home device is sent is received, notification message is used for the equipment state of indicating intelligent home equipment
And/or ambient condition;
PUSH message is obtained according to the type identification of notification message and notification message, type identification is used to identify PUSH message
Type of message, PUSH message carries type identification;
PUSH message is sent to message push server, message push server is used to disappear to control device forwarding push
Breath.
Optionally, before obtaining PUSH message according to the type identification of notification message and notification message, in addition to:
When it is determined that the target account number in the predetermined application of control device is in logging status, perform according to notice
The step of type identification of message and notification message obtains PUSH message;
When it is determined that the target account number in the predetermined application of control device is in not logging status, caching notice disappears
Breath.
Optionally, this method, in addition to:
The deferred information sent by deferred information push channel receiving control apparatus obtains request, and deferred information push is logical
Road includes the message push channel between control device and application server;
Obtained and asked according to deferred information, deferred information is sent to control device by deferred information push channel, offline
Message includes at least one notification message cached in application server.
The third aspect, there is provided a kind of message display device, the device include:
Receiving module, for receiving the PUSH message of message push server transmission, PUSH message carries type identification,
Type identification is used for the type of message for identifying PUSH message;
Determining module, for determining display mode corresponding with type identification according to default corresponding relation, preset corresponding close
System includes the type identification of default type of message and the corresponding relation of display mode;
First display module, for showing PUSH message using display mode.
Optionally, the determining module, including:
First determining unit and the second determining unit;
First determining unit, if for type identification in first kind logo collection, it is determined that corresponding with type identification
Display mode be the first display mode, the first display mode includes display pop-up box and/or playing alert tones;
Second determining unit, if for type identification in Second Type logo collection, it is determined that corresponding with type identification
Display mode be the second display mode, the second display mode includes that pop-up box need not be shown and does not need playing alert tones;
Wherein, first kind logo collection and Second Type logo collection, which are not present, occurs simultaneously.
Optionally, when display mode corresponding with type identification is the second display mode, the second determining unit, it is additionally operable to
The running status of predetermined application is determined, running status includes one kind in front stage operation state and background operation state;When
When predetermined application is in front stage operation state, display mode is revised as the first display mode from the second display mode;When
When predetermined application is in background operation state, it is that the second display mode is constant to keep display mode.
Optionally, the message push server includes APNS servers, receiving module, including:
Receiving unit and reading unit;
Receiving unit, when being in logging status for the target account number in predetermined application, receive APNS services
The PUSH message that device is sent, PUSH message also carry silent parameter, and silent parameter is used to indicate when receiving PUSH message
Predetermined application is allowed to directly read the message content in PUSH message;
Reading unit, for according to silent parameter, reading the message content of PUSH message by predetermined application.
Optionally, the type of message of the PUSH message includes equipment alarm message, operation message, operation family attribute message
At least one of with equipment control message.
Optionally, the device is applied to control device, and device also includes:
Module is opened, for never logging status to have switched to logging status when the target account number in predetermined application
When, deferred information push channel is opened, the message that deferred information push channel is included between control device and application server pushes away
Send passage, application server is used to caching deferred information, deferred information be included in target account number be in not logging status when
Between in section caching at least one notification message, notification message is used for the equipment state and/or environment of indicating intelligent home equipment
State;
Acquisition module, for obtaining deferred information from application server by deferred information push channel;
Second display module, deferred information is shown for the message center in predetermined application.
Optionally, the device, the target account number for being additionally operable to work as in predetermined application switch to not from logging status
During logging status, deferred information push channel is disconnected.
Fourth aspect, there is provided a kind of message pusher, the device include:
First receiving module, for receiving the notification message of intelligent home device transmission, notification message is used for indicating intelligent
The equipment state and/or ambient condition of home equipment;
Module is obtained, for obtaining PUSH message according to the type identification of notification message and notification message, type identification is used
In the type of message of mark PUSH message, PUSH message carries type identification;
First sending module, for PUSH message to be sent into message push server, message push server be used for
Control device forwards PUSH message.
Optionally, the device, in addition to:
Module is obtained, is additionally operable to when the target account number in the predetermined application for determining control device is in logging status
When, perform the step of PUSH message is obtained according to the type identification of notification message and notification message;
Cache module, for being in not logging status when the target account number in the predetermined application for determining control device
When, cache notification message.
Optionally, the device, in addition to:
Second receiving module, the deferred information for being sent by deferred information push channel receiving control apparatus obtains please
Ask, deferred information push channel includes the message push channel between control device and application server;
Second sending module, asked for being obtained according to deferred information, by deferred information push channel to control device
Deferred information is sent, deferred information includes at least one notification message cached in application server.
5th aspect, there is provided a kind of terminal, the terminal include processor and memory, at least one are stored with memory
Bar instructs, and instructs and is loaded by processor and performed to realize such as first aspect and any one possible realization side of first aspect
The message display method that formula is provided.
6th aspect, there is provided a kind of server, the server include processor and memory, be stored with memory to
A few instruction, instruct and load by processor and performed to realize such as second aspect and second aspect any one possible reality
The information push method that existing mode is provided.
7th aspect, there is provided a kind of computer-readable recording medium, at least one instruction is stored with the storage medium,
Instruction load by processor and performed to be carried with realization such as first aspect and first aspect any one possible implementation
The message display method of confession.
Eighth aspect, there is provided a kind of computer-readable recording medium, at least one instruction is stored with the storage medium,
Instruction load by processor and performed to be carried with realization such as second aspect and second aspect any one possible implementation
The information push method of confession.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
The embodiment of the present invention obtains the type identification of type of message, root by control device in the PUSH message received
According to the determination of default corresponding relation and the corresponding display mode of the type mark, the PUSH message is shown using the display mode;Make
When proper user needs to change the display mode of certain class PUSH message, it is only necessary in the predetermined application of control device again
Type identification and the corresponding relation of display mode are set, so that while the workload of APNS servers is not increased
Meet the individual demand of user.
Brief description of the drawings
Fig. 1 is the schematic diagram for the implementation environment that one embodiment of the invention provides;
Fig. 2 is the flow chart of the information push method that one embodiment of the invention provides and message display method;
Fig. 3 is the principle schematic for the information push method that another embodiment of the present invention provides;
Fig. 4 is the flow chart for the message display method that another embodiment of the present invention provides;
Fig. 5 is the flow chart of the information push method that another embodiment of the present invention provides and message display method;
Fig. 6 is the interface schematic diagram involved by the message display method that one embodiment of the invention provides;
Fig. 7 is the interface schematic diagram involved by the message display method that one embodiment of the invention provides;
Fig. 8 is the structure chart for the message display device that one embodiment of the invention provides;
Fig. 9 is the structure chart for the message pusher that one embodiment of the invention provides;
Figure 10 is the block diagram for the server that one embodiment of the invention provides;
Figure 11 is the block diagram for the control device that one embodiment of the invention provides.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
At present, when control device receives the notification message of message push server transmission, all kinds of notification messages are often
Shown on the control device in the form of ejecting prompting frame and playing alert tones, the individual demand of different user is considered
Deficiency.
And in correlation technique, if user needs to change the display mode of certain class notification message on the control device, the use
Family needs to reset display mode corresponding to the type of message on used control device, and should after resetting
Control device also needs to send modification request to message push server so that and message push server is asked according to the modification,
Corresponding modifications and adaptations are carried out for the display mode that the type of message is reset.
For example for certain class type of message, control device is by display mode corresponding to such type of message from Dynamic Announce
Mode is revised as silent display mode, and silent display mode shows and need not show pop-up box during notification message and need not broadcast
Prompt tone is put, then after the modification, message push server is also required to that mode will be pushed corresponding to such type of message control device
It is adjusted correspondingly, to cause control device not show pop-up box when receiving notification message corresponding to such type of message
Not playing alert tones.
But in the above-mentioned methods, when user resets the display mode of notification message according to self-demand, message pushes away
Send server and control device side to be required to be changed accordingly, add the redundancy of effort amount of message push server.For
This, this application provides a kind of message display method and device, to solve problem present in above-mentioned correlation technique.The application carries
In the technical scheme of confession, add type identification in an announcement message by application server and obtain PUSH message, the type mark
For representing the type of message of PUSH message, application server is sent the PUSH message to control by message push server
Equipment;Corresponding, control device can obtain the type identification in the PUSH message received, be determined according to default corresponding relation
With the corresponding display mode of the type mark;So that when user needs to change the display mode of certain class notification message, it is only necessary to
Type identification and the corresponding relation of display mode are reset in the predetermined application of control device, avoids message
Push server also needs to the situation about being adapted to accordingly that resets to display mode according to control device, and then causes
Message push server only needs the PUSH message that application server is sent being forwarded to control device, is not increasing message
Meet the individual demand of user while the redundancy of effort amount of push server.
Fig. 1 is refer to, the schematic diagram of the implementation environment provided it illustrates one embodiment of the invention.The implementation environment can
With including:Intelligent home device 120, application server 140, message push server 160 and control device 180.
Intelligent home device 120 includes but is not limited to intelligent appliance, such as intelligent television, intelligent refrigerator, intelligent air condition, intelligence
Energy washing machine, intelligent lamp, intelligent entrance guard and intelligent curtain etc..
When the equipment state and/or ambient condition of intelligent home device 120 change, notification message, Xiang Ying are generated
The notification message is sent with server 140.
Optionally, can be connected between intelligent home device 120 and application server 140 by wired or wireless network.
Application server 140 can be a server or the server cluster being made up of multiple servers, or
Person is a cloud computing service center.Optionally, application server 140 is typically the institute of production firm of intelligent home device 120
The server of erection.Application server 140 has the long-range concatenation ability and remote control ability to intelligent home device 120.
Optionally, when application server 140 receives the notification message that intelligent home device 120 is sent, disappeared according to notice
The type identification of breath and notification message obtains PUSH message, and the PUSH message carries type identification.
Optionally, the PUSH message is the notification message for carrying type identification, and the type identifies to disappear for identification notification
The type of message of breath, i.e. the type identify the type of message for identifying PUSH message.
For example application server 140 adds type identification in the notification message received and obtains PUSH message.
When control device 180 is ios device, due to IOS push-mechanisms, if being pushed in the presence of needs to control device
180 PUSH message, then application server 140 first PUSH message is sent to message push server 160.Message push clothes
Business device 160 includes APNS servers, is sent for receiving the PUSH message of the transmission of application server 140, then to control device 180
The PUSH message.Below, only illustrated so that message push server 160 includes APNS servers as an example.
Optionally, application server 140 is connected with APNS servers 160 by wired or wireless network.
Control device 180 is the equipment that operating system is IOS systems, i.e. control device 180 is ios device.Optionally, control
Predetermined application for sending from control instruction to intelligent home device 120 is installed in control equipment 180
(Application), control device 180 runs the predetermined application to establish the communication link between APNS servers 160
Connect.
Optionally, control device 180 is connected with APNS servers 160 by wired or wireless network.
Optionally, control device 180 is such as mobile phone, tablet personal computer, multimedia play equipment, PDA (Personal
Digital Assistant, personal digital assistant) etc. portable electric appts.Control device 180 is typically keeper or owner
Used portable electric appts, there is the remote control authority to the intelligent home device 120 in family.
It should be noted that an intelligent home device 120 and a control device are schematically show only in figure
180, the embodiment of the present invention is not limited to the number of intelligent home device 120 and control device 180.
Optionally, above-mentioned wired or wireless network uses standard communication techniques and/or agreement.Network is usually because of spy
Net, it may also be any network, including but not limited to LAN (Local Area Network, LAN), Metropolitan Area Network (MAN)
(Metropolitan Area Network, MAN), wide area network (Wide Area Network, WAN), mobile, wired or nothing
Any combinations of gauze network, dedicated network or VPN).In certain embodiments, using including hypertext markup
Language (Hyper Text Mark-up Language, HTML), extensible markup language (Extensible Markup
Language, XML) etc. technology and/or form represent the data by network exchange.It can additionally use such as safe
Socket layer (Secure Socket Layer, SSL), Transport Layer Security (Transport Layer Security, TLS), void
Intend dedicated network (Virtual Private Network, VPN), Internet Protocol Security (Internet Protocol
Security, IPsec) etc. conventional encryption techniques encrypt all or some links.In further embodiments, can also make
Substitute or supplement above-mentioned data communication technology with customization and/or the exclusive data communication technology.
Fig. 2 is refer to, it illustrates the information push method and message display method that one embodiment of the invention provides
Flow chart.The present embodiment can apply to illustrate in the implementation environment shown in Fig. 1 in this way.This method can wrap
Include the following steps:
Step 201, application server receives the notification message that intelligent home device is sent.
Optionally, when the equipment state and/or ambient condition of intelligent home device change, intelligent home device to
Application server sends a notification message.
Optionally, the notification message carries the home equipment mark of the intelligent home device.
Optionally, the type of message of notification message include equipment alarm message, operation message, operation family's attribute message and
At least one of equipment control message.The type of message of notification message can also include other type of messages, the present embodiment pair
The species and number of the type of message of notification message are not added with to limit.Below, equipment is only included with the type of message of notification message
Illustrated exemplified by alarm information, operation message, operation family's attribute message and equipment control message these four type of messages.
For example the gas-cooker gas leakage in manager, gas-cooker can generate equipment alarm message, the equipment alarm message carries
The home equipment mark RQ1 of gas-cooker, gas-cooker is by gas security by the equipment alarm information reporting to application server.
Step 202, application server obtains PUSH message according to the type identification of notification message and notification message.
Wherein, the type identifies the type of message for identifying PUSH message, and PUSH message carries type identification.
Optionally, each notification message corresponds to a type identification respectively, example, and notification message and notification message disappear
Corresponding relation between breath type is as shown in Table 1.When the type of message of notification message is equipment alarm message, the notice disappears
The type identification of breath is 1;When the type of message of notification message is runs message, the type identification of the notification message is 2;When logical
When knowing the type of message of message to operate family's attribute message, the type identification of the notification message is 3;When the message of notification message
When type is equipment control message, the type identification of the notification message is 4.
Table one
Type of message | Type identification |
Equipment alarm message | 1 |
Run message | 2 |
Operate family's attribute message | 3 |
Equipment control message | 4 |
In a kind of possible implementation, the type identification of notification message is added to notification message by application server
In, PUSH message is obtained, the PUSH message includes the notification message for carrying type identification.
For example notification message is message A, application server determines the type of message of the notification message for " equipment alarm disappears
Breath ", then type identification " 1 " corresponding to the type of message is added in notification message, obtaining PUSH message includes carrying class
The message A of type mark " 1 ".
In alternatively possible implementation, application server is according to default source template, by the class of notification message
Type is identified and message content is added in the source template, obtains PUSH message.
Optionally, application server pre-sets a general source template, and the source template is used for regulation push and disappeared
Each message item of breath.
Schematically, message item includes message content item corresponding with the message content of PUSH message, with PUSH message
Type of message item corresponding to type of message, informed source item corresponding with the home equipment mark of intelligent home device and with control
At least one of push object item corresponding to the control device mark of equipment.
For example when the notification message that application server receives is message E, the type of message for determining message E is " to set
The message content " malicious intrusions " of standby alarm information " and message E, addition should in the type of message item formatId of source template
Type identification " 1 " corresponding to type of message " equipment alarm message ", in the message content item of the source template adding this disappears
Content " malicious intrusions " is ceased, so as to based on source template generation PUSH message.
Step 203, PUSH message is sent to APNS servers by application server.
Application server sends the PUSH message for carrying type identification to push server.Optionally, the push disappears
Breath also carries the control device mark of control device.
Step 204, APNS servers send the PUSH message to control device.
Optionally, APNS servers receive the PUSH message of application server transmission, obtain the control in the PUSH message
Control equipment is identified, and the PUSH message is sent to the corresponding control device of control device mark.
Step 205, control device receives the PUSH message that APNS servers are sent.
Step 206, control device determines display mode corresponding with type identification according to default corresponding relation, presets corresponding
Relation includes the type identification of default type of message and the corresponding relation of display mode.
Optionally, the time of reception of PUSH message is received in control device, the push is obtained by predetermined application
The type identification carried in message, so as to be determined and the corresponding display mode of the type mark according to default corresponding relation.
Optionally, display mode includes the first display mode and the second display mode, and it is aobvious that the first display mode is also referred to as dynamic
Show mode, including display pop-up box and/or playing alert tones;Second display mode is also referred to as silent display mode, including need not
Show pop-up box and do not need playing alert tones.
Step 207, control device shows PUSH message using display mode.
Optionally, the display content of the PUSH message of display can include the message for the PUSH message that control device receives
Content, customized display content can also be included.The present embodiment is not limited to the display content of the PUSH message of display.
For example control device determines PUSH message " when the type identification carried in message A " is " 1 ", according to default correspondence
Relation determines that display mode corresponding with the type mark " 1 " is the first display mode, then control device is by showing pop-up box
And the form of playing alert tones shows message A.
It should be noted that answered before application server sends PUSH message to APNS servers, in addition to predetermined
With the related step of engineering process application for registration message push.In a possible embodiment, it refer to Fig. 3:
1st, the predetermined application of control device sends registration channel request to APNS servers, and the registration channel request is used
Online message push channel between request registration control device and APNS servers.
Optionally, the registration channel request carries the first control device mark and predetermined application of control device
Application program identification.Schematically, the first control device mark includes unique device identifier (Unique Device
Identifier, UDID), application program identification includes the identifier (Bundle identifier, BundleID) of application.
2nd, APNS servers return to the second control device corresponding with the control device to control device and identified.
Optionally, APNS servers generate the second control device corresponding with the control device according to registration channel request
Mark, and return to second control device mark to the control device.
Optionally, second control device identifies is somebody's turn to do for unique mark in each ios device in APNS servers
Control device.Schematically, second control device mark includes device token (English:device token).
3rd, control device sends second control device mark to application server.
Optionally, when control device receives the second control device mark of APNS servers transmission, to application server
Send the second control device mark.
Optionally, application server receives second control device mark, and the control of storage second is set in database
The corresponding relation of standby mark and home equipment mark.
4th, intelligent home device sends a notification message to application server, and the notification message is used for indicating intelligent home equipment
Equipment state and/or ambient condition.
Optionally, the home equipment mark of intelligent home device is carried in the notification message.
5th, application server sends PUSH message to APNS servers.
Optionally, when application server receives the notification message of intelligent home device transmission, the notification message is determined
Type identification and control device the second control device mark, so as to generate PUSH message, the PUSH message carries type
Mark and the second control device mark.
When application server receives notification message, the notification message carries the home equipment mark of intelligent home device
When, application server can be according to the corresponding relation of storage, it is determined that the second control device mark corresponding with fitment mark
Know, that is, it is control device corresponding to the second control device mark to determine message push object.
Optionally, the corresponding relation of the second control device mark and home equipment mark that are stored in application server includes
One kind in three kinds of corresponding relations below:
The first corresponding relation:Second control device is identified with home equipment mark in the presence of corresponding relation one by one;
Second of corresponding relation:Each corresponding at least two home equipments mark of second control device mark;
The third corresponding relation:Each corresponding at least two second control devices mark of home equipment mark.
It is the first corresponding relation or second pair that if the second control device, which is identified with the corresponding relation of home equipment mark,
It should be related to, then application server is when the home equipment for receiving intelligent home device identifies, it is determined that being identified with the home equipment
Corresponding control device mark.
The corresponding relation that if the second control device identifies and home equipment identifies is the third corresponding relation, application service
Device is when the home equipment for receiving intelligent home device identifies, in corresponding with home equipment mark at least two second controls
In control equipment mark, it is random determine the second control device mark or, determine the second control of default highest priority
Device identification.
Below, for convenience of explanation, the corresponding relation only identified using the second control device mark with home equipment is first
Illustrated exemplified by kind corresponding relation.
6th, APNS servers send PUSH message to control device.
When APNS servers receive the PUSH message of application server transmission, the second control in the PUSH message is determined
Control equipment identify, by the PUSH message send to in the corresponding control device of the second control device mark.
In summary, the embodiment of the present invention obtains the class of type of message by control device in the PUSH message received
Type identifies, and according to the determination of default corresponding relation and the corresponding display mode of the type mark, shows that this is pushed away using the display mode
Send message;So that when user needs to change the display mode of certain class PUSH message, it is only necessary in the predetermined application of control device
Type identification and the corresponding relation of display mode are reset in program, message push server is avoided and also needs to basis
Control device causes message push server only to need the situation about being adapted to accordingly that resets of display mode
The PUSH message that application server is sent is forwarded to control device, so that not increasing the redundancy of APNS servers
The individual demand of user is met while workload.
It should be noted that the account number state of the target account number in predetermined application includes logging status and is not logged in
State, the target account number are the user account number of limit of being possessed of control power to intelligent home device.Intelligence is received in application server
After the notification message that home equipment is sent, it is thus necessary to determine that the account number shape of the target account number in the predetermined application of control device
State.When the target account number in predetermined application is in logging status, application server generation PUSH message, pass through APNS
Server sends the PUSH message to control device., should when the target account number in predetermined application, which is in, is not logged in state
The notification message received with server buffer.Below, predetermined application is worked as in the embodiment introduction provided with Fig. 4 to Fig. 6
In message display method of target account number when being in logging status, the embodiment introduction provided with Fig. 7 is when predetermined application
Target account number never logging status in program switches to message display method during logging status.
Fig. 4 is refer to, the flow chart of the message display method provided it illustrates one embodiment of the invention.The present embodiment
It can apply to illustrate in the implementation environment shown in Fig. 1 in this way.This method can include the following steps:
Step 401, when the target account number in predetermined application is in logging status, control device receives APNS clothes
The PUSH message that business device is sent, the PUSH message also carry silent parameter.
Wherein, silent parameter is used to indicate that allowing predetermined application to directly read push when receiving PUSH message to disappear
Message content in breath.
Schematically, the silent parameter is " content-available=1 ".
Optionally, the silent parameter is additionally operable to instruction need not carry out trigger action to PUSH message, and need not
In the case of carrying out trigger action to predetermined application, when receiving PUSH message, operation predetermined application is directly read
Message content in PUSH message, the i.e. silent parameter have for indicating predetermined application program to be directly read in PUSH message
Message content authority.
Optionally, the silent parameter be additionally operable to instruction when receiving PUSH message control device do not show pop-up box and/
Or not playing alert tones.
It should be noted that silent parameter is not carried when control device is received in the PUSH message that APNS servers send
When, for representing not allowing predetermined application to directly read the message content in PUSH message when receiving PUSH message.
That is, the time of reception of PUSH message is received in control device, the IOS systems of control device can get the PUSH message
Message content, but predetermined application does not have the authority of the message content directly read in PUSH message.Only work as control
When equipment carries out trigger action to PUSH message and enters predetermined application, predetermined application can just get the push and disappear
The message content of breath.
Step 402, control device reads the message content of PUSH message by predetermined application according to silent parameter.
Optionally, when control device is according to the PUSH message received, it is determined that during silent parameter, predetermined application is passed through
The message content of PUSH message is directly read, obtains the type identification entrained by the PUSH message.
Step 403, whether control device judges the type identification of the PUSH message in first kind logo collection.
Control device judges the type identification of the PUSH message whether in first kind logo collection, according to judged result
Determine display mode.
Optionally, when control device judges that the type identification of the PUSH message is in first kind logo collection, hold
Row step 404;When control device judges the type identification of the PUSH message not in first kind logo collection i.e. second
When in type identification set, step 405 is performed.
Wherein, first kind logo collection and Second Type logo collection, which are not present, occurs simultaneously.
Step 404, control device determines that display mode corresponding with type identification is the first display mode.
Optionally, control device it is determined that display mode be the first display mode after, directly execution step 409.
Step 405, control device determines that display mode corresponding with type identification is the second display mode.
In a kind of possible implementation, first kind logo collection includes type identification " 1 ", first kind logo collection
Including type identification " 2 ", type identification " 3 " and type identification " 4 ".Default pair of the type identification of type of message and display mode
It should be related to as shown in Table 2.When the type identification in PUSH message is 1, determine type identification " 1 " in first kind identification sets
In conjunction, so that it is determined that the display mode of the PUSH message is the first display mode;When the type identification in PUSH message is 2 or 3
Or when 4, the type mark is determined in Second Type logo collection, so that it is determined that the display mode of the PUSH message is second aobvious
Show mode.
Table two
Step 406, control device judges whether the running status of predetermined application is front stage operation state.
Optionally, when display mode corresponding with type identification is the second display mode, control device determines predetermined answer
With the running status of program, the running status includes one kind in front stage operation state and background operation state.
Optionally, when predetermined application is in front stage operation state, step 407 is performed;At predetermined application
When background operation state, step 408 is performed.
Step 407, display mode is revised as the first display mode by control device from the second display mode.
Because predetermined application is in front stage operation state, represent that the predetermined application is used in user, therefore
In the case where user is without being interrupted, the second display mode can be revised as the first display mode,
Form by showing pop-up box and/or playing alert tones shows the PUSH message.
Step 408, it is that the second display mode is constant that control device, which keeps display mode,.
Because predetermined application is in background operation state, user is represented currently without using the predetermined application,
Therefore in order to avoid user is disturbed, it is that the second display mode is constant to keep display mode, i.e., silent to show the PUSH message.
Step 409, control device shows PUSH message using display mode.
In a schematical example, Fig. 5 is refer to, PUSH message is " distinguished [Liu Qiang], [15763932197]
In [2017-05-08 17:01:47] your family [Hi home] has been exited, has please been checked in time ", the type identification of PUSH message is
" 2 ", the type identify " 2 " in Second Type logo collection, and control device determines that the display mode of the PUSH message is second
Display mode.When control device judges that the predetermined application is in front stage operation state, control device by display mode from
Second display mode is revised as the first display mode.I.e. control device by display the prompt box 51 and with prompt tone form,
Show that " distinguished [Liu Qiang], [15763932197] are in [2017-05-08 17 for PUSH message:01:47] your family [Hi has been exited
Home], please check in time ".
In a schematical example, Fig. 6 is refer to, PUSH message is " newcomer adds family ", PUSH message
Type identification is " 3 ", and the type identifies " 3 " in Second Type logo collection, and control device determines the display of the PUSH message
Mode is the second display mode.When control device judges that the predetermined application is in background operation state, control device is protected
It is constant for the second display mode to hold display mode.On the premise of it need not show pop-up box and not need playing alert tones, control
Control equipment by creating local notice, by the form of display system informing 61 show customized PUSH message " * * * newly into
Member adds family ".
In summary, the embodiment of the present invention is also by when the type identification of PUSH message is in first kind logo collection,
It is the first display mode to determine display mode;When the type identification of PUSH message is in Second Type logo collection, it is determined that display
Mode is the second display mode;Allow users to set the display mode of every kind of PUSH message according to self-demand, so that
It is personalized and diversified to obtain display mode of the PUSH message in the user interface of control device.
Fig. 7 is refer to, the flow chart of the message display method provided it illustrates one embodiment of the invention.The present embodiment
It can apply to illustrate in the implementation environment shown in Fig. 1 in this way.This method can include the following steps:
Step 701, when never logging status switches to logging status to the target account number in predetermined application, control
Equipment opens deferred information push channel.
Wherein, deferred information push channel includes the message push channel between control device and application server.
Optionally, the working condition of deferred information push channel includes open mode and closed mode.
Wherein, when opening deferred information push channel, deferred information push channel is in open mode, and open mode is
Control device keeps the state of connection with application server.When closing deferred information push channel, deferred information push channel
It is closed, closed mode is the state that control device disconnects with application server.
Step 702, control device obtains deferred information by deferred information push channel from application server.
It should be noted that being cached with deferred information in application server, the deferred information is included in target account number and is in
It is not logged at least one notification message of caching in the period of state.
Optionally, control device sends deferred information to application server by deferred information push channel and obtains request;
Corresponding, application server receives the deferred information and obtains request, is obtained and asked according to deferred information, pushed by deferred information
Passage sends deferred information to control device.
Step 703, control device shows deferred information in the message center of predetermined application.
Optionally, when control device receives the deferred information of application server transmission, in disappearing for predetermined application
Breath center shows deferred information.
Optionally, when the target account number in predetermined application switches to from logging status is not logged in state, control
Equipment disconnects deferred information push channel, and now deferred information push channel is closed.
In summary, the embodiment of the present invention is switched to by the target account number never logging status in predetermined application
During logging status, deferred information push channel is opened, deferred information is obtained from application server by deferred information push channel,
Deferred information is shown in the message center of predetermined application;Enable control device by deferred information push channel from should
Deferred information is got with server, avoids the step for also needing to that deferred information can be just received by the forwarding of APNS servers
Suddenly, not only save the workload in APNS servers, and cause predetermined application can be after target account number is logged in
Deferred information is shown in the shorter time.
Following is apparatus of the present invention embodiment, can be used for performing the inventive method embodiment.It is real for apparatus of the present invention
The details not disclosed in example is applied, refer to the inventive method embodiment.
Fig. 8 is refer to, the block diagram of the message display device provided it illustrates one embodiment of the invention.The device can be with
Including following module:Receiving module 810, the display module 830 of determining module 820 and first.
Receiving module 810, for receiving the PUSH message of message push server transmission, PUSH message carries type mark
Know, type identification is used for the type of message for identifying PUSH message;
Determining module 820, for determining display mode corresponding with type identification according to default corresponding relation, preset corresponding
Relation includes the type identification of default type of message and the corresponding relation of display mode;
First display module 830, for showing PUSH message using display mode.
Optionally, the determining module 820, including:First determining unit 822 and the second determining unit 824.
First determining unit 822, if for type identification in first kind logo collection, it is determined that with type identification pair
The display mode answered is the first display mode, and the first display mode includes display pop-up box and/or playing alert tones;
Second determining unit 824, if for type identification in Second Type logo collection, it is determined that with type identification pair
The display mode answered is the second display mode, and the second display mode includes that pop-up box need not be shown and do not need play cuing
Sound;
Wherein, first kind logo collection and Second Type logo collection, which are not present, occurs simultaneously.
Optionally, when display mode corresponding with type identification is the second display mode, the second determining unit 824, also
For determining the running status of predetermined application, running status includes one in front stage operation state and background operation state
Kind;When predetermined application is in front stage operation state, display mode is revised as the first display side from the second display mode
Formula;When predetermined application is in background operation state, it is that the second display mode is constant to keep display mode.
Optionally, the message push server includes APNS servers, receiving module 810, including:The He of receiving unit 812
Reading unit 814.
Receiving unit 812, when being in logging status for the target account number in predetermined application, receive APNS clothes
The PUSH message that business device is sent, PUSH message also carry silent parameter, and silent parameter is used to indicate receiving PUSH message
When allow predetermined application to directly read message content in PUSH message;
Reading unit 814, for according to silent parameter, reading the message content of PUSH message by predetermined application.
Optionally, the type of message of the PUSH message includes equipment alarm message, operation message, operation family attribute message
At least one of with equipment control message.
Optionally, the device is applied to control device, and the device also includes:
Module 840 is opened, for never logging status have been switched to and logged in when the target account number in predetermined application
During state, deferred information push channel is opened, deferred information push channel includes disappearing between control device and application server
Push channel is ceased, application server is used to cache deferred information, and deferred information is included in target account number and is in not logging status
Period in caching at least one notification message, notification message be used for indicating intelligent home equipment equipment state and/or
Ambient condition;
Acquisition module 850, for obtaining deferred information from application server by deferred information push channel;
Second display module 860, deferred information is shown for the message center in predetermined application.
Optionally, the device, the target account number for being additionally operable to work as in predetermined application switch to not from logging status
During logging status, deferred information push channel is disconnected.
Fig. 9 is refer to, the block diagram of the message pusher provided it illustrates one embodiment of the invention.The device can be with
Including following several modules:First receiving module 910, obtain the sending module 930 of module 920 and first.
First receiving module 910, for receiving the notification message of intelligent home device transmission, notification message is used to indicate intelligence
The equipment state and/or ambient condition of energy home equipment;
Module 920 is obtained, for obtaining PUSH message, type identification according to the type identification of notification message and notification message
For identifying the type of message of PUSH message, PUSH message carries type identification;
First sending module 930, for PUSH message to be sent into message push server, message push server is used for
PUSH message is forwarded to control device.
Optionally, the device, in addition to:
Module 920 is obtained, is additionally operable to log in when the target account number in the predetermined application for determining control device is in
During state, the step of PUSH message is obtained according to the type identification of notification message and notification message is performed;
Cache module 940, for not logged in when the target account number in the predetermined application for determining control device is in
During state, notification message is cached.
Optionally, the device, in addition to:
Second receiving module 950, the deferred information for being sent by deferred information push channel receiving control apparatus obtain
Request is taken, deferred information push channel includes the message push channel between control device and application server;
Second sending module 960, ask for being obtained according to deferred information, set by deferred information push channel to control
Preparation send deferred information, and deferred information includes at least one notification message cached in application server.
Figure 10 is refer to, the block diagram of the server provided it illustrates one embodiment of the invention.The server includes Fig. 1
Application server 140 in the implementation environment provided.Specifically:The application server 140 includes CPU
(CPU) 1001 including the system storage 1004 of random access memory (RAM) 1002 and read-only storage (ROM) 1003, with
And connection system storage 1004 and the system bus 1005 of CPU 1001.The application server 140 also includes
The basic input/output (I/O systems) 1006 of information is transmitted between each device in help computer, and for storing
The mass-memory unit 1007 of operating system 1013, application program 1014 and other program modules 1015.
The basic input/output 1006 includes for the display 1008 of display information and inputted for user
The input equipment 1009 of such as mouse, keyboard etc of information.Wherein described display 1008 and input equipment 1009 all pass through
The input and output control device 1010 for being connected to system bus 1005 is connected to CPU 1001.The basic input/
Output system 1006 can also include input and output control device 1010 for receiving and handling from keyboard, mouse or electricity
The input of multiple other equipments such as sub- stylus.Similarly, input and output control device 1010 also provides output to display screen, beaten
Print machine or other kinds of output equipment.
The mass-memory unit 1007 (is not shown by being connected to the massive store control device of system bus 1005
Go out) it is connected to CPU 1001.The mass-memory unit 1007 and its associated computer-readable medium are
Application server 140 provides non-volatile memories.That is, the mass-memory unit 1007 can include such as hard disk
Or the computer-readable medium (not shown) of CD-ROI drivers etc.
Without loss of generality, the computer-readable medium can include computer-readable storage medium and communication media.Computer
Storage medium is included for information such as storage computer-readable instruction, data structure, program module or other data
The volatibility and non-volatile, removable and irremovable medium that any method or technique is realized.Computer-readable storage medium includes
RAM, ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, tape
Box, tape, disk storage or other magnetic storage apparatus.Certainly, skilled person will appreciate that the computer-readable storage medium
It is not limited to above-mentioned several.Above-mentioned system storage 1004 and mass-memory unit 1007 may be collectively referred to as memory.
According to various embodiments of the present invention, the application server 140 can also be connected by networks such as internets
The remote computer operation being connected on network.Namely application server 140 can be by being connected on the system bus 1005
NIU 1011 be connected to network 1012, in other words, it can also be connected to using NIU 1011
The network or remote computer system (not shown) of his type.
The memory also includes one or more than one program, one or more than one program storage in
In memory, one or more than one program bag, which contains, to be used to carry out in information push method provided in an embodiment of the present invention
As the step performed by application server 140.
Optionally, a kind of computer-readable recording medium is additionally provided, at least one instruction is stored with the storage medium,
The instruction is loaded by processor and performed to realize the information push method provided in above-mentioned each embodiment of the method.
Figure 11 is refer to, the block diagram of the control device provided it illustrates one embodiment of the invention.The control device 180
Control device 180 in the implementation environment provided including Fig. 1.Control device 180 can include following one or more assemblies:
Processing component 1102, memory 1104, power supply module 1106, multimedia groupware 1108, audio-frequency assembly 1110, input/output (I/
O interface 1112), sensor cluster 1114, and communication component 1116.
Processing component 1102 generally controls the integrated operation of control device 180, such as leads to display, call, data
The operation that letter, camera operation and record operation are associated.Processing component 1102 can include one or more processors 1118
Execute instruction, to complete all or part of step performed in the above embodiments by control device 180.In addition, processing component
1102 can include one or more modules, the interaction being easy between processing component 1102 and other assemblies.For example, processing component
1102 can include multi-media module, to facilitate the interaction between multimedia groupware 1108 and processing component 1102.
Memory 1104 is configured as storing various types of data to support the operation in control device 180.These numbers
According to example include being used for the instruction of any application program or method operated on control device 180, contact data, phone
Book data, message, picture, video etc., data include device identification and/or the first device keyses.Memory 1104 can be by appointing
Volatibility or non-volatile memory device or the combinations thereof realization of what type, such as static RAM
(SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), may be programmed
Read-only storage (PROM), read-only storage (ROM), magnetic memory, flash memory, disk or CD.In memory 1104
One or more modules are also stored with, one or more modules are configured to be performed by the one or more processors 1120,
To complete all or part of step performed in the above embodiments by control device 180.
Power supply module 1106 provides electric power for the various assemblies of control device 180.Power supply module 1106 can include power supply
Management system, one or more power supplys, and other components associated with generating, managing and distributing electric power for control device 180.
Multimedia groupware 1108 is included in the screen of one output interface of offer between the control device 180 and user
Curtain.In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touching
Panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch
Sensor is touched with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or cunning
The border of action, but also detect the duration and pressure related to the touch or slide.In some embodiments
In, multimedia groupware 1108 includes a front camera and/or rear camera.When control device 180 is in operator scheme,
During such as screening-mode or video mode, front camera and/or rear camera can receive outside multi-medium data.Each
Front camera and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 1110 is configured as output and/or input audio signal.For example, audio-frequency assembly 1110 includes a wheat
Gram wind (MIC), when control device 180 is in operator scheme, during such as call model, logging mode and speech recognition mode, Mike
Wind is configured as receiving external audio signal.The audio signal received can be further stored in memory 1104 or via
Communication component 1116 is sent.In certain embodiments, audio-frequency assembly 1110 also includes a loudspeaker, for exporting audio letter
Number.
I/O interfaces 1112 provide interface, above-mentioned peripheral interface module between processing component 1102 and peripheral interface module
Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and
Locking press button.
Sensor cluster 1114 includes one or more sensors, for providing the shape of various aspects for control device 180
State is assessed.For example, sensor cluster 1114 can detect opening/closed mode of control device 180, component it is relatively fixed
Position, such as the display and keypad that the component is control device 180, sensor cluster 1114 can also detect control device
180 or the position of 180 1 components of control device change, the existence or non-existence that user contacts with control device 180, control sets
Standby 180 orientation or acceleration/deceleration and the temperature change of control device 180.Sensor cluster 1114 can include proximity transducer,
It is configured to detect the presence of object nearby in no any physical contact.Sensor cluster 1114 can also include light
Sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In certain embodiments, the sensor cluster
1114 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1116 is configured to facilitate wired between control device 180 and intelligent home device or server or nothing
The communication of line mode.Control device 180 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or they
Combination.In one exemplary embodiment, communication component 1116 is received from external broadcasting management system via broadcast channel
Broadcast singal or broadcast related information.In one exemplary embodiment, the communication component 1116 also includes near-field communication
(NFC) module, to promote junction service.For example, radio frequency identification (RFID) technology, Infrared Data Association can be based in NFC module
(IrDA) technology, ultra wide band (UWB) technology, bluetooth (BT) technology and other technologies are realized.
Optionally, control device 180 can be by one or more application specific integrated circuits (ASIC), Digital Signal Processing
Device (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), control
Control equipment, micro-control control equipment, microprocessor or other electronic components are realized, for performing in the above embodiments by control device
180 all or part of step performed.
Optionally, a kind of computer-readable recording medium is additionally provided, at least one instruction is stored with the storage medium,
Instruction is loaded by processor 1118 and performed to realize the message display method provided in above-mentioned each embodiment of the method.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, by program the hardware of correlation can also be instructed to complete, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.
Claims (10)
1. a kind of message display method, it is characterised in that methods described includes:
The PUSH message that message push server is sent is received, the PUSH message carries type identification, the type identification
For identifying the type of message of the PUSH message;
Display mode corresponding with the type identification is determined according to default corresponding relation, the default corresponding relation includes default
The type of message the type identification and the display mode corresponding relation;
The PUSH message is shown using the display mode.
2. according to the method for claim 1, it is characterised in that the basis is preset corresponding relation and determined and the type mark
Display mode corresponding to knowledge, including:
If the type identification is in first kind logo collection, it is determined that display mode corresponding with the type identification is the
One display mode, first display mode include display pop-up box and/or playing alert tones;
If the type identification is in Second Type logo collection, it is determined that display mode corresponding with the type identification is the
Two display modes, second display mode include that pop-up box need not be shown and do not need playing alert tones;
Wherein, the first kind logo collection and the Second Type logo collection, which are not present, occurs simultaneously.
3. according to the method for claim 2, it is characterised in that when display mode corresponding with the type identification is described
During the second display mode, before the use display mode shows the PUSH message, in addition to:
The running status of the predetermined application is determined, the running status includes front stage operation state and background operation state
In one kind;
When the predetermined application is in the front stage operation state, by the display mode from second display mode
It is revised as first display mode;
When the predetermined application is in the background operation state, it is the second display side to keep the display mode
Formula is constant.
4. a kind of information push method, it is characterised in that methods described includes:
The notification message that intelligent home device is sent is received, the notification message is used for the equipment for indicating the intelligent home device
State and/or ambient condition;
PUSH message is obtained according to the type identification of the notification message and the notification message, the type identification is used to identify
The type of message of the PUSH message, the PUSH message carry the type identification;
The PUSH message is sent to the message push server, the message push server is used to turn to control device
Send out PUSH message described.
5. a kind of message display device, it is characterised in that described device includes:
Receiving module, for receiving the PUSH message of message push server transmission, the PUSH message carries type identification,
The type identification is used for the type of message for identifying the PUSH message;
Determining module, it is described to preset pair for determining display mode corresponding with the type identification according to default corresponding relation
The corresponding relation of the type identification and the display mode including the default type of message should be related to;
First display module, for showing the PUSH message using the display mode.
6. device according to claim 5, it is characterised in that the determining module, including:
First determining unit and the second determining unit;
First determining unit, if for the type identification in first kind logo collection, it is determined that with the type
Display mode corresponding to mark is the first display mode, and first display mode includes display pop-up box and/or play cuing
Sound;
Second determining unit, if for the type identification in Second Type logo collection, it is determined that with the type
Display mode corresponding to mark is the second display mode, and second display mode includes that pop-up box need not be shown and do not needed
Playing alert tones;
Wherein, the first kind logo collection and the Second Type logo collection, which are not present, occurs simultaneously.
7. device according to claim 6, it is characterised in that when display mode corresponding with the type identification is described
During the second display mode, second determining unit, it is additionally operable to determine the running status of the predetermined application, the operation
State includes one kind in front stage operation state and background operation state;When the predetermined application is in the front stage operation
During state, the display mode is revised as first display mode from second display mode;When the predetermined application
When program is in the background operation state, keep the display mode constant for second display mode.
8. a kind of message pusher, it is characterised in that described device includes:
First receiving module, for receiving the notification message of intelligent home device transmission, the notification message is described for indicating
The equipment state and/or ambient condition of intelligent home device;
Module is obtained, for obtaining PUSH message, the class according to the type identification of the notification message and the notification message
Type identifies the type of message for identifying the PUSH message, and the PUSH message carries the type identification;
First sending module, for the PUSH message to be sent into the message push server, the message push service
Device is used to forward the PUSH message to control device.
9. a kind of terminal, it is characterised in that the terminal includes processor and memory, and at least one is stored with the memory
Bar is instructed, and the instruction is loaded by the processor and performed to realize the message display side as described in claims 1 to 3 is any
Method.
10. a kind of computer-readable recording medium, it is characterised in that at least one instruction, institute are stored with the storage medium
Instruction is stated to be loaded by processor and performed to realize the message display method as described in claims 1 to 3 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710502804.5A CN107391273B (en) | 2017-06-27 | 2017-06-27 | Message display method, message pushing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710502804.5A CN107391273B (en) | 2017-06-27 | 2017-06-27 | Message display method, message pushing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107391273A true CN107391273A (en) | 2017-11-24 |
CN107391273B CN107391273B (en) | 2020-08-04 |
Family
ID=60332816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710502804.5A Active CN107391273B (en) | 2017-06-27 | 2017-06-27 | Message display method, message pushing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107391273B (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108519922A (en) * | 2018-04-12 | 2018-09-11 | 珠海市魅族科技有限公司 | Information-pushing method and device, terminal device and computer readable storage medium |
CN108632352A (en) * | 2018-03-22 | 2018-10-09 | 海尔优家智能科技(北京)有限公司 | A kind of information push method, device, server and computer readable storage medium |
CN108848142A (en) * | 2018-05-31 | 2018-11-20 | 康键信息技术(深圳)有限公司 | Information push method, device, computer equipment and storage medium |
CN109165064A (en) * | 2018-07-25 | 2019-01-08 | 珠海格力电器股份有限公司 | New message display method and device, storage medium and terminal |
CN109218410A (en) * | 2018-08-17 | 2019-01-15 | 青岛海信智慧家居系统股份有限公司 | A kind of method that message is shown and terminal device |
CN110401704A (en) * | 2019-07-11 | 2019-11-01 | 安克创新科技股份有限公司 | The methods, devices and systems of message push |
WO2020039241A1 (en) * | 2018-08-24 | 2020-02-27 | 优视科技新加坡有限公司 | Message pushing method and apparatus, device/terminal/server, and computer-readable medium |
CN110955471A (en) * | 2018-09-26 | 2020-04-03 | Oppo广东移动通信有限公司 | Notification message display method and device, terminal and storage medium |
CN111246038A (en) * | 2018-11-29 | 2020-06-05 | 北京京东尚科信息技术有限公司 | Message pushing method, device and system for application program |
CN111274054A (en) * | 2020-01-21 | 2020-06-12 | 维沃移动通信有限公司 | Message processing method and electronic equipment |
CN112000404A (en) * | 2020-07-20 | 2020-11-27 | 第四范式(北京)技术有限公司 | Message pushing method and device, electronic equipment and storage medium |
CN112202966A (en) * | 2018-04-13 | 2021-01-08 | 青岛海信移动通信技术股份有限公司 | Communication information notification method and device and computer readable storage medium |
CN112365905A (en) * | 2020-11-17 | 2021-02-12 | 深圳Tcl新技术有限公司 | Player control method, device, equipment and readable storage medium |
CN112866414A (en) * | 2021-02-20 | 2021-05-28 | 每日互动股份有限公司 | Data information pushing method and device, computer equipment and storage medium |
CN113852528A (en) * | 2021-09-16 | 2021-12-28 | 珠海格力电器股份有限公司 | Message processing method and device, nonvolatile storage medium and electronic device |
CN113965538A (en) * | 2021-10-21 | 2022-01-21 | 青岛海信智慧生活科技股份有限公司 | Equipment state message processing method, device and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468819A (en) * | 2014-12-24 | 2015-03-25 | 福建江夏学院 | Message pushing system and method for internet of things |
CN105824645A (en) * | 2016-03-30 | 2016-08-03 | 联想(北京)有限公司 | Information processing method and terminal |
CN106651296A (en) * | 2016-10-25 | 2017-05-10 | 珠海市魅族科技有限公司 | Message prompting method and terminal |
-
2017
- 2017-06-27 CN CN201710502804.5A patent/CN107391273B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104468819A (en) * | 2014-12-24 | 2015-03-25 | 福建江夏学院 | Message pushing system and method for internet of things |
CN105824645A (en) * | 2016-03-30 | 2016-08-03 | 联想(北京)有限公司 | Information processing method and terminal |
CN106651296A (en) * | 2016-10-25 | 2017-05-10 | 珠海市魅族科技有限公司 | Message prompting method and terminal |
Cited By (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108632352A (en) * | 2018-03-22 | 2018-10-09 | 海尔优家智能科技(北京)有限公司 | A kind of information push method, device, server and computer readable storage medium |
CN108519922B (en) * | 2018-04-12 | 2022-07-12 | 珠海市魅族科技有限公司 | Information pushing method and device, terminal equipment and computer readable storage medium |
CN108519922A (en) * | 2018-04-12 | 2018-09-11 | 珠海市魅族科技有限公司 | Information-pushing method and device, terminal device and computer readable storage medium |
CN112202966A (en) * | 2018-04-13 | 2021-01-08 | 青岛海信移动通信技术股份有限公司 | Communication information notification method and device and computer readable storage medium |
CN108848142A (en) * | 2018-05-31 | 2018-11-20 | 康键信息技术(深圳)有限公司 | Information push method, device, computer equipment and storage medium |
CN108848142B (en) * | 2018-05-31 | 2022-05-31 | 康键信息技术(深圳)有限公司 | Message pushing method and device, computer equipment and storage medium |
CN109165064A (en) * | 2018-07-25 | 2019-01-08 | 珠海格力电器股份有限公司 | New message display method and device, storage medium and terminal |
CN109218410A (en) * | 2018-08-17 | 2019-01-15 | 青岛海信智慧家居系统股份有限公司 | A kind of method that message is shown and terminal device |
CN109218410B (en) * | 2018-08-17 | 2021-09-17 | 青岛海信智慧家居系统股份有限公司 | Message display method and terminal equipment |
WO2020039241A1 (en) * | 2018-08-24 | 2020-02-27 | 优视科技新加坡有限公司 | Message pushing method and apparatus, device/terminal/server, and computer-readable medium |
CN110955471B (en) * | 2018-09-26 | 2023-08-22 | Oppo广东移动通信有限公司 | Notification message display method, notification message display device, terminal and storage medium |
CN110955471A (en) * | 2018-09-26 | 2020-04-03 | Oppo广东移动通信有限公司 | Notification message display method and device, terminal and storage medium |
CN111246038A (en) * | 2018-11-29 | 2020-06-05 | 北京京东尚科信息技术有限公司 | Message pushing method, device and system for application program |
CN110401704B (en) * | 2019-07-11 | 2022-04-29 | 安克创新科技股份有限公司 | Message pushing method, device and system |
CN110401704A (en) * | 2019-07-11 | 2019-11-01 | 安克创新科技股份有限公司 | The methods, devices and systems of message push |
CN111274054B (en) * | 2020-01-21 | 2024-03-05 | 维沃移动通信有限公司 | Message processing method and electronic equipment |
CN111274054A (en) * | 2020-01-21 | 2020-06-12 | 维沃移动通信有限公司 | Message processing method and electronic equipment |
CN112000404A (en) * | 2020-07-20 | 2020-11-27 | 第四范式(北京)技术有限公司 | Message pushing method and device, electronic equipment and storage medium |
CN112365905A (en) * | 2020-11-17 | 2021-02-12 | 深圳Tcl新技术有限公司 | Player control method, device, equipment and readable storage medium |
CN112866414B (en) * | 2021-02-20 | 2022-08-05 | 每日互动股份有限公司 | Data information pushing method and device, computer equipment and storage medium |
CN112866414A (en) * | 2021-02-20 | 2021-05-28 | 每日互动股份有限公司 | Data information pushing method and device, computer equipment and storage medium |
CN113852528A (en) * | 2021-09-16 | 2021-12-28 | 珠海格力电器股份有限公司 | Message processing method and device, nonvolatile storage medium and electronic device |
CN113965538A (en) * | 2021-10-21 | 2022-01-21 | 青岛海信智慧生活科技股份有限公司 | Equipment state message processing method, device and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107391273B (en) | 2020-08-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107391273A (en) | Message display method, information push method and device | |
US10110699B2 (en) | Method and system to enable mobile users to receive personalized notifications | |
WO2018184266A1 (en) | Communication method, device and system in live broadcasting channel | |
EP3151507A1 (en) | Methods and apparatuses for controlling device | |
KR20100122028A (en) | A portable terminal controlling refrigerator and operation method for the same | |
CN105120122A (en) | Alarm method and device | |
CN103997688A (en) | Intelligent interaction system, intelligent interaction device and intelligent interaction method | |
CN114629932B (en) | Cooperative method between electronic devices, electronic device and storage medium | |
CN104898505A (en) | Smart scene configuration method and device | |
CN105515831A (en) | Network state information display method and device | |
CN106888206A (en) | Key exchange method, apparatus and system | |
CN110262904B (en) | Data acquisition method and device | |
CN107154894B (en) | Instant messaging information processing method, device, system and storage medium | |
CN107040591A (en) | A kind of method and device being controlled to client | |
CN107071862A (en) | Account binding method and device and smart machine | |
CN107682538A (en) | The display methods and device of application interface | |
WO2007059788A1 (en) | Home network application using wirelined and wireless secure links | |
CN107703348A (en) | The detection method and device of smart jack | |
CN107818652A (en) | Information processing method and equipment | |
CN106792041A (en) | Content share method and device | |
CN113573092A (en) | Live broadcast data processing method and device, electronic equipment and storage medium | |
CN112711366A (en) | Image generation method and device and electronic equipment | |
CN105530108A (en) | Information push method and apparatus | |
CN107423146A (en) | The method, apparatus and system that control application program is mutually called | |
CN108809799A (en) | Method for sending information, method for information display, apparatus and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: No.399, Songling Road, Laoshan District, Qingdao City, Shandong Province 266010 Patentee after: Qingdao Hisense Smart Life Technology Co.,Ltd. Address before: No.399, Songling Road, Laoshan District, Qingdao City, Shandong Province 266010 Patentee before: QINGDAO HISENSE SMART HOME SYSTEMS Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |