CN105791356B - Communication control method and device - Google Patents
Communication control method and device Download PDFInfo
- Publication number
- CN105791356B CN105791356B CN201410816863.6A CN201410816863A CN105791356B CN 105791356 B CN105791356 B CN 105791356B CN 201410816863 A CN201410816863 A CN 201410816863A CN 105791356 B CN105791356 B CN 105791356B
- Authority
- CN
- China
- Prior art keywords
- present node
- node
- status data
- network
- present
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Abstract
The invention discloses a kind of communication control method and devices.Wherein, this method comprises: the network node into network except present node sends confirmation of synchronization instruction;It receives the confirmation that the network node except present node is sent and responds instruction, so that the network node except the present node and present node in network realizes synchronous communication;After receiving confirmation response instruction, the network node for controlling present node enters communication dormant state, wherein present node only receives the status data of the transmission of the network node except present node when communicating dormant state.The present invention solves the technical problem due to occupying a large amount of Internet resources using existing communication control method and then causing communication efficiency lower.
Description
Technical field
The present invention relates to the communications fields, in particular to a kind of communication control method and device.
Background technique
Nowadays, network has gradually become an important component in communication process, wherein each section in network
Point when being communicated, common communication mode be every the fixed cycle boss call the roll or dereliction notice by way of and network
In each node once communicated, periodically interact associated communication information on each node to realize.
However, in existing communication mode when reaching the predetermined period time, it is illogical on each node in managed network
Whether news information changes, and all needs other nodes being sent to the communication information on node using aforesaid way in network,
Repeated communications are not only caused in this way, identical communication information is had sent repeatedly, and also take up limited Internet resources,
So that important communication information can not be accurately and timely sent to.
Aiming at the problem that proposing in the prior art, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of communication control method and devices, at least to solve due to using existing communication
The technical problem that control method occupies a large amount of Internet resources and then causes communication efficiency lower.
According to an aspect of an embodiment of the present invention, a kind of communication control method is provided, comprising: work as prosthomere into network
Network node except point sends confirmation of synchronization instruction;Receive the confirmation response that the network node except above-mentioned present node is sent
Instruction, so that the above-mentioned present node in above-mentioned network realizes synchronous communication with the network node except above-mentioned present node;?
After receiving above-mentioned confirmation response instruction, the network node for controlling above-mentioned present node enters communication dormant state, wherein on
It states present node and only receives the status data that the network node except above-mentioned present node is sent in above-mentioned communication dormant state.
Optionally, after receiving above-mentioned confirmation response instruction, the network node for controlling above-mentioned present node, which enters, to be led to
After letter dormant state, further includes: whether the status data for detecting above-mentioned present node changes;If it is detected that above-mentioned state
Data change, then the network node being sent to the status data after variation except above-mentioned present node.
Optionally, after whether the above-mentioned status data for detecting above-mentioned present node changes, further includes: if not examining
It measures above-mentioned status data to change, then controls above-mentioned present node and keep above-mentioned communication dormant state.
Optionally, the above-mentioned status data of the above-mentioned present node of above-mentioned detection whether change including it is following at least it
One: detecting the control instruction for the above-mentioned status data whether above-mentioned present node receives for adjusting above-mentioned present node;Inspection
It surveys the above-mentioned status data whether above-mentioned present node sends according to the network node except above-mentioned present node and adjusts above-mentioned work as
The above-mentioned status data of front nodal point.
It optionally, include above-mentioned present node in the confirmation response instruction that the network node except above-mentioned present node is sent
Except network node status data.
Optionally, above-mentioned after receiving above-mentioned confirmation response instruction, control the network node of above-mentioned present node into
Entering to communicate dormant state includes: to judge whether the above-mentioned status data of the network node except above-mentioned present node changes;
If judging, the above-mentioned status data of the network node except above-mentioned present node does not change, controls above-mentioned present node
Into above-mentioned communication dormant state.
Optionally, after receiving above-mentioned confirmation response instruction, the network node for controlling above-mentioned present node, which enters, to be led to
After letter dormant state, further includes: periodically send the above-mentioned of above-mentioned present node to the network node except above-mentioned present node
Status data is in normal operating conditions with the above-mentioned present node of determination.
According to another aspect of an embodiment of the present invention, a kind of communication control unit is additionally provided, comprising: first sends list
Member sends confirmation of synchronization instruction for the network node except the present node into network;Receiving unit, for receiving above-mentioned work as
The confirmation that network node except front nodal point is sent responds instruction, so that above-mentioned present node in above-mentioned network and above-mentioned current
Network node except node realizes synchronous communication;First control unit, for after receiving above-mentioned confirmation response instruction,
The network node for controlling above-mentioned present node enters communication dormant state, wherein above-mentioned present node is in above-mentioned communication suspend mode shape
The status data that the network node except above-mentioned present node is sent only is received when state.
Optionally, above-mentioned apparatus further include: detection unit, for entering communication dormant state in the above-mentioned present node of control
Later, whether the status data for detecting above-mentioned present node changes;Second transmission unit, for detecting above-mentioned state
When data change, the status data after variation is sent to the network node except above-mentioned present node.
Optionally, above-mentioned apparatus further include: the second control unit, for not detecting that above-mentioned status data changes
When, it controls above-mentioned present node and keeps above-mentioned communication dormant state.
Optionally, above-mentioned detection unit includes at least one of: first detection module, for detecting above-mentioned present node
Whether the control instruction of above-mentioned status data for adjust above-mentioned present node is received;Second detection module, for detecting
It is above-mentioned current whether above-mentioned present node adjusts according to the above-mentioned status data that the network node except above-mentioned present node is sent
The above-mentioned status data of node.
It optionally, include above-mentioned present node in the confirmation response instruction that the network node except above-mentioned present node is sent
Except network node status data.
Optionally, above-mentioned first control unit includes: judgment module, for judging the network section except above-mentioned present node
Whether the above-mentioned status data of point changes;Control module, for judging the network node except above-mentioned present node
Above-mentioned status data when not changing, control above-mentioned present node into above-mentioned communication dormant state.
Optionally, further includes: third transmission unit, for control above-mentioned present node enter communication dormant state it
Afterwards, the above-mentioned status data of above-mentioned present node is periodically sent to the network node except above-mentioned present node, it is above-mentioned with determination
Present node is in normal operating conditions.
In embodiments of the present invention, it is instructed except the present node and present node that determine in network by confirmation of synchronization
After network node has realized synchronous communication, the network node except present node and present node in control network enters logical
Believe dormant state, only receives the status data that the network node except present node is sent to realize, and then avoid each net
Network node repeats to send identical status data.
Further, after the network node except present node and present node in a network enters communication dormant state,
Whether the status data of present node changes in detection network, after detecting variation, then terminates the communication of present node
Dormant state, triggering present node sends the status data after variation to the network node except present node, to realize control
Present node processed present node status data variation after just trigger sending action, overcome in the prior art no matter network section
Whether the status data on point, which changes all, needs caused by regular status data because reducing caused by occupying Internet resources
The problem of network communication efficiency, and then saving Internet resources are realized, and improve the effect of network communication efficiency.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention
It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of optional communication control method according to an embodiment of the present invention;
Fig. 2 is the flow chart of another optional communication control method according to an embodiment of the present invention;And
Fig. 3 is a kind of schematic diagram of optional communication control unit according to an embodiment of the present invention.
Specific embodiment
It should be noted that in the absence of conflict, the features in the embodiments and the embodiments of the present application can phase
Mutually combination.The present invention will be described in detail below with reference to the accompanying drawings and embodiments.
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention
Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people
The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work
It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein.In addition, term " includes " and " tool
Have " and their any deformation, it is intended that cover it is non-exclusive include, for example, containing a series of steps or units
Process, method, system, product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include without clear
Other step or units listing to Chu or intrinsic for these process, methods, product or equipment.
Embodiment 1
According to embodiments of the present invention, a kind of communication control method is provided, as shown in Figure 1, this method comprises:
S102, the network node into network except present node send confirmation of synchronization instruction;
S104 receives the confirmation that the network node except present node is sent and responds instruction, so as to work as prosthomere in network
Point realizes synchronous communication with the network node except present node;
S106, after receiving confirmation response instruction, the network node for controlling present node enters communication dormant state,
Wherein, present node only receives the status data of the transmission of the network node except present node when communicating dormant state.
Optionally, in the present embodiment, above-mentioned communication control method can be, but not limited to be applied to during network communication,
For example, each network node respectively includes an air-conditioner set, the air-conditioning on present node during airconditioning control network communication
Air-conditioner set of the unit on other network nodes into network except present node sends confirmation of synchronization instruction, and is receiving
Show that the air-conditioner set in network on each node has been carried out synchronous communication after confirmation response instruction, then, prosthomere is worked as in control
Air-conditioner set on point enters communication dormant state, to realize the state for only receiving that air-conditioner set is sent on other network nodes
Data avoid carrying out the status data of each air-conditioner set to repeat transmission, occupy limited Internet resources, and then reach raising
The purpose of communication efficiency.The example above is an example, and the present embodiment does not do any restriction to this.
Optionally, in the present embodiment, it can include but is not limited at least one of in above-mentioned confirmation of synchronization instruction: on
Electricity instructs, carries the request instruction of the status data of present node.Optionally, in the present embodiment, above-mentioned confirmation response refers to
It can include but is not limited at least one of in order: powering on the response instruction of instruction, carry the network except present node
The response of the status data of node instructs.
Optionally, in the present embodiment, after receiving the status data that the network node except present node is sent, also
Include:
S1, judges whether the status data of the network node except present node changes;
S2, if judging, the status data of the network node except present node does not change, controls present node
Into communication dormant state.
Optionally, in the present embodiment, the network node except above-mentioned present node can include but is not limited to: one or
It is multiple.For example, being determined in network after receiving the confirmation response instruction that the all-network node except present node is sent
Network node is in synchronous communication state.
Optionally, in the present embodiment, above-mentioned status data can include but is not limited to the communication state on present node
Data, wherein above-mentioned communication state data can include but is not limited to the working condition of present node.For example, with airconditioning control
For network, status data can be the temperature and/or humidity parameter of air-conditioner set on node.
It is specifically described in conjunction with following example, still by taking airconditioning control network as an example, it is assumed that above-mentioned confirmation of synchronization, which instructs, is
The request instruction of the status data of present node is carried, above-mentioned confirmation response instruction is the network carried except present node
The response of the status data of node instructs.Air-conditioner set on present node is after the power-up by current status data (for example, temperature
25 ° of degree, humidity 50%) it is sent to the air-conditioner set on the network node except present node, the network section except present node
Air-conditioner set on point responds above-metioned instruction, and the air-conditioner set on the network node except present node is sent to present node
Status data (for example, 28 ° of temperature, humidity 60%), if the shape of present node and the network node being not affected by except present node
The influence of state data then controls present node and enters communication dormant state.
Further, it is assumed that power on instruction, above-mentioned confirmation response instruction is the sound for powering on instruction for above-mentioned confirmation of synchronization instruction
It should instruct, then present node will directly control present node and enter dormant state after receiving above-mentioned response instruction, to avoid
Unnecessary network resources waste.
Optionally, in the present embodiment, after control present node enters communication dormant state, further includes: detection is worked as
Whether the status data of front nodal point changes.Wherein, if it is detected that status data changes, by the status number after variation
According to the network node being sent to except present node;If not detecting, status data changes, and keeps above-mentioned communication suspend mode
State.
By embodiment provided by the present application, the present node and present node that determine in network are instructed by confirmation of synchronization
Except network node realized synchronous communication after, control network in present node and present node except network node
Into communication dormant state, the status data that the network node except present node is sent only is received to realize, is avoided each
Network node repeats to send identical status data, and then provides the efficiency of network communication.
As a kind of optional scheme, after receiving confirmation response instruction, control the network node of present node into
After entering to communicate dormant state, further includes:
Whether S1, the status data for detecting present node change;
Status data after variation is sent to except present node by S2 if it is detected that status data changes
Network node.
Optionally, in the present embodiment, the status data of above-mentioned detection present node whether change may include but
It is not limited at least one of:
1) it detects whether to receive the control instruction for being adjusted the status data of present node;
2) whether detection present node has adjusted currently according to the status data that the network node except present node is sent
The status data of node.
For example, still by taking airconditioning control network as an example, detect present node status data (for example, 25 ° of temperature, humidity
50%) after the status data (for example, 28 ° of temperature, humidity 60%) for receiving the network node except present node, if
It is adjusted according to the status data of the network node except above-mentioned present node, if adjusting, then it represents that present node
Status data changes, for example, being adjusted to 26 ° of temperature, then humidity 55% terminates the communication dormant state of present node,
The air-conditioner set status data of present node after variation being sent on the network node except present node.
By embodiment provided by the present application, the network node except present node and present node in a network enters
After communicating dormant state, whether the status data for detecting present node in network changes, and after detecting variation, then terminates
The communication dormant state of present node, triggering present node send the status number after variation to the network node except present node
According to, thus realize control present node present node status data variation after just trigger sending action, avoid the prior art
In no matter the status data on network node whether change all need caused by regular status data because occupy network
Resource causes the problem of reducing network communication efficiency, and then realizes saving Internet resources, and improve the effect of network communication efficiency
Fruit.
As a kind of optional scheme, after whether the status data of detection present node changes, further includes:
S1, if not detecting, status data changes, and controls present node and keeps communication dormant state.
For example, still by taking airconditioning control network as an example, the status data for not detecting present node is (wet for example, 25 ° of temperature
50%) any variation occurs for degree, for example, adjustment instruction is not received, also not according to the network node except present node
Status data adjustment variation, then keep the communication dormant state of present node, only receives the network node hair except present node
The status data sent.
By embodiment provided by the present application, when present node does not detect status data variation, then prosthomere is worked as in control
Point continues to keep communication dormant state, to avoid occupying limited data transmission channel, achievees the purpose that save Internet resources.
As a kind of optional scheme, detect present node status data whether change including it is following at least it
One:
Whether S1, detection present node receive the control instruction of the status data for adjusting present node;
Prosthomere is worked as in S2, the status data adjustment whether detection present node sends according to the network node except present node
The status data of point.
It is specifically described in conjunction with following example, still by taking airconditioning control network as an example, it is assumed that detect the state of present node
Data (for example, 25 ° of temperature, humidity 50%), further, present node is detected for adjusting the status data of present node
26 ° of temperature are adjusted to, the control instruction (for example, the instruction is artificial by controller setting) of humidity 55%, then it represents that current
The status data of node changes, and then controls the communication dormant state for terminating present node, by the present node after variation
Status data be sent to the air-conditioner set on the network node except present node.
By embodiment provided by the present application, after the status data variation for detecting present node through the above way, control
System terminate present node communication dormant state, and trigger present node to except present node network node send variation after
Status data, thus realize control present node present node status data variation after just trigger sending action, avoid
In the prior art no matter the status data on network node whether change all need caused by regular status data because
It occupies Internet resources and causes the problem of reducing network communication efficiency, and then realize saving Internet resources, and improve network communication
The effect of efficiency.
As a kind of optional scheme, after receiving confirmation response instruction, control the network node of present node into
After entering to communicate dormant state, further includes:
S1 sends the status data of present node, to the network node except present node periodically to determine present node
In normal operating conditions.
Optionally, in the present embodiment, it is above-mentioned periodically in the predetermined period time can be, but not limited to be answered according to different
With scene flexible setting.
By embodiment provided by the present application, present node is by periodically sending shape to the network node except present node
It when state data, realizes whether real time monitoring present node is in normal operating conditions, avoids communication failure occur in present node
When be but mistaken as in communication dormant state the case where, be further ensured that the reliability of communication.
It specifically combines in Fig. 2 and is described shown in S202-S214, by taking airconditioning control network as an example, on present node
For air-conditioner set, after the air-conditioner set power-up initializing on present node, the network node into network except present node
Send confirmation of synchronization instruction, such as step S202-S204, and then such as step S206, in a network present node and present node it
After air-conditioner set on outer network node realizes synchronous communication, controls all nodes and enter communication dormant state.Further, it examines
Whether the status data for surveying the node in communication dormant state changes, such as step S208, detects on present node
Whether the status data of air-conditioner set changes, if it is detected that changing, thens follow the steps S210, will be on present node
The status data of air-conditioner set is sent to the network node except present node, if not detecting to change, executes step again
S206, into communication dormant state.In addition, such as step S212, air-conditioner set on present node is periodically to except present node
Network node on air-conditioner set send present node status data, specifically, execute step S214, see if fall out
Predetermined period thens follow the steps S210, triggers the sending action of present node, if without departing from predetermined week if exceeding predetermined period
Phase thens follow the steps S206, keeps communication dormant state.
Embodiment 2
According to embodiments of the present invention, additionally provide it is a kind of for implementing the communication control unit of above-mentioned communication control method,
As shown in figure 3, the device includes:
1) the first transmission unit 302 sends confirmation of synchronization instruction for the network node except the present node into network;
2) receiving unit 304, the confirmation response instruction sent for receiving the network node except present node, so that net
Network node except present node and present node in network realizes synchronous communication;
3) first control unit 306, for controlling the network node of present node after receiving confirmation response instruction
Into communication dormant state, wherein present node only receives the hair of the network node except present node when communicating dormant state
The status data sent.
Optionally, in the present embodiment, above-mentioned communication control method can be, but not limited to be applied to during network communication,
For example, each network node respectively includes an air-conditioner set, the air-conditioning on present node during airconditioning control network communication
Air-conditioner set of the unit on other network nodes into network except present node sends confirmation of synchronization instruction, and is receiving
Show that the air-conditioner set in network on each node has been carried out synchronous communication after confirmation response instruction, then, prosthomere is worked as in control
Air-conditioner set on point enters communication dormant state, to realize the state for only receiving that air-conditioner set is sent on other network nodes
Data avoid carrying out the status data of each air-conditioner set to repeat transmission, occupy limited Internet resources, and then reach raising
The purpose of communication efficiency.The example above is an example, and the present embodiment does not do any restriction to this.
Optionally, in the present embodiment, it can include but is not limited at least one of in above-mentioned confirmation of synchronization instruction: on
Electricity instructs, carries the request instruction of the status data of present node.Optionally, in the present embodiment, above-mentioned confirmation response refers to
It can include but is not limited at least one of in order: powering on the response instruction of instruction, carry the network except present node
The response of the status data of node instructs.
Optionally, in the present embodiment, after receiving the status data that the network node except present node is sent, also
Include:
S1, judges whether the status data of the network node except present node changes;
S2, if judging, the status data of the network node except present node does not change, controls present node
Into communication dormant state.
Optionally, in the present embodiment, the network node except above-mentioned present node can include but is not limited to: one or
It is multiple.For example, being determined in network after receiving the confirmation response instruction that the all-network node except present node is sent
Network node is in synchronous communication state.
Optionally, in the present embodiment, above-mentioned status data can include but is not limited to the communication state on present node
Data, wherein above-mentioned communication state data can include but is not limited to the working condition of present node.For example, with airconditioning control
For network, status data can be the temperature and/or humidity parameter of air-conditioner set on node.
It is specifically described in conjunction with following example, still by taking airconditioning control network as an example, it is assumed that above-mentioned confirmation of synchronization, which instructs, is
The request instruction of the status data of present node is carried, above-mentioned confirmation response instruction is the network carried except present node
The response of the status data of node instructs.Air-conditioner set on present node is after the power-up by current status data (for example, temperature
25 ° of degree, humidity 50%) it is sent to the air-conditioner set on the network node except present node, the network section except present node
Air-conditioner set on point responds above-metioned instruction, and the air-conditioner set on the network node except present node is sent to present node
Status data (for example, 28 ° of temperature, humidity 60%), if the shape of present node and the network node being not affected by except present node
The influence of state data then controls present node and enters communication dormant state.
Further, it is assumed that power on instruction, above-mentioned confirmation response instruction is the sound for powering on instruction for above-mentioned confirmation of synchronization instruction
It should instruct, then present node will directly control present node and enter dormant state after receiving above-mentioned response instruction, to avoid
Unnecessary network resources waste.
Optionally, in the present embodiment, after control present node enters communication dormant state, further includes: detection is worked as
Whether the status data of front nodal point changes.Wherein, if it is detected that status data changes, by the status number after variation
According to the network node being sent to except present node;If it is detected that status data does not change, above-mentioned communication suspend mode is kept
State.
By embodiment provided by the present application, the present node and present node that determine in network are instructed by confirmation of synchronization
Except network node realized synchronous communication after, control network in present node and present node except network node
Into communication dormant state, the status data that the network node except present node is sent only is received to realize, is avoided each
Network node repeats to send identical status data, and then provides the efficiency of network communication.
As a kind of optional scheme, above-mentioned apparatus further include:
1) detection unit, for detecting the state of present node after control present node enters communication dormant state
Whether data change;
2) the second transmission unit, for when detecting that status data changes, the status data after variation to be sent
To the network node except present node.
Optionally, in the present embodiment, the status data of above-mentioned detection present node whether change may include but
It is not limited at least one of:
1) it detects whether to receive the control instruction for being adjusted the status data of present node;
2) whether detection present node has adjusted currently according to the status data that the network node except present node is sent
The status data of node.
For example, still by taking airconditioning control network as an example, detect present node status data (for example, 25 ° of temperature, humidity
50%) after the status data (for example, 28 ° of temperature, humidity 60%) for receiving the network node except present node, if
It is adjusted according to the status data of the network node except above-mentioned present node, if adjusting, then it represents that present node
Status data changes, for example, being adjusted to 26 ° of temperature, then humidity 55% terminates the communication dormant state of present node,
The air-conditioner set status data of present node after variation being sent on the network node except present node.
By embodiment provided by the present application, the network node except present node and present node in a network enters
After communicating dormant state, whether the status data for detecting present node in network changes, and after detecting variation, then terminates
The communication dormant state of present node, triggering present node send the status number after variation to the network node except present node
According to, thus realize control present node present node status data variation after just trigger sending action, avoid the prior art
In no matter the status data on network node whether change all need caused by regular status data because occupy network
Resource causes the problem of reducing network communication efficiency, and then realizes saving Internet resources, and improve the effect of network communication efficiency
Fruit.
As a kind of optional scheme, above-mentioned apparatus further include:
1) the second control unit, for when not detecting that status data changes, control present node to keep communication
Dormant state.
For example, still by taking airconditioning control network as an example, the status data for not detecting present node is (wet for example, 25 ° of temperature
50%) any variation occurs for degree, for example, adjustment instruction is not received, also not according to the network node except present node
Status data adjustment variation, then keep the communication dormant state of present node, only receives the network node hair except present node
The status data sent.
By embodiment provided by the present application, when present node does not detect status data variation, then prosthomere is worked as in control
Point continues to keep communication dormant state, to avoid occupying limited data transmission channel, achievees the purpose that save Internet resources.
As a kind of optional scheme, above-mentioned detection unit includes at least one of:
1) first detection module, for detecting whether present node receives status data for adjusting present node
Control instruction;
2) the second detection module, the shape whether sent according to the network node except present node for detecting present node
The status data of state data point reuse present node.
It is specifically described in conjunction with following example, still by taking airconditioning control network as an example, it is assumed that detect the state of present node
Data (for example, 25 ° of temperature, humidity 50%), further, present node is detected for adjusting the status data of present node
26 ° of temperature are adjusted to, the control instruction (for example, the instruction is artificial by controller setting) of humidity 55%, then it represents that current
The status data of node changes, and then controls the communication dormant state for terminating present node, by the present node after variation
Status data be sent to the air-conditioner set on the network node except present node.
By embodiment provided by the present application, after the status data variation for detecting present node through the above way, control
System terminate present node communication dormant state, and trigger present node to except present node network node send variation after
Status data, thus realize control present node present node status data variation after just trigger sending action, avoid
In the prior art no matter the status data on network node whether change all need caused by regular status data because
It occupies Internet resources and causes the problem of reducing network communication efficiency, and then realize saving Internet resources, and improve network communication
The effect of efficiency.
As a kind of optional scheme, first control unit 306 includes:
1) judgment module, for judging whether the status data of the network node except present node changes;
2) control module, for when judging that the status data of the network node except present node does not change,
Control present node enters communication dormant state.
It optionally, in the present embodiment, include working as in the confirmation response instruction that the network node except present node is sent
The status data of network node except front nodal point.
As a kind of optional scheme, above-mentioned apparatus further include:
1) third transmission unit, for control present node enter communication dormant state after, periodically to present node
Except network node send present node status data, to determine that present node is in normal operating conditions.
Optionally, in the present embodiment, it is above-mentioned periodically in the predetermined period time can be, but not limited to be answered according to different
With scene flexible setting.
By embodiment provided by the present application, present node is by periodically sending shape to the network node except present node
It when state data, realizes whether real time monitoring present node is in normal operating conditions, avoids communication failure occur in present node
When be but mistaken as in communication dormant state the case where, be further ensured that the reliability of communication.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of
Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because
According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know
It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention
It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment
Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way
It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of
Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can
To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual
Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit,
It can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list
Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, mobile terminal, server or network equipment etc.) executes side described in each embodiment of the present invention
The all or part of the steps of method.And storage medium above-mentioned include: USB flash disk, read-only memory (ROM, Read-Only Memory),
Random access memory (RAM, Random Access Memory), mobile hard disk, magnetic or disk etc. are various to be can store
The medium of program code.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of communication control method characterized by comprising
Network node into network except present node sends confirmation of synchronization instruction;
The confirmation response instruction that the network node except the present node is sent is received, so that described current in the network
Network node except node and the present node realizes synchronous communication, wherein the network node except the present node
It include the status data of the network node except the present node in the confirmation response instruction of transmission;
After receiving the confirmation response instruction, the network node for controlling the present node enters communication dormant state,
Wherein, the present node only receives the shape that the network node except the present node is sent in the communication dormant state
State data;
Wherein, described after receiving the confirmation response instruction, the network node for controlling the present node enters communication
Dormant state includes: to judge whether the status data of the network node except the present node changes;If judgement
The status data of the network node except the present node does not change out, then controls the present node and enter institute
State communication dormant state.
2. the method according to claim 1, wherein controlling institute after receiving the confirmation response instruction
The network node for stating present node enters after communication dormant state, further includes:
Whether the status data for detecting the present node changes;
If it is detected that the status data changes, the status data after variation is sent to except the present node
Network node.
3. according to the method described in claim 2, it is characterized in that, the status data for detecting the present node whether
After changing, further includes:
If not detecting, the status data changes, and controls the present node and keeps the communication dormant state.
4. according to the method described in claim 2, it is characterized in that, the status data of the detection present node is
It is no to change including at least one of:
Detect the control instruction for the status data whether present node receives for adjusting the present node;
Detect whether the present node adjusts according to the status data that the network node except the present node is sent
The status data of the present node.
5. the method according to claim 1, wherein controlling institute after receiving the confirmation response instruction
The network node for stating present node enters after communication dormant state, further includes:
The status data that the present node is periodically sent to the network node except the present node, described in determination
Present node is in normal operating conditions.
6. a kind of communication control unit characterized by comprising
First transmission unit sends confirmation of synchronization instruction for the network node except the present node into network;
Receiving unit, the confirmation response instruction sent for receiving the network node except the present node, so that the net
The network node except the present node and the present node in network realizes synchronous communication, wherein the present node
Except network node send confirmation response instruction in include the present node except network node status data;
First control unit, for controlling the network node of the present node after receiving the confirmation response instruction
Into communication dormant state, wherein the present node only receives except the present node in the communication dormant state
Network node send status data;
Wherein, the first control unit includes: judgment module, for judging the institute of the network node except the present node
State whether status data changes;Control module, for judging described in the network node except the present node
When status data does not change, the present node is controlled into the communication dormant state.
7. device according to claim 6, which is characterized in that further include:
Detection unit, for detecting the shape of the present node after controlling the present node and entering communication dormant state
Whether state data change;
Second transmission unit, for when detecting that the status data changes, the status data after variation to be sent to
Network node except the present node.
8. device according to claim 7, which is characterized in that further include:
Second control unit keeps institute for when not detecting that the status data changes, controlling the present node
State communication dormant state.
9. device according to claim 7, which is characterized in that the detection unit includes at least one of:
First detection module, for detecting whether the present node receives the state for adjusting the present node
The control instruction of data;
Second detection module, for whether detecting the present node according to the network node transmission except the present node
The status data adjusts the status data of the present node.
10. device according to claim 6, which is characterized in that further include:
Third transmission unit, for periodically working as prosthomere to described after controlling the present node and entering communication dormant state
Network node except point sends the status data of the present node, is in and is worked normally with the determination present node
State.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410816863.6A CN105791356B (en) | 2014-12-23 | 2014-12-23 | Communication control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410816863.6A CN105791356B (en) | 2014-12-23 | 2014-12-23 | Communication control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105791356A CN105791356A (en) | 2016-07-20 |
CN105791356B true CN105791356B (en) | 2019-08-27 |
Family
ID=56378284
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410816863.6A Active CN105791356B (en) | 2014-12-23 | 2014-12-23 | Communication control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105791356B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102124718A (en) * | 2008-08-18 | 2011-07-13 | 传感电子有限责任公司 | Mobile wireless network for asset tracking and supply chain monitoring |
CN102685916A (en) * | 2012-05-25 | 2012-09-19 | 福州大学 | Two-stage node scheduling method for wireless sensor network |
CN103702402A (en) * | 2013-12-20 | 2014-04-02 | 山西慧联网络技术有限责任公司 | Low-power-consumption parking space state collection method based on wireless sensor network |
CN104184602A (en) * | 2013-05-23 | 2014-12-03 | 中兴通讯股份有限公司 | Incremental data synchronization method, network element management system and network management system |
-
2014
- 2014-12-23 CN CN201410816863.6A patent/CN105791356B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102124718A (en) * | 2008-08-18 | 2011-07-13 | 传感电子有限责任公司 | Mobile wireless network for asset tracking and supply chain monitoring |
CN102685916A (en) * | 2012-05-25 | 2012-09-19 | 福州大学 | Two-stage node scheduling method for wireless sensor network |
CN104184602A (en) * | 2013-05-23 | 2014-12-03 | 中兴通讯股份有限公司 | Incremental data synchronization method, network element management system and network management system |
CN103702402A (en) * | 2013-12-20 | 2014-04-02 | 山西慧联网络技术有限责任公司 | Low-power-consumption parking space state collection method based on wireless sensor network |
Also Published As
Publication number | Publication date |
---|---|
CN105791356A (en) | 2016-07-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105052091B (en) | Dynamically enable the method and device of selective routing capabilities | |
CN102083109B (en) | Offline detection method, device and system | |
CN106453124A (en) | Traffic scheduling method and device | |
CN102177697A (en) | Method for controlling internet services, and relevant device and system | |
CN106288249B (en) | A kind of air conditioner wireless network-building method and device | |
CN102611589A (en) | Automatic detection device of disconnection of router and working method thereof | |
CN102339122A (en) | Digital communication device capable of saving electricity, and electricity-saving control device and method thereof | |
CN107612774A (en) | A kind of multi-channel synchronous sleep method and system | |
CN110225512A (en) | A kind of radio resource control method and system of honeycomb Internet of Things | |
CN105142235B (en) | The means of communication and device of air-conditioner set | |
CN101808407A (en) | Wireless communication device and network connection method thereof | |
CN109565902A (en) | A kind of power down process, the method and apparatus for obtaining connection relationship | |
CN107360012B (en) | Link state processing method and network node equipment | |
CN101667942B (en) | The control method of home gateway and device | |
CN105791356B (en) | Communication control method and device | |
CN106060280A (en) | Method and device for data service management and terminal | |
CN109245974A (en) | Household electrical appliance distribution method, apparatus and computer readable storage medium | |
CN104469902A (en) | Method and device for controlling RRC (radio resource control) connection status between UE (user equipment) and network side | |
CN106027271A (en) | Router control method, device and system | |
CN102710470B (en) | A kind of M2M communication means and treatment facility | |
WO2005104435A1 (en) | Methods, devices and computer program products using a node affiliation protocol for monitoring and/or controlling networkable devices | |
CN110177022B (en) | Whole-network upgrading control method and device for tree-shaped optical fiber distribution system | |
CN105352131B (en) | Air conditioning control method and device | |
CN105629949B (en) | A kind of test control method of distributed test system | |
CN106843001A (en) | A kind of data processing method and smart jack |
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 |