Summary of the invention
In view of this, the method that main purpose of the present invention is to provide a kind of gateway and realizes service announcements can be simplified the process of the interested business of user inquiring, thereby improves user's impression.
For achieving the above object, technical scheme of the present invention is achieved in that
A kind of gateway comprises notification message acquiring unit, notification message transmitting element and filter element at least, wherein,
Filter element is used to store the filtercondition that notification message is filtered;
The notification message acquiring unit is used for producing and/or receiving notice message, and exports to the notification message transmitting element;
The notification message transmitting element is used for the filtercondition according to filter element, selects to send to the network equipment with the corresponding notification message of filtercondition.
Described filter element comprises device management module, and/or the message customized module.
Described filter element comprises device management module, is used for the ability parameter and/or the state parameter of storage networking device;
Described notification message transmitting element specifically is used for ability parameter and/or state parameter according to the network equipment of device management module, selects to send to the described network equipment with the ability of the network equipment and/or the notification message that state adapts;
Perhaps,
Described filter element comprises device management module, is used for the service condition of storage networking device;
Described notification message transmitting element specifically is used for the service condition according to the network equipment of device management module, and the notification message that the service condition of the selection and the network equipment adapts sends to this network equipment;
Perhaps,
Described filter element comprises the message customized module, is used for type of notification message or classification that storage networking device customizes in advance;
Described notification message transmitting element, specifically be used for type of notification message that the network equipment customized or classification according to the message customization units, the notification message that type of notification message that the selection and the network equipment are customized or classification are complementary sends to the described network equipment;
Perhaps,
Described filter element comprises device management module and message customized module;
Described notification message transmitting element, specifically be used for type of notification message that the network equipment customized or classification according to the message customization units, and the ability parameter of the network equipment in the device management module and/or state parameter, type of notification message or the classification selecting to be customized with the network equipment are complementary, and the notification message that the ability that is customized with the network equipment and/or state adapt sends to the described network equipment.
When described selected notification message and the type of notification message or the classification of the network equipment are complementary, but with the ability of the network equipment and/or state when incompatible, described notification message transmitting element, also be used to store described selected notification message, when being deferred to the ability of the described notification message and the network equipment and/or state and adapting, send to the described network equipment.
Described notification message acquiring unit comprises the notification message generation module, is used for gateway and changes the generation notification message according to oneself state.
Described notification message acquiring unit also comprises the notification message receiver module, is used to receive the notification message from external server or other gateway.
This gateway also comprises network equipment condition monitoring unit, is used to detect network equipment state variation situation, and is notified to the notification message generation module;
Described notification message generation module is further used for according to network equipment state variation situation, generate new notification message and export to the notification message transmitting element, and described notification message transmitting element sends to the notification message of receiving other the network equipment.
In the personal network, the described network equipment is individual web network equipment, and described gateway is a personal network gateway;
In digital home network, the described network equipment is household electronic/electric equipment, and described gateway is a home gateway;
In local area network (LAN), the described network equipment is a lan device, and described gateway is a LAN gateway.
A kind of gateway is realized the method for service announcements, comprising:
Gateway obtains notification message, selects and the corresponding notification message of filtercondition according to the filtercondition of the network equipment, sends to the described network equipment.
This method also comprises: the described network equipment carries out message response to the notification message that receives.
Described gateway obtains notification message and comprises: change and the triggering for generating notification message according to oneself state; Perhaps,
The notification message that reception issues from external server or outside other gateway or equipment.
Described filtercondition comprises the ability parameter and/or the state parameter of the network equipment; The corresponding notification message of described selection is:
According to the ability parameter and/or the state parameter of the network equipment, select and the ability of the network equipment and/or the notification message that state adapts.
Described filtercondition comprises the service condition of the network equipment; The corresponding notification message of described selection is:
According to the service condition of the network equipment, the notification message that the service condition of the selection and the network equipment adapts.
Described filtercondition comprises type of notification message or the classification that the network equipment customizes in advance; The corresponding notification message of described selection is:
According to the type of notification message or the classification of network equipment customization, the notification message that type of notification message that the selection and the network equipment are customized or classification are complementary.
Described filtercondition comprises the ability parameter and/or the state parameter of the network equipment, and the network equipment type of notification message or the classification that customize in advance; The corresponding notification message of described selection is:
Type of notification message or classification according to network equipment customization, and the ability parameter of the network equipment and/or state parameter, type of notification message or the classification selecting to be customized with the network equipment are complementary, and the notification message that adapts with the ability and/or the state of the network equipment.
When the type of notification message or the classification of described selected notification message and network equipment customization is complementary, but with the ability of the network equipment and/or state when incompatible, this method also comprises:
Store described selected notification message, be deferred to and send to the described network equipment when ability of the described notification message and the network equipment and/or state adapt.
The technical scheme that provides from the invention described above as can be seen, comprise that gateway obtains notification message after, select and the corresponding notification message of filtercondition according to the filtercondition of the network equipment, send to this network equipment again.Realized identical or different notification message is sent to a plurality of network equipments simultaneously by gateway of the present invention, simplified the process of the interested business of user inquiring, solve the network equipment and from numerous magnanimity business, inquired about the inconvenience of interested business, and, improved user's impression by in time receiving the service announcements message in interested or the limit of power.
Embodiment
Fig. 1 as shown in Figure 1, comprises notification message acquiring unit, notification message transmitting element and filter element at least for the composition structural representation of gateway of the present invention, wherein,
Filter element is used to store the filtercondition that notification message is filtered.Different network equipment correspondence filterconditions separately, the filtercondition of heterogeneous networks equipment can be identical or different.
The notification message acquiring unit is used for generation and/or receiving notice message and exports to the notification message transmitting element.
The notification message transmitting element is used for the filtercondition according to filter element, selects to send to this network equipment with the corresponding notification message of filtercondition.
Wherein, filter element comprises device management module, and/or the message customized module,
When the filtration unit pack was drawn together device management module, device management module was used for the ability parameter and/or the state parameter of storage networking device; At this moment, the notification message transmitting element specifically is used for ability parameter and/or state parameter according to the network equipment of device management module, selects to send to this network equipment with the ability of the network equipment and/or the notification message that state adapts.Here, the ability of the network equipment is by the decision of its hardware and/or software, such as: for this network equipment of multimedia machine, can receive some multimedia notification messages; For navigator, can receive the message of Traffic Information class etc.The state of the network equipment refer to as online, off-line, power down, low-current alarming, state busy/spare time etc., if do not have electricity or off-line, so just do not send a notification message to this network equipment such as the network equipment, perhaps take processing such as delayed delivery.In addition,
Device management module also can be used for the service condition of storage networking device, it is the concrete business that the network equipment uses or orders, and the notification message transmitting element, specifically be used for the service condition according to the network equipment of device management module, the notification message that the service condition of the selection and the network equipment adapts sends to this network equipment.For example certain network equipment has been ordered the business of weather forecast, gateway will send to accordingly (promptly order in this example should business) network equipment according to the service condition of the network equipment after receiving this professional message, even and for those capable this message that receives of network equipments of not ordering weather forecast, gateway can not send this service message to it yet.The service condition of the network equipment also includes but not limited in addition: whether the network equipment is in certain service groups, or not the professional member who belongs to certain service groups, for example the notification message that issues of game on line server will be mass-sended to the all-network equipment that adds this game on line, and these network equipments that add games on line just constitute a service groups.When professional member adds, leaves, may produce corresponding message when inviting and be notified to other service groups member.And the network equipment of online chatting also constitutes a service groups (group), and disclosed group message can send to the equipment of all online chattings, and the chat messages of secret only can send to the network equipment that has service authority or have this service attribute.
When the filtration unit pack was drawn together the message customized module, the message customized module was used for type of notification message or the classification that storage networking device customizes in advance.Such as, the network equipment is in advance with interested News Category (need receive download of songs business etc.) as mp3 equipment; At this moment, the notification message transmitting element specifically is used for type of notification message that the network equipment customized or classification according to the message customization units, and the notification message of selecting to be complementary with it sends to this network equipment.
When the filtration unit pack is drawn together device management module and message customized module, the notification message transmitting element, specifically be used for type of notification message that the network equipment customized or classification according to the message customization units, and the ability parameter of the network equipment in the device management module and/or state parameter, type of notification message or the classification selecting to be customized with the network equipment are complementary, and send to this network equipment with notification message that the ability and/or the state of the network equipment adapts.Such as being complementary in type of notification message or classification that the notification message and the network equipment customized, and the state parameter display network equipment of the network equipment is when being in off-line state, the selected notification message of notification message transmitting element storage sends to this network equipment when the state parameter display network equipment that is deferred to the network equipment is in line states.
When selected notification message and the type of notification message or the classification of the network equipment are complementary, but with the ability of the network equipment and/or state when incompatible, the notification message transmitting element, also be used to store selected notification message, when being deferred to the ability of the described notification message and the network equipment and/or state and adapting, send to the described network equipment.
The notification message acquiring unit can comprise the notification message generation module, be used for gateway and change the generation notification message according to oneself state, when joining a new external network at gateway or when gateway and external network break link or gateway when low charge alert etc. occurring, can trigger gateway and produce notification message.
The notification message acquiring unit can further include the notification message receiver module, is used to receive the notification message from external server or other gateway.Such as the notice of new business issue, business tine Notification of Changes, access rights change notification etc.
Gateway of the present invention can also comprise network equipment condition monitoring unit, is used to detect network equipment state variation situation, and is notified to the notification message generation module.Such as having the new network equipment adding gateway place LAN or the network equipment to leave gateway place LAN etc., at this moment, the notification message generation module is further used for generating new notification message and exports to the notification message transmitting element, and the notification message transmitting element sends to the notification message of receiving other the network equipment.
Gateway of the present invention has been realized identical or different notification message is sent to a plurality of network equipments simultaneously, simplified the process of the interested business of user inquiring, solve the network equipment and from numerous magnanimity business, inquired about the inconvenience of interested business, and, improved user's impression by in time receiving the service announcements message in interested or the limit of power.
In conjunction with Fig. 1, be the operation principle that example illustrates system of the present invention with personal network, the network equipment among Fig. 1 is personal network's equipment at this moment, gateway is a personal network gateway.Suppose notification message A, notification message B and three notification messages of notification message C that personal network gateway receives server and issues, personal network gateway self produces notification message D, in this case,
If the restriction of personal network's equipment 1 un-customized News Category, and the ability parameter and/or the state parameter of the network equipment of storing in the personal network gateway slave unit administration module, judge ability and/or state that above-mentioned four notification messages can both adapt to personal network's equipment 1, so, personal network gateway all sends to personal network's equipment 1 with notification message A, notification message B, notification message C and notification message D;
If 2 customizations of personal network's equipment receive only the message (, being assumed to be notification message B here) of music download, so, personal network gateway only sends to personal network's equipment 2 with notification message B; If personal network's equipment 2 is in off-line state this moment, then individual net gateway will keep notification message B, by the time personal network's equipment 2 sends to personal network's equipment 2 with notification message B when reaching the standard grade again.
If the restriction of personal network's equipment 3 un-customized type of messages, still, the business that notification message A and notification message B represent is not suitable for the ability of personal network's equipment 3, and so, personal network gateway only sends to personal network's equipment 3 with notification message C and notification message D.
Fig. 2 is the flow chart of the method for gateway realization service announcements of the present invention, as shown in Figure 2, comprising:
Step 200: gateway obtains notification message.
In this step, gateway can be to change and the triggering for generating notification message according to oneself state, joins a new external network or gateway and external network such as gateway and disconnects and is connected or gateway appearance when hanging down situation such as charge alert the notification message of generation.Gateway also can be to issue notification message or the service message (being business tine) that obtains by receiving from external server or outside other gateway or equipment, all is referred to as notification message among the present invention.
Step 201: gateway is selected with the corresponding notification message of filtercondition according to the filtercondition of the network equipment and is sent to this network equipment.
At the different network equipments, the notification message that gateway is obtained filters, and selects suitable notification message to send to corresponding network device.Filtercondition can be the ability parameter and/or the state parameter of the network equipment, and/or, type of message that the network equipment customizes in advance or classification.
Gateway selects corresponding notification message to be specially according to the ability and/or the state of the network equipment: select and the ability of the network equipment and/or the notification message that state adapts.Here, the ability of the network equipment is by the decision of its hardware and/or software, such as: for this network equipment of multimedia machine, can receive some multimedia notification messages; The state of the network equipment refers to as online, off-line, power down etc., if do not have electricity or off-line such as the network equipment, does not so just send a notification message to this network equipment, perhaps takes processing such as delayed delivery;
Gateway selects corresponding notification message to be specially according to type of notification message or classification that the network equipment customizes in advance: select and the type of notification message of the network equipment or the notification message that classification is complementary;
Gateway is according to the ability and/or the state of the network equipment, and the network equipment type of notification message or the classification that customize in advance, select corresponding notification message to be specially: select to be complementary with the type of notification message or the classification of network equipment customization, and the notification message that adapts with the ability and/or the state of the network equipment.
When selected notification message and type of notification message or the classification that the network equipment customizes are complementary, but with the ability of the network equipment and/or state when incompatible, this method also comprises: the notification message that storage is selected, till being deferred to the ability of the described notification message and the network equipment and/or state and adapting, send to the network equipment again.
In addition, gateway also can be selected to send to the network equipment with the corresponding notification message of network equipment service condition according to the service condition of the network equipment.
After above-mentioned filtration, gateway can send to identical or different notification message each network equipment.Gateway can adopt multicast or multicast, broadcast mode that the notification message sending function is provided simultaneously.
The inventive method also further comprises step 202: the network equipment carries out message response to the notification message that receives.After notification message was issued to the network equipment, the network equipment can be immediately or is regularly made response.Such as notification message is when starting monitored instruction or monitoring condition, and the network equipment of notified message (watch-dog) can start monitoring function immediately or determine start-up course according to monitoring condition.
The inventive method is applicable to various forms of LAN, such as: personal network, digital home network, or local area network (LAN).In the personal network, the network equipment is PNE, and gateway is the PN gateway; In digital home network, the network equipment is household electronic/electric equipment, and gateway is a home gateway; In local area network (LAN), the network equipment is a lan device, and gateway is a LAN gateway.
The above is preferred embodiment of the present invention only, is not to be used to limit protection scope of the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.