CN108134695A - A kind of method and system based on APP rapid configuration routers - Google Patents

A kind of method and system based on APP rapid configuration routers Download PDF

Info

Publication number
CN108134695A
CN108134695A CN201711376971.6A CN201711376971A CN108134695A CN 108134695 A CN108134695 A CN 108134695A CN 201711376971 A CN201711376971 A CN 201711376971A CN 108134695 A CN108134695 A CN 108134695A
Authority
CN
China
Prior art keywords
configuration
router
routers
module
configuration information
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.)
Withdrawn
Application number
CN201711376971.6A
Other languages
Chinese (zh)
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.)
Taizhou Jiji Intellectual Property Operation Co.,Ltd.
Original Assignee
Shanghai Feixun Data Communication 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201711376971.6A priority Critical patent/CN108134695A/en
Publication of CN108134695A publication Critical patent/CN108134695A/en
Withdrawn legal-status Critical Current

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
    • 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/0889Techniques to speed-up the configuration process
    • 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/0893Assignment of logical groups to network elements

Abstract

The present invention provides a kind of method and system based on APP rapid configuration routers, method includes step:Whether S100 judges router in non-configuration status;If so, enter step S200;S200 judges whether to be recorded according to configuration of routers, and configuration operation is carried out to the router;If so, enter step S300;S300 obtains target configuration information from configuration of routers record;S400 sends the target configuration information to the router.The present invention is quickly configured router by APP, simplifies the purpose of cumbersome degree being configured for the first time.

Description

A kind of method and system based on APP rapid configuration routers
Technical field
The present invention relates to the technical field of router, espespecially a kind of method and system based on APP rapid configuration routers.
Background technology
Router (Router) is the equipment for connecting each LAN, wide area network in internet, it can be according to the situation of channel Routing is automatically selected and set, with optimal path, signal is sent by tandem.
Since conventional router can do nothing to help user ID and fast quick-recovery net mode information thereon, when user needs replacing Or during initialization router, user can only be manually recorded by its current configuration information, and resides in other media, then again will Its configuration information recorded is manually entered into the router of new (or after initialization), completes router online configuration.
Currently existing scheme is all that the configuration information of router is recorded and preserved one by one manually manually by user, and operating process is non- It is often cumbersome and easily lose important information, it can not ensure simple, quick, safety the configuration router online of user.With routing The application of device control APP is universal, and more and more routers are supported APP to be controlled to be configured by router, but at present Router control APP mainly router is configured, so as to cause when user restore manufacture or replace router after, User needs APP to be controlled to re-start configuration operation by router, therefore for a user, comparatively laborious.
Invention content
The object of the present invention is to provide a kind of method and systems based on APP rapid configuration routers, realize fast by APP Router is configured in speed, simplifies the purpose of cumbersome degree being configured for the first time.
Technical solution provided by the invention is as follows:
The present invention provides a kind of method based on APP rapid configuration routers, including step:Whether S100 judges router In non-configuration status;If so, enter step S200;S200 judges whether to be recorded according to configuration of routers, to the router Carry out configuration operation;If so, enter step S300;S300 obtains target configuration information from configuration of routers record; S400 sends the target configuration information to the router.
Further, step is included before the step S100:S010 establishes wireless communication connection with the router; S020 sends solicited message to the router;S030 receives the response message that the router returns;The step S100 packets Include step:Whether S110 judges the router in non-configuration status according to the response message;If so, it enters step S200;Otherwise, S120 is entered step;S120 logs in the configuration of routers page.
Further, step is included after the step S120:S121 sends configuring request to the router;S122 connects Receive the current configuration information that the router is sent;S123 stores the current configuration information, updates the router and matches Put record.
Further, after the step S100, step is included before S200:S101 judges locally whether store the road It is configured and recorded by device;The configuration of routers record includes several configuration informations;If so, enter step S200;Otherwise, into step Rapid S102;S102 obtains user configuration operation;S103 is operated according to the user configuration, is generated configuration-direct and is sent to described Router.
Further, the step S300 includes step:S310 obtains the identity information of the router;S320 shows institute State the corresponding history configuration information of identity information;S330 obtains the target configuration information from the history configuration information.
The present invention also provides a kind of system based on APP rapid configuration routers, including:Mobile terminal and router;Institute Mobile terminal is stated to include:Transceiver and processor;The transceiver is connected to the processor;The processor, described in judgement Whether router is in non-configuration status;The processor when judging that the router is in non-configuration status, is further sentenced Disconnected whether recorded according to configuration of routers carries out configuration operation to the router;The processor, when according to configuration of routers When record carries out the router configuration operation, target configuration information is obtained from configuration of routers record;The receipts Send out device, the target configuration information to the router.
Further, the transceiver includes:Communication module and transceiver module;The communication module and the transceiver module Connection;The communication module establishes wireless communication connection with the router;The transceiver module sends solicited message to institute Router is stated, and receives the response message that the router returns;The processor includes:First judgment module and login mould Block;First judgment module is connect respectively with the transceiver module and the login module;First judgment module, according to Whether the response message judges the router in non-configuration status;First judgment module, when judging the routing It when device is in non-configuration status, further determines whether to be recorded according to configuration of routers, configuration operation is carried out to the router; The login module when judging that the router is in configuration status, logs in the configuration of routers page.
Further, it further includes:Reservoir;The reservoir is connect with the transceiver;The transceiver, described in login After the configuration of routers page, configuring request is sent to the router, and receives the current-configuration that the router is sent Information;The reservoir stores the current configuration information, updates the configuration of routers record.
Further, the processor further includes:Second judgment module, the first acquisition module and generation module;Described One acquisition module is connect respectively with second judgment module and the generation module;Second judgment module, when judging When stating router and being in non-configuration status, further judge local whether store the configuration of routers and record;The router Configuration record includes several configuration informations;First acquisition module does not store the configuration of routers record when judgement is local When, obtain user configuration operation;The generation module is operated according to the user configuration, generates configuration-direct;The transmitting-receiving Device sends router described in the configuration-direct.
Further, the processor further includes:Second acquisition module, display module;Second acquisition module and institute State display module connection;Second acquisition module obtains the identity information of the router;The display module shows institute State the corresponding history configuration information of identity information;Second acquisition module obtains the mesh from the history configuration information Mark configuration information.
By a kind of method and system based on APP rapid configuration routers provided by the invention, can bring with down toward A kind of few advantageous effect:
1) present invention is not under the premise of needing to user and making a copy of router online configuration information by hand, when router appearance is different When normal or failure or the router or router of addition/replacement carry out default setting, at this moment user only needs to pass through road Target configuration information is locally obtained from mobile terminal by device control APP, does not need to carry out binding new router, just energy basis obtains Router is configured in the existing target configuration information taken, so as to complete net operation in the configuration of router, realizes routing Device initialization operation simultaneously automatically configures router online, promotes the allocative efficiency of router, accelerates networking speed, promoting user makes With experience.
2) APP can be controlled quickly to judge whether router is located with helper by response message in the present invention In non-configuration status, so as to according to configuration of routers state, rapidly make different configuration status feedbacks.
3) present invention carries out just being updated configuration of routers record in real time with postponing accordingly in router, can It ensure that the stability and reliability of judgement, moreover, during real-time update, only more newly increase current configuration information, and Original other data just having are not updated, avoid repetition update, reduces the update time used, improves newer effect Rate.
4) present invention preferentially carries out configuration router according to the target configuration information of router, enable to user it is quick, While convenient online, moreover it is possible to more abundant, various, personalized configuration is carried out when user needs.
5) present invention according to identity information shows corresponding history configuration information, in this way can it is eye-catching, history is matched in time Confidence breath shows the agility for so that user checks, improving presentation of information, selects to obtain target with confidence convenient for user Breath so that user selects the history configuration item of oneself needs that router is set to surf the Internet, meets the configuration needs of user, is promoted and used The configuration experience at family.
Description of the drawings
Below by a manner of clearly understandable, preferred embodiment is described with reference to the drawings, APP rapid configurations are based on to one kind Above-mentioned characteristic, technical characteristic, advantage and its realization method of the method and system of router are further described.
Fig. 1 is a kind of flow chart of one embodiment of the method based on APP rapid configuration routers of the present invention;
Fig. 2 is a kind of flow chart of another embodiment of the method based on APP rapid configuration routers of the present invention;
Fig. 3 is a kind of flow chart of another embodiment of the method based on APP rapid configuration routers of the present invention;
Fig. 4 is a kind of structure diagram of one embodiment of the system based on APP rapid configuration routers of the present invention.
Specific embodiment
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, control is illustrated below The specific embodiment of the present invention.It should be evident that the accompanying drawings in the following description is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing, and obtain other embodiments.
To make simplified form, part related to the present invention is only schematically shown in each figure, they are not represented Its practical structures as product.In addition, so that simplified form is easy to understand, there is identical structure or function in some figures Component only symbolically depicts one of those or has only marked one of those.Herein, "one" is not only represented " only this " can also represent the situation of " more than one ".
A kind of one embodiment of the method based on APP rapid configuration routers of the present invention, as shown in Figure 1, including:
Whether S100 judges router in non-configuration status;If so, enter step S200;
S200 judges whether to be recorded according to configuration of routers, and configuration operation is carried out to the router;If so, it enters step S300;
S300 obtains target configuration information from configuration of routers record;
S400 sends the target configuration information to the router.
Specifically, in the present embodiment, configuration information includes router identification information, configuration storage time, network access letter Breath (network accesses such as PPOE, ADSL dialing, automatic acquisition, static IP), radio configuration information (the SSID names of wireless WIFI network Claim, the password of wireless WIFI network), configuration of routers page login password.User is controlled using the router on mobile terminal APP (the APP applications for controlling corresponding router) carries out judging whether router is at non-configuration status, router In non-configuration status situation include be not used router or once used but carried out restore manufacture set Router put etc. if detection judges to be in non-configuration status during router, is just further determined whether according to routing Device configuration record carries out configuration operation to router, if it is determined that carrying out configuration behaviour to router according to configuration of routers record Make, then just from configuration of routers record, search and obtain target configuration information, mobile terminal will search the target acquired Configuration information is sent to the router currently being connect with mobile terminal, and router receives target configuration information, just can direct root It is configured according to target configuration information.Since target configuration information is the router that user has used with confidence in the present invention Breath, therefore directly the router for being in non-configuration status is configured according to target configuration information, it can not only carry out fast Speed, it is simple, be easily configured, additionally it is possible to user is helped to realize record and the recovery of online configuration information, user is not needed to and is setting In the case of standby update iteration or default setting, configuration operation is frequently carried out by user's memory repeatedly, simplifies user's Online configuration flow promotes the configuration experience of user.
A kind of another embodiment of the method based on APP rapid configuration routers of the present invention, as shown in Fig. 2, including:
S010 establishes wireless communication connection with the router;
S020 sends solicited message to the router;
S030 receives the response message that the router returns;
Whether S110 judges the router in non-configuration status according to the response message;If so, it enters step S200;Otherwise, S120 is entered step;
S120 logs in the configuration of routers page;
S200 judges whether to be recorded according to configuration of routers, and configuration operation is carried out to the router;If so, it enters step S300;
S300 obtains target configuration information from configuration of routers record;
S400 sends the target configuration information to the router;
S500 logs in the configuration of routers page.
Specifically, the present embodiment is the preferred embodiment of a upper embodiment, it would be desirable to which the router of configuration is with carrying routing The mobile terminal of device control APP carries out wireless communication connection, then by after opening router and controlling APP, by mobile whole It holds to router and sends solicited message, after router receives solicited message, the configuration data of router itself is packaged, is obtained Response message is sent to mobile terminal by response message, router, the response message that mobile terminal receiving router is sent, according to Response message judges whether router is to be in non-configuration status, because if when router is in non-configuration status, router Response message in configuration data do not include have any configuration information, therefore configuration of the response message to router can be passed through State is judged.When the configuration data in response message, which does not include, any configuration information, that is, it is to be in judge router During non-configuration status, then just selection lookup is carried out from the locally-stored configuration of routers record of mobile terminal, so as to obtain To target configuration information, then target configuration information is sent to router by mobile terminal, and router receives target configuration information, Directly it is configured according to target configuration information.When the configuration data in response message includes any configuration information, then Just APP is controlled to log in the configuration of routers page by router.By response message in the present invention, can be controlled with helper Whether APP quickly judges router in non-configuration status, so as to according to configuration of routers state, rapidly make difference Configuration feedback, i.e., when router be in non-configuration status, can rapidly according to target configuration information to router carry out quickly, Convenient configuration, when router is in configured state, can log in rapidly the configuration of routers page, convenient for user to router Configuration information checked or changed.
Preferably, step is included after the step S120:
S121 sends configuring request to the router;
S122 receives the current configuration information that the router is sent;
S123 stores the current configuration information, updates the configuration of routers record.
Specifically, the present embodiment is the preferred embodiment of above-described embodiment, in the present embodiment, when router is in configured During state, and after logging in the configuration of routers page, if user needs to be modified the configuration of router, road can be passed through APP is controlled by device, configuring request is sent to router, router carries out corresponding configuration change operation according to configuring request, and And router itself according to configuring request with postponing, the current configuration information of router is returned, herein, is currently matched The form of confidence breath is JSON forms, and the combination of current configuration information is to carry out division storage according to different functions It deposits, is returned with JSON forms, convenient for transmission, mobile terminal treatment classification of being more convenient for, then according to classifying, updating router Configuration record.The present invention carries out just being updated configuration of routers record, Neng Goubao in real time with postponing accordingly in router The stability and reliability judged has been demonstrate,proved, moreover, during real-time update, has only more newly increased current configuration information, not Other data for having update just to have originally avoid repetition update, reduce the update time used, improve newer effect Rate.
Preferably, after the step S100, step is included before S200:
S101 judges locally whether store the configuration of routers record;The configuration of routers record includes several configurations Information;If so, enter step S200;Otherwise, S102 is entered step;
S102 obtains user configuration operation;
S103 is operated according to the user configuration, is generated configuration-direct and is sent to the router.
Specifically, in the present embodiment, after judging router in the state of not being configured, it is also necessary to which judgement is equipped with road Configuration of routers record whether is stored in mobile terminal by device control APP, is not limited to mobile terminal itself storage area here Domain (such as ROM or RAM etc.) or the detachable storage medium (such as SD card) of installation on mobile terminals, if Judge not store any configuration of routers record in mobile terminal, then, will show configuration boot flow successively, according to Boot flow is put, user carries out configuration operation, operated according to user configuration successively, and generation configuration-direct is sent to router, road Configuration-direct is received by device, corresponding configuration change can be performed, in this way, quickly being matched to router in the above-described embodiments It puts, after being connected convenient for fast network access, additionally it is possible to according to user's needs, carry out more careful, more diversified configuration one by one.This Invention preferentially carries out configuration router according to the target configuration information of router, enables to what user fast, easily surfed the Internet Simultaneously, moreover it is possible to more abundant, various, personalized configuration is carried out when user needs.
Preferably, the step S300 includes step:
S310 obtains the identity information of the router;
S320 shows the corresponding history configuration information of the identity information;
S330 obtains the target configuration information from the history configuration information.
Specifically, in the present embodiment, after judging router in the state of not being configured, it is also necessary to which judgement is equipped with road Configuration of routers record whether is stored in mobile terminal by device control APP, is not limited to mobile terminal itself storage area here Domain (such as ROM or RAM etc.) or the detachable storage medium (such as SD card) of installation on mobile terminals, as long as Judge to store configuration of routers record in mobile terminal, it will be able to show that these configuration of routers record, know with movement eventually The current identity information of the router of connection is held, just can show several corresponding configuration informations of current identity information, several The arrangement mode of configuration information can be according to configuration storage time order and function sequence arranged, can also when according to configuration store up The frequency number deposited is ranked up, and can also be arranged according to the priority orders of user setting, several from display are matched Selection obtains target configuration information in confidence breath.The present invention shows corresponding history configuration information according to identity information, in this way may be used It is eye-catching, history configuration information is shown to the agility for so that user checks, improving presentation of information in time, convenient for user Selection obtains target configuration information, so that user selects the history configuration item of oneself needs that router is set to surf the Internet, meets use The configuration needs at family promote the configuration experience of user.
A kind of another embodiment of the method based on APP rapid configuration routers of the present invention, as shown in figure 3, including:
Mobile terminal connects router, and opens routing APP, and routing APP sends solicited message to router, router hair Sending response message, information judges whether router is configured for the first time to routing APP according to response to APP is route;
When route APP information judges router according to response be to be configured for the first time when, routing APP judge local whether stored Routing configuration information;
When routing APP judges locally stored routing configuration information, explicit routing configuration information is believed according to routing configuration Breath, judges whether to import;
When according to routing configuration information, when judging to import, storage configuration crosses router for display, and user selects specific road By device MAC Address, according to router mac address, its corresponding history configuration information is shown, confidence is specifically matched in user's selection Breath is completed configuration according to configuration information and is imported, and configuration enters APP homepages after completing;
When routing APP judges locally not store routing configuration information;Or information judges road according to response as routing APP It is to be configured for the first time by device, and according to routing configuration information, when judgement does not import, routing APP shows boot configuration flow for the first time, root It completes to be configured according to user's operation, configuration enters APP homepages after completing, and according to router mac address, storage time preservation is matched Confidence is ceased to local, and providing data for APP judgements supports.
When route APP information judges router according to response be not to be configured for the first time when, into APP login interfaces, and input Login password is logged in, and APP homepages are entered after logining successfully, and is then route APP and is sent configuring request to router, router Configuration information is sent to router APP, after routing APP receives the configuration information reply of router, routing APP is converted into and locally deposits Storage, routing APP preserve configuration information to local according to router mac address, storage time etc., data branch are provided for APP judgements It holds.
Specifically, in the present embodiment, after user is connected to router using mobile terminal, router APP is opened (i.e. originally Invention router controls APP, hereinafter referred to as route APP), the router connected is configured by routeing APP.It route APP Solicited message is sent to router, which is to whether be in configuration for the first time (i.e. originally to router inquiry router Invention non-configuration status).According to the reply of router, there are following two situations:
1st, the reply that mobile terminal receives router is to be configured for the first time, and mobile terminal carries out judging whether have routing configuration Information (configuration of routers record i.e. of the present invention).
1.1) route configuration information was not locally stored when routing APP detects mobile terminal, then it is direct to route APP Show the boot configuration flow of user for the first time.Its boot configuration flow is as follows:Welcome page → router password setting → online side Formula configuration → radio configuration.After the completion of user configuration is guided.It is local to mobile terminal is route to route APP storage configurations information, Its storage content includes (MAC Address of router, the time of storage, network access configuration information, radio configuration information, routing Device password configuration information).
1.2) route configuration information was locally stored when routing APP detects mobile terminal, then route APP and display whether to lead Enter the configuration information page.If user's selection is no, into the boot configuration flow in flow 1.1).If user selects It is then to enter configuration and import interface.Configuration imports the MAC Address list of the stored router of interface display, and user's selection is thought The MAC Address of the router of importing, after selection, show the router history configuration information (the history configuration information according to The new and old sequence of the time of storage is ranked up), user selects a wherein information to be imported, and is imported so as to complete configuration.
2nd, mobile terminal receives the reply of router and is configured for the first time to be non-, and mobile terminal enters APP homepages, at the same it is mobile eventually It holds to router and issues configuring request, router receives configuring request and is configured accordingly, and sends and be configured to mobile terminal Information returns to route configuration information according to JSON forms, wherein (such as online setting, wirelessly being set according to function module title Put, health energy-saving, the function modules such as parent's control) carry out data division.After routing APP receives reply, in the return received Configuration information in increase the MAC Address of router and time of storage forms new information, the information preserve to it is mobile eventually End is local.
The flow that the present invention is handled from software approach is as shown in figure 3, when the WIFI module that user passes through mobile terminal connects Whether after the WIFI of router, it is the request that is configured for the first time to open routing APP, routing APP and sent to router.According to router Reply, routing APP do different corresponding states respectively.Even if manufacture is restored by user of the invention or replaces router Afterwards, also quickly it can be configured, user in cumbersome without re-starting configuration.
A kind of one embodiment of the system based on APP rapid configuration routers of the present invention, as shown in figure 4, including:It is mobile Terminal 100 and router 200;The mobile terminal 100 includes:Including:Mobile terminal 100 and router 200;It is described mobile whole End 100 includes:Transceiver 120, processor 110;The transceiver 120 is connect with the processor 110;
Whether the processor 110 judges the router 200 in non-configuration status;
The processor 110 when judging that the router 200 is in non-configuration status, further determines whether basis Configuration of routers record carries out configuration operation to the router 200;
The processor 110, when carrying out configuration operation to the router 200 according to configuration of routers record, from institute It states in configuration of routers record and obtains target configuration information;
The transceiver 120, the target configuration information to the router 200.
Specifically, in the present embodiment, configuration information includes 200 identity information of router, configuration storage time, network access Information (network accesses such as PPOE, ADSL dialing, automatic acquisition, static IP), the radio configuration information (SSID of wireless WIFI network The password of title, wireless WIFI network), configuration of routers page login password.User uses the router on mobile terminal 100 200 control APP (the APP applications for controlling corresponding router 200) carry out judging whether router 200 is to be in not to be configured State, router 200 be in non-configuration status situation include be not used router 200 or once used but It is to have been carried out router 200 of factory reset etc., if detection judges to be in non-configuration status during router 200 When, it just further determines whether to carry out configuration operation to router 200 according to configuration of routers record, if it is determined that according to routing Device configuration record carries out configuration operation to router 200, then just from configuration of routers record, searches acquisition target and matches confidence The target configuration information that lookup acquires is sent to the router currently being connect with mobile terminal 100 by breath, mobile terminal 100 200, router 200 receives target configuration information, just can be directly configured according to target configuration information.In the present invention due to Target configuration information is the configuration information of router 200 that user has used, therefore directly according to target configuration information to place Be configured in the router 200 of non-configuration status, can not only carry out it is quick, simple, be easily configured, additionally it is possible to help User realizes record and the recovery of online configuration information, does not need to user and updates iteration or the situation of default setting in equipment Under, configuration operation is frequently carried out by user's memory repeatedly, simplifies the online configuration flow of user, promotes the configuration body of user It tests.
Preferably, the transceiver 120 includes:Communication module and transceiver module;The communication module and the transmitting-receiving mould Block connects;
The communication module establishes wireless communication connection with the router 200;
The transceiver module sends solicited message to the router 200, and receives the sound that the router 200 returns Answer information;
The processor 110 includes:First judgment module and login module;First judgment module respectively with the receipts Hair module is connected with the login module;
First judgment module according to the response message, judges whether the router 200 is in and shape is not configured State;
First judgment module when judging that the router 200 is in non-configuration status, further determines whether root It is recorded according to configuration of routers, configuration operation is carried out to the router 200;
The login module when judging that the router 200 is in configuration status, logs in the configuration of routers page.
Specifically, the router 200 needed to configure is controlled the mobile terminal of APP by the present embodiment with carrying router 200 100 carry out wireless communication connection, then by after opening router 200 and controlling APP, by mobile terminal 100 to router 200 send solicited message, after router 200 receives solicited message, the configuration data of router 200 itself are packaged, is obtained Response message is sent to mobile terminal 100 by response message, router 200, what 100 receiving router 200 of mobile terminal was sent Response message, according to response information judge whether router 200 is in non-configuration status, because if router 200 is in During non-configuration status, the configuration data in the response message of router 200, which does not include, has any configuration information, therefore can pass through Response message judges the configuration status of router 200.There is any configuration when the configuration data in response message does not include During information, that is, it is when being in non-configuration status to judge router 200, then just from the locally-stored router of mobile terminal 100 Selection lookup is carried out in configuration record, so as to get target configuration information, then mobile terminal 100 sends out target configuration information Router 200 is given, router 200 receives target configuration information, is directly configured according to target configuration information.When response is believed When configuration data in breath includes any configuration information, then just APP is controlled to log in configuration of routers page by router 200 Face.By response message in the present invention, APP can be controlled quickly to judge whether router 200 is in helper 200 Non-configuration status, so as to according to configuration of routers state, rapidly make different configuration feedbacks, i.e. router 200 is in not During configuration status, router 200 fast, easily can be configured according to target configuration information rapidly, at router 200 When configured state, the configuration of routers page can be logged in rapidly, the configuration information of router 200 is looked into convenient for user It sees or changes.
Preferably, it further includes:Reservoir;The reservoir is connect with the transceiver 120;
The transceiver 120 after logging in the configuration of routers page, sends configuring request to the router 200, and Receive the current configuration information that the router 200 is sent;
The reservoir stores the current configuration information, updates the configuration of routers record.
Specifically, the present embodiment is when router 200 is in configured state, and after logging in the configuration of routers page, such as When fruit user needs to be modified the configuration of router 200, can APP be controlled by router 200, be sent out to router 200 Send configuring request, router 200 carries out corresponding configuration change operation according to configuring request, and router 200 itself basis Configuring request with postponing, the current configuration information of router 200 is returned, herein, the form of current configuration information For JSON forms, and the combination of current configuration information is to carry out division storage according to different functions, with JSON forms It is returned, convenient for transmission, then 100 treatment classification of mobile terminal of being more convenient for is recorded according to classifying, updating configuration of routers.This Invention carries out just being updated configuration of routers record in real time with postponing accordingly in router 200, can ensure that judgement Stability and reliability, moreover, during real-time update, only more newly increase current configuration information, it is former there is no updating Come other data just having, repetition update is avoided, reduces the update time used, improves newer efficiency.
Preferably, the processor 110 further includes:Second judgment module, the first acquisition module and generation module;Described One acquisition module is connect respectively with second judgment module and the generation module;
Second judgment module, when judging that the router 200 is in non-configuration status, further judgement is local is The no storage configuration of routers record;The configuration of routers record includes several configuration informations;
First acquisition module when judging not storing the configuration of routers record locally, obtains user configuration behaviour Make;
The generation module is operated according to the user configuration, generates configuration-direct;
The transceiver 120 sends router 200 described in the configuration-direct.
Specifically, in the present embodiment, after judging router 200 in the state of not being configured, it is also necessary to judge installation There is router 200 to control and configuration of routers record whether is stored in the mobile terminal 100 of APP, be not limited to mobile terminal here 100 itself storage area (such as ROM or RAM) or the detachable storage medium on mobile terminal 100 (such as SD card), if it is determined that not storing any configuration of routers record in mobile terminal 100, then, it will show successively Boot flow is configured, according to configuration boot flow, user carries out configuration operation, operated according to user configuration successively, generation configuration Instruction is sent to router 200, and router 200 receives configuration-direct, corresponding configuration change can be performed, in this way, in above-mentioned reality It applies in example and rapid configuration is carried out to router 200, after being connected convenient for fast network access, additionally it is possible to according to user's needs, carry out one by one More careful, more diversified configuration.The present invention preferentially carries out configuration router according to the target configuration information of router 200 200, while enabling to the user fast, easily to surf the Internet, moreover it is possible to more abundant, various, individual character is carried out when user needs The configuration of change.
Preferably, the processor 110 further includes:Second acquisition module, display module;Second acquisition module and institute State display module connection;
Second acquisition module obtains the identity information of the router 200;
The display module shows the corresponding history configuration information of the identity information;
Second acquisition module obtains the target configuration information from the history configuration information.
Specifically, in the present embodiment, after judging router 200 in the state of not being configured, it is also necessary to judge installation There is router 200 to control and configuration of routers record whether is stored in the mobile terminal 100 of APP, be not limited to mobile terminal here 100 itself storage area (such as ROM or RAM) or the detachable storage medium on mobile terminal 100 (such as SD card), as long as judging to store configuration of routers record in mobile terminal 100, it will be able to show these configuration of routers Record knows the current identity information for the router 200 being connect with mobile terminal 100, can just show that current identity information corresponds to Several configuration informations, the arrangement modes of several configuration informations can be carried out according to the time order and function sequence of configuration storage Arrangement, can also when according to configuration storage frequency number be ranked up, can also according to user setting priority orders into Row arrangement selects to obtain target configuration information from several configuration informations of display.The present invention is shown pair according to identity information The history configuration information answered, in this way can it is eye-catching, history configuration information is shown so that user checks in time, improve letter The agility of display is ceased, selects to obtain target configuration information convenient for user, so that user selects the history configuration item oneself needed Router is set to surf the Internet, meets the configuration needs of user, promotes the configuration experience of user.
In above-mentioned all embodiments, under the premise of not needing to user and making a copy of the online configuration information of router 200 by hand, when When there is the router 200 of exception or failure or addition/replacement or the progress default setting of router 200 in router 200, At this moment user only needs APP to be controlled to obtain target configuration information from mobile terminal 100 is local by router 200, do not need into Row binds new router 200, router 200 can be just configured according to the existing target configuration information of acquisition, so as to Net operation in the configuration of router 200 is completed, 200 initialization operation of router is realized and automatically configures router 200 and surf the Internet, carry The allocative efficiency of router 200 is risen, accelerates networking speed, promotes user experience.
It should be noted that above-described embodiment can be freely combined as needed.The above is only the preferred of the present invention Embodiment, it is noted that for those skilled in the art, in the premise for not departing from the principle of the invention Under, several improvements and modifications can also be made, these improvements and modifications also should be regarded as protection scope of the present invention.

Claims (10)

  1. A kind of 1. method based on APP rapid configuration routers, which is characterized in that including step:
    Whether S100 judges router in non-configuration status;If so, enter step S200;
    S200 judges whether to be recorded according to configuration of routers, and configuration operation is carried out to the router;If so, it enters step S300;
    S300 obtains target configuration information from configuration of routers record;
    S400 sends the target configuration information to the router.
  2. 2. the method according to claim 1 based on APP rapid configuration routers, which is characterized in that the step S100 Include step before:
    S010 establishes wireless communication connection with the router;
    S020 sends solicited message to the router;
    S030 receives the response message that the router returns;
    The step S100 includes step:
    Whether S110 judges the router in non-configuration status according to the response message;If so, enter step S200; Otherwise, S120 is entered step;
    S120 logs in the configuration of routers page.
  3. 3. the method according to claim 2 based on APP rapid configuration routers, which is characterized in that the step S120 Include step later:
    S121 sends configuring request to the router;
    S122 receives the current configuration information that the router is sent;
    S123 stores the current configuration information, updates the configuration of routers record.
  4. 4. the method according to claim 1 based on APP rapid configuration routers, which is characterized in that the step S100 Later, step is included before S200:
    S101 judges locally whether store the configuration of routers record;The configuration of routers record includes several with confidence Breath;If so, enter step S200;Otherwise, S102 is entered step;
    S102 obtains user configuration operation;
    S103 is operated according to the user configuration, is generated configuration-direct and is sent to the router.
  5. 5. according to method of the claim 1-4 any one of them based on APP rapid configuration routers, which is characterized in that described Step S300 includes step:
    S310 obtains the identity information of the router;
    S320 shows the corresponding history configuration information of the identity information;
    S330 obtains the target configuration information from the history configuration information.
  6. 6. a kind of system based on APP rapid configuration routers, which is characterized in that including:Mobile terminal and router;The shifting Dynamic terminal includes:Transceiver and processor;The transceiver is connected to the processor;
    Whether the processor judges the router in non-configuration status;
    The processor when judging that the router is in non-configuration status, is further determined whether according to configuration of routers Record carries out configuration operation to the router;
    The processor when carrying out configuration operation to the router according to configuration of routers record, is matched from the router It puts and target configuration information is obtained in record;
    The transceiver, the target configuration information to the router.
  7. 7. the system according to claim 6 based on APP rapid configuration routers, which is characterized in that the transceiver packet It includes:Communication module and transceiver module;The communication module is connect with the transceiver module;
    The communication module establishes wireless communication connection with the router;
    The transceiver module sends solicited message to the router, and receives the response message that the router returns;
    The processor includes:First judgment module and login module;First judgment module respectively with the transceiver module It is connected with the login module;
    Whether first judgment module according to the response message, judges the router in non-configuration status;
    First judgment module when judging that the router is in non-configuration status, is further determined whether according to routing Device configuration record, configuration operation is carried out to the router;
    The login module when judging that the router is in configuration status, logs in the configuration of routers page.
  8. 8. the system according to claim 7 based on APP rapid configuration routers, which is characterized in that further include:Storage Device;The reservoir is connect with the transceiver;
    The transceiver after logging in the configuration of routers page, sends configuring request to the router, and receive the road The current configuration information sent by device;
    The reservoir stores the current configuration information, updates the configuration of routers record.
  9. 9. the system according to claim 6 based on APP rapid configuration routers, which is characterized in that the processor is also Including:Second judgment module, the first acquisition module and generation module;First acquisition module judges mould with described second respectively Block is connected with the generation module;
    When judging that the router is in non-configuration status, local whether store further judged for second judgment module The configuration of routers record;The configuration of routers record includes several configuration informations;
    First acquisition module when judging not storing the configuration of routers record locally, obtains user configuration operation;
    The generation module is operated according to the user configuration, generates configuration-direct;
    The transceiver sends router described in the configuration-direct.
  10. 10. according to system of the claim 6-9 any one of them based on APP rapid configuration routers, which is characterized in that described Processor further includes:Second acquisition module, display module;Second acquisition module is connect with the display module;
    Second acquisition module obtains the identity information of the router;
    The display module shows the corresponding history configuration information of the identity information;
    Second acquisition module obtains the target configuration information from the history configuration information.
CN201711376971.6A 2017-12-19 2017-12-19 A kind of method and system based on APP rapid configuration routers Withdrawn CN108134695A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711376971.6A CN108134695A (en) 2017-12-19 2017-12-19 A kind of method and system based on APP rapid configuration routers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711376971.6A CN108134695A (en) 2017-12-19 2017-12-19 A kind of method and system based on APP rapid configuration routers

Publications (1)

Publication Number Publication Date
CN108134695A true CN108134695A (en) 2018-06-08

Family

ID=62391855

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711376971.6A Withdrawn CN108134695A (en) 2017-12-19 2017-12-19 A kind of method and system based on APP rapid configuration routers

Country Status (1)

Country Link
CN (1) CN108134695A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109245947A (en) * 2018-10-30 2019-01-18 北京计算机技术及应用研究所 A kind of interchanger and its tactics configuring method
CN109861847A (en) * 2018-12-25 2019-06-07 杭州迪普科技股份有限公司 Configure general view output method and device
CN110417582A (en) * 2019-07-03 2019-11-05 华为技术有限公司 A kind of method for configuring routers, terminal and router
CN111935277A (en) * 2020-08-07 2020-11-13 上海汉枫电子科技有限公司 Router connection method, router connection device, computer equipment and storage medium
WO2021043045A1 (en) * 2019-09-02 2021-03-11 华为技术有限公司 Method and device for configuring network configuration information

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109245947A (en) * 2018-10-30 2019-01-18 北京计算机技术及应用研究所 A kind of interchanger and its tactics configuring method
CN109861847A (en) * 2018-12-25 2019-06-07 杭州迪普科技股份有限公司 Configure general view output method and device
CN109861847B (en) * 2018-12-25 2022-07-29 杭州迪普科技股份有限公司 Configuration overview output method and device
CN110417582A (en) * 2019-07-03 2019-11-05 华为技术有限公司 A kind of method for configuring routers, terminal and router
WO2021000923A1 (en) * 2019-07-03 2021-01-07 华为技术有限公司 Router configuration method, terminal, and router
WO2021043045A1 (en) * 2019-09-02 2021-03-11 华为技术有限公司 Method and device for configuring network configuration information
EP4020896A4 (en) * 2019-09-02 2022-10-19 Huawei Technologies Co., Ltd. Method and device for configuring network configuration information
CN111935277A (en) * 2020-08-07 2020-11-13 上海汉枫电子科技有限公司 Router connection method, router connection device, computer equipment and storage medium

Similar Documents

Publication Publication Date Title
CN108134695A (en) A kind of method and system based on APP rapid configuration routers
CN103026660B (en) Network policy configuration method, management equipment and network management centre device
CN103532751B (en) Network access equipment management method and device
CN109802985A (en) Data transmission method, device, equipment and read/write memory medium
CN102422600B (en) Method provided in mixed nodes, network thereof and network units thereof
CN106034077B (en) A kind of dynamic route collocating method, apparatus and system
CN104350467A (en) Elastic enforcement layer for cloud security using SDN
CN100414890C (en) Method and system for centrally configurating terminal equipment
CN106126402B (en) The processing method and processing device of accelerator exception
CN104301141B (en) A kind of method, apparatus and system for preserving configuration information
CN106789526B (en) method and device for connecting multiple system networks
CN105704034B (en) Access the method and central server of network
CN109889416A (en) A kind of smart home system and construction method based on micro services framework
US9094316B2 (en) Dynamic name generation
CN104704779A (en) Method and apparatus for accelerating forwarding in software-defined networks
CN103763754B (en) A kind of method of data processing, apparatus and system
CN104468368B (en) Configure the method and device of bgp neighbor
CN105282003B (en) Establish the method and system and tunnel control device and virtual switch in tunnel
CN103067416A (en) Virtual private cloud (VPC) access authentication method and correlation apparatus
CN107113892A (en) A kind of method and device of gateway device automatic network-building
CN104935625A (en) Method and system for finding services in a service-oriented architecture (SOA) network
CN109819498A (en) A kind of smart machine, the automatic distribution method and system of smart machine
CN110278568A (en) Method, network system based on network equipment building networking
CN103634214B (en) A kind of routing iinformation generation method and device
US20140156820A1 (en) Configuration information selection based on extracted information

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20201028

Address after: No. 2-3167, zone a, Nonggang City, No. 2388, Donghuan Avenue, Hongjia street, Jiaojiang District, Taizhou City, Zhejiang Province

Applicant after: Taizhou Jiji Intellectual Property Operation Co.,Ltd.

Address before: 201616 Shanghai city Songjiang District Sixian Road No. 3666

Applicant before: Phicomm (Shanghai) Co.,Ltd.

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20180608