CN105554048A - Message pushing method and apparatus - Google Patents

Message pushing method and apparatus Download PDF

Info

Publication number
CN105554048A
CN105554048A CN201410608462.1A CN201410608462A CN105554048A CN 105554048 A CN105554048 A CN 105554048A CN 201410608462 A CN201410608462 A CN 201410608462A CN 105554048 A CN105554048 A CN 105554048A
Authority
CN
China
Prior art keywords
attribute
network access
message
access equipment
user
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
Application number
CN201410608462.1A
Other languages
Chinese (zh)
Other versions
CN105554048B (en
Inventor
关吉星
黄普光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shanghai Co Ltd
Original Assignee
Tencent Technology Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shanghai Co Ltd filed Critical Tencent Technology Shanghai Co Ltd
Priority to CN201410608462.1A priority Critical patent/CN105554048B/en
Publication of CN105554048A publication Critical patent/CN105554048A/en
Application granted granted Critical
Publication of CN105554048B publication Critical patent/CN105554048B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a message pushing method. The method comprises: a device identification number and a device attribute that are sent by a network access device are received, wherein the device attribute is used for expressing the certain kind of operation capability of the network access device; a user identifier having a correspondence relation with the device identification number is obtained; a corresponding message is generated according to the device attribute; and the message is pushed to a user terminal corresponding to the user identifier. With the method, the state of the network access device can be obtained timely and flexibly. In addition, the invention also provides a message pushing apparatus and another message pushing method and apparatus.

Description

Information push method and device
Technical field
The present invention relates to networking technology area, particularly relate to a kind of information push method and device.
Background technology
Along with the development of Internet technology, the basis of the Internet extends easily extensible and has gone out Internet of Things.Internet of Things is " the Internet that thing thing is connected " namely.Internet of Things is widely used in the fusion of network by Intellisense, recognition technology and general fit calculation, is also therefore called as the third wave of world information industry development after computer, the Internet.
People are in life & amusement work, closely bound up with a large amount of " thing ".These " things " are more present in the life of people with the form of network access equipment, comprise the equipment (as first-class in entrance guard device, network shooting) of various portable set (as smart mobile phone, panel computer etc.), Wearable (as Intelligent bracelet, intelligent glasses etc.), office equipment (as printer, facsimile machine etc.), household electrical appliance (as television set, refrigerator, washing machine etc.) and other function.And these network access equipments can not constantly user at one's side, therefore user needs the situation knowing network access equipment in time.Such as, user is away from home and can knows that the door in residence is opened (being detected by entrance guard device) in time; And for example, if having people to invade in work hours men, user can obtain message in time in office, etc.
In conventional art, normally need user to be initiatively connected to network access equipment, check existing state.Such as, by IP Camera, house is monitored, need user initiatively to open monitored picture, to know current house field condition.Even if exist, the state of network access equipment is passed through network active push to user, usually can only for a certain class network access equipment, a large amount of network access equipments that user cannot be had carry out unified management, lack flexibility and extensibility.
Summary of the invention
Based on this, be necessary for above-mentioned technical problem, a kind of information push method and the device that can know network access equipment situation more in time are more neatly provided.
A kind of information push method, described method comprises:
Receive device id and the device attribute of network access equipment transmission, described device attribute is for representing the operational capacity of network access equipment;
Obtain the user ID with described device id with corresponding relation;
Corresponding message is generated according to described device attribute;
By described message push to the user terminal corresponding with described user ID.
A kind of message push device, described device comprises:
First receiver module, for receiving device id and the device attribute of network access equipment transmission, described device attribute is for representing the operational capacity of network access equipment;
User ID acquisition module, for obtaining the user ID with described device id with corresponding relation;
First message generating module, for generating corresponding message according to described device attribute;
First pushing module, for by described message push to the user terminal corresponding with described user ID.
Above-mentioned information push method and device, certain operational capacity of network access equipment is represented by device attribute, device id and the device attribute of network access equipment transmission then can be received when network access equipment produces operation, get the user ID with device id with corresponding relation further, corresponding message is generated according to device attribute, then according to user ID by user terminal extremely corresponding for message push.The method and device make network access equipment produce operation time can active reporting to user, be convenient to the situation that user knows network access equipment in time.And create which kind of operation owing to can recognize network access equipment according to device attribute, as long as pre-define device attribute corresponding to network access equipment, can realize, to the unified management of various network access equipment, having more flexibility.
A kind of information push method, described method comprises:
Receive device id and the device attribute of network access equipment transmission, described device attribute is for representing the operational capacity of network access equipment;
Corresponding application identities is obtained according to described device id;
Obtain corresponding trigger action according to described device attribute and application identities, the message comprised in described trigger action for identification message recipient forwards flag bit;
Forward flag bit according to described message and generate corresponding message;
Flag bit is forwarded by the message push of generation to message receiver according to described message.
A kind of message push device, described device comprises:
Second receiver module, for receiving device id and the device attribute of network access equipment transmission, described device attribute is for representing the operational capacity of network access equipment;
Application identities acquisition module, for obtaining corresponding application identities according to described device id;
Rule acquisition module, for obtaining corresponding trigger action according to described device attribute and application identities, the message comprised in described trigger action for identification message recipient forwards flag bit;
Second message generating module, generates corresponding message for forwarding flag bit according to described message;
Second message push module, for forwarding flag bit by the message push of generation to message receiver according to described message.
Above-mentioned information push method and device, certain operational capacity of network access equipment is represented by device attribute, device id and the device attribute of network access equipment transmission then can be received when network access equipment produces operation, get the application identities corresponding with device identification, corresponding trigger action is obtained according to device attribute and application identities, because the message comprised in trigger action for identification message recipient forwards flag bit, the message therefore generated can be pushed to corresponding message receiver.The method and device make network access equipment produce certain operation time can active reporting to user, be convenient to the situation that user knows network access equipment in time.And create which kind of operation owing to can recognize network access equipment according to device attribute, as long as pre-define device attribute corresponding to network access equipment, can realize, to the unified management of various network access equipment, having more flexibility.
Accompanying drawing explanation
The applied environment figure of the information push method that Fig. 1 provides for the embodiment of the present invention;
Fig. 2 is the cut-away view of the server in Fig. 1;
Fig. 3 is the schematic flow sheet of information push method in an embodiment;
Fig. 4 is the interface operation schematic diagram of share web access device in an embodiment;
Fig. 5 is the schematic flow sheet of information push method in another embodiment;
Fig. 6 is the schematic diagram of prompting message in an embodiment;
Fig. 7 is the schematic diagram of message display in an embodiment;
Fig. 8 is the structured flowchart of message push device in an embodiment;
Fig. 9 is the structured flowchart of message push device in another embodiment;
Figure 10 is the structured flowchart of message push device in another embodiment;
Figure 11 is the structured flowchart of message push device in another embodiment;
Figure 12 is the structured flowchart of message push device in another embodiment;
Figure 13 is the structured flowchart of message push device in another embodiment;
Figure 14 is the structured flowchart of message push device in another embodiment.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The information push method that the embodiment of the present invention provides can be applicable in environment 100 as shown in Figure 1, shown in figure 1, network access equipment 102 connects high in the clouds 104 by network, when network access equipment 102 produces operation, device id and device attribute is submitted to high in the clouds 104, when network access equipment 102 image data, also send the data that collect in the lump to high in the clouds 104.High in the clouds 104 receives device id and device attribute, generates message to be pushed according to these information, then by network push to user terminal 106.The server cluster that high in the clouds 104 can be made up of based on cloud multiple servers, carries out parallel processing to the request of data that network access equipment 102 sends.The information push method that the embodiment of the present invention provides then is described with the server be applied in high in the clouds 104.
Wherein, network access equipment 102 can be that portable intelligent device is (as smart mobile phone, panel computer etc.), wearable intelligent equipment is (as Intelligent bracelet, intelligent glasses etc.), various household electrical appliance are (as television set, refrigerator, washing machine, microwave oven etc.), various office equipment is (as printer, facsimile machine etc.) and the network access equipment of other function (as IP Camera, entrance guard device etc.), as long as network access equipment 102 observes communication protocol and interface protocol that high in the clouds 104 provides, the data interaction between high in the clouds 104 can be realized.User terminal 106 can be personal computer, notebook computer, personal digital assistant, panel computer, smart mobile phone etc.Concrete, user terminal 106 can installation and operation application, by being used for receiving the message that high in the clouds 104 pushes.Or the message of high in the clouds 104 propelling movement is received based on the program that user terminal 106 carries.It should be noted that network access equipment belongs to the one of the network equipment, the information push method that the embodiment of the present invention provides also is applicable to the similar saying such as network access equipment.
As shown in Figure 2, server in high in the clouds 104 comprises the processor, storage medium, network interface and the internal memory that are connected by system bus, store operating system, database and a kind of message push device in storage medium, this message push device is for performing a kind of information push method.Database is used for storage networking access device or the relevant data of user terminal.Processor is used for providing calculating and control ability, internal memory is used for providing environment for the operation of the message push device in storage medium, and network interface is used for communicating with network access equipment 102, user terminal 106 and other server in high in the clouds 104, receives or send data.
As shown in Figure 3, in one embodiment, provide a kind of information push method, the method can be applicable in the server in high in the clouds 104 as shown in Figure 1, and the method comprises:
Step 302, receive device id and the device attribute of network access equipment transmission, device attribute is for representing the operational capacity of network access equipment.
Device id can be when server receives the registration request of network access equipment, is the identification number that network access equipment distributes, for unique identification network access equipment.The device id that server stores and management distribute for network access equipment.Device attribute can define for network access equipment after network access equipment succeeds in registration, for representing certain operational capacity of network access equipment.Such as, for television set, device attribute comprises to be opened, close, changes channel etc.; For entrance guard device, device attribute comprises that door is opened, door closedown etc.; For IP Camera, device attribute comprises collection image frame change etc.; Etc..That is, for different network access equipments, the device attribute of its correspondence is different.
Device attribute comprises default property and Custom Attributes, and wherein default property is the Kai Heguan of the default capabilities that server is supplied to network access equipment after network access equipment succeeds in registration, such as network access equipment.And Custom Attributes is after network access equipment succeeds in registration, the self-defined ability of the network access equipment that the terminal that server receives is submitted to.The online website that the developer of network access equipment can use terminal logon server to provide, submits the Custom Attributes of network access equipment to.The device attribute of server corresponding device identification number storage networking access device, wherein, can store default property in one section of fixed storage space, this memory space is default property space, and the memory space after this memory space is then distributed unitedly to Custom Attributes.Each device attribute has unique attribute-bit, for the device attribute of a unique identification network access equipment.
Step 304, obtains the user ID with device id with corresponding relation.
The corresponding relation of device identification and user ID has been prestored in server, user corresponding to this user ID can be the owner of network access equipment, also can be the sharing users of network access equipment, wherein sharing users is for owner, is the user that network access equipment that owner is had shares in other people.The online website that user can use terminal logon server to provide, by the owned network access equipment of online portal management, each network access equipment has unique device id, the device id of the network access equipment of the user ID of this user and its management has corresponding relation, therefore, the device id of the user ID of user and the network access equipment of its management is the corresponding relation of one-to-many.And owned network access equipment can be shared to other user by user, such as share to the good friend in JICQ, then the device id of this network access equipment and the user ID of these users are corresponding relations of one-to-many.Obtaining the user ID having a corresponding relation with device id in step 304 can be multiple, and user corresponding to these user ID can receive the message pushed when network access equipment produces operation.
Step 306, generates corresponding message according to device attribute.
Prestored the source template corresponding with device attribute in server, server is when receiving device attribute, then the source template that inquiry is corresponding with device attribute, generates message to be pushed according to source template.When network access equipment produces certain operation, except submitting device attribute and the device identification extra of this operation correspondence to, also can send the data that network access equipment collects to server in the lump, as the video image etc. that the temperature of air-conditioning, the channel information of television set, IP Camera collect.Comprise the data collected in the message that server generates according to source template, these data also will be pushed to user terminal and show.
Step 308, by message push to the user terminal corresponding with described user ID.
Here user ID includes but not limited to various instant communication number, mobile communication number, social networks account number etc.Server can note, instant communication message, with the mode such as message, mail of association by PUSH message, server can by message push to corresponding user terminal based on corresponding message push mechanism.Therefore, user terminal can note, instant communication message, with the mode receipt message such as message, mail of association.
In the present embodiment, certain operational capacity of network access equipment is represented by device attribute, device id and the device attribute of network access equipment transmission then can be received when network access equipment produces operation, get the user ID with device id with corresponding relation further, corresponding message is generated according to device attribute, then according to user ID by user terminal extremely corresponding for message push.Make network access equipment produce operation time can active reporting to user, be convenient to the situation that user knows network access equipment in time.And create which kind of operation owing to can recognize network access equipment according to device attribute, as long as pre-define device attribute corresponding to network access equipment, can realize, to the unified management of various network access equipment, having more flexibility.
In one embodiment, before the step of the device id and device attribute that receive network access equipment transmission, the method also comprises: the registration request receiving network access equipment is network access equipment distributing equipment identification number; Device attribute is set and/or request is set according to the device attribute received and device attribute is set, the corresponding relation of storage device identification number and device attribute; Attribute-bit and property parameters is defined in this device attribute.
In the present embodiment, network access equipment can initiate registration request to server, and server is verified network access equipment according to registration request, is verified, and succeeds in registration, and stores this device id for network access equipment distributing equipment identification number.Device id can be used for mark network access equipment in network and server.Further, server can arrange the device attribute of network access equipment after succeeding in registration, i.e. the default property of network access equipment.Or the online website that the developer of network access equipment uses terminal logon server to provide, arranges the device attribute of network access equipment, i.e. the Custom Attributes of network access equipment by online website.No matter be default property or Custom Attributes, have uniquely for the attribute-bit of marking equipment attribute.Define attribute-bit and property parameters in device attribute, can be such as be key with attribute-bit, the data mode of the property parameters key-value that is value.Wherein, attribute-bit is the combination of device id and the identification number for attribute assignment.
Property parameters comprises following field contents: Property Name, attribute description, property value type, storage size, whether read-only, to user's whether visible, attribute creation-time, support equipment version and current whether effective.Can some related contents of define equipment attribute by property parameters, such as, attribute description shows user to check; Whether read-onlyly determine that device attribute is control command or reports order; To user's visible definable device attribute be whether developer separately visible or visible to user or other developer that developer is authorized or user visible.The online website that terminal logon server provides, by the property parameters of online website define equipment attribute.Server receives these property parameters, generates device attribute and the storage of corresponding device identification number, also can find corresponding device attribute by device id and be shown by online website afterwards.
In one embodiment, before the step of the device id and device attribute that receive network access equipment transmission, also comprise: the propelling movement configuring request of receiving equipment attribute, according to propelling movement configuring request, the device attribute of submission is set to propelling movement state; Also comprise after the step of the device id and device attribute that receive network access equipment transmission: judge whether the device attribute received is propelling movement state, if, then obtain the user ID with device id with corresponding relation further, otherwise do not deal with.
In the present embodiment, terminal can enter the administration interface of network access equipment in the online website that provides of logon server, multiple device attributes of network access equipment are shown in the administration interface of network access equipment, on this administration interface can display device attribute corresponding propelling movement configuration control, by this control arrange which device attribute in requisition for PUSH message to user.When network access equipment these device attributes produce operate accordingly time, then by PUSH message to user.Or terminal can log in an application being used for supervising the network access device, and this application and network access equipment are bound in advance, store the binding relationship of application identities and device id in the server.This application of terminal demonstration, to the administration interface of network access equipment, submits the propelling movement configuring request of device attribute to by this administration interface.
Further, server receives the propelling movement configuring request of device attribute, carry the attribute-bit of device attribute in this request, the flag bit that server amendment attribute-bit is corresponding is propelling movement state, and it is push corresponding message to user that the operation identifying this device attribute produces.Therefore, when network access equipment produces operation, device attribute and the device id of this operation correspondence submit to server in the lump, server then obtains flag bit corresponding to attribute-bit in this device attribute, if this flag bit is shown as propelling movement state, then further generating messages be pushed to user terminal, if this flag bit is shown as do not push state, does not then deal with.
In one embodiment, before the step receiving network access equipment transmitting apparatus identification number and device attribute, also comprise: receive network access equipment sharing request, this collaborative share request Portable device identification number, host user's mark and sharing users mark; The user list corresponding with equipment identity is set up according to host user's mark and sharing users mark; Then obtaining the step with device id with the user ID of corresponding relation is: obtain corresponding user list according to device id, extract the user ID in the user list obtained.
In the present embodiment, the network access equipment of self-management can be shared to other users by user.Log in by terminal and be used for the online website of supervising the network access device or application, enter into the shared of network access equipment and arrange interface, this shares the relevant information arranging interface display network access equipment and the control adding sharing users.As shown in Figure 4, network access equipment is study camera, at the shared control 404 arranging interface display relevant information 402 and add sharing users of this network access equipment, relevant information 402 comprises device name, the information such as device id and equipment owner of network access equipment, is received the interpolation sharing users request of user by control 404.Further, server receives the request of the interpolation sharing users that the control by adding sharing users is submitted to, and host user's mark is carried in this request, identifies the customer relationship chain obtaining its correspondence according to host user.Here customer relationship chain refers to the chain in a network with user with certain particular kind of relationship, stores the mark of the user with this user with this particular kind of relationship in this relation chain, such as friend relation chain, contact relationship chain, listener relation chain etc.The buddy list of sharing users can be added to according to the display of customer relationship chain, user can select the sharing users of network access equipment in this user list, after having added, server receives device id, host user's mark and sharing users mark, the user list corresponding with device id is set up according to host user's mark and sharing users mark, host user's mark and all sharing users mark is comprised in this user list, the operation that some device attribute that user corresponding to the user ID in user list will receive this network access equipment produces, these device attributes are device attributes that host user is set to propelling movement state.
In the present embodiment, by network access equipment is shared to other users, when network access equipment produces certain operation, the message generated can be pushed to host user and other sharing users, not only can realize information reporting to the promptness of user, several user can be given by information reporting simultaneously, be convenient to the situation that several user knows network access equipment in time, expand the scope of message push.
As shown in Figure 5, in one embodiment, additionally provide another kind of information push method, the method also can be applicable in the server in the high in the clouds 104 shown in Fig. 1, and the method comprises:
Step 502, receive device id and the device attribute of network access equipment, this device attribute is for representing the operational capacity of network access equipment.
Device id can be when server receives the registration request of network access equipment, is the identification number that network access equipment distributes, for the network access equipment of unique identification in network and server.The device id that server stores and management distribute for network access equipment.Device attribute can define for network access equipment after network access equipment succeeds in registration, for representing certain operational capacity of network access equipment.For different network access equipments, the device attribute of its correspondence is different.
Device attribute comprises default property and Custom Attributes, and wherein default property is the Kai Heguan of the default capabilities that server is supplied to network access equipment after network access equipment succeeds in registration, such as network access equipment.And Custom Attributes is after network access equipment succeeds in registration, the self-defined ability of the network access equipment that the terminal that server receives is submitted to.The online website that the developer of network access equipment can use terminal logon server to provide, submits the Custom Attributes of network access equipment to.The device attribute of server corresponding device identification number storage networking access device, wherein, can store default property in one section of fixed storage space, this memory space is default property space, and the memory space after this memory space is then distributed unitedly to Custom Attributes.Each device attribute has unique attribute-bit, for the device attribute of a unique identification network access equipment.
Step 504, obtains corresponding application identities according to device id.
In the present embodiment, terminal can first make login apply, and this application can be used for the application of supervising the network access device specially, also can be other application, such as instant messaging application.Further, application and network access equipment are carried out mandate and are bound by terminal, then the server stores corresponding relation of application identities and device id.Thus when network access equipment produces certain operation, corresponding application identities can be got according to device id.
Step 506, obtains corresponding trigger action according to device attribute and application identities, and the message comprised in this trigger action for identification message recipient forwards mark.
Store the trigger action corresponding with device attribute arranged in server, this trigger action defines and is meeting next step action that should trigger under what attribute conditions in device attribute.Trigger action can the form corresponding device attribute of Data-Link store.When device attribute meets the corresponding attribute conditions arranged, then trigger the everything in this Data-Link.By specific field in trigger action, namely message forwards mark and defines message and where should be forwarded to, such as, message should be forwarded to supervising the network access device application, be forwarded to third-party server or be forwarded to certain instant communication client etc.
Step 508, forwards flag bit according to message and generates corresponding message.
Message receiver is identified because message forwards flag bit, different message sinks can arrange different source templates, the corresponding relation of server stores between message sink square mark and source template, server forwards mark according to message can find corresponding source template, thus according to source template generating messages.When network access equipment submits device id and device attribute to server, also in the lump the data collected can be transferred to server, the view image etc. that the temperature of such as air-conditioning, the channel information of television set, IP Camera collect.The message that server generates comprises the data collected, after message sends to message receiver, and the data that message receiver is collected by showing interface.
Step 510, forwards flag bit by the message push of generation to message receiver according to message.
Which message receiver should be forwarded to owing to identifying message in the message forwarding flag bit in trigger action, forward flag bit according to message and can determine message push is to which message receiver.Such as, message forwarding flag bit identifies message and should be transmitted to instant communication client, then can obtain the instant communication number corresponding with device id, give corresponding instant communication client according to this instant communication number by message push.
As shown in Figure 6, message push is to instant communication client, and the message interface of instant communication client shows the list of network access equipment, such as study camera, my computer, my refrigerator and bedroom switch etc.For study camera, when study camera produces certain operation, then the device id of correspondence and device attribute are submitted to server, and view image will be collected be transferred to server in the lump, instant communication client is sent to after server generating messages, in the messaging list of instant communication client, the reminder message 602 that display study camera is corresponding and the message number 604 reminded.As shown in Figure 7, when receiving user and clicking the operation of study camera, then enter into the interacting message interface of study camera, this interacting message interface display pushes the message 702 of coming, user is undertaken alternately by this interacting message interface and study camera, such as send message 704, server receives message 704, can be converted to corresponding control command thus control study camera.
In the present embodiment, certain operational capacity of network access equipment is represented by device attribute, device id and the device attribute of network access equipment transmission then can be received when network access equipment produces operation, get the application identities corresponding with device identification, corresponding trigger action is obtained according to device attribute and application identities, because the message comprised in trigger action for identification message recipient forwards flag bit, the message therefore generated can be pushed to corresponding message receiver.Make network access equipment produce certain operation time can active reporting to user, be convenient to the situation that user knows network access equipment in time.And create which kind of operation owing to can recognize network access equipment according to device attribute, as long as pre-define device attribute corresponding to network access equipment, can realize, to the unified management of various network access equipment, having more flexibility.
In one embodiment, receiving the registration request of network access equipment, be network access equipment assigned identification number; Device attribute is set and/or request is set according to the device attribute received and device attribute is set, the corresponding relation of storage device identification number and device attribute; Attribute-bit and property parameters is defined in this device attribute.
In the present embodiment, network access equipment can initiate registration request to server, and server is verified network access equipment according to registration request, is verified, and succeeds in registration, and stores this device id for network access equipment distributing equipment identification number.Device id can be used for mark network access equipment in network and server.Further, server can arrange the device attribute of network access equipment after succeeding in registration, i.e. the default property of network access equipment.Or the online website that the developer of network access equipment uses terminal logon server to provide, arranges the device attribute of network access equipment, i.e. the Custom Attributes of network access equipment by online website.No matter be default property or Custom Attributes, have uniquely for the attribute-bit of marking equipment attribute.Define attribute-bit and property parameters in device attribute, can be such as be key with attribute-bit, the data mode of the property parameters key-value that is value.Wherein, attribute-bit is the combination of device id and the identification number for attribute assignment.
Property parameters comprises following field contents: Property Name, attribute description, property value type, storage size, whether read-only, to user's whether visible, attribute creation-time, support equipment version and current whether effective.Can some related contents of define equipment attribute by property parameters, such as, attribute description shows user to check; Whether read-onlyly determine that device attribute is control command or reports order; To user's visible definable device attribute be whether developer separately visible or visible to user or other developer that developer is authorized or user visible.The application of terminal login management network access equipment, the property parameters of define equipment attribute.Server receives these property parameters, generates device attribute and the storage of corresponding device identification number, also can find corresponding device attribute by device id and be shown by online website afterwards.
In one embodiment, before the reception device id of network access equipment and the step of device attribute, also comprise: receive application bind request, this application bind request carries application identities and device id; Store the binding relationship of application identities and device id.
In the present embodiment, terminal can log in the application for supervising the network access device, by this application registered network access device, this application and equipment is carried out mandate binding.Server receives application bind request, thus stores the binding relationship of application identities and device id.
Further, in one embodiment, after the step of binding relationship storing application identities and device id, also comprise: receiving equipment attribute and the trigger action for device attribute configuration, define message corresponding under meeting attribute conditions in this trigger action and forward flag bit, attribute conditions comprises attribute-bit and corresponding property value; Store the corresponding relation of application identities, device id, device attribute and trigger action.
In the present embodiment, terminal is by being applied as the action of device attribute configure trigger, and this trigger action represents the corresponding behavior triggering next step under device attribute meets the attribute conditions of setting.Applying the device attribute can directly selecting to need trigger action in the interface that provides, then be arranged under what attribute conditions device attribute meet, what next step behavior is accordingly.Therefore, device attribute, attribute conditions and trigger action match.Such as, network access equipment is intelligent bulbs, has the device attribute light_on of switch, and when property value corresponding to this device attribute is 1, indication lamp is opened, and when corresponding property value is 0, indication lamp closes.Should be noted that, ability represented by the property value of the device attribute of network access equipment can by developer's self-defining of network access equipment, the same class network access equipment that different developer produces, the ability represented by the property value of its device attribute can be different.The property value of the such as device attribute of Haier's air-conditioning switch represents out when being 1, represents pass, and represents out when the property value of the device attribute of Gree switch can be 0, represent pass when being 1 when being 0.Further, attribute conditions refer to the property value of device attribute the condition that meets.Such as, the device attribute light_on=1 of intelligent bulbs, indication lamp is opened, and when meeting this condition, the action triggering next step is forwarding messages.Attribute conditions and corresponding trigger action can be configured by application by terminal, after having configured, the trigger action that server stores is corresponding with attribute conditions, the data mode of the key-value that each trigger action can be take identification number as key, parameter of regularity is value.Wherein, this identification number is the combination of application identities, device id and attribute-bit.Comprise attribute conditions in parameter of regularity and corresponding message forwards flag bit, message forward flag bit instruction should receive the message of propelling movement message receiver.
In one embodiment, this information push method also comprises: the propelling movement configuring request of receiving equipment attribute, according to propelling movement configuring request, the device attribute of submission is set to propelling movement state; Also comprise after the step of the device id and device attribute that receive network access equipment transmission: judge whether the device attribute received is propelling movement state, if, then obtain the user ID with device id with corresponding relation further, otherwise do not deal with.
In the present embodiment, terminal can log in an application being used for supervising the network access device, and this application and network access equipment are bound in advance, store the binding relationship of application identities and device id in the server.This application of terminal demonstration, to the administration interface of network access equipment, submits the propelling movement configuring request of device attribute to by this administration interface.Further, server receives the propelling movement configuring request of device attribute, carry the attribute-bit of device attribute in this request, the flag bit that server amendment attribute-bit is corresponding is propelling movement state, and it is push corresponding message to user that the operation identifying this device attribute produces.Therefore, when network access equipment produces operation, device attribute and the device id of this operation correspondence submit to server in the lump, server then obtains flag bit corresponding to attribute-bit in this device attribute, if this flag bit is shown as propelling movement state, then further generating messages be pushed to user terminal, if this flag bit is shown as do not push state, does not then deal with.
As shown in Figure 8, in one embodiment, additionally provide a kind of message push device, this device comprises:
First receiver module 802, for receiving device id and the device attribute of network access equipment transmission, this device attribute is for representing the operational capacity of network access equipment.
User ID acquisition module 804, represents for obtaining the user with device id with corresponding relation;
First message generating module 806, for generating corresponding message according to device attribute.
First pushing module 808, for by message push to the user terminal corresponding with described user ID.
In one embodiment, as shown in Figure 9, message push device also comprises:
First Registering modules 801, for receiving the registration request of network access equipment, is network access equipment distributing equipment identification number.
First attribute setup module 803, for arranging device attribute and/or arranging request arrange device attribute according to receiving device attribute, the corresponding relation of storage device identification number and device attribute; Attribute-bit and property parameters is defined in device attribute.
In one embodiment, as shown in Figure 10, message push device also comprises:
First pushes configuration module 805, for the propelling movement configuring request of receiving equipment attribute; According to propelling movement configuring request, the device attribute of submission is set to propelling movement state;
First judge module 807, for judging whether the device attribute received is propelling movement state, if so, then notifies that user ID obtains the user ID with device id with corresponding relation.
Total an embodiment, message push device also comprises sharing module (not shown), for receiving network access equipment sharing request, and this network access equipment sharing request Portable device identification number, host user's mark and sharing users mark; The user list corresponding with device id is set up according to host user's mark and sharing users mark; In the present embodiment, user ID acquisition module 804, for obtaining corresponding user list according to device id, extracts the user ID in the user list obtained.
In one embodiment, device attribute comprises attribute-bit and property parameters, comprises following field contents in this property parameters: Property Name, attribute description, property value type, storage size, whether read-only, to user's whether visible, attribute creation-time, support equipment version, current whether effective.
As shown in figure 11, in one embodiment, additionally provide another kind of message push device, this device comprises:
Second receiver module 1102, for receiving device id and the device attribute of network access equipment transmission, this device attribute is for representing the operational capacity of network access equipment.
Application identities acquisition module 1104, for obtaining corresponding application identities according to device id.
Action acquisition module 1106, for obtaining corresponding trigger action according to device attribute and application identities, the message comprised in this trigger action for identification message recipient forwards flag bit.
Second message generating module 1108, generates corresponding message for forwarding flag bit according to message.
Second message push module 1110, for forwarding flag bit by the message push of generation to message receiver according to message.
In one embodiment, as shown in figure 12, message push device also comprises:
Second Registering modules 1100, for receiving the registration request of network access equipment, is network access equipment distributing equipment identification number.
Second attribute setup module 1101, for arranging device attribute and/or arranging request arrange device attribute according to receiving device attribute, the corresponding relation of storage device identification number and device attribute; Attribute-bit and property parameters is defined in device attribute.
In one embodiment, as shown in figure 13, message push device also comprises:
Binding module 1103, for receiving application bind request, carries application identities and device id in this application bind request, stores the binding relationship of application identities and device id.
Action configuration module 1105, for receiving equipment attribute and the trigger action for device attribute configuration, under this trigger action defines and meets attribute conditions, corresponding message forwards flag bit, and attribute conditions comprises attribute-bit and corresponding property value; Store the corresponding relation of application identities, device id, device attribute and trigger action.
In one embodiment, as shown in figure 14, message push device also comprises:
Second pushes configuration module 1107, for the propelling movement configuring request of receiving equipment attribute; According to propelling movement configuring request, the device attribute of submission is set to propelling movement state.
Second judge module 1109, for judging whether the device attribute received is propelling movement state, if so, then notifies that application identities acquisition module 1104 obtains the application identities with device id with corresponding relation.
In one embodiment, device attribute comprises attribute-bit and property parameters, and property parameters comprises following field contents: Property Name, attribute description, property value type, storage size, whether read-only, to user's whether visible, attribute creation-time, support equipment version, current whether effective.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be disk, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.

Claims (22)

1. an information push method, described method comprises:
Receive device id and the device attribute of network access equipment transmission, described device attribute is for representing the operational capacity of network access equipment;
Obtain the user ID with described device id with corresponding relation;
Corresponding message is generated according to described device attribute;
By described message push to the user terminal corresponding with described user ID.
2. information push method according to claim 1, is characterized in that, before the device id of described reception network access equipment transmission and the step of device attribute, also comprises:
Receiving the registration request of network access equipment, is described network access equipment distributing equipment identification number;
Device attribute be set and/or request be set according to receiving device attribute device attribute is set, storing the corresponding relation of described device id and device attribute;
Attribute-bit and property parameters is defined in described device attribute.
3. information push method according to claim 1, is characterized in that, described method also comprises:
The propelling movement configuring request of receiving equipment attribute, is set to propelling movement state according to described propelling movement configuring request by the device attribute of submission;
Also comprise after the device id of described reception network access equipment transmission and the step of device attribute:
Judge whether the described device attribute that receives is propelling movement state, if so, then enter the step that described acquisition and described device id have the user ID of corresponding relation.
4. information push method according to claim 1, is characterized in that, before the device id of described reception network access equipment transmission and the step of device attribute, also comprises:
Receive network access equipment sharing request, described network access equipment sharing request Portable device identification number, host user's mark and sharing users mark;
The user list corresponding with device id is set up according to host user's mark and sharing users mark;
The step that described acquisition and described device id have the user ID of corresponding relation is:
Obtain corresponding user list according to described device id, extract the user ID in the described user list obtained.
5. information push method according to claim 1, it is characterized in that, described device attribute comprises attribute-bit and property parameters, and described property parameters comprises following field contents: Property Name, attribute description, property value type, storage size, whether read-only, to user's whether visible, attribute creation-time, support equipment version, current whether effective.
6. an information push method, described method comprises:
Receive device id and the device attribute of network access equipment transmission, described device attribute is for representing the operational capacity of network access equipment;
Corresponding application identities is obtained according to described device id;
Obtain corresponding trigger action according to described device attribute and application identities, the message comprised in described trigger action for identification message recipient forwards flag bit;
Forward flag bit according to described message and generate corresponding message;
Flag bit is forwarded by the message push of generation to message receiver according to described message.
7. information push method according to claim 6, is characterized in that, before the device id of described reception network access equipment transmission and the step of device attribute, also comprises:
Receiving the registration request of network access equipment, is described network access equipment distributing equipment identification number;
Device attribute be set and/or request be set according to receiving device attribute device attribute is set, storing the corresponding relation of described device id and device attribute;
Attribute-bit and property parameters is defined in described device attribute.
8. want the information push method described in 6 according to right, it is characterized in that, before the device id of described reception network access equipment transmission and the step of device attribute, also comprise:
Receive application bind request, in described application bind request, carry application identities and device id;
Store the binding relationship of described application identities and device id.
9. information push method according to claim 8, is characterized in that, after the step of the binding relationship of the described application identities of described storage and device id, also comprises:
Receiving equipment attribute and be the trigger action of described device attribute configuration, define in described trigger action and meet message corresponding under attribute conditions and forward flag bit, described attribute conditions comprises attribute-bit and corresponding property value;
Store the corresponding relation of described application identities, device id, device attribute and trigger action.
10. information push method according to claim 6, is characterized in that, described method also comprises:
The propelling movement configuring request of receiving equipment attribute, is set to propelling movement state according to described propelling movement configuring request by the device attribute of submission;
Also comprise after the device id of described reception network access equipment transmission and the step of device attribute:
Judge whether the described device attribute received is propelling movement state, if so, then enter the described step obtaining corresponding application identities according to described device id.
11. information push methods according to claim 6, it is characterized in that, described device attribute comprises attribute-bit and property parameters, and described property parameters comprises following field contents: Property Name, attribute description, property value type, storage size, whether read-only, to user's whether visible, attribute creation-time, support equipment version, current whether effective.
12. 1 kinds of message push devices, is characterized in that, described device comprises:
First receiver module, for receiving device id and the device attribute of network access equipment transmission, described device attribute is for representing the operational capacity of network access equipment;
User ID acquisition module, for obtaining the user ID with described device id with corresponding relation;
First message generating module, for generating corresponding message according to described device attribute;
First pushing module, for by described message push to the user terminal corresponding with described user ID.
13. message push devices according to claim 12, it is characterized in that, described device also comprises:
First Registering modules, for receiving the registration request of network access equipment, is described network access equipment distributing equipment identification number;
First attribute setup module, for arranging device attribute and/or arranging request arrange device attribute according to receiving device attribute, stores the corresponding relation of described device id and device attribute;
Attribute-bit and property parameters is defined in described device attribute.
14. message push devices according to claim 12, it is characterized in that, described device also comprises:
First pushes configuration module, for the propelling movement configuring request of receiving equipment attribute; According to described propelling movement configuring request, the device attribute of submission is set to propelling movement state;
First judge module, for judging whether the described device attribute received is propelling movement state, if so, then notifies that described user ID acquisition module obtains the user ID with described device id with corresponding relation.
15. message push devices according to claim 12, it is characterized in that, described device also comprises:
Sharing module, for receiving network access equipment sharing request, described network access equipment sharing request Portable device identification number, host user's mark and sharing users mark; The user list corresponding with described device id is set up according to described host user's mark and sharing users mark;
Described user ID acquisition module is used for obtaining corresponding user list according to described device id, extracts the user ID in the described user list obtained.
16. message push devices according to claim 12, it is characterized in that, described device attribute comprises attribute-bit and property parameters, and described property parameters comprises following field contents: Property Name, attribute description, property value type, storage size, whether read-only, to user's whether visible, attribute creation-time, support equipment version, current whether effective.
17. 1 kinds of message push devices, is characterized in that, described device comprises:
Second receiver module, for receiving device id and the device attribute of network access equipment transmission, described device attribute is for representing the operational capacity of network access equipment;
Application identities acquisition module, for obtaining corresponding application identities according to described device id;
Action acquisition module, for obtaining corresponding trigger action according to described device attribute and application identities, the message comprised in described trigger action for identification message recipient forwards flag bit;
Second message generating module, generates corresponding message for forwarding flag bit according to described message;
Second message push module, for forwarding flag bit by the message push of generation to message receiver according to described message.
18. message push devices according to claim 17, it is characterized in that, described device also comprises:
Second Registering modules, for receiving the registration request of network access equipment, is described network access equipment distributing equipment identification number;
Second attribute setup module, for arranging device attribute and/or arranging request arrange device attribute according to receiving device attribute, stores the corresponding relation of described device id and device attribute;
Attribute-bit and property parameters is defined in described device attribute.
19. message push devices according to claim 17, it is characterized in that, described device also comprises:
Binding module, for receiving application bind request, carries application identities and device id in described application bind request; Store the binding relationship of described application identities and device id.
20. message push devices according to claim 19, it is characterized in that, described device also comprises:
Action configuration module, for receiving equipment attribute be the trigger action of described device attribute configuration, described trigger action defines and meets message corresponding under attribute conditions and forward flag bit, and described attribute conditions comprises attribute-bit and corresponding property value; Store the corresponding relation of described application identities, device id, device attribute and trigger action.
21. message push devices according to claim 17, it is characterized in that, described device also comprises:
Second pushes configuration module, for the propelling movement configuring request of receiving equipment attribute; According to described propelling movement configuring request, the device attribute of submission is set to propelling movement state;
Second judge module, for judging whether the described device attribute received is propelling movement state, if so, then notifies that described application identities acquisition module obtains the application identities with described device id with corresponding relation.
22. message push devices according to claim 17, it is characterized in that, described device attribute comprises attribute-bit and property parameters, and described property parameters comprises following field contents: Property Name, attribute description, property value type, storage size, whether read-only, to user's whether visible, attribute creation-time, support equipment version, current whether effective.
CN201410608462.1A 2014-10-31 2014-10-31 Information push method and device Active CN105554048B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410608462.1A CN105554048B (en) 2014-10-31 2014-10-31 Information push method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410608462.1A CN105554048B (en) 2014-10-31 2014-10-31 Information push method and device

Publications (2)

Publication Number Publication Date
CN105554048A true CN105554048A (en) 2016-05-04
CN105554048B CN105554048B (en) 2019-09-17

Family

ID=55832981

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410608462.1A Active CN105554048B (en) 2014-10-31 2014-10-31 Information push method and device

Country Status (1)

Country Link
CN (1) CN105554048B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064698A (en) * 2006-04-30 2007-10-31 中国移动通信集团公司 Classification processing method for affair message of information household electrical appliance
CN101237335A (en) * 2007-02-02 2008-08-06 阿里巴巴公司 Method and system for real time notifying event status change
CN101635657A (en) * 2009-06-04 2010-01-27 北京中星微电子有限公司 Total IP network video monitoring, alarming and controlling method and service managing server
CN101888539A (en) * 2010-06-25 2010-11-17 中兴通讯股份有限公司 Wireless video monitoring system and method
CN102487481A (en) * 2010-12-01 2012-06-06 中国移动通信集团上海有限公司 System, method and equipment for sending alarm information
CN102892089A (en) * 2012-09-25 2013-01-23 中国联合网络通信集团有限公司 Message pushing method, device and system
CN103581287A (en) * 2012-07-31 2014-02-12 京瓷办公信息系统株式会社 Push notification system and method
US20140052859A1 (en) * 2012-08-14 2014-02-20 Empire Technology Development Llc Updating a currently utilized device
CN103746846A (en) * 2014-01-02 2014-04-23 华为技术有限公司 Network remote management method, network management system and user agency device
CN103795785A (en) * 2014-01-16 2014-05-14 加一联创电子科技有限公司 Internet of things control method and terminal
CN104079877A (en) * 2014-06-24 2014-10-01 海信集团有限公司 Monitoring equipment and security monitoring method and system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101064698A (en) * 2006-04-30 2007-10-31 中国移动通信集团公司 Classification processing method for affair message of information household electrical appliance
CN101237335A (en) * 2007-02-02 2008-08-06 阿里巴巴公司 Method and system for real time notifying event status change
CN101635657A (en) * 2009-06-04 2010-01-27 北京中星微电子有限公司 Total IP network video monitoring, alarming and controlling method and service managing server
CN101888539A (en) * 2010-06-25 2010-11-17 中兴通讯股份有限公司 Wireless video monitoring system and method
CN102487481A (en) * 2010-12-01 2012-06-06 中国移动通信集团上海有限公司 System, method and equipment for sending alarm information
CN103581287A (en) * 2012-07-31 2014-02-12 京瓷办公信息系统株式会社 Push notification system and method
US20140052859A1 (en) * 2012-08-14 2014-02-20 Empire Technology Development Llc Updating a currently utilized device
CN102892089A (en) * 2012-09-25 2013-01-23 中国联合网络通信集团有限公司 Message pushing method, device and system
CN103746846A (en) * 2014-01-02 2014-04-23 华为技术有限公司 Network remote management method, network management system and user agency device
CN103795785A (en) * 2014-01-16 2014-05-14 加一联创电子科技有限公司 Internet of things control method and terminal
CN104079877A (en) * 2014-06-24 2014-10-01 海信集团有限公司 Monitoring equipment and security monitoring method and system

Also Published As

Publication number Publication date
CN105554048B (en) 2019-09-17

Similar Documents

Publication Publication Date Title
US11316965B1 (en) Methods and systems for processing an ephemeral con tent message
JP6507255B2 (en) Method and system for providing private chat within group chat
CN101217504B (en) A method and communication system of communication contactors sharing
WO2016095516A1 (en) Complex event processing method, apparatus and system
US20170041255A1 (en) Information transmission control method, apparatus, and system
US20220231870A1 (en) Multiplexing message distribution within group-based communication system
CN104202353A (en) Cloud event processing method and device for internet of things interconnected cooperative system
CN111447133B (en) Message transmission method and device, storage medium and electronic device
KR20110071453A (en) Zigbee gateway and method for identifying message of the same
EP3364330B1 (en) Methods and systems for processing an ephemeral content message
JP2019531527A (en) Method, apparatus and system for performing notification
JP2020526991A (en) Techniques for multi-agent messaging
US20170279686A1 (en) Terminal Topology Management Service Method, Device, and System for Internet of Things
US20160277339A1 (en) Electronic Communication System
WO2015117362A1 (en) Method and device for sharing personal information on terminal
CN105490913A (en) Instant message processing method and device
CN109040331B (en) Electronic business card processing method and device, computing equipment and storage medium
CN109067905B (en) Method for realizing decentralized network application
US10050925B1 (en) Method and system for notifying users of misdirected response messages associated with messages sent on the users' behalf by an intermediary service
CN113329100B (en) Message pushing method, device and system
CN107222392B (en) Communication method, device, system and computer storage medium
CN113966602A (en) Distributed storage of blocks in a blockchain
CN104753773A (en) PC-based (personal computer based) instant communication system and communication method thereof
US11848923B2 (en) Secure peer-to-peer connection network and associated protocols for a group-based communication system
Tanganelli et al. A distributed architecture for discovery and access in the internet of things

Legal Events

Date Code Title Description
C06 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