CN106789279A - A kind of control method of gateway, the control method and device of remote control terminal - Google Patents
A kind of control method of gateway, the control method and device of remote control terminal Download PDFInfo
- Publication number
- CN106789279A CN106789279A CN201611230596.XA CN201611230596A CN106789279A CN 106789279 A CN106789279 A CN 106789279A CN 201611230596 A CN201611230596 A CN 201611230596A CN 106789279 A CN106789279 A CN 106789279A
- Authority
- CN
- China
- Prior art keywords
- gateway
- network equipment
- remote control
- control terminal
- configuration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 47
- 238000012217 deletion Methods 0.000 claims abstract description 35
- 230000037430 deletion Effects 0.000 claims abstract description 35
- 238000001514 detection method Methods 0.000 claims abstract description 31
- 238000012360 testing method Methods 0.000 claims abstract description 31
- 238000012545 processing Methods 0.000 claims description 27
- 230000003993 interaction Effects 0.000 claims description 13
- 230000005540 biological transmission Effects 0.000 claims description 12
- 238000013500 data storage Methods 0.000 claims description 10
- 206010048669 Terminal state Diseases 0.000 claims description 5
- 230000001360 synchronised effect Effects 0.000 claims description 2
- 235000013399 edible fruits Nutrition 0.000 claims 1
- 238000007689 inspection Methods 0.000 claims 1
- 238000004891 communication Methods 0.000 abstract description 6
- 238000003860 storage Methods 0.000 description 11
- 238000007726 management method Methods 0.000 description 9
- 230000005611 electricity Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 238000004590 computer program Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 239000013307 optical fiber Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004886 process control Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 241001269238 Data Species 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000014759 maintenance of location Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Embodiments of the invention provide a kind of control method of gateway, the control method and device of remote control terminal, are related to communication technical field, can solve the problem that the network equipment of existing gateway configuration and the problem of ineffective access is carried out by gateway, including:Detection gateway, when determining that remote control terminal gateway disconnects with the connection of remote control terminal according to the testing result of gateway, the network equipment configured to remote control terminal gateway sends delete command, and remote control terminal delete command is used to indicate the remote control terminal network equipment to release the configuration with remote control terminal gateway;When the deletion successful information that the network equipment for receiving the configuration of remote control terminal gateway sends, the network equipment of remote control terminal gateway configuration is deleted.The present invention is for controlling gateway.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of control method of gateway, the controlling party of remote control terminal
Method and device.
Background technology
Gateway (English full name:Gateway gateway or protocol converter) are also called, are often used in communication protocols
Enter row information conversion between view, data form or language even two kinds of different network systems of architecture, it is above-mentioned to reach connection
Two kinds of purposes of network.Exemplary, gateway can be as connecting wan and the project planning of LAN.
With the development of science and technology, the network equipment with network access facility starts gradually to be popularized in the life of people,
For the ease of being managed to the network equipment, it is generally the case that the network equipment can be connected with gateway, make the above-mentioned network equipment
Can be by the gateway accessing network.Under normal circumstances, the gateway in above-mentioned scene is typically for example erected at by remote control terminal
Application program (the English full name on cloud backstage or mobile terminal on server:Application, English abbreviation:APP) carry out
Management.
In such scheme, although remote control terminal can to gateway send instruct, so as to reach manage the gateway and
By the purpose of the network equipment of the gateway access network, but when the connection of gateway and remote control terminal disconnects, gateway cannot
The instruction of remote control terminal transmission is received, the network equipment that the instruction that the gateway had previously sent according to remote control terminal is configured can
Can still can attempt to access network accordingly by the gateway, because now remote control terminal may forbid network to set
It is standby network is accessed accordingly by the gateway, but gateway cannot receive this information, it is thus possible to gateway can be caused to match somebody with somebody
The network equipment put carries out the problem of ineffective access by gateway, so as to increased the loss of Internet resources, compromises user's body
Test.
The content of the invention
The application provides a kind of control method of gateway, the control method and device of remote control terminal, can solve the problem that existing
The network equipment of gateway configuration the problem of ineffective access is carried out by gateway.
In a first aspect, The embodiment provides a kind of control method of gateway, including:Detection gateway, works as basis
When the testing result of gateway determines that remote control terminal gateway disconnects with the connection of remote control terminal, configured to remote control terminal gateway
The network equipment send delete command, remote control terminal delete command be used for indicate the remote control terminal network equipment release with it is long-range
The configuration of control end gateway;When the deletion successful information that the network equipment for receiving the configuration of remote control terminal gateway sends, delete
The network equipment of remote control terminal gateway configuration.
Second aspect, The embodiment provides a kind of control method of remote control terminal, including:When it is determined that gateway
During with user's binding success, remote control terminal gateway is detected;When according to the long-range control of the testing result of remote control terminal gateway determination
During the disconnecting of end gateway processed and remote control terminal remote control terminal, unbind order is sent to remote control terminal gateway, and will
State of the remote control terminal gateway on remote control terminal remote control terminal is set to off working state, wherein remote control terminal solution
Order is tied up for indicating remote control terminal gateway to release the binding with remote control end subscriber.
The third aspect, The embodiment provides a kind of control device of gateway, including:Detection unit, is configured
It is detection remote control terminal gateway;Processing unit, is configured as determining remote control terminal gateway according to the testing result of gateway
When connection with remote control terminal disconnects, sent to the network equipment that remote control terminal gateway is configured by Transmit-Receive Unit and delete life
Order, remote control terminal delete command is used to indicate the remote control terminal network equipment to release the configuration with remote control terminal gateway;Far
Process control end processing unit is additionally operable to be set when the network for receiving the configuration of remote control terminal gateway by remote control terminal Transmit-Receive Unit
During the deletion successful information that preparation is sent, the network equipment of remote control terminal gateway configuration is deleted.
Fourth aspect, The embodiment provides a kind of control device of remote control terminal, including:Detection unit,
When being configured as determining gateway with user's binding success, remote control terminal gateway is detected;Processing unit, is configured as basis
When the testing result of remote control terminal gateway determines the disconnecting of remote control terminal gateway and remote control terminal remote control terminal,
Unbind order is sent to remote control terminal gateway by Transmit-Receive Unit, and remote control terminal gateway is remotely controlled in remote control terminal
State on end processed is set to off working state, and wherein remote control terminal unbind order is used to indicate remote control terminal gateway to release
With the binding of remote control end subscriber.
The embodiment provides a kind of control method of gateway, the control method and device of remote control terminal, should
Method is by the way that when it is determined that gateway disconnects with the connection of remote control terminal, i.e., gateway cannot be according to the order of remote control terminal transmission
Manage in the network equipment of gateway configuration, delete the network equipment of gateway configuration.Due to the connection of gateway and remote control terminal
During disconnection, gateway cannot receive the order of remote control terminal transmission, i.e., the order management that cannot be sent according to remote control terminal exists
The network equipment of gateway configuration, what the gateway that the network equipment for causing gateway to configure may be preserved with remote control terminal should be configured
The network equipment is simultaneously mismatched, and the above-mentioned and unmatched network equipment can still may attempt accordingly to be accessed by gateway,
Above-mentioned access, due to ratifying without remote control terminal, is ineffective access.By deleting the network equipment that gateway is configured, can make
The network equipment of original gateway configuration in the connection disconnection of gateway and remote control terminal cannot by gateway carry out it is corresponding access,
Therefore the control method of the gateway that embodiments of the invention are provided, can solve the problem that the network equipment of existing gateway configuration passes through net
Put the problem of row ineffective access into, so as to reduce the invalid loss of Internet resources, improve Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, embodiment will be described below
Needed for the accompanying drawing to be used be briefly described, it should be apparent that, drawings in the following description are only more of the invention
Embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, can also be attached according to these
Figure obtains other accompanying drawings.
A kind of indicative flowchart of the control method of gateway that Fig. 1 is provided by embodiments of the invention;
A kind of indicative flowchart of the control method of gateway that Fig. 2 is provided by another embodiment of the present invention;
A kind of indicative flowchart of the control method of remote control terminal that Fig. 3 is provided by embodiments of the invention;
A kind of schematic diagram of the control device of gateway that Fig. 4 is provided by embodiments of the invention;
A kind of schematic diagram of the control device of remote control terminal that Fig. 5 is provided by embodiments of the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
For the ease of clearly describing the technical scheme of the embodiment of the present invention, in an embodiment of the present invention, employ " the
One ", the printed words such as " second " make a distinction to function and the essentially identical identical entry of effect or similar item, and those skilled in the art can
To understand that the printed words such as " first ", " second " are not to be defined to quantity and execution order.
The network equipment with network access facility starts gradually to be popularized in the life of people.For the ease of being set to network
It is standby to be managed, private network can be set up for user, and by the private network by gateway and other network connections, in the net
One or more network equipments that can be configured with and be connected with gateway in the private network are shut, the above-mentioned network equipment can pass through
With other networks of the gateway accessing.Under normal circumstances, in above-mentioned scene gateway is general by remote control terminal, for example, be erected at clothes
Cloud backstage on business device or application program (the English full name on mobile terminal:Application, English abbreviation:APP) managed
Reason, wherein APP can be managed by being connected with the cloud backstage for setting up on the server to gateway.
Specifically, gateway may be considered the network equipment with functions such as route, interchangers, wherein being managed to gateway
During reason, administration behaviour can include:Addition gateway configuration the network equipment, delete gateway configuration the network equipment, by gateway with
Data, the net of acquisition gateway configuration that user unbinds, controls the gateway network equipment for configuring, uploads the network equipment that gateway is configured
The alarm of network equipment, the management data of the network equipment for obtaining gateway configuration etc..
Wherein, the network equipment of addition gateway configuration, can receive the addition network of cloud backstage or APP triggerings for gateway
After device request, gateway detects whether the network equipment of itself configuration includes the network equipment indicated by addition device request, if
In the absence of then detection addition network device requests indicated by the network equipment whether be the network equipment being connected with gateway when, when true
Rule sends addition order to the network equipment, and when the network equipment is received the addition order, itself is added to net by execution
Corresponding operating needed for the configuration of pass, and to gateway return addition successful information, gateway receive addition successful information after, by this
The network equipment is added in the network equipment of gateway configuration.
The network equipment of gateway configuration is deleted, the deletion network equipment of cloud backstage or APP triggerings can be received for gateway
After request, when the network equipment that the network equipment indicated by network device requests is configured for gateway is deleted, to the network equipment
Delete command is sent, when the network equipment is received the delete command, the phase needed for itself is deleted from the configuration of gateway is performed
Should operate, and deletion successful information is returned to gateway, when gateway receives the deletion success that the network equipment sends for delete command
During information, the network equipment of gateway configuration is deleted, and report cloud backstage or APP results.
Gateway is unbinded with user, can for gateway receive cloud backstage or APP triggering unbind gateway requests after, gateway
The device node in equipment chained list and database is emptied, wherein the device node correspondence in the equipment chained list for being emptied and database
User be to unbind the user indicated by gateway requests, will unbind afterwards gateway information be issued to various kinds of equipment management submodule
Block, gateway obtain each submodule synchronizing information and delete corresponding device node, database success after, report cloud background process knot
Really.
The network equipment of control gateway configuration, can receive the control device request of cloud backstage or APP triggerings for gateway
Afterwards, the network equipment for being configured to gateway sends the indicated control command of control device request, the network equipment is received the control
Corresponding operating being performed after system order, and returning to gateway and run succeeded information, gateway reports cloud after the information of running succeeded is received
Background process result.
The data of the network equipment of gateway configuration are uploaded, can be that, when network equipment active upload data, gateway is received
The data that the network equipment is uploaded, and the data that the network equipment is uploaded are packed and sent to cloud backstage according to some cycles.Together
When gateway can also with certain cycle to the network equipment send require upload data command, make the network equipment receive require on
The corresponding data of gateway are returned to after passing data command, on gateway is packed according to the data that the network equipment is returned by certain cycle
Report for work cloud backstage.
The alarm of the network equipment of gateway configuration is obtained, can be equipment when build-in attribute needs alarm, gateway can be with
Fed back by active or response formula and obtain warning message, after gateway obtains these alert datas, cloud is sent to by remote alarm interface
Backstage.
The management data of the network equipment of gateway configuration are obtained, can be for gateway after a loss of power, can be by local data
Storehouse carries out power interruption recovering, because database is still present in disk after gateway power-off.After re-powering, gateway can be with reading disk
Obtain device data.
Remote control terminal hair cannot be received due to when the connection of gateway and remote control terminal disconnects, may result in gateway
The instruction sent, the network equipment that the instruction that now gateway had previously sent according to remote control terminal is configured can still may attempt
Accessed accordingly by the gateway, because above-mentioned access may be the ineffective access without remote control terminal approval, because
This such scheme cannot prevent in time gateway configure the network equipment carry out ineffective access, increased the consumption of Internet resources, damage
Consumer's Experience is done harm to.
In order to solve the above problems, as shown in Figure 1, The embodiment provides a kind of control method of gateway,
Including:
101st, gateway is detected.
102nd, when the connection disconnection of gateway and remote control terminal is determined according to the testing result of gateway, configured to gateway
The network equipment sends delete command.
Wherein, delete command is used to indicate the network equipment to release the configuration with gateway.
Specifically, remote control terminal can be cloud background devices for example runs cloud backstage on the server, the cloud backstage
Equipment can be connected by network such as wide area network with gateway;Remote control terminal can also be operation APP on mobile terminals,
The mobile terminal can be connected by cloud background devices with gateway.Detection gateway, and gateway is determined according to the testing result of gateway
Connection with remote control terminal disconnects, it can be understood as if gateway is connected by network with remote control terminal, detect the network
And determine that the network is unavailable, it is understood that if be that gateway is connected by network with remote control terminal, the network is detected, and
Determine that gateway is higher by the transmission delay that network is transmitted with remote control terminal, cause gateway different from remote control terminal
Step, as long as can determine that gateway cannot receive order or the information of remote control terminal transmission according to the testing result of gateway.
The network equipment of gateway configuration, it can be understood as the network for being connected with gateway and being stored in the configuration of the gateway sets
Standby, remote control terminal can be by the gateway control network equipment.Exemplary, the network equipment of gateway configuration can be guarantor
There is the network equipment in the database or equipment chained list of gateway.The network equipment of gateway configuration simultaneously should also be stored in long-range control
On end processed, that is, the network equipment of the gateway configuration being documented on remote control terminal should keep with the network equipment of gateway actual disposition
Unanimously, with ensure gateway configure the network equipment accordingly accessed by gateway when, the network equipment for conducting interviews with it is long-range
The network equipment matching of the gateway configuration that control end is recorded, the access for being carried out is effective access.
Delete command is sent to the network equipment, it can be understood as send delete command to the network equipment, make the network equipment
When receiving the delete command, the corresponding operating needed for itself is deleted from the configuration of gateway is performed, and deletion is returned to gateway
Successful information, when gateway receives the deletion successful information that the network equipment sends for delete command, deletes the net of gateway configuration
Network equipment.
103rd, when the deletion successful information that the network equipment for receiving gateway configuration sends, the network for deleting gateway configuration sets
It is standby.
Specifically, when the deletion successful information that the network equipment for receiving gateway configuration sends, having determined the network equipment
The corresponding operating being finished needed for the network equipment is deleted from the configuration of gateway, therefore the net of gateway configuration can received
During the deletion successful information that network equipment sends, the network equipment of gateway configuration is deleted, the network equipment for configuring gateway cannot lead to
Gateway is crossed to conduct interviews.
The embodiment provides a kind of control method of gateway, the method is by it is determined that gateway and remote control
When the connection at end disconnects, i.e., the order management that gateway cannot send according to remote control terminal in the network equipment that gateway is configured,
Delete the network equipment of gateway configuration.When being disconnected due to the connection of gateway and remote control terminal, gateway cannot receive remote control
The order for sending is held, i.e., the network equipment that the order management that cannot be sent according to remote control terminal is configured in gateway causes gateway
The network equipment that should configure of gateway that the network equipment of configuration may be preserved with remote control terminal is simultaneously mismatched, and it is above-mentioned not
The network equipment of matching can still may attempt accordingly to be accessed by gateway, and above-mentioned access is due to without remote control terminal
Approval, is ineffective access.By deleting the network equipment that gateway is configured, the network equipment of original gateway configuration can be made in gateway
When being disconnected to the connection of remote control terminal cannot by gateway carry out it is corresponding access, therefore the gateway that embodiments of the invention are provided
Control method, can solve the problem that the network equipment of existing gateway configuration carries out the problem of ineffective access by gateway, so as to subtract
Lack the invalid loss of Internet resources, improve Consumer's Experience.
As shown in Figure 2, the control method of above-mentioned gateway also includes:
104th, the network equipment of detection gateway configuration.
The network equipment of gateway configuration and the connection of gateway are determined when the testing result of the network equipment configured according to gateway
During disconnection, step 105 is performed.
105th, the network equipment configured to gateway sends delete command.
When it is determined that the network equipment for not receiving gateway configuration is directed to the deletion successful information that delete command sends, step is performed
Rapid 106.
106th, the network equipment of gateway configuration is deleted, and state setting command is sent to remote control terminal.
Wherein, state setting command is sent to remote control terminal, remote control terminal can be made according to state setting command
State of the network equipment that gateway is configured on remote control terminal is set to off working state.
Specifically, the network equipment of gateway configuration disconnects with the connection of gateway, it can be understood as network equipments configuration is in net
Guan Hou, because the network equipment is out of the coverage of the gateway, causes gateway to be connected with the network equipment.Wherein examine
Survey grid closes the network equipment of configuration, can delete the network equipment for consecutive numbers time, such as continuous three deletions network equipment, it is equal because
When the network equipment for not receiving gateway configuration is directed to the deletion successful information that delete command sends, determine that the network of gateway configuration sets
The standby connection with gateway disconnects.
During due to determining that the network equipment of gateway configuration disconnects with the connection of gateway, can confirm that the network of gateway configuration sets
It is standby to be likely to be at abnormal operating state, it is impossible to which that the control according to remote control terminal performs corresponding business.Therefore it is determined that net
When the connection of the network equipment and gateway that close configuration disconnects, state setting command is sent to remote control terminal, so that long-range control
State of the network equipment that end processed configures gateway according to state setting command on remote control terminal is set to off working state,
So that when carrying out the configuration relevant with the network equipment that gateway is configured after remote control terminal again, can avoid configuring gateway
The network equipment be again set at the network equipment of normal work, so as to avoid because controlling the network equipment of non-normal working to perform
The wasting of resources caused by corresponding service.
As shown in Figure 2, the control method of above-mentioned gateway also includes:
107th, sent to remote control terminal and obtain synchronizer order.
Wherein, sent to remote control terminal and obtain synchronizer order, remote control terminal can be made synchronously to be set according to acquisition
Standby to order to gateway send configuration synchronizing information, the network that configuration synchronizing information is used to indicate remote control terminal to be allocated to gateway sets
It is standby.
108th, the network equipment configured according to configuration synchronizing information matching gateway.
When determining that remote control terminal is allocated to the network equipment of gateway and is set beyond the network that gateway is configured according to matching result
When standby, step 109 is performed.
When the network equipment being connected with gateway according to matching result determination is allocated to the network of gateway beyond remote control terminal
During equipment, step 110 is performed.
109th, information is deleted to remote control terminal send configuration, will be super according to configuration deletion information in order to remote control terminal
The network equipment for going out is deleted during the network equipment of gateway is allocated to from remote control terminal.
110th, delete command is sent to the network equipment for exceeding.
Specifically, can be after electricity on gateway, in order that the network equipment of gateway configuration is allocated to net with remote control terminal
The network equipment of pass is consistent, and can be sent to remote control terminal and obtain same after gateway succeeds in registration to remote control terminal
Step device command, makes remote control terminal according to synchronizer order is obtained to gateway send configuration synchronizing information, wherein configuration is same
Step information should by the gateway that itself is stored for indicating remote control terminal to be allocated to the network equipment of gateway, i.e. remote control terminal
The information of the network equipment of configuration is sent to gateway.When the network equipment that gateway is configured according to configuration synchronizing information matching gateway,
And when determining that remote control terminal is allocated to the network equipment of gateway beyond the network equipment of gateway configuration according to matching result, to
Remote control terminal send configuration deletes information so that remote control terminal according to the network equipment that will exceed of configuration deletion information from
Remote control terminal is allocated to be deleted in the network equipment of gateway, so that the network equipment of gateway configuration is configured with remote control terminal
The network equipment to gateway is consistent;When the network equipment being connected with gateway according to matching result determination exceeds remote control terminal
When being allocated to the network equipment of gateway, delete command is sent to the network equipment that exceeds, thus the network equipment of gateway configuration with
The network equipment that remote control terminal is allocated to gateway is consistent.
As shown in Figure 2, the control method of above-mentioned gateway also includes:
111st, when it is determined that the network equipment of gateway configuration cannot access wide area network, the shape that detection gateway is connected with wide area network
State.
When the testing result being connected with wide area network according to gateway determines that gateway disconnects with the connection of wide area network, step is performed
112。
112nd, by gateway for the network equipment being connected with gateway provides data interaction service and data storage service.
Specifically, the network equipment of gateway configuration cannot access wide area network, can send offline to gateway for the network equipment
Information cannot be by gateway access wide area network to confirm the network equipment.The state that detection gateway is connected with wide area network, Ke Yiwei
The state of the port that gateway detection is connected with wide area network.
Exemplary, after continuous 5 time-out of the state that gateway is connected with wide area network gateway can be determined with wide area network
Connection disconnects.
When the testing result being connected with wide area network according to gateway determines that the connection of gateway and wide area network disconnects, gateway can be with
LAN control model is switched to, while in order to avoid the network equipment of gateway configuration leads to not normal work because that cannot network
When, it is exemplary by gateway for the network equipment being connected with gateway provides data interaction service and data storage service, by gateway
Home server and distribution memory space are opened so as to provide data interaction service and data for the network equipment being connected with gateway
Store-service, makes the APP for operating in mobile terminal directly transmit data message to gateway, the network that gateway is directly configured with gateway
Equipment is interacted.
As shown in Figure 2, the control method of above-mentioned gateway also includes:
113rd, the state that detection gateway is connected with wide area network again.
When determining that gateway recovers with the connection of wide area network according to the testing result that detection gateway is connected with wide area network again,
Perform step 114.
114th, data interaction service and data storage service that gateway is provided for the network equipment being connected with gateway are closed, together
When be sent in gateway and the connection daily record that gateway is recorded when disconnecting from wide area network to remote control terminal and database information, and to
The network equipment of gateway connection sends handover information.
Wherein, handover information is sent to the network equipment being connected with gateway, the network equipment root being connected with gateway can be made
Pass through gateway access wide area network according to handover information.
As shown in Figure 3, The embodiment provides a kind of control method of remote control terminal, it is characterised in that
Including:
201st, when it is determined that when gateway and user's binding success, detecting gateway.
202nd, when the disconnecting of gateway and remote control terminal is determined according to the testing result of gateway, sent to gateway and solved
Tie up order, and state by gateway on remote control terminal is set to off working state.
Wherein, unbind order is used to indicate gateway to release the binding with user.
Specifically, because remote control terminal is by gateway and during user's binding success, if because the reason such as broken string, causes gateway
With the disconnecting of remote control terminal, make remote control terminal cannot by gateway send order control the gateway when, may lead
Causing remote control terminal cannot unbind the gateway.Therefore can it is determined that gateway and remote control terminal disconnecting when, to gateway
Unbind order is sent, it is to avoid cause the gateway cannot to determine that oneself being remotely controlled end unbinds because of erroneous judgement, while and by gateway
State on remote control terminal is set to off working state, i.e., in the processing procedure after, remote control terminal is no longer to this
The gateway for being arranged to off working state sends any instruction, to avoid the waste of Internet resources.
203rd, the state setting command that gateway sends is received, and the network equipment for being configured gateway according to state setting command
State on remote control terminal is set to off working state.
Specifically, when it is determined that the network equipment of gateway configuration disconnects with the connection of gateway, gateway can be set state
Order is sent to remote control terminal, so that the network equipment that remote control terminal configures gateway according to state setting command is long-range
State in control end is set to off working state, so that carrying out the network equipment configured with gateway after remote control terminal again
During relevant configuration, can avoid being again set at the network equipment that gateway is configured the network equipment of normal work, so as to keep away
Exempt from because of the wasting of resources caused by the network equipment execution corresponding service for controlling non-normal working.
204th, the synchronizer order that gateway sends is received, and it is same to gateway send configuration according to synchronizer order is obtained
Step information, configuration synchronizing information is used to indicate remote control terminal to be allocated to the network equipment of gateway.
Specifically, can be after electricity on gateway, in order that the network equipment of gateway configuration is allocated to net with remote control terminal
The network equipment of pass is consistent, and can be sent to remote control terminal and obtain same after gateway succeeds in registration to remote control terminal
Step device command, makes remote control terminal according to synchronizer order is obtained to gateway send configuration synchronizing information, wherein configuration is same
Step information should by the gateway that itself is stored for indicating remote control terminal to be allocated to the network equipment of gateway, i.e. remote control terminal
The information of the network equipment of configuration is sent to gateway.When the network equipment that gateway is configured according to configuration synchronizing information matching gateway,
And when determining that remote control terminal is allocated to the network equipment of gateway beyond the network equipment of gateway configuration according to matching result, to
Remote control terminal send configuration deletes information so that remote control terminal according to the network equipment that will exceed of configuration deletion information from
Remote control terminal is allocated to be deleted in the network equipment of gateway, so that the network equipment of gateway configuration is configured with remote control terminal
The network equipment to gateway is consistent;When the network equipment being connected with gateway according to matching result determination exceeds remote control terminal
When being allocated to the network equipment of gateway, delete command is sent to the network equipment that exceeds, thus the network equipment of gateway configuration with
The network equipment that remote control terminal is allocated to gateway is consistent.
As shown in Figure 4, The embodiment provides a kind of control device 300 of gateway, including:
Detection unit 301, is configured as detecting gateway.
Processing unit 302, is configured as determining that gateway breaks with the connection of remote control terminal according to the testing result of gateway
When opening, delete command is sent to the network equipment that gateway is configured by Transmit-Receive Unit 303, delete command is used to indicate the network equipment
Release the configuration with gateway.
Wherein, delete command is used to indicate the network equipment to release the configuration with gateway.
Specifically, remote control terminal can be cloud background devices for example runs cloud backstage on the server, the cloud backstage
Equipment can be connected by network such as wide area network with gateway;Remote control terminal can also be operation APP on mobile terminals,
The mobile terminal can be connected by cloud background devices with gateway.Detection gateway, and gateway is determined according to the testing result of gateway
Connection with remote control terminal disconnects, it can be understood as if gateway is connected by network with remote control terminal, detect the network
And determine that the network is unavailable, it is understood that if be that gateway is connected by network with remote control terminal, the network is detected, and
Determine that gateway is higher by the transmission delay that network is transmitted with remote control terminal, cause gateway different from remote control terminal
Step, as long as can determine that gateway cannot receive order or the information of remote control terminal transmission according to the testing result of gateway.
The network equipment of gateway configuration, it can be understood as the network for being connected with gateway and being stored in the configuration of the gateway sets
Standby, remote control terminal can be by the gateway control network equipment.Exemplary, the network equipment of gateway configuration can be guarantor
There is the network equipment in the database or equipment chained list of gateway.The network equipment of gateway configuration simultaneously should also be stored in long-range control
On end processed, that is, the network equipment of the gateway configuration being documented on remote control terminal should keep with the network equipment of gateway actual disposition
Unanimously, with ensure gateway configure the network equipment accordingly accessed by gateway when, the network equipment for conducting interviews with it is long-range
The network equipment matching of the gateway configuration that control end is recorded, the access for being carried out is effective access.
Delete command is sent to the network equipment, it can be understood as send delete command to the network equipment, make the network equipment
When receiving the delete command, the corresponding operating needed for itself is deleted from the configuration of gateway is performed, and deletion is returned to gateway
Successful information, when gateway receives the deletion successful information that the network equipment sends for delete command, deletes the net of gateway configuration
Network equipment.
Processing unit 302 be additionally operable to when pass through Transmit-Receive Unit 303 receive gateway configure the network equipment send deletion into
During work(information, the network equipment of gateway configuration is deleted.
Specifically, when the deletion successful information that the network equipment for receiving gateway configuration sends, having determined the network equipment
The corresponding operating being finished needed for the network equipment is deleted from the configuration of gateway, therefore the net of gateway configuration can received
During the deletion successful information that network equipment sends, the network equipment of gateway configuration is deleted, the network equipment for configuring gateway cannot lead to
Gateway is crossed to conduct interviews.
The embodiment provides a kind of control device of gateway, by it is determined that the company of gateway and remote control terminal
When connecing disconnection, i.e., the order management that gateway cannot send according to remote control terminal deletes net in the network equipment that gateway is configured
Close the network equipment of configuration.When being disconnected due to the connection of gateway and remote control terminal, gateway cannot receive remote control terminal transmission
Order, i.e., the network equipment that configure in gateway of order management that cannot be sent according to remote control terminal causes gateway configuration
The network equipment that should configure of gateway that the network equipment may be preserved with remote control terminal is simultaneously mismatched, and above-mentioned and unmatched
The network equipment can still may attempt accordingly to be accessed by gateway, above-mentioned access due to ratifying without remote control terminal,
It is ineffective access.By deleting the network equipment that gateway is configured, can make the network equipment of original gateway configuration gateway with it is remote
The connection at process control end cannot accordingly be accessed when disconnecting by gateway, therefore the control of gateway that embodiments of the invention are provided
Device processed, can solve the problem that the network equipment of existing gateway configuration carries out the problem of ineffective access by gateway, so as to reduce
The invalid loss of Internet resources, improves Consumer's Experience.
Specifically, detection unit 301, is additionally configured to detect the network equipment of gateway configuration.
Processing unit 302, is additionally configured to determine that gateway is configured when the testing result of the network equipment configured according to gateway
The connection of the network equipment and gateway when disconnecting, network equipment transmission delete command configure to gateway by Transmit-Receive Unit 303.
Processing unit 302, is additionally configured to not receive the network equipment pin that gateway is configured by Transmit-Receive Unit 303 when determination
During the deletion successful information sent to delete command, the network equipment of gateway configuration is deleted, and set state by Transmit-Receive Unit
Put order to send to remote control terminal, the network equipment that gateway is configured is existed according to state setting command in order to remote control terminal
State on remote control terminal is set to off working state.
Specifically, the network equipment of gateway configuration disconnects with the connection of gateway, it can be understood as network equipments configuration is in net
Guan Hou, because the network equipment is out of the coverage of the gateway, causes gateway to be connected with the network equipment.Wherein examine
Survey grid closes the network equipment of configuration, can delete the network equipment for consecutive numbers time, such as continuous three deletions network equipment, it is equal because
When the network equipment for not receiving gateway configuration is directed to the deletion successful information that delete command sends, determine that the network of gateway configuration sets
The standby connection with gateway disconnects.
During due to determining that the network equipment of gateway configuration disconnects with the connection of gateway, can confirm that the network of gateway configuration sets
It is standby to be likely to be at abnormal operating state, it is impossible to which that the control according to remote control terminal performs corresponding business.Therefore it is determined that net
When the connection of the network equipment and gateway that close configuration disconnects, state setting command is sent to remote control terminal, so that long-range control
State of the network equipment that end processed configures gateway according to state setting command on remote control terminal is set to off working state,
So that when carrying out the configuration relevant with the network equipment that gateway is configured after remote control terminal again, can avoid configuring gateway
The network equipment be again set at the network equipment of normal work, so as to avoid because controlling the network equipment of non-normal working to perform
The wasting of resources caused by corresponding service.
Specifically, processing unit 302, is additionally configured to send acquisition synchronously to remote control terminal by Transmit-Receive Unit 303
Device command, in order to remote control terminal according to synchronizer order is obtained to gateway send configuration synchronizing information, configuration is synchronous
Information is used to indicate remote control terminal to be allocated to the network equipment of gateway.
Processing unit 302, is additionally configured to the network equipment configured according to configuration synchronizing information matching gateway;When basis
When determining that remote control terminal is allocated to the network equipment of gateway beyond the network equipment of gateway configuration with result, by Transmit-Receive Unit
303 delete information to remote control terminal send configuration, in order to the network that remote control terminal will exceed according to configuration deletion information
Equipment is deleted during the network equipment of gateway is allocated to from remote control terminal;When the network for determining to be connected with gateway according to matching result
When equipment is allocated to the network equipment of gateway beyond remote control terminal, sent to the network equipment for exceeding by Transmit-Receive Unit 303
Delete command.
Specifically, can be after electricity on gateway, in order that the network equipment of gateway configuration is allocated to net with remote control terminal
The network equipment of pass is consistent, and can be sent to remote control terminal and obtain same after gateway succeeds in registration to remote control terminal
Step device command, makes remote control terminal according to synchronizer order is obtained to gateway send configuration synchronizing information, wherein configuration is same
Step information should by the gateway that itself is stored for indicating remote control terminal to be allocated to the network equipment of gateway, i.e. remote control terminal
The information of the network equipment of configuration is sent to gateway.When the network equipment that gateway is configured according to configuration synchronizing information matching gateway,
And when determining that remote control terminal is allocated to the network equipment of gateway beyond the network equipment of gateway configuration according to matching result, to
Remote control terminal send configuration deletes information so that remote control terminal according to the network equipment that will exceed of configuration deletion information from
Remote control terminal is allocated to be deleted in the network equipment of gateway, so that the network equipment of gateway configuration is configured with remote control terminal
The network equipment to gateway is consistent;When the network equipment being connected with gateway according to matching result determination exceeds remote control terminal
When being allocated to the network equipment of gateway, delete command is sent to the network equipment that exceeds, thus the network equipment of gateway configuration with
The network equipment that remote control terminal is allocated to gateway is consistent.
Specifically, detection unit 301 is additionally configured to when it is determined that the network equipment of gateway configuration cannot access wide area network,
The state that detection gateway is connected with wide area network.
Processing unit 302, is additionally configured to determine gateway and wide area when the testing result being connected with wide area network according to gateway
When the connection of net disconnects, by gateway for the network equipment being connected with gateway provides data interaction service and data storage service.
Specifically, the network equipment of gateway configuration cannot access wide area network, can send offline to gateway for the network equipment
Information cannot be by gateway access wide area network to confirm the network equipment.The state that detection gateway is connected with wide area network, Ke Yiwei
The state of the port that gateway detection is connected with wide area network.
Exemplary, after continuous 5 time-out of the state that gateway is connected with wide area network gateway can be determined with wide area network
Connection disconnects.
When the testing result being connected with wide area network according to gateway determines that the connection of gateway and wide area network disconnects, gateway can be with
LAN control model is switched to, while in order to avoid the network equipment of gateway configuration leads to not normal work because that cannot network
When, it is exemplary by gateway for the network equipment being connected with gateway provides data interaction service and data storage service, by gateway
Home server and distribution memory space are opened so as to provide data interaction service and data for the network equipment being connected with gateway
Store-service, makes the APP for operating in mobile terminal directly transmit data message to gateway, the network that gateway is directly configured with gateway
Equipment is interacted.
Specifically, detection unit 301, is additionally configured to detect the state that gateway is connected with wide area network again.
Processing unit 302, is additionally configured to determine net when the basis testing result that detection gateway is connected with wide area network again
Close when recovering with the connection of wide area network, close data interaction service and data that gateway is provided for the network equipment being connected with gateway
Store-service, while being sent in the daily record and database that gateway is recorded when gateway disconnects with the connection of wide area network to remote control terminal
Information, and handover information is sent to the network equipment being connected with gateway by Transmit-Receive Unit 303, in order to the net being connected with gateway
Network equipment passes through gateway access wide area network according to handover information.
Specifically, when it is determined that gateway recovers with the connection of wide area network, in order to the network equipment for ensureing gateway configuration can
Continue normal work, close data interaction service and data storage service that gateway is provided for the network equipment being connected with gateway,
And send handover information to the network equipment being connected with gateway.Simultaneously in order to ensure the net when the connection of gateway and wide area network disconnects
The business that closing the network equipment of configuration is carried out can be remotely controlled end and record, and gateway and wide area are sent in remote control terminal
The daily record of gateway record and database information when the connection of net disconnects.
As shown in Figure 5, The embodiment provides a kind of control device 400 of remote control terminal, including:
Detection unit 401, when being configured as determining gateway with user's binding success, detects gateway.
Processing unit 402, is configured as in the connection for determine gateway and remote control terminal according to the testing result of gateway
When disconnected, unbind order is sent to gateway by Transmit-Receive Unit 403, and state by gateway on remote control terminal is set to non-work
Make state, wherein unbind order is used to indicate gateway to release the binding with user.
Specifically, because remote control terminal is by gateway and during user's binding success, if because the reason such as broken string, causes gateway
With the disconnecting of remote control terminal, make remote control terminal cannot by gateway send order control the gateway when, may lead
Causing remote control terminal cannot unbind the gateway.Therefore can it is determined that gateway and remote control terminal disconnecting when, to gateway
Unbind order is sent, it is to avoid cause the gateway cannot to determine that oneself being remotely controlled end unbinds because of erroneous judgement, while and by gateway
State on remote control terminal is set to off working state, i.e., in the processing procedure after, remote control terminal is no longer to this
The gateway for being arranged to off working state sends any instruction, to avoid the waste of Internet resources.
Specifically, Transmit-Receive Unit 403, is additionally configured to receive the state setting command that gateway sends.
Processing unit 402, is additionally configured to the network equipment configured gateway according to state setting command in remote control
State on end is set to off working state.
Specifically, when it is determined that the network equipment of gateway configuration disconnects with the connection of gateway, gateway can be set state
Order is sent to remote control terminal, so that the network equipment that remote control terminal configures gateway according to state setting command is long-range
State in control end is set to off working state, so that carrying out the network equipment configured with gateway after remote control terminal again
During relevant configuration, can avoid being again set at the network equipment that gateway is configured the network equipment of normal work, so as to keep away
Exempt from because of the wasting of resources caused by the network equipment execution corresponding service for controlling non-normal working.
Specifically, Transmit-Receive Unit 403, is additionally configured to receive the synchronizer order that gateway sends.
Processing unit 402, is additionally configured to be sent to gateway by Transmit-Receive Unit 403 according to the order of acquisition synchronizer and matched somebody with somebody
Synchronizing information is put, configuration synchronizing information is used to indicate remote control terminal to be allocated to the network equipment of gateway.
Specifically, can be after electricity on gateway, in order that the network equipment of gateway configuration is allocated to net with remote control terminal
The network equipment of pass is consistent, and can be sent to remote control terminal and obtain same after gateway succeeds in registration to remote control terminal
Step device command, makes remote control terminal according to synchronizer order is obtained to gateway send configuration synchronizing information, wherein configuration is same
Step information should by the gateway that itself is stored for indicating remote control terminal to be allocated to the network equipment of gateway, i.e. remote control terminal
The information of the network equipment of configuration is sent to gateway.When the network equipment that gateway is configured according to configuration synchronizing information matching gateway,
And when determining that remote control terminal is allocated to the network equipment of gateway beyond the network equipment of gateway configuration according to matching result, to
Remote control terminal send configuration deletes information so that remote control terminal according to the network equipment that will exceed of configuration deletion information from
Remote control terminal is allocated to be deleted in the network equipment of gateway, so that the network equipment of gateway configuration is configured with remote control terminal
The network equipment to gateway is consistent;When the network equipment being connected with gateway according to matching result determination exceeds remote control terminal
When being allocated to the network equipment of gateway, delete command is sent to the network equipment that exceeds, thus the network equipment of gateway configuration with
The network equipment that remote control terminal is allocated to gateway is consistent.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be with
Realized with hardware, or firmware is realized, or combinations thereof mode is realized.When implemented in software, can be by above-mentioned functions
Storage is transmitted in computer-readable medium or as one or more orders on computer-readable medium or code.Meter
Calculation machine computer-readable recording medium includes computer-readable storage medium and communication media, and wherein communication media includes being easy to from a place to another
Any medium of individual place transmission computer program.Storage medium can be any usable medium that computer can be accessed.With
As a example by this but it is not limited to:Computer-readable medium can include random access memory (English full name:Random Access
Memory, English abbreviation:RAM), read-only storage (English full name:Read Only Memory, English abbreviation:ROM), electricity can
EPROM (English full name:Electrically Erasable Programmable Read Only
Memory, English abbreviation:EEPROM), read-only optical disc (English full name:Compact Disc Read Only Memory, English
Referred to as:CD-ROM) or other optical disc storages, magnetic disk storage medium or other magnetic storage apparatus or can be used in carry or
Desired program code of the storage with order or data structure form simultaneously can be by any other medium of computer access.This
Outward.Any connection can be appropriate as computer-readable medium.If for example, software be use coaxial cable, optical fiber cable,
Twisted-pair feeder, digital subscriber line (English full name:Digital Subscriber Line, English abbreviation:DSL it is) or such as red
The wireless technology of outside line, radio and microwave etc is transmitted from website, server or other remote sources, then coaxial electrical
The wireless technology of cable, optical fiber cable, twisted-pair feeder, DSL or such as infrared ray, wireless and microwave etc is included in computer-readable
In the definition of medium.
Through the above description of the embodiments, it is apparent to those skilled in the art that, when with software
When mode realizes the present invention, can will store in computer-readable medium or logical for the order or code that perform the above method
Computer-readable medium is crossed to be transmitted.Computer-readable medium includes computer-readable storage medium and communication media, wherein communicating
Medium includes being easy to being transmitted from a place to another place any medium of computer program.Storage medium can be calculated
Any usable medium that machine can be accessed.As example but it is not limited to:Computer-readable medium can include RAM, ROM, electricity can
EPROM (full name:Electrically erasable programmable read-only memory,
Referred to as:EEPROM), CD, disk or other magnetic storage apparatus or can be used in carrying or store with order or data
The desired program code of structure type simultaneously can be by any other medium of computer access.
The above, specific embodiment only of the invention, but protection scope of the present invention is not limited thereto, and it is any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (16)
1. a kind of control method of gateway, it is characterised in that including:
Detection gateway, when determining that the gateway disconnects with the connection of remote control terminal according to the testing result of gateway, to described
The network equipment of gateway configuration sends delete command, and the delete command is used to indicate the network equipment to release and the gateway
Configuration;
When the deletion successful information that the network equipment for receiving the gateway configuration sends, the network for deleting the gateway configuration sets
It is standby.
2. the control method of gateway according to claim 1, it is characterised in that methods described also includes:
Detect the network equipment of the gateway configuration;
When the testing result of the network equipment configured according to the gateway determines the network equipment and the net of the gateway configuration
When the connection of pass disconnects, the network equipment configured to the gateway sends delete command;
When it is determined that the network equipment for not receiving the gateway configuration is directed to the deletion successful information that the delete command sends, delete
Except the network equipment of gateway configuration, and state setting command is sent to the remote control terminal, in order to described long-range
State of the network equipment that control end configures the gateway according to the state setting command on the remote control terminal sets
It is set to off working state.
3. the control method of gateway according to claim 1, it is characterised in that before the detection gateway, methods described
Also include:
Sent to the remote control terminal and obtain synchronizer order, obtain synchronous according to described in order to the remote control terminal
To the gateway send configuration synchronizing information, the configuration synchronizing information is used to indicate the remote control terminal to configure for device command
To the network equipment of the gateway;
The network equipment that the gateway is configured is matched according to the configuration synchronizing information;
When determining that the remote control terminal is allocated to the network equipment of the gateway and is configured beyond the gateway according to matching result
The network equipment when, to the remote control terminal send configuration delete information, match somebody with somebody according in order to the remote control terminal
The network equipment that deletion information will exceed is put to be allocated to be deleted in the network equipment of the gateway from the remote control terminal;
When the network equipment being connected with the gateway according to matching result determination is allocated to institute beyond the remote control terminal
When stating the network equipment of gateway, delete command is sent to the network equipment for exceeding.
4. the control method of gateway according to claim 1, it is characterised in that methods described also includes:
When it is determined that the network equipment of gateway configuration cannot access wide area network, detect that the gateway is connected with the wide area network
State;
When the connection that the gateway and the wide area network are determined according to the gateway and the testing result that the wide area network is connected is broken
When opening, by the gateway for the network equipment being connected with the gateway provides data interaction service and data storage service.
5. the control method of gateway according to claim 4, it is characterised in that methods described also includes:
Detect the state that the gateway is connected with the wide area network again, when according to it is described detect again the gateway with it is described extensively
When the testing result of domain net connection determines that the gateway recovers with the connection of the wide area network, closing the gateway is and the net
The data interaction service that the network equipment that connection connects is provided and data storage service, while being sent in institute to the remote control terminal
The gateway is recorded when gateway disconnects with the connection of the wide area network daily record and database information are stated, and is connected to the gateway
The network equipment for connecing sends handover information, and the network equipment in order to be connected with the gateway passes through institute according to the handover information
State wide area network described in gateway access.
6. a kind of control method of remote control terminal, it is characterised in that including:
When it is determined that gateway is with user's binding success, the gateway is detected;
When the disconnecting of the gateway and the remote control terminal is determined according to the testing result of the gateway, to the net
Close and send unbind order, and state by the gateway on the remote control terminal is set to off working state, wherein described
Unbind order is used to indicate the gateway to release the binding with the user.
7. the control method of remote control terminal according to claim 6, it is characterised in that methods described also includes:
Receive the state setting command that the gateway sends, and the network for the gateway being configured according to the state setting command
State of the equipment on the remote control terminal is set to off working state.
8. the control method of remote control terminal according to claim 6, it is characterised in that methods described also includes:
The synchronizer order that the gateway sends is received, and is matched somebody with somebody to gateway transmission according to the acquisition synchronizer order
Synchronizing information is put, the configuration synchronizing information is used to indicate the remote control terminal to be allocated to the network equipment of the gateway.
9. a kind of control device of gateway, it is characterised in that including:
Detection unit, is configured as detecting the gateway;
Processing unit, is configured as determining that the gateway disconnects with the connection of remote control terminal according to the testing result of gateway
When, delete command is sent to the network equipment that the gateway is configured by Transmit-Receive Unit, the delete command is described for indicating
The network equipment releases the configuration with the gateway;
The processing unit is additionally operable to when the deletion that the network equipment transmission that the gateway is configured is received by the Transmit-Receive Unit
During successful information, the network equipment of the gateway configuration is deleted.
10. the control device of gateway according to claim 9, it is characterised in that the detection unit, is additionally configured to inspection
Survey the network equipment of the gateway configuration;
The processing unit, is additionally configured to determine the gateway when the testing result of the network equipment configured according to the gateway
When the network equipment of configuration disconnects with the connection of the gateway, the network equipment configured to the gateway by the Transmit-Receive Unit
Send delete command;
The processing unit, is additionally configured to not receive the network equipment that the gateway is configured by the Transmit-Receive Unit when determination
During the deletion successful information sent for the delete command, the network equipment of gateway configuration is deleted, and by the receipts
Bill unit sends to the remote control terminal state setting command, is set according to the state in order to the remote control terminal
State of the network equipment for configuring the gateway on the remote control terminal is ordered to be set to off working state.
The control device of 11. gateways according to claim 9, it is characterised in that the processing unit, is additionally configured to lead to
Cross the Transmit-Receive Unit and send acquisition synchronizer order to the remote control terminal, in order to the remote control terminal according to institute
Acquisition synchronizer order is stated to the gateway send configuration synchronizing information, the configuration synchronizing information is described long-range for indicating
Control end is allocated to the network equipment of the gateway;
The processing unit, is additionally configured to match the network equipment that the gateway is configured according to the configuration synchronizing information;When
Determine that the remote control terminal is allocated to the network that the network equipment of the gateway is configured beyond the gateway according to matching result
During equipment, information is deleted to the remote control terminal send configuration by the Transmit-Receive Unit, in order to the remote control terminal
The network equipment that will be exceeded according to the configuration deletion information is allocated to the network equipment of the gateway from the remote control terminal
Middle deletion;When the network equipment being connected with the gateway according to matching result determination is allocated to beyond the remote control terminal
During the network equipment of the gateway, delete command is sent to the network equipment for exceeding by the Transmit-Receive Unit.
The control device of 12. gateways according to claim 9, it is characterised in that the detection unit is additionally configured to work as
When determining that the network equipment that the gateway is configured cannot access wide area network, the shape that the gateway is connected with the wide area network is detected
State;
The processing unit, is additionally configured to that the net ought be determined with the testing result that the wide area network is connected according to the gateway
When closing the connection disconnection with the wide area network, by the gateway for the network equipment being connected with the gateway provides data interaction
Service and data storage service.
The control device of 13. gateways according to claim 12, it is characterised in that the detection unit, is additionally configured to
The state that the gateway is connected with the wide area network is detected again;
The processing unit, is additionally configured to work as and detects the detection knot that the gateway is connected with the wide area network again according to
When fruit determines that the gateway recovers with the connection of the wide area network, it is the network equipment being connected with the gateway to close the gateway
The data interaction service of offer and data storage service, while being sent in the gateway with the wide area to the remote control terminal
The connection of the net daily record of the gateway record and database information when disconnecting, and connected to the gateway by the Transmit-Receive Unit
The network equipment for connecing sends handover information, and the network equipment in order to be connected with the gateway passes through institute according to the handover information
State wide area network described in gateway access.
A kind of 14. control devices of remote control terminal, it is characterised in that including:
Detection unit, when being configured as determining gateway with user's binding success, detects the gateway;
Processing unit, is configured as determining according to the testing result of the gateway company of the gateway and the remote control terminal
When connecing interruption, unbind order is sent to the gateway by Transmit-Receive Unit, and by the gateway on the remote control terminal
State is set to off working state, wherein the unbind order is used to indicate the gateway to release the binding with the user.
The control device of 15. remote control terminals according to claim 14, it is characterised in that the Transmit-Receive Unit, goes back quilt
It is configured to receive the state setting command that the gateway sends;
The processing unit, is additionally configured to the network equipment configured the gateway according to the state setting command described
State on remote control terminal is set to off working state.
The control device of 16. remote control terminals according to claim 14, it is characterised in that the Transmit-Receive Unit, goes back quilt
It is configured to receive the synchronizer order that the gateway sends;
The processing unit, is additionally configured to according to acquisition synchronizer order by the Transmit-Receive Unit to the gateway
Send configuration synchronizing information, the network that the configuration synchronizing information is used to indicate the remote control terminal to be allocated to the gateway sets
It is standby.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611230596.XA CN106789279B (en) | 2016-12-26 | 2016-12-26 | Gateway control method, remote control end control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611230596.XA CN106789279B (en) | 2016-12-26 | 2016-12-26 | Gateway control method, remote control end control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106789279A true CN106789279A (en) | 2017-05-31 |
CN106789279B CN106789279B (en) | 2020-08-14 |
Family
ID=58922389
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611230596.XA Active CN106789279B (en) | 2016-12-26 | 2016-12-26 | Gateway control method, remote control end control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106789279B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108153160A (en) * | 2017-12-26 | 2018-06-12 | 陈占辉 | The control system and its control method of a kind of wireless intelligent house |
CN109495539A (en) * | 2018-09-26 | 2019-03-19 | 深圳爱根斯通科技有限公司 | Method, apparatus, electronic equipment and the storage medium for preventing sub- equipment from accidentally being deleted |
CN111917575A (en) * | 2020-07-22 | 2020-11-10 | 深圳云里物里科技股份有限公司 | Gateway offline configuration method, system, terminal device and storage medium |
CN114040419A (en) * | 2021-11-29 | 2022-02-11 | 四川虹美智能科技有限公司 | ZigBee device network distribution method based on H5 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1465166A (en) * | 2001-07-24 | 2003-12-31 | 株式会社Ntt都科摩 | Connection cutting method and associated link cut reporting method |
CN101365182A (en) * | 2008-09-23 | 2009-02-11 | 中兴通讯股份有限公司 | Method, system and media gateway implementing relay gateway disaster tolerated uninterrupted call |
US20110007748A1 (en) * | 2008-03-31 | 2011-01-13 | Huawei Technologies Co., Ltd | Method, system and apparatus for optimizing routes |
US8265089B2 (en) * | 2009-09-04 | 2012-09-11 | Everis, Inc. | Network gateway with enhanced requesting |
CN105119844A (en) * | 2015-09-07 | 2015-12-02 | 中国联合网络通信集团有限公司 | Method and device for controlling working mode of built-in WIFI module |
CN105827446A (en) * | 2016-03-31 | 2016-08-03 | 深圳市金溢科技股份有限公司 | Intelligent traffic API gateway and intelligent traffic service system |
-
2016
- 2016-12-26 CN CN201611230596.XA patent/CN106789279B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1465166A (en) * | 2001-07-24 | 2003-12-31 | 株式会社Ntt都科摩 | Connection cutting method and associated link cut reporting method |
US20110007748A1 (en) * | 2008-03-31 | 2011-01-13 | Huawei Technologies Co., Ltd | Method, system and apparatus for optimizing routes |
CN101365182A (en) * | 2008-09-23 | 2009-02-11 | 中兴通讯股份有限公司 | Method, system and media gateway implementing relay gateway disaster tolerated uninterrupted call |
US8265089B2 (en) * | 2009-09-04 | 2012-09-11 | Everis, Inc. | Network gateway with enhanced requesting |
CN105119844A (en) * | 2015-09-07 | 2015-12-02 | 中国联合网络通信集团有限公司 | Method and device for controlling working mode of built-in WIFI module |
CN105827446A (en) * | 2016-03-31 | 2016-08-03 | 深圳市金溢科技股份有限公司 | Intelligent traffic API gateway and intelligent traffic service system |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108153160A (en) * | 2017-12-26 | 2018-06-12 | 陈占辉 | The control system and its control method of a kind of wireless intelligent house |
CN109495539A (en) * | 2018-09-26 | 2019-03-19 | 深圳爱根斯通科技有限公司 | Method, apparatus, electronic equipment and the storage medium for preventing sub- equipment from accidentally being deleted |
CN109495539B (en) * | 2018-09-26 | 2021-08-31 | 深圳爱根斯通科技有限公司 | Method and device for preventing sub-equipment from being deleted by mistake, electronic equipment and storage medium |
CN111917575A (en) * | 2020-07-22 | 2020-11-10 | 深圳云里物里科技股份有限公司 | Gateway offline configuration method, system, terminal device and storage medium |
CN111917575B (en) * | 2020-07-22 | 2023-07-11 | 深圳云里物里科技股份有限公司 | Gateway offline configuration method, system, terminal equipment and storage medium |
CN114040419A (en) * | 2021-11-29 | 2022-02-11 | 四川虹美智能科技有限公司 | ZigBee device network distribution method based on H5 |
CN114040419B (en) * | 2021-11-29 | 2023-07-11 | 四川虹美智能科技有限公司 | ZigBee equipment network distribution method based on H5 |
Also Published As
Publication number | Publication date |
---|---|
CN106789279B (en) | 2020-08-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106789279A (en) | A kind of control method of gateway, the control method and device of remote control terminal | |
CN103391216B (en) | A kind of illegal external connection is reported to the police and blocking-up method | |
CN101083537B (en) | Method, apparatus and system for realizing device management | |
CN104753697B (en) | A kind of method, equipment and system controlling the automatic beginning of the network equipment | |
CN102355368B (en) | Fault processing method of network equipment and system | |
CN113741282A (en) | Intelligent management system and method for equipment based on edge computing | |
CN101369933A (en) | Automatic test method and system | |
CN107819891A (en) | Data processing method, device, computer equipment and storage medium | |
CN102929224B (en) | Condition acquisition controller (CAC) for power transformer equipment and system control method | |
CN107370644A (en) | Inter-linked controlling method, device, computer-readable recording medium and computer equipment | |
CN107247648A (en) | Method, the apparatus and system of remote items system supervisory are realized based on Docker | |
CN107870734A (en) | The exchange method and device of a kind of distributed file system | |
CN103944814A (en) | Data exchange method and system and gateway server | |
CN107835222A (en) | Combustion gas data transmission method and Internet of things system based on compound Internet of Things | |
CN102984268A (en) | Access method and device for SCSI sharing storage resource for high-availability cluster | |
CN107104958A (en) | Manage the method, private clound and public cloud equipment and storage device of private clound equipment | |
CN109981421A (en) | A kind of smart machine distribution method and apparatus | |
CN102089749A (en) | Method and apparatus for managing binding information about a bundle installed remotely in an osgi service platform | |
CN104754287A (en) | Video monitoring equipment configuration parameter issuing method and system | |
CN108123826B (en) | Cross-region data interaction system and method | |
CN108881127B (en) | Method and system for controlling remote access authority | |
CN106302421A (en) | A kind of information intercepting processing method and device | |
CN109039764A (en) | A kind of network parameter configuration method of distributed memory system | |
CN103888288A (en) | Registration method, administrator, register and system | |
WO2004098126A1 (en) | An ad-hoc network, a network device and a method of configuration management therefor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
OL01 | Intention to license declared | ||
OL01 | Intention to license declared |