CN105491091A - Information processing method and electronic equipment - Google Patents

Information processing method and electronic equipment Download PDF

Info

Publication number
CN105491091A
CN105491091A CN201410476062.XA CN201410476062A CN105491091A CN 105491091 A CN105491091 A CN 105491091A CN 201410476062 A CN201410476062 A CN 201410476062A CN 105491091 A CN105491091 A CN 105491091A
Authority
CN
China
Prior art keywords
electronic equipment
information
packet
data message
neighbor networks
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
CN201410476062.XA
Other languages
Chinese (zh)
Other versions
CN105491091B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410476062.XA priority Critical patent/CN105491091B/en
Publication of CN105491091A publication Critical patent/CN105491091A/en
Application granted granted Critical
Publication of CN105491091B publication Critical patent/CN105491091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses an information processing method and electronic equipment. The method includes the steps of: receiving data information sent by second electronic equipment, the second electronic equipment being connected with first electronic equipment, and the second electronic equipment uploading or downloading data through the first electronic equipment; judging the data information to be first information or second information, first information being information satisfying first preset conditions, and the first information being different from the second information; when the data information is the first information, packaging the first information into a first data packet according to a first preset format, the first data packet having an unmaskable property; and sharing the first data packet.

Description

A kind of information processing method and electronic equipment
Technical field
The present invention relates to the control technology in intelligent terminal field, particularly relate to a kind of information processing method and electronic equipment.
Background technology
Universal along with the Internet, increasing user can be used for connecting Internet for the electronic equipment of routing function by tool for mounting at home, by electronic equipment Download Info or to the Internet information upload from the Internet.At present, possess the electronic equipment of routing function, the data message of usually resolving for the data message needing to send or the needs that receive only possesses a basic route forwarding function.But the route forwarding function of these dramas more and more cannot ensure some data messages of preferential process, and then can not ensure the experience of user.
Summary of the invention
In view of this, the object of the embodiment of the present invention is to provide a kind of information processing method and electronic equipment, solve at least the above-mentioned problems in the prior art.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of information processing method, be applied to the first electronic equipment, described method comprises:
Receive the data message that the second electronic equipment is sent, wherein, described second electronic equipment is connected with described first electronic equipment and described second electronic equipment is uploaded or downloading data by described first electronic equipment;
Judge that described data message is the first information or the second information, wherein, the described first information is meet the first pre-conditioned information, and the described first information is different from described second information;
When described data message is the first information, according to the first preset format, the described first information is encapsulated as the first packet, described first packet possesses can not shielding;
Share described first packet.
Present invention also offers a kind of electronic equipment, described electronic equipment comprises:
Communication unit, for receiving the data message that the second electronic equipment is sent, wherein, described second electronic equipment is connected with described first electronic equipment and described second electronic equipment is uploaded or downloading data by described first electronic equipment; Share described first packet;
Information process unit, for judging that described data message is the first information or the second information, wherein, the described first information is meet the first pre-conditioned information, and the described first information is different from described second information; When described data message is the first information, according to the first preset format, the described first information is encapsulated as the first packet, described first packet possesses can not shielding.
The information processing method that the embodiment of the present invention provides and electronic equipment, can judge whether the data message received is the first information, the first information is encapsulated as possess can not shielding the first packet and share.Thus, just can be realized fast by the electronic equipment possessing routing function meeting sharing of pre-conditioned data message, promote experience.
Accompanying drawing explanation
Fig. 1 is embodiment of the present invention information processing method schematic flow sheet one;
Fig. 2 is embodiment of the present invention use scenes schematic diagram;
Fig. 3 is embodiment of the present invention information processing method schematic flow sheet two;
Fig. 4 is embodiment of the present invention neighbor networks composition structural representation;
Fig. 5 is embodiment of the present invention information processing method schematic flow sheet three;
Fig. 6 is embodiment of the present invention electronic equipment composition structural representation one;
Fig. 7 is embodiment of the present invention electronic equipment composition structural representation two.
Embodiment
Below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.
Embodiment one,
Present embodiments provide a kind of information processing method, be applied to the first electronic equipment, described first electronic equipment possesses routing function, and as shown in Figure 1, described method comprises:
Step 101: receive the data message that the second electronic equipment is sent, wherein, described second electronic equipment is connected with described first electronic equipment and described second electronic equipment is uploaded or downloading data by described first electronic equipment;
Step 102: judge that described data message is the first information or the second information, wherein, the described first information is meet the first pre-conditioned information, and the described first information is different from described second information;
Step 103: when described data message is the first information, according to the first preset format, the described first information is encapsulated as the first packet, described first packet possesses can not shielding;
Step 104: share described first packet.
Here, described first electronic equipment can be router.
Described second electronic equipment for being preset in the one or more inductors in user family, and can connect with described first electronic equipment in advance, or can also for being arranged at the one or more inductors in the first electronic equipment.Such as, the connection diagram of above-mentioned first electronic equipment and multiple second electronic equipment can be as shown in Figure 2, wherein the first electronic equipment can be router two 1, and the second electronic equipment can comprise following at least one: smoke sensing device 22, temperature inductor 24, alarm 23.In addition, described second electronic equipment for installing the inductor on notebook computer in fig. 2, or can also be arranged in mobile phone.
Accordingly, described data message can be: when smoke sensing device senses smog, output low level, and this low level is just as data message; When temperature inductor senses that temperature exceedes preset temperature threshold value, will the status indicator of preset temperature threshold value be exceeded as data message; When alarm sends alarm signal, using alarm signal as data message.
The described data message of described judgement is that the first information or the second information can comprise: when described data message meet first pre-conditioned time, described data message is the first information, otherwise described data message is the second information;
Wherein, described first pre-conditioned be the data message that described detecting unit is sent for characterizing described information.
Described second information is the information except the first information, and desktop computer, notebook or the mobile phone plane plate apparatus such as computer shown in Fig. 2 that can connect for the first electronic equipment need router connection server to carry out uploading and downloading data information.
Described share the first packet can for by described first Packet Generation extremely other-end in a network, such as, place network can be the Internet, and other-end can for being connected to the smart mobile phone, panel computer etc. of the Internet.
Visible, adopt such scheme, can judge whether the data message received is the first information, the first information is encapsulated as possess can not shielding the first packet and share.Thus, just can realize sharing of data message fast by the electronic equipment possessing routing function, the experience of lifting operation efficiency and user.
Embodiment two,
Present embodiments provide a kind of information processing method, be applied to the first electronic equipment, described first electronic equipment possesses routing function, and as shown in Figure 3, described method comprises:
Step 301: receive the data message that the second electronic equipment is sent, wherein, described second electronic equipment is connected with described first electronic equipment and described second electronic equipment is uploaded or downloading data by described first electronic equipment;
Step 302: judge that described data message is the first information or the second information, wherein, the described first information is meet the first pre-conditioned information, and the described first information is different from described second information;
Step 303: when described data message is the first information, according to the first preset format, the described first information is encapsulated as the first packet, described first packet possesses can not shielding;
Step 304: by described first Packet Generation to N number of 3rd electronic equipment in neighbor networks, the terminal equipment that described N number of 3rd electronic equipment or described N number of 3rd electronic equipment are connected processes according to described first packet;
Wherein, described neighbor networks is made up of at least two first kind electronic equipments, described first kind electronic equipment is the electronic equipment with routing function, described at least two first kind electronic equipments are interconnected by first passage between any two, described first kind electronic equipment accesses second network by second channel, described first passage is different from described second channel, and described first electronic equipment and described N number of 3rd electronic equipment all belong to described first kind electronic equipment.
Here, described first electronic equipment can be router.
Described second electronic equipment for being preset in the one or more inductors in user family, and can connect with described first electronic equipment in advance, or can also for being arranged at the one or more inductors in the first electronic equipment.Accordingly, described data message can be: when smoke sensing device senses smog, output low level, and this low level is just as data message; When temperature inductor senses that temperature exceedes preset temperature threshold value, will the status indicator of preset temperature threshold value be exceeded as data message; When alarm sends alarm signal, using alarm signal as data message.
The described data message of described judgement is that the first information or the second information can comprise: when described data message meet first pre-conditioned time, described data message is the first information, otherwise described data message is the second information;
Wherein, described first pre-conditioned be the data message that described detecting unit is sent for characterizing described information.
Described second information is the information except the first information, and desktop computer, notebook or the mobile phone plane plate apparatus such as computer shown in Fig. 2 that can connect for the first electronic equipment need router connection server to carry out uploading and downloading data information.
Neighbor networks described in the present embodiment can be as shown in Figure 4, comprise the first electronic equipment router four 1, and three the 3rd electronic equipments, be respectively router four 2, router four 3 and router four 4, connection topology between first electronic equipment and N number of 3rd electronic equipment can be the bus structures shown in Fig. 4, namely by being connected with a bus, realize being connected between two; Be understandable that and star topology can also be used to realize being connected between two between the first electronic equipment with N number of 3rd electronic equipment, the present embodiment does not provide diagram.In addition, described first electronic equipment and N number of 3rd electronic equipment access second network respectively by second channel, can be as shown in Figure 4, described first electronic equipment router four 1, and three the 3rd electronic equipments, be respectively router four 2, router four 3 and router four 4 to be connected with the server 40 in described second network respectively by second channel, to access second network.
Described first passage and second channel can be the different passage of channel, or can be the different passage of communication standard, or the passage that frequency is different.
Further, describedly according to the first preset format, the described first information is encapsulated as the first packet, can comprises: the priority determining the described first information; Utilize IP address encapsulation first packet of the priority of the described first information, described first electronic equipment.
Wherein, describedly determine that the priority of the first information can be: the priority determining the described first information according to the priority list preset, described default priority list can arrange different priority for the first information sent for the second different electronic equipments; Or the information of limit priority can also be for the first information being set to identical priority and the described first information;
Describedly utilize the priority of the described first information, IP address encapsulation first packet of described first electronic equipment is specifically as follows: be the identification information of shielding can not jointly be packaged into the first packet as the IP address of source address, the 3rd electronic equipment as destination address and characterization data bag using the IP address of the priority of the first information, attribute, the first electronic equipment.Such as, generate first packet, which includes: priority: the highest; Attribute: emergency alarm; Source IP address and object IP address; This packet can not conductively-closed.
Preferably, before execution above-described embodiment, can also comprise: preserve the certificate address information that the IP address of each first kind electronic equipment in described neighbor networks is corresponding.Its implementation can be: when router being added neighbor networks by user, carried out associating and reporting to neighbor networks with the IP address of described router by oneself certificate address information, other router detection in neighbor networks will be preserved to new IP address and certificate address information; Or can be: when router adds neighbor networks, open WIFI function, the signal of other WIFI hot spot detected is utilized to carry out WIFI location, determine the geographical position of self automatically, then according to the cartographic information preset or three-dimensional map information, determine the concrete certificate address information of self, the IP address of self and certificate address information are carried out associating and being shared to neighbor networks.
Preferably, in above-mentioned steps 304, described first Packet Generation can be comprised to N number of 3rd electronic equipment in neighbor networks: from described neighbor networks, choose N number of 3rd electronic equipment as target electronic device; By described first Packet Generation to described N number of 3rd electronic equipment chosen.
Wherein, the mode choosing N number of 3rd electronic equipment described in can be: according to the precedence information in the first packet, choose N number of 3rd electronic equipment receiving equal priority packet from the neighbours' electronic equipment priority list preset; Such as, the precedence information of the first packet is limit priority, from neighbours' electronic equipment priority list, so just choose N number of 3rd electronic equipment receiving highest priority data bag.So, the unmatched Packet Generation of priority just can be avoided to receiving in the electronic equipment of this packet, thus avoid bringing unnecessary data traffic to first passage.
Visible, adopt such scheme, can judge whether the data message received is the first information, the first information is encapsulated as possess can not the first packet of shielding, and share described first packet in neighbor networks.Thus, just can be realized sharing of the data message in neighbor networks fast by the electronic equipment possessing routing function, the experience of lifting operation efficiency and user.
Embodiment three,
Present embodiments provide a kind of information processing method, be applied to the first electronic equipment, described first electronic equipment possesses routing function, and as shown in Figure 5, described method comprises:
Step 501: receive the data message that the second electronic equipment is sent, wherein, described second electronic equipment is connected with described first electronic equipment and described second electronic equipment is uploaded or downloading data by described first electronic equipment;
Step 502: judge that described data message is the first information or the second information, wherein, the described first information is meet the first pre-conditioned information, and the described first information is different from described second information;
Step 503: when described data message is the first information, according to the first preset format, the described first information is encapsulated as the first packet, described first packet possesses can not shielding;
Step 504: the data traffic detecting first passage between the first electronic equipment and described N number of 3rd electronic equipment described in neighbor networks; When described data traffic is higher than the threshold value preset, the data traffic controlling to transmit in first passage between described first electronic equipment and described N number of 3rd electronic equipment is reduced to and is less than described default threshold value;
Step 505: by N number of 3rd electronic equipment in described first Packet Generation to described neighbor networks, the terminal equipment that described N number of 3rd electronic equipment or described N number of 3rd electronic equipment are connected processes according to described first packet;
Wherein, described neighbor networks is made up of at least two first kind electronic equipments, described first kind electronic equipment is the electronic equipment with routing function, described at least two first kind electronic equipments are interconnected by first passage between any two, described first kind electronic equipment accesses second network by second channel, described first passage is different from described second channel, and described first electronic equipment and described N number of 3rd electronic equipment all belong to described first kind electronic equipment.
Here, described first electronic equipment can be router.
Described second electronic equipment for being preset in the one or more inductors in user family, and can connect with described first electronic equipment in advance, or can also for being arranged at the one or more inductors in the first electronic equipment.Accordingly, described data message can be: when smoke sensing device senses smog, output low level, and this low level is just as data message; When temperature inductor senses that temperature exceedes preset temperature threshold value, will the status indicator of preset temperature threshold value be exceeded as data message; When alarm sends alarm signal, using alarm signal as data message.
The described data message of described judgement is that the first information or the second information can comprise: when described data message meet first pre-conditioned time, described data message is the first information, otherwise described data message is the second information;
Wherein, described first pre-conditioned be the data message that described detecting unit is sent for characterizing described information.
Described second information is the information except the first information, and desktop computer, notebook or the mobile phone plane plate apparatus such as computer shown in Fig. 2 that can connect for the first electronic equipment need router connection server to carry out uploading and downloading data information.
Neighbor networks described in the present embodiment can be as shown in Figure 4, comprise the first electronic equipment router four 1, and three the 3rd electronic equipments, be respectively router four 2, router four 3 and router four 4, connection topology between first electronic equipment and N number of 3rd electronic equipment can be the bus structures shown in Fig. 4, namely by being connected with a bus, realize being connected between two; Be understandable that and star topology can also be used to realize being connected between two between the first electronic equipment with N number of 3rd electronic equipment, the present embodiment does not provide diagram.In addition, described first electronic equipment and N number of 3rd electronic equipment access second network respectively by second channel, can be as shown in Figure 4, described first electronic equipment router four 1, and three the 3rd electronic equipments, be respectively router four 2, router four 3 and router four 4 to be connected with the server 40 in described second network respectively by second channel, to access second network.
Described first passage and second channel can be the different passage of channel, or can be the different passage of communication standard, or the passage that frequency is different.
Above-mentioned steps 504 specifically can comprise: the data traffic judging the first electronic equipment described in described neighbor networks and the N number of first passage between described N number of 3rd electronic equipment successively, when the data traffic of any one data channel in described N number of first passage is higher than the threshold value preset, notify that the 3rd electronic equipment of the other end connected in described first passage reduces its data traffic in first passage, until the data traffic in this first passage is lower than described default threshold value; Wherein, described default threshold value can be arranged according to actual conditions, such as, when the data message needing N number of 3rd electronic equipment be connected with described first electronic equipment not transmit other, when only transmitting the first packet, can for described threshold value be preset as zero.Thus, ensure that described first packet can preferentially send.
Further, describedly according to the first preset format, the described first information is encapsulated as the first packet, can comprises: the priority determining the described first information; Utilize IP address encapsulation first packet of the priority of the described first information, described first electronic equipment.
Wherein, describedly determine that the priority of the first information can be: the priority determining the described first information according to the priority list preset, described default priority list can arrange different priority for the first information sent for the second different electronic equipments; Or the information of limit priority can also be for the first information being set to identical priority and the described first information;
Describedly utilize the priority of the described first information, IP address encapsulation first packet of described first electronic equipment is specifically as follows: be the identification information of shielding can not jointly be packaged into the first packet as the IP address of source address, the 3rd electronic equipment as destination address and characterization data bag using the IP address of the priority of the first information, attribute, the first electronic equipment.Such as, generate first packet, which includes: priority: the highest; Attribute: emergency alarm; Source IP address and object IP address; This packet can not conductively-closed.Further, mark corresponding to dissimilar emergency alarm can also be comprised in described attribute, be convenient to the terminal receiving the first packet, be that user demonstrates concrete alert content by resolving described first packet, make user grasp situation more accurately, carry out subsequent treatment in light of the circumstances.
Preferably, before execution above-described embodiment, can also comprise: preserve the certificate address information that the IP address of each first kind electronic equipment in described neighbor networks is corresponding.Its implementation can be: when router being added neighbor networks by user, carried out associating and reporting to neighbor networks with the IP address of described router by oneself certificate address information, other router detection in neighbor networks will be preserved to new IP address and certificate address information; Or can be: when router adds neighbor networks, open WIFI function, the signal of other WIFI hot spot detected is utilized to carry out WIFI location, determine the geographical position of self automatically, then according to the cartographic information preset or three-dimensional map information, determine the concrete certificate address information of self, the IP address of self and certificate address information are carried out associating and being shared to neighbor networks.
Preferably, in above-mentioned steps 505, described first Packet Generation can be comprised to N number of 3rd electronic equipment in neighbor networks: from described neighbor networks, choose N number of 3rd electronic equipment as target electronic device; By described first Packet Generation to described N number of 3rd electronic equipment chosen.
Wherein, the mode choosing N number of 3rd electronic equipment described in can be: according to the precedence information in the first packet, choose N number of 3rd electronic equipment receiving equal priority packet from the neighbours' electronic equipment priority list preset; Such as, the precedence information of the first packet is limit priority, from neighbours' electronic equipment priority list, so just choose N number of 3rd electronic equipment receiving highest priority data bag.So, the unmatched Packet Generation of priority just can be avoided to receiving in the electronic equipment of this packet, thus avoid bringing unnecessary data traffic to first passage.
A concrete use scenes of the present embodiment can be: when only having old man in manager, due to can not operating electronic equipment, and action comparatively inconvenience, situation about cannot sound all clear as soon as possible may be there is; Such as, gas leak is there is in manager, and old man does not smell the taste of gas leak, now, second electronic equipment possessing odor detection function installed in family detects gas leak, then this second electronic equipment generates a data message, data message is sent to the router in family;
Router judges that this data message is meet the first pre-conditioned first information, then this first information is encapsulated as the first packet, first packet is transmitted in neighbor networks, other routers be in neighbor networks are made to receive this first packet, be in other routers in neighbor networks by the first Packet Generation to corresponding user terminal, make neighbours obtain which family concrete according to the specifying information in the first packet and occur emergency, and can determine specifically occurred which kind of emergency according to the first packet, then follow-up process is carried out according to the first packet.
Visible, adopt such scheme, can judge whether the data message received is the first information, the first information is encapsulated as possess can not the first packet of shielding, and share described first packet in neighbor networks.Thus, just can be realized sharing of the data message in neighbor networks fast by the electronic equipment possessing routing function, the experience of lifting operation efficiency and user.
Embodiment four,
Present embodiments provide a kind of electronic equipment, as shown in Figure 6, comprising:
Communication unit 61, for receiving the data message that the second electronic equipment is sent, wherein, described second electronic equipment is connected with described first electronic equipment and described second electronic equipment is uploaded or downloading data by described first electronic equipment; Share described first packet;
Information process unit 62, for judging that described data message is the first information or the second information, wherein, the described first information is meet the first pre-conditioned information, and the described first information is different from described second information; When described data message is the first information, according to the first preset format, the described first information is encapsulated as the first packet, described first packet possesses can not shielding.
Described second electronic equipment for being preset in the one or more inductors in user family, and can connect with described first electronic equipment in advance, or can also for being arranged at the one or more inductors in the first electronic equipment.Such as, the connection diagram of above-mentioned first electronic equipment and multiple second electronic equipment can be as shown in Figure 2, wherein the first electronic equipment can be router two 1, and the second electronic equipment can comprise following at least one: smoke sensing device 22, temperature inductor 24, alarm 23.In addition, described second electronic equipment for installing the inductor on notebook computer in fig. 2, or can also be arranged in mobile phone.
Accordingly, described data message can be: when smoke sensing device senses smog, output low level, and this low level is just as data message; When temperature inductor senses that temperature exceedes preset temperature threshold value, will the status indicator of preset temperature threshold value be exceeded as data message; When alarm sends alarm signal, using alarm signal as data message.
Described information process unit 62, specifically for meet when described data message first pre-conditioned time, described data message is the first information, otherwise described data message is the second information;
Wherein, described first pre-conditioned be the data message that described detecting unit is sent for characterizing described information.
Described second information is the information except the first information, and desktop computer, notebook or the mobile phone plane plate apparatus such as computer shown in Fig. 2 that can connect for the first electronic equipment need router connection server to carry out uploading and downloading data information.
Described communication unit 61 can by described first Packet Generation to other-end in a network, such as, place network can be the Internet, and other-end can for being connected to the smart mobile phone, panel computer etc. of the Internet.
Visible, adopt such scheme, can judge whether the data message received is the first information, the first information is encapsulated as possess can not shielding the first packet and share.Thus, just can realize sharing of data message fast by the electronic equipment possessing routing function, the experience of lifting operation efficiency and user.
Embodiment five,
Present embodiments provide a kind of electronic equipment, as shown in Figure 7, comprising:
Communication unit 71, for receiving the data message that the second electronic equipment is sent, wherein, described second electronic equipment is connected with described first electronic equipment and described second electronic equipment is uploaded or downloading data by described first electronic equipment; Share described first packet;
Information process unit 72, for judging that described data message is the first information or the second information, wherein, the described first information is meet the first pre-conditioned information, and the described first information is different from described second information; When described data message is the first information, according to the first preset format, the described first information is encapsulated as the first packet, described first packet possesses can not shielding.
Described communication unit 71, comprising:
First communication subelement 711, possesses routing function, for being connected by first passage with the first kind electronic equipment in neighbor networks, by described first Packet Generation to N number of 3rd electronic equipment in neighbor networks, the terminal equipment that described N number of 3rd electronic equipment or described N number of 3rd electronic equipment are connected processes according to described first packet; Wherein, described neighbor networks is made up of at least two first kind electronic equipments, described first kind electronic equipment is the electronic equipment with routing function, described at least two first kind electronic equipments are interconnected by first passage between any two, described first kind electronic equipment accesses second network by second channel, described first passage is different from described second channel, and described electronic equipment and described N number of 3rd electronic equipment all belong to described first kind electronic equipment;
Second communication subelement 712, possesses routing function, for accessing second network by second channel.
Described first electronic equipment can be router.
Described second electronic equipment for being preset in the one or more inductors in user family, and can connect with described first electronic equipment in advance, or can also for being arranged at the one or more inductors in the first electronic equipment.Accordingly, described data message can be: when smoke sensing device senses smog, output low level, and this low level is just as data message; When temperature inductor senses that temperature exceedes preset temperature threshold value, will the status indicator of preset temperature threshold value be exceeded as data message; When alarm sends alarm signal, using alarm signal as data message.
Described information process unit 72, specifically for meet when described data message first pre-conditioned time, described data message is the first information, otherwise described data message is the second information;
Wherein, described first pre-conditioned be the data message that described detecting unit is sent for characterizing described information.
Described second information is the information except the first information, and desktop computer, notebook or the mobile phone plane plate apparatus such as computer shown in Fig. 2 that can connect for the first electronic equipment need router connection server to carry out uploading and downloading data information.
Neighbor networks described in the present embodiment can be as shown in Figure 4, comprise the first electronic equipment router four 1, and three the 3rd electronic equipments, be respectively router four 2, router four 3 and router four 4, connection topology between first electronic equipment and N number of 3rd electronic equipment can be the bus structures shown in Fig. 4, namely by being connected with a bus, realize being connected between two; Be understandable that and star topology can also be used to realize being connected between two between the first electronic equipment with N number of 3rd electronic equipment, the present embodiment does not provide diagram.In addition, described first electronic equipment and N number of 3rd electronic equipment access second network respectively by second channel, can be as shown in Figure 4, described first electronic equipment router four 1, and three the 3rd electronic equipments, be respectively router four 2, router four 3 and router four 4 to be connected with the server 40 in described second network respectively by second channel, to access second network.
Described first passage and second channel can be the different passage of channel, or can be the different passage of communication standard, or the passage that frequency is different.
Further, described information process unit 72 may be used for the priority determining the described first information; Utilize IP address encapsulation first packet of the priority of the described first information, described first electronic equipment.
Wherein, when information process unit 72 is specifically for determining the priority of the first information, determine the priority of the described first information according to the priority list preset, described default priority list can arrange different priority for the first information sent for the second different electronic equipments; Or the information of limit priority can also be for the first information being set to identical priority and the described first information;
The IP address of the priority of the first information, attribute, the first electronic equipment is the identification information of shielding can not jointly be packaged into the first packet as the IP address of source address, the 3rd electronic equipment as destination address and characterization data bag by described information process unit 72.Such as, generate first packet, which includes: priority: the highest; Attribute: emergency alarm; Source IP address and object IP address; This packet can not conductively-closed.
Preferably, before execution above-described embodiment, information process unit 72 can also preserve certificate address information corresponding to the IP address of each first kind electronic equipment in described neighbor networks.Its implementation can be: when router being added neighbor networks by user, carried out associating and reporting to neighbor networks with the IP address of described router by oneself certificate address information, other router detection in neighbor networks will be preserved to new IP address and certificate address information; Or can be: when adding neighbor networks, open WIFI function, the signal of other WIFI hot spot detected is utilized to carry out WIFI location, determine the geographical position of self automatically, then according to the cartographic information preset or three-dimensional map information, determine the concrete certificate address information of self, the IP address of self and certificate address information are carried out associating and being shared to neighbor networks.
Preferably, the first communication subelement 711, also for choosing N number of 3rd electronic equipment as target electronic device from described neighbor networks; By described first Packet Generation to described N number of 3rd electronic equipment chosen.
Wherein, the mode that N number of 3rd electronic equipment chosen by described first communication subelement 711 can be: according to the precedence information in the first packet, chooses N number of 3rd electronic equipment receiving equal priority packet from the neighbours' electronic equipment priority list preset; Such as, the precedence information of the first packet is limit priority, from neighbours' electronic equipment priority list, so just choose N number of 3rd electronic equipment receiving highest priority data bag.So, the unmatched Packet Generation of priority just can be avoided to receiving in the electronic equipment of this packet, thus avoid bringing unnecessary data traffic to first passage.
Visible, adopt such scheme, can judge whether the data message received is the first information, the first information is encapsulated as possess can not the first packet of shielding, and share described first packet in neighbor networks.Thus, just can be realized sharing of the data message in neighbor networks fast by the electronic equipment possessing routing function, the experience of lifting operation efficiency and user.
Embodiment six,
Present embodiments provide a kind of electronic equipment, comprising:
Communication unit, for receiving the data message that the second electronic equipment is sent, wherein, described second electronic equipment is connected with described first electronic equipment and described second electronic equipment is uploaded or downloading data by described first electronic equipment; Share described first packet;
Information process unit, for judging that described data message is the first information or the second information, wherein, the described first information is meet the first pre-conditioned information, and the described first information is different from described second information; When described data message is the first information, according to the first preset format, the described first information is encapsulated as the first packet, described first packet possesses can not shielding.
Described communication unit, comprising:
First communication subelement, possesses routing function, for being connected by first passage with the first kind electronic equipment in neighbor networks, by described first Packet Generation to N number of 3rd electronic equipment in neighbor networks, the terminal equipment that described N number of 3rd electronic equipment or described N number of 3rd electronic equipment are connected processes according to described first packet; Wherein, described neighbor networks is made up of at least two first kind electronic equipments, described first kind electronic equipment is the electronic equipment with routing function, described at least two first kind electronic equipments are interconnected by first passage between any two, described first kind electronic equipment accesses second network by second channel, described first passage is different from described second channel, and described electronic equipment and described N number of 3rd electronic equipment all belong to described first kind electronic equipment;
Second communication subelement, possesses routing function, for accessing second network by second channel.
Described first communication subelement, also for detecting the first electronic equipment described in described neighbor networks and the data traffic of first passage between described N number of 3rd electronic equipment; When described data traffic is higher than the threshold value preset, the data traffic controlling to transmit in first passage between described first electronic equipment and described N number of 3rd electronic equipment is reduced to and is less than described default threshold value.
Here, described first electronic equipment can be router.
Described second electronic equipment for being preset in the one or more inductors in user family, and can connect with described first electronic equipment in advance, or can also for being arranged at the one or more inductors in the first electronic equipment.Accordingly, described data message can be: when smoke sensing device senses smog, output low level, and this low level is just as data message; When temperature inductor senses that temperature exceedes preset temperature threshold value, will the status indicator of preset temperature threshold value be exceeded as data message; When alarm sends alarm signal, using alarm signal as data message.
The described data message of described judgement is that the first information or the second information can comprise: when described data message meet first pre-conditioned time, described data message is the first information, otherwise described data message is the second information;
Wherein, described first pre-conditioned be the data message that described detecting unit is sent for characterizing described information.
Described second information is the information except the first information, and desktop computer, notebook or the mobile phone plane plate apparatus such as computer shown in Fig. 2 that can connect for the first electronic equipment need router connection server to carry out uploading and downloading data information.
Neighbor networks described in the present embodiment can be as shown in Figure 4, comprise the first electronic equipment router four 1, and three the 3rd electronic equipments, be respectively router four 2, router four 3 and router four 4, connection topology between first electronic equipment and N number of 3rd electronic equipment can be the bus structures shown in Fig. 4, namely by being connected with a bus, realize being connected between two; Be understandable that and star topology can also be used to realize being connected between two between the first electronic equipment with N number of 3rd electronic equipment, the present embodiment does not provide diagram.In addition, described first electronic equipment and N number of 3rd electronic equipment access second network respectively by second channel, can be as shown in Figure 4, described first electronic equipment router four 1, and three the 3rd electronic equipments, be respectively router four 2, router four 3 and router four 4 to be connected with the server 40 in described second network respectively by second channel, to access second network.
Described first passage and second channel can be the different passage of channel, or can be the different passage of communication standard, or the passage that frequency is different.
Above-mentioned information process unit, specifically for judging the data traffic of the first electronic equipment described in described neighbor networks and the N number of first passage between described N number of 3rd electronic equipment successively, when the data traffic of any one data channel in described N number of first passage is higher than the threshold value preset, notify that the 3rd electronic equipment of the other end connected in described first passage reduces its data traffic in first passage, until the data traffic in this first passage is lower than described default threshold value; Wherein, described default threshold value can be arranged according to actual conditions, such as, when the data message needing N number of 3rd electronic equipment be connected with described first electronic equipment not transmit other, when only transmitting the first packet, can for described threshold value be preset as zero.Thus, ensure that described first packet can preferentially send.
Further, information process unit, specifically for determining the priority of the described first information; Utilize IP address encapsulation first packet of the priority of the described first information, described first electronic equipment.
Wherein, information process unit, specifically for determining the priority of the described first information according to the priority list preset, described default priority list can arrange different priority for the first information sent for the second different electronic equipments; Or the information of limit priority can also be for the first information being set to identical priority and the described first information;
Described information process unit, specifically for being the identification information of shielding can not jointly be packaged into the first packet as the IP address of source address, the 3rd electronic equipment as destination address and characterization data bag using the IP address of the priority of the first information, attribute, the first electronic equipment.Such as, generate first packet, which includes: priority: the highest; Attribute: emergency alarm; Source IP address and object IP address; This packet can not conductively-closed.Further, mark corresponding to dissimilar emergency alarm can also be comprised in described attribute, be convenient to the terminal receiving the first packet, be that user demonstrates concrete alert content by resolving described first packet, make user grasp situation more accurately, carry out subsequent treatment in light of the circumstances.
Preferably, before execution above-described embodiment, information process unit, also for certificate address information that the IP address of preserving each first kind electronic equipment in described neighbor networks is corresponding.Its implementation can be: when router being added neighbor networks by user, carried out associating and reporting to neighbor networks with the IP address of described router by oneself certificate address information, other router detection in neighbor networks will be preserved to new IP address and certificate address information; Or can be: when router adds neighbor networks, open WIFI function, the signal of other WIFI hot spot detected is utilized to carry out WIFI location, determine the geographical position of self automatically, then according to the cartographic information preset or three-dimensional map information, determine the concrete certificate address information of self, the IP address of self and certificate address information are carried out associating and being shared to neighbor networks.
Preferably, above-mentioned first communication subelement, also for choosing N number of 3rd electronic equipment as target electronic device from described neighbor networks; By described first Packet Generation to described N number of 3rd electronic equipment chosen.
Wherein, described first communication subelement, the mode choosing N number of 3rd electronic equipment can be: according to the precedence information in the first packet, chooses N number of 3rd electronic equipment receiving equal priority packet from the neighbours' electronic equipment priority list preset; Such as, the precedence information of the first packet is limit priority, from neighbours' electronic equipment priority list, so just choose N number of 3rd electronic equipment receiving highest priority data bag.So, the unmatched Packet Generation of priority just can be avoided to receiving in the electronic equipment of this packet, thus avoid bringing unnecessary data traffic to first passage.
A concrete use scenes of the present embodiment can be: when only having old man in manager, due to can not operating electronic equipment, and action comparatively inconvenience, situation about cannot sound all clear as soon as possible may be there is; Such as, gas leak is there is in manager, and old man does not smell the taste of gas leak, now, second electronic equipment possessing odor detection function installed in family detects gas leak, then this second electronic equipment generates a data message, data message is sent to the router in family;
Router judges that this data message is meet the first pre-conditioned first information, then this first information is encapsulated as the first packet, first packet is transmitted in neighbor networks, other routers be in neighbor networks are made to receive this first packet, be in other routers in neighbor networks by the first Packet Generation to corresponding user terminal, make neighbours obtain which family concrete according to the specifying information in the first packet and occur emergency, and can determine specifically occurred which kind of emergency according to the first packet, then follow-up process is carried out according to the first packet.
Visible, adopt such scheme, can judge whether the data message received is the first information, the first information is encapsulated as possess can not the first packet of shielding, and share described first packet in neighbor networks.Thus, just can be realized sharing of the data message in neighbor networks fast by the electronic equipment possessing routing function, the experience of lifting operation efficiency and user.
In several embodiments that the application provides, should be understood that, disclosed equipment can realize by another way.Apparatus embodiments described above is only schematic, and actual can have other dividing mode, as some features can be ignored when realizing.In addition, the coupling each other of shown or discussed each part or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location; Part or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (12)

1. an information processing method, is applied to the first electronic equipment, and described method comprises:
Receive the data message that the second electronic equipment is sent, wherein, described second electronic equipment is connected with described first electronic equipment and described second electronic equipment is uploaded or downloading data by described first electronic equipment;
Judge that described data message is the first information or the second information, wherein, the described first information is meet the first pre-conditioned information, and the described first information is different from described second information;
When described data message is the first information, according to the first preset format, the described first information is encapsulated as the first packet, described first packet possesses can not shielding;
Share described first packet.
2. method according to claim 1, is characterized in that, described shared described first packet, comprising:
By described first Packet Generation to N number of 3rd electronic equipment in neighbor networks, the terminal equipment that described N number of 3rd electronic equipment or described N number of 3rd electronic equipment are connected processes according to described first packet;
Wherein, described neighbor networks is made up of at least two first kind electronic equipments, described first kind electronic equipment is the electronic equipment with routing function, described at least two first kind electronic equipments are interconnected by first passage between any two, described first kind electronic equipment accesses second network by second channel, described first passage is different from described second channel, and described first electronic equipment and described N number of 3rd electronic equipment all belong to described first kind electronic equipment.
3. method according to claim 1 and 2, is characterized in that, describedly according to the first preset format, the described first information is encapsulated as the first packet, comprising:
Determine the priority of the described first information;
Utilize IP address encapsulation first packet of the priority of the described first information, described first electronic equipment.
4. method according to claim 2, is characterized in that, described method also comprises:
Preserve the certificate address information that the IP address of each first kind electronic equipment in described neighbor networks is corresponding.
5. method according to claim 2, is characterized in that, by described first Packet Generation to N number of 3rd electronic equipment in neighbor networks, comprising:
N number of 3rd electronic equipment is chosen as target electronic device from described neighbor networks;
By described first Packet Generation to described N number of 3rd electronic equipment chosen.
6. method according to claim 2, is characterized in that, described by before described first Packet Generation to N number of 3rd electronic equipment in neighbor networks, described method also comprises:
Detect the first electronic equipment described in described neighbor networks and the data traffic of first passage between described N number of 3rd electronic equipment;
When described data traffic is higher than the threshold value preset, the data traffic controlling to transmit in first passage between described first electronic equipment and described N number of 3rd electronic equipment is reduced to and is less than described default threshold value.
7. an electronic equipment, described electronic equipment comprises:
Communication unit, for receiving the data message that the second electronic equipment is sent, wherein, described second electronic equipment is connected with described first electronic equipment and described second electronic equipment is uploaded or downloading data by described first electronic equipment; Share described first packet;
Information process unit, for judging that described data message is the first information or the second information, wherein, the described first information is meet the first pre-conditioned information, and the described first information is different from described second information; When described data message is the first information, according to the first preset format, the described first information is encapsulated as the first packet, described first packet possesses can not shielding.
8. electronic equipment according to claim 7, is characterized in that, described communication unit, comprising:
First communication subelement, possesses routing function, for being connected by first passage with the first kind electronic equipment in neighbor networks, by described first Packet Generation to N number of 3rd electronic equipment in neighbor networks, the terminal equipment that described N number of 3rd electronic equipment or described N number of 3rd electronic equipment are connected processes according to described first packet; Wherein, described neighbor networks is made up of at least two first kind electronic equipments, described first kind electronic equipment is the electronic equipment with routing function, described at least two first kind electronic equipments are interconnected by first passage between any two, described first kind electronic equipment accesses second network by second channel, described first passage is different from described second channel, and described electronic equipment and described N number of 3rd electronic equipment all belong to described first kind electronic equipment;
Second communication subelement, possesses routing function, for accessing second network by second channel.
9. the electronic equipment according to claim 7 or 8, is characterized in that, described information process unit, specifically for determining the priority of the described first information; Utilize IP address encapsulation first packet of the priority of the described first information, described first electronic equipment.
10. electronic equipment according to claim 8, is characterized in that, described information process unit, also for certificate address information that the IP address of preserving each first kind electronic equipment in described neighbor networks is corresponding.
11. electronic equipments according to claim 8, is characterized in that, described first communication subelement, specifically for choosing N number of 3rd electronic equipment as target electronic device from described neighbor networks; By described first Packet Generation to described N number of 3rd electronic equipment chosen.
12. electronic equipments according to claim 8, is characterized in that, described first communication subelement, also for detecting the first electronic equipment described in described neighbor networks and the data traffic of first passage between described N number of 3rd electronic equipment; When described data traffic is higher than the threshold value preset, the data traffic controlling to transmit in first passage between described first electronic equipment and described N number of 3rd electronic equipment is reduced to and is less than described default threshold value.
CN201410476062.XA 2014-09-17 2014-09-17 Information processing method and electronic equipment Active CN105491091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410476062.XA CN105491091B (en) 2014-09-17 2014-09-17 Information processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410476062.XA CN105491091B (en) 2014-09-17 2014-09-17 Information processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN105491091A true CN105491091A (en) 2016-04-13
CN105491091B CN105491091B (en) 2020-06-23

Family

ID=55677801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410476062.XA Active CN105491091B (en) 2014-09-17 2014-09-17 Information processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN105491091B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170441A (en) * 2007-11-26 2008-04-30 中兴通讯股份有限公司 A method and device for shielding device alarm in network management system
CN101299715A (en) * 2008-05-19 2008-11-05 华为技术有限公司 Compulsion multicast method and system, route equipment and terminal equipment
CN101340319A (en) * 2008-08-20 2009-01-07 中兴通讯股份有限公司 Method and device for network management alarm
US20120112901A1 (en) * 2010-11-09 2012-05-10 Cellnet Innovations, Inc. Systems for Detecting, Collecting, Communicating, and Using Information About Environmental Conditions and Occurrences
CN102487481A (en) * 2010-12-01 2012-06-06 ***通信集团上海有限公司 System, method and equipment for sending alarm information
CN202889661U (en) * 2012-11-06 2013-04-17 湖北大学 Intelligent wireless router for family Internet of Things
CN103582185A (en) * 2012-07-26 2014-02-12 深圳市乙辰科技发展有限公司 Wireless router

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101170441A (en) * 2007-11-26 2008-04-30 中兴通讯股份有限公司 A method and device for shielding device alarm in network management system
CN101299715A (en) * 2008-05-19 2008-11-05 华为技术有限公司 Compulsion multicast method and system, route equipment and terminal equipment
CN101340319A (en) * 2008-08-20 2009-01-07 中兴通讯股份有限公司 Method and device for network management alarm
US20120112901A1 (en) * 2010-11-09 2012-05-10 Cellnet Innovations, Inc. Systems for Detecting, Collecting, Communicating, and Using Information About Environmental Conditions and Occurrences
CN102487481A (en) * 2010-12-01 2012-06-06 ***通信集团上海有限公司 System, method and equipment for sending alarm information
CN103582185A (en) * 2012-07-26 2014-02-12 深圳市乙辰科技发展有限公司 Wireless router
CN202889661U (en) * 2012-11-06 2013-04-17 湖北大学 Intelligent wireless router for family Internet of Things

Also Published As

Publication number Publication date
CN105491091B (en) 2020-06-23

Similar Documents

Publication Publication Date Title
CN105376357B (en) A kind of antenna installation method and device of mobile device
CN103095521B (en) The control method of flow detection, system, device, controller and checkout equipment
CN107466079B (en) Automatic relay switching method and device
CN105227693B (en) A kind of configuration method and device of the DNS of mobile device
US9887936B2 (en) Application identification and overlay provisioning as a service
CA2950206A1 (en) Flow entry configuration method, apparatus, and system
CN107113892B (en) Method and device for automatically networking gateway equipment
CN105474602A (en) Method, device and equipment of identifying attack flow in software defined network
CN105072038A (en) Method and device for forwarding data message
CN107947994B (en) Network topology self-discovery method and device, network equipment and computer storage medium
RU2013111523A (en) PRIORIZED DATA TRANSFER
CN105591912A (en) Forwarding path selection method and device
CN104601394A (en) Business chain connectivity detection method, device and system
CN106330723B (en) Discovery method and device of network neighbor equipment
CN102739819B (en) Method, devices and system for establishing transmission channel
CN104683994A (en) Wireless network configuration method and wireless network devices
CN105337855A (en) Method and device used for processing modified message
CN104320502A (en) Terminal gateway IP address assignment method, data transmission method, MME and system
CN107465621B (en) Router discovery method, SDN controller, router and network system
JP2014165883A (en) Communication device
CN105227373A (en) Based on multi-layer topology discovery system for networks and the method for cloud controller
CN105045110B (en) Method and device for forwarding household appliance service call request
CN104717640A (en) Realization method for wireless network communication based on positioning
KR20150121115A (en) System and method for enabling g.hn nodes to support 1905.1 relaying (mac relaying) while supporting legacy g.hn relaying according to the g.hn standards
CN105491091A (en) Information processing method and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant