CN105490821B - A kind of control method and device of routing device - Google Patents

A kind of control method and device of routing device Download PDF

Info

Publication number
CN105490821B
CN105490821B CN201510917309.1A CN201510917309A CN105490821B CN 105490821 B CN105490821 B CN 105490821B CN 201510917309 A CN201510917309 A CN 201510917309A CN 105490821 B CN105490821 B CN 105490821B
Authority
CN
China
Prior art keywords
routing device
current location
location information
command
target
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.)
Expired - Fee Related
Application number
CN201510917309.1A
Other languages
Chinese (zh)
Other versions
CN105490821A (en
Inventor
张新亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TVMining Beijing Media Technology Co Ltd
Original Assignee
TVMining Beijing Media Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by TVMining Beijing Media Technology Co Ltd filed Critical TVMining Beijing Media Technology Co Ltd
Priority to CN201510917309.1A priority Critical patent/CN105490821B/en
Publication of CN105490821A publication Critical patent/CN105490821A/en
Application granted granted Critical
Publication of CN105490821B publication Critical patent/CN105490821B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/12Arrangements for remote connection or disconnection of substations or of equipment thereof
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2816Controlling appliance services of a home automation network by calling their functionalities

Abstract

The present invention relates to a kind of control method and device of routing device, wherein method includes:When first routing device is connect with terminal device, the current location information of terminal device is obtained;When current location information meets preset condition, according to current location information, target routing device is selected from the associated secondary route equipment of first routing device;Open command is sent to target routing device, to open target routing device.Pass through the technical solution, when first routing device is connect with terminal device, obtain the current location information of terminal device, when current location information meets preset condition, according to current location information, target routing device is selected from the associated secondary route equipment of first routing device, to initiate open command to secondary route equipment, so that secondary route equipment is also opened, in this way, other routing devices can be automatically turned on according to current location information, to reduce user's operation, promote the usage experience of user.

Description

A kind of control method and device of routing device
Technical field
The present invention relates to routing device technical field more particularly to a kind of control method and device of routing device.
Background technique
With user's improvement of living standard, the area of residence of user is increasing, and bedroom number is more and more.Therefore, The number of the electronic equipments such as the router in family is also more and more.In the related technology, when being provided with multiple routers in family When equal electronic equipments, user is needed to go to control different routers respectively, user's operation is cumbersome.
Summary of the invention
The embodiment of the present invention provides a kind of control method and device of routing device, including following technical solution:
According to a first aspect of the embodiments of the present invention, a kind of control method of routing device is provided, including:
When first routing device is connect with terminal device, the current location information of the terminal device is obtained;
When the current location information meets preset condition, according to the current location information, from the first via By selecting target routing device in the associated secondary route equipment of equipment;
Open command is sent to the target routing device, to open the target routing device.
In one embodiment, described when the current location information meets preset condition, according to the current location Information selects target routing device from the associated secondary route equipment of the first routing device, including:
It is determined between the terminal device and the first routing device according to the current location information of the terminal device Distance;
When the distance is greater than or equal to pre-determined distance, acquisition is set with the associated secondary route of the first routing device It is standby;
The nearest routing device in the current location apart from the terminal device is selected from the secondary route equipment to make For the target routing device.
In one embodiment, the method also includes:
When the first routing device receives control command, the corresponding control operation of the control command is executed, and The control command is sent to the target routing device, so that the target routing device execution control command is corresponding Control operation.
In one embodiment, the control command includes at least one of following:Open command and shutdown command.
In one embodiment, the method also includes:
Receive the routing device Associate Command of input;
According to the routing device Associate Command, established between the first routing device and the secondary route equipment Association.
According to a second aspect of the embodiments of the present invention, a kind of control device of routing device is provided, including:
Module is obtained, for obtaining the present bit of the terminal device when first routing device is connect with terminal device Confidence breath;
Selecting module, for when the current location information meets preset condition, according to the current location information, from Target routing device is selected with the associated secondary route equipment of the first routing device;
First sending module is set for sending open command to the target routing device with opening the target routing It is standby.
In one embodiment, the selecting module includes:
Submodule is determined, for determining the terminal device and described according to the current location information of the terminal device The distance between one routing device;
Acquisition submodule, for obtaining and the first routing device when the distance is greater than or equal to pre-determined distance Associated secondary route equipment;
Submodule is selected, for selecting the current location apart from the terminal device from the secondary route equipment most Close routing device is as the target routing device.
In one embodiment, described device further includes:
Second sending module, for executing the control command when the first routing device receives control command Corresponding control operation, and the control command is sent to the target routing device, so that the target routing device executes The corresponding control operation of the control command.
In one embodiment, the control command includes at least one of following:Open command and shutdown command.
In one embodiment, the method also includes:
Receiving module, routing device Associate Command for receiving input;
Relating module is used for according to the routing device Associate Command, in the first routing device and second tunnel By establishing association between equipment.
The technical solution that the embodiment of the present invention provides can include the following benefits:
Above-mentioned technical proposal obtains the present bit confidence of terminal device when first routing device is connect with terminal device Breath, when current location information meets preset condition, according to current location information, from associated second tunnel of first routing device By selecting target routing device in equipment, to initiate open command to secondary route equipment, so that secondary route equipment It opens, in this way, other routing devices can be automatically turned on according to current location information, to reduce user's operation, promotes user Usage experience.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not It can the limitation present invention.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of flow chart of the control method of routing device shown according to an exemplary embodiment.
Fig. 2 is the flow chart of step S102 in the control method of routing device shown according to an exemplary embodiment.
Fig. 3 is the flow chart of the control method of another routing device shown according to an exemplary embodiment.
Fig. 4 is the flow chart of the control method of another routing device shown according to an exemplary embodiment.
Fig. 5 is the block diagram of the control device of routing device shown according to an exemplary embodiment.
Fig. 6 is the block diagram of selecting module in the control of routing device shown according to an exemplary embodiment.
Fig. 7 is the block diagram of the control device of another routing device shown according to an exemplary embodiment.
Fig. 8 is the block diagram of the control device of another routing device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
The embodiment of the invention provides a kind of control method of routing device, this method can be used in routing device, such as Fig. 1 It is shown, the method comprising the steps of S101-S103:
In step s101, when first routing device is connect with terminal device, the present bit confidence of terminal device is obtained Breath;
In step s 102, when current location information meets preset condition, according to current location information, from the first via By selecting target routing device in the associated secondary route equipment of equipment;
In step s 103, open command is sent to target routing device, to open target routing device.
In this embodiment, when first routing device is connect with terminal device, the present bit confidence of terminal device is obtained Breath, when current location information meets preset condition, according to current location information, from associated second tunnel of first routing device By selecting target routing device in equipment, to initiate open command to secondary route equipment, so that secondary route equipment It opens, in this way, other routing devices can be automatically turned on according to current location information, to reduce user's operation, promotes user Usage experience.
As shown in Fig. 2, in one embodiment, above-mentioned steps S102 includes step S201-S203:
In step s 201, it is determined between terminal device and first routing device according to the current location information of terminal device Distance;
It is obtained and associated second tunnel of first routing device in step S202 when distance is greater than or equal to pre-determined distance By equipment;
In step S203, the nearest routing in the current location apart from terminal device is selected from secondary route equipment and is set It is standby to be used as target routing device.
In this embodiment it is possible to determine the distance between terminal device and first routing device, it is greater than in the distance pre- If apart from when, as the distance between terminal device and routing device exceed routing device maximum of control distance when, it is available Secondary route equipment associated with it, therefrom selects the routing device nearest apart from terminal device as target routing device, To open target routing device.In this way, automatically turning on target when terminal device exceeds the control range of first routing device Routing device, so that terminal device is connected with target routing device, thus guarantee that terminal can normally connect routing device, Promote the usage experience of user.
Such as Fig. 3, in one embodiment, the above method further includes step S301:
In step S301, when first routing device receives control command, the corresponding control behaviour of control command is executed Make, and sends control command to target routing device, so that target routing device executes the corresponding control operation of control command.
In one embodiment, control command includes at least one of following:Open command and shutdown command.
In this embodiment, the control commands such as closing that first routing device receives can also be synchronized to target routing Equipment, consequently facilitating user simultaneously controls multiple routing devices.
As shown in figure 4, in one embodiment, the above method further includes step S401-S402:
In step S401, the routing device Associate Command of input is received;
In step S402, according to routing device Associate Command, built between first routing device and secondary route equipment Vertical association.
In this embodiment, user can establish between lichens routing device and secondary route equipment according to individual demand Association.For example, the router 1 in family is associated with by user with the foundation of router 2, in this manner it is possible to be automatically according to user location User opens or closes router 1 and router 2, to promote the usage experience of user.
Following is apparatus of the present invention embodiment, can be used for executing embodiment of the present invention method.
A kind of Fig. 5 block diagram of the control device of routing device shown according to an exemplary embodiment, the device can lead to Cross being implemented in combination with as some or all of of routing device of software, hardware or both.If Fig. 5 shows, the routing device Control device includes:
Module 51 is obtained, for obtaining the current of the terminal device when first routing device is connect with terminal device Location information;
Selecting module 52, for when the current location information meets preset condition, according to the current location information, Target routing device is selected from the associated secondary route equipment of the first routing device;
First sending module 53, for sending open command to the target routing device, to open the target routing Equipment.
In this embodiment, when first routing device is connect with terminal device, the present bit confidence of terminal device is obtained Breath, when current location information meets preset condition, according to current location information, from associated second tunnel of first routing device By selecting target routing device in equipment, to initiate open command to secondary route equipment, so that secondary route equipment It opens, in this way, other routing devices can be automatically turned on according to current location information, to reduce user's operation, promotes user Usage experience.
As shown in fig. 6, in one embodiment, the selecting module 52 includes:
Submodule 61 is determined, for determining the terminal device and described according to the current location information of the terminal device The distance between first routing device;
Acquisition submodule 62, for obtaining with the first via by setting when the distance is greater than or equal to pre-determined distance Standby associated secondary route equipment;
Submodule 63 is selected, for selecting the current location apart from the terminal device from the secondary route equipment Nearest routing device is as the target routing device.
In this embodiment it is possible to determine the distance between terminal device and first routing device, it is greater than in the distance pre- If apart from when, as the distance between terminal device and routing device exceed routing device maximum of control distance when, it is available Secondary route equipment associated with it is set from the reason equipment nearest apart from terminal device is therefrom selected as target routing It is standby, to open target routing device.In this way, being automatically turned on when terminal device exceeds the control range of first routing device Target routing device so that terminal device is connected with target routing device, thus guarantee terminal can normal link road by Equipment promotes the usage experience of user.
As shown in fig. 7, in one embodiment, above-mentioned apparatus further includes:
Second sending module 71, for when the first routing device receives control command, executing the control life It enables corresponding control operate, and sends the control command to the target routing device, so that the target routing device is held The corresponding control operation of the row control command.
In one embodiment, the control command includes at least one of following:Open command and shutdown command.
In this embodiment, the control commands such as closing that first routing device receives can also be synchronized to target routing Equipment, consequently facilitating user simultaneously controls multiple routing devices.
As shown in figure 8, in one embodiment, above-mentioned apparatus further includes:
Receiving module 81, routing device Associate Command for receiving input;
Relating module 82 is used for according to the routing device Associate Command, in the first routing device and described second Association is established between routing device.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
In this embodiment, user or manufacturer can according to individual demand the first electronic equipment and the second electronic equipment it Between establish association, for example, the living-room TV machine foundation in the television set in parlor in family and bedroom is associated with, in this manner it is possible to Bedroom television is controlled while controlling the television set in parlor.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The shape for the computer program product implemented in usable storage medium (including but not limited to magnetic disk storage and optical memory etc.) Formula.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (8)

1. a kind of control method of routing device, which is characterized in that including:
When first routing device is connect with terminal device, the current location information of the terminal device is obtained;
When the current location information meets preset condition, according to the current location information, from the first via by setting Target routing device is selected in standby associated secondary route equipment;
Open command is sent to the target routing device, to open the target routing device;
The method also includes:
When the first routing device receives control command, the corresponding control operation of the control command is executed, and send The control command is to the target routing device, so that the target routing device executes the corresponding control of the control command Operation.
2. the method according to claim 1, wherein described when the current location information meets preset condition When, according to the current location information, target road is selected from the associated secondary route equipment of the first routing device By equipment, including:
According to the current location information of the terminal device determine between the terminal device and the first routing device away from From;
When the distance is greater than or equal to pre-determined distance, obtain and the associated secondary route equipment of the first routing device;
The nearest routing device in current location apart from the terminal device is selected from the secondary route equipment as institute State target routing device.
3. the method according to claim 1, wherein the control command includes at least one of following:Open life Order and shutdown command.
4. according to the method in any one of claims 1 to 3, which is characterized in that the method also includes:
Receive the routing device Associate Command of input;
According to the routing device Associate Command, establishes and close between the first routing device and the secondary route equipment Connection.
5. a kind of control device of routing device, which is characterized in that including:
Module is obtained, for obtaining the present bit confidence of the terminal device when first routing device is connect with terminal device Breath;
Selecting module, for when the current location information meets preset condition, according to the current location information, from institute It states in the associated secondary route equipment of first routing device and selects target routing device;
First sending module, for sending open command to the target routing device, to open the target routing device;
Described device further includes:
Second sending module, it is corresponding for when the first routing device receives control command, executing the control command Control operation, and the control command is sent to the target routing device, so that described in the target routing device executes The corresponding control operation of control command.
6. device according to claim 5, which is characterized in that the selecting module includes:
Submodule is determined, for determining the terminal device and the first via according to the current location information of the terminal device By the distance between equipment;
Acquisition submodule, for when the distance is greater than or equal to pre-determined distance, acquisition to be associated with the first routing device Secondary route equipment;
Submodule is selected, it is nearest for selecting current location apart from the terminal device from the secondary route equipment Routing device is as the target routing device.
7. device according to claim 5, which is characterized in that the control command includes at least one of following:Open life Order and shutdown command.
8. device according to any one of claims 5 to 7, which is characterized in that described device further includes:
Receiving module, routing device Associate Command for receiving input;
Relating module, for being set in the first routing device and the secondary route according to the routing device Associate Command Association is established between standby.
CN201510917309.1A 2015-12-10 2015-12-10 A kind of control method and device of routing device Expired - Fee Related CN105490821B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510917309.1A CN105490821B (en) 2015-12-10 2015-12-10 A kind of control method and device of routing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510917309.1A CN105490821B (en) 2015-12-10 2015-12-10 A kind of control method and device of routing device

Publications (2)

Publication Number Publication Date
CN105490821A CN105490821A (en) 2016-04-13
CN105490821B true CN105490821B (en) 2018-11-20

Family

ID=55677567

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510917309.1A Expired - Fee Related CN105490821B (en) 2015-12-10 2015-12-10 A kind of control method and device of routing device

Country Status (1)

Country Link
CN (1) CN105490821B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765179A (en) * 2009-12-15 2010-06-30 山东大学 Router with on-line waking function and working method thereof
CN103546950A (en) * 2013-10-30 2014-01-29 深圳Tcl新技术有限公司 Method and device for automatically turning on and turning off WiFi module of wireless router
CN103781055A (en) * 2014-01-26 2014-05-07 深圳市同洲电子股份有限公司 Data downloading method and associated device
CN103955179A (en) * 2014-04-08 2014-07-30 小米科技有限责任公司 Remote intelligent control method and device
CN104243210A (en) * 2014-09-17 2014-12-24 湖北盛天网络技术股份有限公司 Method and system for remotely having access to administrative web pages of routers
CN104597882A (en) * 2014-07-15 2015-05-06 物联智慧科技(深圳)有限公司 Intelligent electrical appliance, mobile communication device, intelligent electrical appliance control system and method
CN104717688A (en) * 2013-12-16 2015-06-17 中国移动通信集团公司 Method and device for controlling wireless router
CN104917679A (en) * 2015-06-09 2015-09-16 哈尔滨工程大学 Delay tolerant network personalized route scheme selection system facing to handheld mobile equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101765179A (en) * 2009-12-15 2010-06-30 山东大学 Router with on-line waking function and working method thereof
CN103546950A (en) * 2013-10-30 2014-01-29 深圳Tcl新技术有限公司 Method and device for automatically turning on and turning off WiFi module of wireless router
CN104717688A (en) * 2013-12-16 2015-06-17 中国移动通信集团公司 Method and device for controlling wireless router
CN103781055A (en) * 2014-01-26 2014-05-07 深圳市同洲电子股份有限公司 Data downloading method and associated device
CN103955179A (en) * 2014-04-08 2014-07-30 小米科技有限责任公司 Remote intelligent control method and device
CN104597882A (en) * 2014-07-15 2015-05-06 物联智慧科技(深圳)有限公司 Intelligent electrical appliance, mobile communication device, intelligent electrical appliance control system and method
CN104243210A (en) * 2014-09-17 2014-12-24 湖北盛天网络技术股份有限公司 Method and system for remotely having access to administrative web pages of routers
CN104917679A (en) * 2015-06-09 2015-09-16 哈尔滨工程大学 Delay tolerant network personalized route scheme selection system facing to handheld mobile equipment

Also Published As

Publication number Publication date
CN105490821A (en) 2016-04-13

Similar Documents

Publication Publication Date Title
CN104093050B (en) The controlled decision-making technique and device of controlled terminal based on multiple intelligent remote controllers
US9576591B2 (en) Electronic apparatus and control method of the same
US20180034914A1 (en) System and method for controlling heterogeneous internet of things (iot) devices using single application
US9655092B2 (en) Method and system for self-adaptively transmitting communication signals
US9451388B1 (en) Framework and method for processing commands for controlling electronic devices
US9380516B2 (en) Local wireless data communication system, and method and apparatus for automatically setting information in the system
CN103200196B (en) A kind of access method, system and device between subscriber equipment and access target
CN105259806A (en) Controller upgrade method and system, main controller and slave controller
KR20060135485A (en) Conference terminal apparatus in electronic conference system electronic conference system and display image control method
CN109032039A (en) A kind of method and device of voice control
CN104898654A (en) Unmanned plane remote control system and method
CN110780590B (en) Techniques for providing safety control parameters for multi-channel control of a machine
CN104361741A (en) Remote control system and method
CN113556715B (en) Device connection method and apparatus, computer readable medium and electronic device
CN110738992B (en) Voice information processing method and device, storage medium and electronic device
RU2016143247A (en) OUTPUT SYSTEM, TERMINAL AND OUTPUT METHOD
KR20190043019A (en) Electronic Device Capable of controlling IoT device to corresponding to the state of External Electronic Device and Electronic Device Operating Method
CN108337669A (en) A kind of control method and device of smart home device
EP3508007A1 (en) Method of forming virtual cell in heterogeneous network, macro base station and transmission point device
CN105574402A (en) Control method and electronic equipment
CN105792025A (en) Device information obtaining method and terminal
KR102033226B1 (en) APPARATUS AND METHOD FOR PROVIDING SECURITY IN HOME IoT
CN105490821B (en) A kind of control method and device of routing device
US11609887B2 (en) Quality check apparatus, quality check method, and program
CN112911426A (en) Network control system, method and device and intelligent optical gateway

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
PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A control method and device for routing equipment

Effective date of registration: 20210104

Granted publication date: 20181120

Pledgee: Inner Mongolia Huipu Energy Co.,Ltd.

Pledgor: TVMINING (BEIJING) MEDIA TECHNOLOGY Co.,Ltd.

Registration number: Y2020990001527

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181120

Termination date: 20211210