CN107070707A - Router initializes the determination method and apparatus of pattern - Google Patents

Router initializes the determination method and apparatus of pattern Download PDF

Info

Publication number
CN107070707A
CN107070707A CN201710184075.3A CN201710184075A CN107070707A CN 107070707 A CN107070707 A CN 107070707A CN 201710184075 A CN201710184075 A CN 201710184075A CN 107070707 A CN107070707 A CN 107070707A
Authority
CN
China
Prior art keywords
router
terminal
initialization
pattern
initialization pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710184075.3A
Other languages
Chinese (zh)
Other versions
CN107070707B (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201710184075.3A priority Critical patent/CN107070707B/en
Publication of CN107070707A publication Critical patent/CN107070707A/en
Application granted granted Critical
Publication of CN107070707B publication Critical patent/CN107070707B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The disclosure is directed to the determination method and apparatus that a kind of router initializes pattern, this method includes:Terminal is according at least one the Wireless Fidelity WiFi signal scanned, it is determined that there is the first router of no initializtion at least one corresponding router of at least one described WiFi signal;The terminal determines the second router bound at least one described router with the presence or absence of the terminal;The terminal determines the initialization pattern of the first router according to the second router bound at least one described router with the presence or absence of the terminal;The terminal pushes the initialization pattern of the first router.The router that the disclosure is provided initializes the determination method and apparatus of pattern there is provided the initialization pattern for the first router for making user be pushed according to terminal, quickly determines the initialization pattern of the first router, improves Consumer's Experience.

Description

Router initializes the determination method and apparatus of pattern
Technical field
This disclosure relates to which router technology, more particularly to a kind of router initializes the determination method and apparatus of pattern.
Background technology
With the continuous improvement of living standard, the smart machine such as intelligent terminal, intelligent appliance is increasingly popularized in the family. At present, user is during using these smart machines, and these smart machines need the nothing provided by wireless router Line fidelity (Wireless-Fidelity, referred to as:WiFi) network insertion public network, to provide the user diversified service. Therefore, user increasingly payes attention to the coverage condition of WiFi network that wireless router provided in the family.
It is limited to WiFi technology, the limited coverage area for the WiFi network that a wireless router is provided possibly can not Cover all rooms of family.Therefore, increasing user can increase a wireless router newly, and make the wireless router work Make in repeater mode, to extend the coverage of WiFi network.
In correlation technique, user is before first time is using wireless router, it is necessary to be initialized to wireless router Set, to allow the wireless router to realize the function needed for user, that is, be operated in the corresponding work of user's required function Under pattern.Because the initialization pattern corresponding to the different working modes of wireless router is different, and wireless router belongs to special Industry equipment, it, which operates and set to exist, uses threshold, therefore, how to allow users to quickly determine the initialization mould of router Formula is a urgent problem to be solved.
The content of the invention
To overcome problem present in correlation technique, the disclosure provide a kind of router initialization pattern determination method and Device.Technical scheme is as follows:
According to the first aspect of the embodiment of the present disclosure there is provided a kind of determination method that router initializes pattern, including:
Terminal determines that at least one WiFi signal is corresponding extremely according at least one the Wireless Fidelity WiFi signal scanned There is the first router of no initializtion in a few router;
Terminal determines the second router bound at least one router with the presence or absence of terminal;
Terminal determines the first router according to the second router bound at least one router with the presence or absence of terminal Initialization pattern;
Terminal pushes the initialization pattern of the first router.
The technical scheme provided by this disclosed embodiment can include the following benefits:Terminal according to scan to A few WiFi signal, determines there is the first via of no initializtion at least one corresponding router of at least one WiFi signal After device, it may be determined that the second router bound at least one router with the presence or absence of terminal, and then can be according to extremely The second router bound in a few router with the presence or absence of terminal, determines the initialization pattern of the first router, and by institute The initialization pattern of the first router of determination is pushed to user, so that user can quickly determine the first router Initialization pattern, improves Consumer's Experience.
Optionally, terminal determines first according to the second router bound at least one router with the presence or absence of terminal The initialization pattern of router, including:
When terminal has the second router of terminal binding at least one router, determine whether the second router connects Connect network;
Whether terminal connects network according to the second router, determines the initialization pattern of the first router.
The technical scheme provided by this disclosed embodiment can include the following benefits:Terminal is at least one router It is middle exist terminal binding the second router when, whether network is further connected by the second router bound in terminal, can Accurately to determine the initialization pattern of the first router, so that terminal is by the initialization mould of identified the first router Formula is pushed to after user, is improved the accuracy of the initialization pattern of the first router accessed by user, is further improved Consumer's Experience.
Optionally, whether terminal connects network according to the second router, determines the initialization pattern of the first router, bag Include:
Terminal is when the second router connects network, and the initialization pattern for determining the first router is Repeating initialization mould Formula.
Optionally, terminal determines the initialization pattern of the first router for relaying just when the second router connects network After beginning pattern, in addition to:
Terminal determines the connected mode of the first router and the second router;
Terminal is when the first router and the second router are wired connection, and the initialization pattern for determining the first router is Line relay initializes pattern;
Terminal is when the first router and the second router are wireless connection, and the initialization pattern for determining the first router is Wireless relay initializes pattern.
Optionally, whether terminal connects network according to the second router, determines the initialization pattern of the first router, bag Include:
Terminal is when the second router is not connected with network, and it is initialization mould of changing planes to determine the initialization pattern of the first router Formula;Initialization pattern of changing planes is used for the configuration for indicating that the first router is imported in the second router during initialization.
Optionally, terminal determines first according to the second router bound at least one router with the presence or absence of terminal The initialization pattern of router, including:
When terminal does not have the second router of terminal binding at least one router, the first of the first router is determined Beginning pattern is that new router initializes pattern.
Optionally, after terminal pushes the initialization pattern of the first router, method also includes:
Terminal receives initialization directive;Initialization directive is used for initialization pattern pair of the instruction terminal according to the first router The first router carries out initialization operation;
Terminal is set up with the first router and is connected according to initialization directive, and according to the initialization pattern of the first router Initialization operation is carried out to the first router.
The technical scheme provided by this disclosed embodiment can include the following benefits:Terminal is first by determined by The initialization pattern of router is pushed to after user, can receive the initialization directive of user's input, and then can basis The initialization directive, sets up with the first router and is connected automatically, and according to the initialization pattern of its identified the first router It is automatic that initialization operation is carried out to the first router so that the initialization operation of the first router is simpler, intelligent, further Improve Consumer's Experience.
According to the second aspect of the embodiment of the present disclosure there is provided the determining device that a kind of router initializes pattern, including:
First determining module, is configured as according at least one the Wireless Fidelity WiFi signal scanned, it is determined that at least one There is the first router of no initializtion at least one corresponding router of individual WiFi signal;
Second determining module, is configured to determine that the secondary route bound at least one router with the presence or absence of terminal Device;
3rd determining module, is configured as according to the secondary route bound at least one router with the presence or absence of terminal Device, determines the initialization pattern of the first router;
Pushing module, is configured as pushing the initialization pattern of the first router.
The technical scheme provided by this disclosed embodiment can include the following benefits:First determining module is swept in basis At least one WiFi signal retouched, determines there is no initializtion at least one corresponding router of at least one WiFi signal The first router after, the second determining module can determine at least one router with the presence or absence of terminal bind the second tunnel By device, and then allow the 3rd determining module according to the secondary route bound at least one router with the presence or absence of terminal Device, determines the initialization pattern of the first router, so that pushing module can be by the initial of identified the first router Change pattern is pushed to user so that user can quickly determine the initialization pattern of the first router, improve Consumer's Experience.
Optionally, the 3rd determining module, is configured as the secondary route that there is terminal binding at least one router During device, determine whether the second router connects network, and whether network is connected according to the second router, determine the first router Initialization pattern.
The technical scheme provided by this disclosed embodiment can include the following benefits:3rd determining module is at least one When there is the second router of terminal binding in individual router, further whether connected by the second router bound in terminal Network, can accurately determine the initialization pattern of the first router so that pushing module by the identified first via by The initialization pattern of device is pushed to after user, improve the first router accessed by user initialization pattern it is accurate Property, further increase Consumer's Experience.
Optionally, the 3rd determining module, is configured as, when the second router connects network, determining the first of the first router Beginning pattern is Repeating initialization pattern.
Optionally, the 3rd determining module, is configured as, when the second router connects network, determining the first of the first router Beginning pattern be Repeating initialization pattern after, determine the connected mode of the first router and the second router;In the first router During with the second router for wired connection, determine that the initialization pattern of the first router initializes pattern for line relay; When one router is wireless connection with the second router, determine that the initialization pattern of the first router initializes mould for wireless relay Formula.
Optionally, the 3rd determining module, is configured as, when the second router is not connected with network, determining the first router Initialization pattern is initialization pattern of changing planes;Initialization pattern of changing planes is used to indicate that the first router is led during initialization Enter the configuration in the second router.
Optionally, the 3rd determining module, is configured as the second tunnel that there is no terminal binding at least one router By device when, determine that the initialization pattern of the first router initializes pattern for new router.
Optionally, device also includes:
Receiving module, is configured as after the initialization pattern that pushing module pushes the first router, receives initialization Instruction;Initialization directive is used for instruction terminal and carries out initialization behaviour to the first router according to the initialization pattern of the first router Make;
Processing module, is configured as according to initialization directive, sets up and is connected with the first router, and according to the first router Initialization pattern to the first router carry out initialization operation.
The technical scheme provided by this disclosed embodiment can include the following benefits:Pushing module is by determined by The initialization pattern of the first router is pushed to after user, and receiving module can receive the initialization directive of user's input, And then allow processing module according to the initialization directive, set up and be connected with the first router automatically, and determined according to it The initialization pattern of the first router automatic initialization operation is carried out to the first router so that the initialization of the first router Operation is simpler, intelligence, further increases Consumer's Experience.
According to the third aspect of the embodiment of the present disclosure there is provided the determining device that a kind of router initializes pattern, including:
Processor;
For the memory for the executable instruction for storing processor;
Wherein, processor is configured as:
According at least one the Wireless Fidelity WiFi signal scanned, at least one WiFi signal corresponding at least one is determined There is the first router of no initializtion in individual router;
Determine the second router bound at least one router with the presence or absence of terminal;
According to the second router bound at least one router with the presence or absence of terminal, the initial of the first router is determined Change pattern;
Push the initialization pattern of the first router.
The technical scheme provided by this disclosed embodiment can include the following benefits:Router initialization pattern is really Determine device and according at least one WiFi signal scanned, determine at least one corresponding router of at least one WiFi signal After the middle the first router that there is no initializtion, it may be determined that second bound at least one router with the presence or absence of terminal Router, so can according at least one router with the presence or absence of terminal bind the second router, determine the first via by The initialization pattern of device, and the initialization pattern of identified the first router is pushed to user, so that user can be with The initialization pattern of the first router is quickly determined, Consumer's Experience is improved.
It should be appreciated that the general description of the above and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description of the drawings
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the implementation for meeting the disclosure Example, and be used to together with specification to explain the principle of the disclosure.
Fig. 1 is a kind of flow chart of the determination method of router initialization pattern according to an exemplary embodiment;
Fig. 2 is a kind of flow of the determination method of router initialization pattern according to another exemplary embodiment Figure;
Fig. 3 is a kind of block diagram of the determining device of router initialization pattern according to an exemplary embodiment;
Fig. 4 is a kind of block diagram of the determining device of router initialization pattern according to another exemplary embodiment;
Fig. 5 is a kind of block diagram of the determining device 500 of router initialization pattern according to an exemplary embodiment.
Pass through above-mentioned accompanying drawing, it has been shown that the clear and definite embodiment of the disclosure, will hereinafter be described in more detail.These accompanying drawings It is not intended to limit the scope that the disclosure is conceived by any mode with word description, but is by reference to specific embodiment Those skilled in the art illustrate the concept of the disclosure.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent apparatus and method of some aspects be described in detail in claims, the disclosure.
It is described in detail below with specifically embodiment technical scheme of this disclosure.These specific implementations below Example can be combined with each other, and may be repeated no more for same or analogous concept or process in some embodiments.
Fig. 1 is a kind of flow chart of the determination method of router initialization pattern according to an exemplary embodiment. The executive agent of this method can initialize the determining device of pattern for router, can also be to be integrated with router initialization mould The terminal of the determining device of formula, the terminal (letter of following determining devices using executive agent to be integrated with router initialization pattern Claim:Terminal) exemplified by illustrate.As shown in figure 1, this method may comprise steps of:
In step S101, terminal determines at least one WiFi signal pair according at least one WiFi signal scanned There is the first router of no initializtion at least one router answered.
Specifically, above-mentioned described terminal can be any terminal with radio communication function, such as:Mobile phone, flat board Computer, personal digital assistant, computer etc..Above-mentioned described router can be any router for providing WiFi network.It is above-mentioned The first router of described no initializtion can for a new wireless router or, one reset after router (i.e. By by reset buttons router) etc..
In the present embodiment, terminal can be scanned to covering terminal position by way of scanning WiFi signal The WiFi signal of all-router broadcast.Now, by terminal can scan the WiFi signal that these routers are broadcasted, say Bright terminal is currently located in the WiFi network that these routers are provided, therefore, terminal can according to scan these WiFi signal, determines to whether there is the router after new router, or reset in the corresponding router of these WiFi signals, i.e., With the presence or absence of the router of no initializtion.In the disclosure, the router is the first router.
Optionally, router can carry a mark in its WiFi signal broadcasted, and the mark is used for terminal Indicate router whether be no initializtion router.Therefore, each WiFi signal that terminal can scan it is carried out Parsing, to read mark entrained in the WiFi signal, and then passes through the router of the mark determination broadcast WiFi signal Whether be no initializtion the first router.When implementing, above-mentioned mark can be realized by a bit, for example: 0 expression router can be used for the router of no initializtion, 1 expression router is used for the router after initialization;Or, Use 1 expression router for the router of no initializtion, use 0 expression router for the router after initialization.
Optionally, above-mentioned terminal the all-router broadcast of scanning to covering terminal position WiFi signal it Afterwards, illustrate terminal be located at these routers provide WiFi network coverage in, therefore, terminal can successively with each road Set up and connected by device, and read the information of the router after establishing a connection.Wherein, router can be carried in the information Whether be no initializtion router configured information so that terminal can pass through the configured information determine broadcast the WiFi The router of signal whether be no initializtion router.Wherein, how terminal builds with covering the router of terminal position Vertical connection, may refer to correlation technique, this is repeated no more.
In step s 102, terminal determines the second router bound at least one router with the presence or absence of terminal.
Specifically, above-mentioned terminal determines at least one WiFi signal pair according at least one WiFi signal scanned After the first router that there is no initializtion at least one router answered, terminal can further determine it is above-mentioned at least The second router bound in one router with the presence or absence of terminal.Wherein, the second router mentioned here passes through for user The router that terminal initialization is crossed, the i.e. router operationally, can be operated in the corresponding mode of operation of user's required function Under.
Optionally, router can carry the mark of router in its WiFi signal broadcasted, meanwhile, can in terminal The mapping relations of " mark for the router that terminal is crossed with terminal initialization " to be stored with, therefore, terminal scanning to covering eventually After holding the WiFi signal of all-router broadcast of position, can by the WiFi signal broadcasted except the first router it Other outer WiFi signals are parsed successively, to read in the WiFi signal mark of entrained router, and then can be with The mark in the presence of the router is searched whether in mapping relations.If there is the mark of the router in mapping relations, illustrate this Router is the router (i.e. the second router) bound in terminal.If the mark of the router is not present in mapping relations, say The bright router is not the router bound in terminal.When implementing, the mark of the router carried in above-mentioned WiFi signal For example can be identity card (identification, abbreviation of router:ID), service set identifier (Service of router Set Identifier, referred to as:SSID) number, router sequence number (Serial Number, referred to as:) etc. SN one in or It is multiple.
Optionally, terminal can also be stored with the login password for the router that terminal initialization crosses, therefore, and terminal can be with Each router in addition to the first router sets up connection respectively, and logs in the router by login password, to determine Whether the router is router bound in terminal.If terminal can log in the router by login password, illustrate terminal It is the router bound in terminal to initialize the router, the i.e. router.If terminal can not pass through login password The router is logged in, it is not the router bound in terminal to illustrate that terminal no initializtion crosses the router, the i.e. router.
In step s 103, terminal is according to whether there is the second router that terminal is bound at least one router, really Determine the initialization pattern of the first router.
Specifically, above-mentioned described initialization pattern for example can be:Repeating initialization pattern, initialization pattern of changing planes, Any one in new router initialization pattern etc..Wherein, Repeating initialization pattern has existed suitable for terminal position The scene of router, after the router of no initializtion is by Repeating initialization mode initialisation, can work in the relay mode, To extend the coverage for the WiFi network that original router is provided.Initialization pattern of changing planes has been applied to terminal position Through there is the scene of router, when the router of no initializtion initializes mode initialisation by changing planes, it can initialize The configuration imported in journey in original router, to cause the router original router can be replaced to provide WiFi after initialization Network.New router initialization pattern is applied to the road that terminal position is also not provided with the scene, i.e. no initializtion of router Initialized by device by new router after mode initialisation, router can be made to provide WiFi network in terminal position.
Therefore, in the present embodiment, above-mentioned terminal is it is determined that second bound at least one router with the presence or absence of terminal , can be with according to whether there is the result of the second router after router, i.e., the router crossed with the presence or absence of terminal initialization, really Determine the initialization pattern of the first router.When there is the second router bound in terminal at least one above-mentioned router, Illustrate that terminal position has had router, therefore, terminal can determine that the initialization pattern of the first router can be Repeating initialization pattern or initialization pattern of changing planes.When at least one above-mentioned router be not present terminal bound in second During router, illustrate that terminal position is also not provided with router, therefore, terminal can determine the initialization mould of the first router Formula can initialize pattern for new router.
In step S104, terminal pushes the initialization pattern of the first router.
Specifically, terminal to user it is determined that after the initialization pattern of the first router, can push the first router Initialization pattern so that user can quickly determine the initialization pattern of the first router, and then make it that user can Based on the initialization pattern, correct Initialize installation is carried out to the first router, to allow the first router to realize Function needed for user, improves Consumer's Experience.
The router that the disclosure is provided initializes the determination method of pattern, and terminal is according at least one WiFi scanned After signal, the first router for determining to have no initializtion at least one corresponding router of at least one WiFi signal, The second router bound at least one router with the presence or absence of terminal can be determined, and then can be according at least one route The second router bound in device with the presence or absence of terminal, determines the initialization pattern of the first router, and first by determined by The initialization pattern of router is pushed to user, so that user can quickly determine the initialization mould of the first router Formula, improves Consumer's Experience.
Further, on the basis of above-described embodiment, the present embodiment refers to above-mentioned terminal according at least one road In device with the presence or absence of terminal bind the second router, determine the detailed process of the initialization pattern of the first router, then on The following two kinds situation can be included by stating S103:
The first situation:Terminal, can be with when it is determined that there is the second router of terminal binding at least one router Further determine the second router whether connect network, whether to connect network according to the second router, determine the first via by The initialization pattern of device.
Specifically, in the present embodiment, when terminal has the second router of terminal binding at least one router When, i.e., when it is determined that terminal position has had router, whether terminal can connect network by the second router To determine that the initialization pattern of the first router is still changed planes initialization pattern for Repeating initialization pattern.When terminal determines second When router connects network, illustrate that terminal position has had router and the router is working properly, now, user The first router may be needed to use to extend the coverage for the WiFi network that the second router is provided, therefore, terminal can To determine the initialization pattern of the first router as Repeating initialization pattern.When terminal determines that the second router is not connected with network When, although illustrate terminal position existed the router router can not normal work, now user may need Use the first router and provide WiFi network to substitute the second router, therefore, terminal can determine the first of the first router Beginning pattern is initialization pattern of changing planes, that is, indicates that the first router imports matching somebody with somebody in the second router during initialization The initialization pattern put.
Wherein, the present embodiment does not limit above-mentioned terminal and determines whether the second router connects the implementation of network.For example: The second router can carry one in its WiFi signal broadcasted to be used to indicate whether the second router connects network Mark.Therefore, the WiFi signal that terminal can be broadcasted the second router that it is scanned is parsed, and is somebody's turn to do with reading Entrained mark in WiFi signal, and then determine whether the second router connects network by the mark.Implement When, it is above-mentioned to be used to indicate whether the second router connects the mark of network and realize by a bit, for example:Can be with The second router connection network is represented using 0, represents that the second router is not connected with network using 1;Or, represent second using 1 Router connects network, represents that the second router is not connected with network using 0.Optionally, terminal can also be built with the second router Vertical connection, and test post is sent by the other equipment in the second router and network, to test whether the second router connects Connect network.When terminal can be successfully transmitted test post by the second router to other equipment, illustrate that the second router connects Connect network.When terminal can not be successfully transmitted test post by the second router by the second router to other equipment, say Bright the second router is not connected with network.
Further, above-mentioned terminal it is determined that the first router initialization pattern be Repeating initialization pattern after, terminal Connected mode of the first router currently with the second router can also further be determined.When the first router and secondary route When device uses wired connection, illustrate that the first router can be operated under line relay pattern, therefore, terminal can determine first The initialization pattern of router is that line relay initializes pattern.When the first router and the second router use wireless connection When, illustrate that the first router can be operated under wireless relay pattern, therefore, terminal can determine the initialization of the first router Pattern is that wireless relay initializes pattern.When implementing, the first router that terminal can be reported by the first router Wide area network (Wide Area Network, referred to as:WAN) whether mouth is connected with the configured information of netting twine, to determine the first router With the connected mode of the second router.When the WAN mouths of the first router are connected with netting twine, illustrate the first router and the second tunnel It is wired connection by device.When the WAN mouths of the first router are without netting twine, it is wirelessly to connect with the second router to illustrate the first router Connect.
Second of situation:When it is determined that there is the second router of terminal binding in terminal, explanation at least one router Terminal position is also not provided with router, now, and user may need to use the first router at the position where terminal WiFi network is provided, therefore terminal can determine that the initialization pattern of the first router initializes pattern for new router.
Pass through above-mentioned two situations so that terminal can accurately determine the initialization pattern of the first router, so that Obtain terminal the initialization pattern of identified the first router is pushed to after user, improve the first via accessed by user By the accuracy of the initialization pattern of device, Consumer's Experience is further increased.
The router that the disclosure is provided initializes the determination method of pattern, and terminal is according at least one WiFi scanned After signal, the first router for determining to have no initializtion at least one corresponding router of at least one WiFi signal, The second router bound at least one router with the presence or absence of terminal can be determined, and then can be according at least one route The second router bound in device with the presence or absence of terminal, determines the initialization pattern of the first router, and first by determined by The initialization pattern of router is pushed to user, so that user can quickly determine the initialization mould of the first router Formula, improves Consumer's Experience.
Fig. 2 is a kind of flow of the determination method of router initialization pattern according to another exemplary embodiment Figure.As shown in Fig. 2 after above-mentioned S104, this method can also include:
In step s 201, terminal receives initialization directive.
Specifically, after the initialization pattern of identified the first router is pushed to user by above-mentioned terminal, when with When family determines to initialize the first router using initialization pattern determined by terminal, user can input just to terminal Beginningization is instructed, and the first router is carried out with the initialization pattern of instruction terminal the first router according to determined by terminal initial Change operation.
In step S202, terminal is set up with the first router and is connected according to initialization directive, and according to the first router Initialization pattern to the first router carry out initialization operation.
Specifically, terminal is after the initialization directive of user's input is received, can be automatic according to the initialization directive Set up and be connected with the first router, and the first router is entered automatically according to the initialization pattern of its identified the first router Row initialization operation.In this way so that the initialization operation of the first router is simpler, intelligent, further improves Consumer's Experience.Wherein, terminal how initialization operation is carried out to router according to the initialization pattern of router specifically can be with Referring to correlation technique, this is repeated no more.
The router that the disclosure is provided initializes the determination method of pattern, and terminal is by the beginning of identified the first router Beginning pattern is pushed to after user, can receive the initialization directive of user's input, and then can be referred to according to the initialization Order, sets up with the first router and is connected automatically, and automatic to first according to the initialization pattern of its identified the first router Router carries out initialization operation so that the initialization operation of the first router is simpler, intelligent, further increases user Experience.
It should be noted that the systemic-function that the method that the present embodiment is provided can in itself have by terminal is come real It is existing, application program (Application, abbreviation for management router set by terminal can also be passed through:APP) come real Existing, what can also be logged in by terminal realizes for the web administration backstage of management router, can also be stepped on by terminal The pc client for management router of record realizes that the disclosure is not limited this.
Following is disclosure device embodiment, can be used for performing method of disclosure embodiment.It is real for disclosure device The details not disclosed in example is applied, method of disclosure embodiment is refer to.
Fig. 3 is a kind of block diagram of the determining device of router initialization pattern according to an exemplary embodiment.Such as Shown in Fig. 3, the determining device of router initialization pattern can be by the terminal that is implemented in combination with of software, hardware or both It is some or all of.The determining device of router initialization pattern can include:
First determining module 11, is configured as according at least one the Wireless Fidelity WiFi signal scanned, it is determined that at least There is the first router of no initializtion at least one corresponding router of one WiFi signal.
Second determining module 12, is configured to determine that the secondary route bound at least one router with the presence or absence of terminal Device.
3rd determining module 13, is configured as according to the secondary route bound at least one router with the presence or absence of terminal Device, determines the initialization pattern of the first router.When implementing, the 3rd determining module 13 can be at least one router When there is no the second router of terminal binding, determine that the initialization pattern of the first router initializes pattern for new router. When 3rd determining module 13 can have the second router of terminal binding at least one router, the is further determined Whether two routers connect network, and then whether connect network according to the second router, determine the initialization mould of the first router Formula.For example:When the second router connects network, the initialization pattern for determining the first router is Repeating initialization pattern, When the second router is not connected with network, it is initialization pattern of changing planes to determine the initialization pattern of the first router;Wherein, change planes just Beginning pattern is used for the configuration for indicating that the first router is imported in the second router during initialization.Optionally, the 3rd Determining module 13 can be when the second router connects network, and the initialization pattern for determining the first router is Repeating initialization mould After formula, the connected mode of the first router and the second router is further determined, and then in the first router and secondary route When device is wired connection, determine that the initialization pattern of the first router initializes pattern for line relay;The first router with When the second router is wireless connection, determine that the initialization pattern of the first router initializes pattern for wireless relay.
Pushing module 14, is configured as pushing the initialization pattern of the first router.
The router that the disclosure is provided initializes the determining device of pattern, and the first determining module is according to scanning at least One WiFi signal, determine to exist at least one corresponding router of at least one WiFi signal the first via of no initializtion by After device, the second determining module can determine the second router bound at least one router with the presence or absence of terminal, and then Allow the 3rd determining module according to the second router bound at least one router with the presence or absence of terminal, determine first The initialization pattern of router, so that the initialization pattern of identified the first router can be pushed to by pushing module User so that user can quickly determine the initialization pattern of the first router, improve Consumer's Experience.
Fig. 4 is a kind of block diagram of the determining device of router initialization pattern according to another exemplary embodiment. As shown in figure 4, on the basis of the block diagram shown in above-mentioned Fig. 3, the determining device of above-mentioned router initialization pattern can also be wrapped Include:
Receiving module 15, is configured as after the initialization pattern that pushing module 14 pushes the first router, receives just Beginningization is instructed;Initialization directive is used for instruction terminal and the first router is carried out initially according to the initialization pattern of the first router Change operation;
Processing module 16, is configured as according to initialization directive, with the first router set up be connected, and according to the first via by The initialization pattern of device carries out initialization operation to the first router.
The router that the disclosure is provided initializes the determining device of pattern, and pushing module is by identified the first router Initialization pattern be pushed to after user, receiving module can receive user input initialization directive, and then cause place Module is managed to set up and be connected with the first router automatically according to the initialization directive, and according to its identified first via by The initialization pattern of device is automatic to carry out initialization operation to the first router so that the initialization operation of the first router is simpler Single, intelligence, further increases Consumer's Experience.
Fig. 5 is a kind of block diagram of the determining device 500 of router initialization pattern according to an exemplary embodiment. For example, device 500 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, flat board is set It is standby, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 5, device 500 can include following one or more assemblies:Processing assembly 502, memory 504, power supply Component 506, multimedia groupware 508, audio-frequency assembly 510, the interface 512 of input/output (I/O), sensor cluster 514, and Communication component 516.
The integrated operation of the usual control device 500 of processing assembly 502, such as with display, call, data communication, phase Machine operates the operation associated with record operation.Processing assembly 502 can refer to including one or more processors 520 to perform Order, to complete all or part of step of above-mentioned method.In addition, processing assembly 502 can include one or more modules, just Interaction between processing assembly 502 and other assemblies.For example, processing assembly 502 can include multi-media module, it is many to facilitate Interaction between media component 508 and processing assembly 502.
Memory 504 is configured as storing various types of data supporting the operation in device 500.These data are shown Example includes the instruction of any application program or method for operating on device 500, and contact data, telephone book data disappears Breath, picture, video etc..Memory 504 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) is erasable to compile Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash Device, disk or CD.
Power supply module 506 provides electric power for the various assemblies of device 500.Power supply module 506 can include power management system System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 500.
The touch-control that multimedia groupware 508 is included in one output interface of offer between described device 500 and user is shown Screen.In certain embodiments, touching display screen can include liquid crystal display (LCD) and touch panel (TP).If screen bag Touch panel is included, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel include one or Multiple touch sensors are with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sense tactile Touch or sliding action border, but also detection touches or slide related duration and pressure with described.At some In embodiment, multimedia groupware 508 includes a front camera and/or rear camera.When device 500 is in operation mould When formula, such as screening-mode or video mode, front camera and/or rear camera can receive the multi-medium data of outside. Each front camera and rear camera can be a fixed optical lens systems or with focal length and optical zoom energy Power.
Audio-frequency assembly 510 is configured as output and/or input audio signal.For example, audio-frequency assembly 510 includes a Mike Wind (MIC), when device 500 be in operator scheme, when such as call model, logging mode and speech recognition mode, microphone by with It is set to reception external audio signal.The audio signal received can be further stored in memory 504 or via communication set Part 516 is sent.In certain embodiments, audio-frequency assembly 510 also includes a loudspeaker, for exports audio signal.
I/O interfaces 512 is provide interface between processing assembly 502 and peripheral interface module, above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Main bar button, volume button, start button and lock Determine button.
Sensor cluster 514 includes one or more sensors, and the state for providing various aspects for device 500 is commented Estimate.For example, sensor cluster 514 can detect opening/closed mode of device 500, the relative positioning of component is for example described Component is the display and keypad of device 500, and sensor cluster 514 can be with 500 1 components of detection means 500 or device Position change, the existence or non-existence that user contacts with device 500, the orientation of device 500 or acceleration/deceleration and device 500 Temperature change.Sensor cluster 514 can include proximity transducer, be configured to detect in not any physical contact The presence of neighbouring object.Sensor cluster 514 can also include optical sensor, such as CMOS or ccd image sensor, for into As being used in application.In certain embodiments, the sensor cluster 514 can also include acceleration transducer, gyro sensors Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 516 is configured to facilitate the communication of wired or wireless way between device 500 and other equipment.Device 500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation In example, communication component 516 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, the communication component 516 also includes near-field communication (NFC) module, to promote junction service.Example Such as, NFC module can be based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology, Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 500 can be believed by one or more application specific integrated circuits (ASIC), numeral Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 504 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 520 of device 500.For example, Non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and light Data storage device etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of device 500 During row so that device 500 is able to carry out a kind of determination method that router initializes pattern.
This method includes:
According at least one the Wireless Fidelity WiFi signal scanned, at least one WiFi signal corresponding at least one is determined There is the first router of no initializtion in individual router;
Determine the second router bound at least one router with the presence or absence of terminal;
According to the second router bound at least one router with the presence or absence of terminal, the initial of the first router is determined Change pattern;
Push the initialization pattern of the first router.
Optionally, it is above-mentioned according to the second router bound at least one router with the presence or absence of terminal, determine first The initialization pattern of router, including:
When there is the second router of terminal binding at least one router, determine whether the second router connects net Network;
Whether network is connected according to the second router, the initialization pattern of the first router is determined.
Optionally, it is above-mentioned that whether network is connected according to the second router, the initialization pattern of the first router is determined, is wrapped Include:
When the second router connects network, the initialization pattern for determining the first router is Repeating initialization pattern.
Optionally, it is above-mentioned when the second router connects network, determine the initialization pattern of the first router for relaying just After beginning pattern, in addition to:
Determine the connected mode of the first router and the second router;
When the first router and the second router are wired connection, the initialization pattern for determining the first router is wired Repeating initialization pattern;
When the first router and the second router are wireless connection, the initialization pattern for determining the first router is wireless Repeating initialization pattern.
Optionally, it is above-mentioned that whether network is connected according to the second router, the initialization pattern of the first router is determined, is wrapped Include:
When the second router is not connected with network, it is initialization pattern of changing planes to determine the initialization pattern of the first router; Initialization pattern of changing planes is used for the configuration for indicating that the first router is imported in the second router during initialization.
Optionally, it is above-mentioned according to the second router bound at least one router with the presence or absence of terminal, determine first The initialization pattern of router, including:
When there is no the second router of terminal binding at least one router, the initialization of the first router is determined Pattern is that new router initializes pattern.
Optionally, after the initialization pattern of above-mentioned push the first router, method also includes:
Receive initialization directive;Initialization directive is used for instruction terminal according to the initialization pattern of the first router to first Router carries out initialization operation;
According to initialization directive, set up and be connected with the first router, and according to the initialization pattern of the first router to the One router carries out initialization operation.
Those skilled in the art will readily occur to its of the disclosure after considering specification and putting into practice disclosure disclosed herein Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations follow the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as exemplary, and the true scope of the disclosure and spirit are by following Claims are pointed out.
It should be appreciated that the precision architecture that the disclosure is not limited to be described above and is shown in the drawings, and And various modifications and changes can be being carried out without departing from the scope.The scope of the present disclosure is only limited by appended claims System.

Claims (15)

1. a kind of router initializes the determination method of pattern, it is characterised in that including:
Terminal is according at least one the Wireless Fidelity WiFi signal scanned, it is determined that at least one described WiFi signal is corresponding extremely There is the first router of no initializtion in a few router;
The terminal determines the second router bound at least one described router with the presence or absence of the terminal;
The terminal is according to the second router bound at least one described router with the presence or absence of the terminal, it is determined that described The initialization pattern of the first router;
The terminal pushes the initialization pattern of the first router.
2. according to the method described in claim 1, it is characterised in that the terminal according at least one described router whether There is the second router of the terminal binding, determine the initialization pattern of the first router, including:
When the terminal has the second router of the terminal binding at least one described router, described second is determined Whether router connects network;
Whether the terminal connects network according to the second router, determines the initialization pattern of the first router.
3. method according to claim 2, it is characterised in that whether the terminal connects net according to the second router Network, determines the initialization pattern of the first router, including:
The terminal determines the initialization pattern of the first router for relaying just when the second router connects network Beginning pattern.
4. method according to claim 3, it is characterised in that the terminal the second router connect network when, Determine the first router initialization pattern be Repeating initialization pattern after, in addition to:
The terminal determines the connected mode of the first router and the second router;
The terminal determines the first router when the first router and the second router are wired connection Initialization pattern is that line relay initializes pattern;
The terminal determines the first router when the first router and the second router are wireless connection Initialization pattern is that wireless relay initializes pattern.
5. method according to claim 2, it is characterised in that whether the terminal connects net according to the second router Network, determines the initialization pattern of the first router, including:
The terminal determines the initialization pattern of the first router to change planes when the second router is not connected with network Initialization pattern;The initialization pattern of changing planes is used to indicate that the first router imports described the during initialization Configuration on two routers.
6. according to the method described in claim 1, it is characterised in that the terminal according at least one described router whether There is the second router of the terminal binding, determine the initialization pattern of the first router, including:
When the terminal does not have the second router of terminal binding at least one described router, described the is determined The initialization pattern of one router is that new router initializes pattern.
7. according to the method described in claim 1, it is characterised in that the terminal pushes the initialization mould of the first router After formula, methods described also includes:
The terminal receives initialization directive;The initialization directive is used to indicate the terminal according to the first router Initialization pattern carries out initialization operation to the first router;
The terminal is set up with the first router and is connected according to the initialization directive, and according to the first router Initialization pattern to the first router carry out initialization operation.
8. a kind of router initializes the determining device of pattern, it is characterised in that including:
First determining module, is configured as according at least one the Wireless Fidelity WiFi signal scanned, it is determined that described at least one There is the first router of no initializtion at least one corresponding router of individual WiFi signal;
Second determining module, is configured to determine that the secondary route bound at least one described router with the presence or absence of terminal Device;
3rd determining module, is configured as according to the second tunnel bound at least one described router with the presence or absence of the terminal By device, the initialization pattern of the first router is determined;
Pushing module, is configured as pushing the initialization pattern of the first router.
9. device according to claim 8, it is characterised in that the 3rd determining module, be configured as it is described at least When there is the second router of the terminal binding in one router, determine whether the second router connects network, and Whether network is connected according to the second router, the initialization pattern of the first router is determined.
10. device according to claim 9, it is characterised in that the 3rd determining module, is configured as described second When router connects network, the initialization pattern for determining the first router is Repeating initialization pattern.
11. device according to claim 10, it is characterised in that the 3rd determining module, is configured as described Two routers connect network when, determine the first router initialization pattern be Repeating initialization pattern after, it is determined that described The connected mode of the first router and the second router;It is wired company in the first router and the second router When connecing, determine that the initialization pattern of the first router initializes pattern for line relay;In the first router and institute When stating the second router for wireless connection, determine that the initialization pattern of the first router initializes pattern for wireless relay.
12. device according to claim 9, it is characterised in that the 3rd determining module, is configured as described second When router is not connected with network, it is initialization pattern of changing planes to determine the initialization pattern of the first router;It is described to change planes just Beginning pattern is used to indicate the configuration that the first router is imported in the second router during initialization.
13. device according to claim 8, it is characterised in that the 3rd determining module, be configured as it is described at least When there is no the second router of the terminal binding in one router, the initialization pattern for determining the first router is New router initializes pattern.
14. device according to claim 8, it is characterised in that described device also includes:
Receiving module, is configured as after the initialization pattern that the pushing module pushes the first router, receives just Beginningization is instructed;The initialization directive is used to indicating the terminal according to the initialization pattern of the first router to described the One router carries out initialization operation;
Processing module, is configured as according to the initialization directive, sets up and is connected with the first router, and according to described the The initialization pattern of one router carries out initialization operation to the first router.
15. a kind of router initializes the determining device of pattern, it is characterised in that including:
Processor;
For the memory for the executable instruction for storing the processor;
Wherein, the processor is configured as:
According at least one the Wireless Fidelity WiFi signal scanned, it is determined that at least one described WiFi signal corresponding at least one There is the first router of no initializtion in individual router;
It is determined that the second router bound at least one described router with the presence or absence of terminal;
According at least one described router with the presence or absence of the terminal bind the second router, determine the first via by The initialization pattern of device;
Push the initialization pattern of the first router.
CN201710184075.3A 2017-03-24 2017-03-24 Method and device for determining initialization mode of router Active CN107070707B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710184075.3A CN107070707B (en) 2017-03-24 2017-03-24 Method and device for determining initialization mode of router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710184075.3A CN107070707B (en) 2017-03-24 2017-03-24 Method and device for determining initialization mode of router

Publications (2)

Publication Number Publication Date
CN107070707A true CN107070707A (en) 2017-08-18
CN107070707B CN107070707B (en) 2020-06-02

Family

ID=59620505

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710184075.3A Active CN107070707B (en) 2017-03-24 2017-03-24 Method and device for determining initialization mode of router

Country Status (1)

Country Link
CN (1) CN107070707B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102018127816A1 (en) 2017-11-10 2019-05-16 Caterpillar Paving Products Inc. BUILT-IN MACHINE WITH CONTROL OF A MULTIPLE ZONE-PROVIDING SPROCKET
WO2021043045A1 (en) * 2019-09-02 2021-03-11 华为技术有限公司 Method and device for configuring network configuration information
WO2022160956A1 (en) * 2021-01-26 2022-08-04 华为技术有限公司 Wi-fi-based connection method, wireless access device, and electronic device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040001511A1 (en) * 2002-06-28 2004-01-01 Matta Johnny M. Catprobe
CN103401790A (en) * 2013-08-05 2013-11-20 深圳市华讯方舟科技有限公司 Method for accessing wireless router in AP (Access Point) mode or relay mode by intelligent equipment
CN104244272A (en) * 2014-09-30 2014-12-24 上海斐讯数据通信技术有限公司 Method and system for reinforcing strength of wireless signals
CN104902531A (en) * 2014-03-03 2015-09-09 腾讯科技(深圳)有限公司 Network connection method, application authentication server, terminal and router
CN106412940A (en) * 2016-11-15 2017-02-15 北京小米移动软件有限公司 Method and device for creating wireless local area network, and method and device for accessing network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040001511A1 (en) * 2002-06-28 2004-01-01 Matta Johnny M. Catprobe
CN103401790A (en) * 2013-08-05 2013-11-20 深圳市华讯方舟科技有限公司 Method for accessing wireless router in AP (Access Point) mode or relay mode by intelligent equipment
CN104902531A (en) * 2014-03-03 2015-09-09 腾讯科技(深圳)有限公司 Network connection method, application authentication server, terminal and router
CN104244272A (en) * 2014-09-30 2014-12-24 上海斐讯数据通信技术有限公司 Method and system for reinforcing strength of wireless signals
CN106412940A (en) * 2016-11-15 2017-02-15 北京小米移动软件有限公司 Method and device for creating wireless local area network, and method and device for accessing network

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102018127816A1 (en) 2017-11-10 2019-05-16 Caterpillar Paving Products Inc. BUILT-IN MACHINE WITH CONTROL OF A MULTIPLE ZONE-PROVIDING SPROCKET
WO2021043045A1 (en) * 2019-09-02 2021-03-11 华为技术有限公司 Method and device for configuring network configuration information
WO2022160956A1 (en) * 2021-01-26 2022-08-04 华为技术有限公司 Wi-fi-based connection method, wireless access device, and electronic device

Also Published As

Publication number Publication date
CN107070707B (en) 2020-06-02

Similar Documents

Publication Publication Date Title
CN104780155B (en) Apparatus bound method and device
CN104159275B (en) Method for connecting network and device
CN103888290B (en) Configuration information recovery method and apparatus
CN104469714B (en) Note transmission method and device
CN106921560A (en) Voice communication method, apparatus and system
CN104216742B (en) Brush machine control method and device based on password
CN104391870B (en) Logistics information acquisition methods and device
CN104837154B (en) The control method and device of wireless access points
CN103984664B (en) Access the method, apparatus and system in cloud space
CN106790043A (en) The method and device of message is sent in live application
CN104159230A (en) Telephone call identification method and device
CN105049219B (en) Flow booking method and system, mobile terminal and server
CN106792638A (en) Method for connecting network and terminal
CN106990894A (en) The control method and device of smart machine
CN106454801A (en) Network switching method and terminal
CN106162211A (en) Live method and device is carried out based on live application
CN107071862A (en) Account binding method and device and smart machine
CN107544802A (en) device identification method and device
CN107070707A (en) Router initializes the determination method and apparatus of pattern
CN104298902A (en) Method, device and equipment for displaying applications
CN107622189A (en) Optimize the method and apparatus of unlocked by fingerprint
CN106953969A (en) The screen control method and device of mobile terminal
CN107506496A (en) Scrap cleaning method, device and computer-readable recording medium
CN105072243B (en) Income prompting method and device
CN106791088A (en) The method and device of application verification code input

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