CN106992882A - Router file migration method and apparatus - Google Patents

Router file migration method and apparatus Download PDF

Info

Publication number
CN106992882A
CN106992882A CN201710183065.8A CN201710183065A CN106992882A CN 106992882 A CN106992882 A CN 106992882A CN 201710183065 A CN201710183065 A CN 201710183065A CN 106992882 A CN106992882 A CN 106992882A
Authority
CN
China
Prior art keywords
router
migrated
file
destination
virtual address
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
CN201710183065.8A
Other languages
Chinese (zh)
Other versions
CN106992882B (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 CN201710183065.8A priority Critical patent/CN106992882B/en
Publication of CN106992882A publication Critical patent/CN106992882A/en
Application granted granted Critical
Publication of CN106992882B publication Critical patent/CN106992882B/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/084Configuration by using pre-existing information, e.g. using templates or copying from other elements
    • H04L41/0846Configuration by using pre-existing information, e.g. using templates or copying from other elements based on copy from other elements
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The disclosure is directed to a kind of router file migration method and apparatus, this method includes:Obtain the virtual address of router to be migrated;Obtain the information of the file to be migrated of router to be migrated;File migration instruction is sent to destination router;File migration instruction includes:The virtual address of the information of file to be migrated and router to be migrated, migration instruction is used to indicate information of the destination router according to file to be migrated, by the virtual address of destination router, the virtual address of router to be migrated, by file to be migrated from router migration to be migrated to destination router.The router file migration method and apparatus that the disclosure is provided, the step of simplifying the file of migration router improves the efficiency of the file of migration router, improves the reliability of the file of migration router, improves Consumer's Experience.

Description

Router file migration method and apparatus
Technical field
This disclosure relates to router technology, more particularly to a kind of router file migration method and apparatus.
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 would generally set wireless router in the family.
In correlation technique, most of wireless routers are provided with hard disk, file, the configuration text downloaded offline for storing Part, backup file etc..However, when user changes the wireless router using new wireless router, user needs first should File migration in wireless router is into terminal.Then, then from terminal migrate into new wireless router so that wireless The reliability of the operation of the file migration of router is poor, less efficient, and Consumer's Experience is relatively low.
The content of the invention
To overcome problem present in correlation technique, the disclosure provides a kind of router file migration method and apparatus.Skill Art scheme is as follows:
According to the first aspect of the embodiment of the present disclosure there is provided a kind of router file migration method, including:
Obtain the virtual address of router to be migrated;
Obtain the information of the file to be migrated of router to be migrated;
File migration instruction is sent to destination router;File migration instruction includes:The information of file to be migrated and wait to move The virtual address of router is moved, migration instruction is used to indicate information of the destination router according to file to be migrated, passes through target road By the virtual address of device, the virtual address of router to be migrated, by file to be migrated from router migration to be migrated to target road By device.
The technical scheme provided by this disclosed embodiment can include the following benefits:Terminal obtains router to be migrated Virtual address and router to be migrated file to be migrated information after, can to destination router send carrying need to be moved The file migration instruction of the information of text move part and the virtual address of router to be migrated, to cause destination router receiving text After part migration instruction, by the virtual address of destination router, the virtual address of router to be migrated, from router to be migrated File to be migrated is migrated, the step of simplifying the file migration of router improves the efficiency of the file migration of router.Together When, the reliability of the file migration of router is improved, and then improve Consumer's Experience.
Optionally, the virtual address of router to be migrated is obtained, including:
Configuration of routers request to be migrated is sent to router to be migrated, configuration of routers to be migrated asks to treat for instruction The virtual address that migration configuration of routers communicates with destination router;
Receive the configuration of routers to be migrated response that router to be migrated asks to send based on configuration of routers to be migrated;Treat Migration configuration of routers response includes:The virtual address of router to be migrated.
Optionally, before the information of file to be migrated for obtaining router to be migrated, method also includes:
Destination router configuring request is sent to destination router;Destination router configuring request is used to indicate that target is route Device configures the virtual address with router communication to be migrated;
Receive the destination router configuration response that destination router is sent based on destination router configuring request.
The technical scheme provided by this disclosed embodiment can include the following benefits:Terminal gets route to be migrated The virtual address of device, and, receive the destination router configuration that destination router is sent based on destination router configuring request After response, it may be determined that when the migration of file can be carried out between router and destination router to be migrated, terminal can be entered One step obtains the information of the file to be migrated of router to be migrated, and the letter for carrying file to be migrated is sent to destination router The file migration instruction of the virtual address of breath and router to be migrated, to cause destination router after migration instruction is received, By the virtual address of destination router, the virtual address of router to be migrated, text to be migrated is migrated from router to be migrated Part, the step of simplifying the file migration of router improves the efficiency of the file migration of router.Meanwhile, improve route The reliability of the file migration of device, and then improve Consumer's Experience.
Optionally, before sending file migration instruction to destination router, method also includes:
Connection request is sent to destination router;Connection request is used to indicate that destination router accesses router to be migrated Wireless network;
Receive the connection response that destination router is sent based on connection request.
The technical scheme provided by this disclosed embodiment can include the following benefits:Terminal obtains router to be migrated Virtual address and router to be migrated file to be migrated information after, to destination router send carry it is to be migrated Before the file migration instruction of the information of file and the virtual address of router to be migrated, it can first indicate that destination router is accessed The wireless network of router to be migrated, to cause there may be communication path between destination router and router to be migrated, from And cause destination router after migration instruction is received, the communication path can be used, by destination router virtually Location, the virtual address of router to be migrated, migrate file to be migrated from router to be migrated, and the file for simplifying router is moved The step of shifting, improve the efficiency of the file migration of router.Meanwhile, the reliability of the file migration of router is improved, is entered And improve Consumer's Experience.
Optionally, the information of the file to be migrated of router to be migrated is obtained, including:
The information of the file of router storage to be migrated is read, and generates listed files;
Pushing files list;
Obtain the selection instruction that user is inputted based on listed files;
According to selection instruction, the information of file to be migrated is determined in listed files.
The technical scheme provided by this disclosed embodiment can include the following benefits:Terminal is obtaining route to be migrated After the virtual address of device, the information of the file of router to be migrated storage can be read, and generates listed files, and then can be with To user's pushing files list.So, after the selection instruction that user is inputted based on listed files is got, terminal can root According to the selection instruction of user, the information of file to be migrated is determined in listed files, and then can be taken to destination router transmission The file migration instruction of the virtual address of information and router to be migrated with file to be migrated, to cause destination router to exist Receive after migration instruction, by the virtual address of destination router, the virtual address of router to be migrated, from route to be migrated File to be migrated is migrated in device, the step of simplifying the file migration of router improves the efficiency of the file migration of router. Meanwhile, the reliability of the file migration of router is improved, and then improve Consumer's Experience.
Optionally, before the information for the file for reading router storage to be migrated, in addition to:
It is determined that the administration authority with router to be migrated.
The technical scheme provided by this disclosed embodiment can include the following benefits:Above-mentioned terminal is to be migrated in reading It before the information of file in router, can also first determine that there is administration authority to router to be migrated, can avoid illegal Terminal access router to be migrated, it is ensured that the safety of router to be migrated.
Optionally, before sending file migration instruction to destination router, method also includes:
Obtain the mark of router to be migrated;
The mark of router to be migrated is sent to destination router.
The technical scheme provided by this disclosed embodiment can include the following benefits:Terminal can be route to target Device is sent before migration instruction, obtains the mark of router to be migrated, and then can be sent to the mark of router to be migrated Destination router, so that destination router from router to be migrated during file to be migrated is migrated, if target The connected mode of router and router to be migrated changes, then the road to be migrated that destination router can be stored by it By the mark of device, virtual address of the router to be migrated under the second connected mode is obtained, and then make it that destination router can be with By virtual address of the router to be migrated under the second connected mode, proceed the transmission of file to be migrated, it is ensured that road By the continuity of the file migration of device, the efficiency of the file migration of router is improved.
Optionally, the sequence number SN for being designated router to be migrated of router to be migrated.
According to the second aspect of the embodiment of the present disclosure there is provided a kind of router file migration method, including:
The file migration instruction that receiving terminal is sent;File migration instruction includes:It is to be migrated that router to be migrated is stored The virtual address of the information of file and router to be migrated;
Obtain the virtual address of destination router;
, will by router virtual address to be migrated, the virtual address of destination router according to the information of file to be migrated File to be migrated is from router migration to be migrated to destination router.
The technical scheme provided by this disclosed embodiment can include the following benefits:Destination router is receiving end After the file migration instruction that end is sent, the virtual address of destination router can be obtained, and then can be by according to be migrated The information of file, by router virtual address to be migrated, the virtual address of destination router, is migrated from router to be migrated File to be migrated, the step of simplifying the file migration of router improves the efficiency of the file migration of router.Meanwhile, carry The high reliability of the file migration of router, and then improve Consumer's Experience.
Optionally, before the file migration instruction that receiving terminal is sent, in addition to:
The destination router configuring request that receiving terminal is sent;Destination router configuring request is used to indicate destination router The virtual address of configuration and router communication to be migrated;
According to destination router configuring request, the virtual address of configuration and router communication to be migrated;
The destination router configuration response of response destination router configuring request is sent to terminal.
The technical scheme provided by this disclosed embodiment can include the following benefits:Destination router is in receiving terminal Before the file migration instruction of transmission, the destination router configuring request that can be sent with receiving terminal, to cause destination router The virtual address with router communication to be migrated can be configured according to the request, and response destination router configuration is sent to terminal The destination router configuration response of request.So, terminal gets the virtual address of router to be migrated, and, receive mesh After the destination router configuration response that mark router is sent based on destination router configuring request, it may be determined that route to be migrated When the migration of file can be carried out between device and destination router, terminal can further obtain the to be migrated of router to be migrated The information of file, and sent to destination router and carry the information of file to be migrated and the virtual address of router to be migrated File migration is instructed, to cause destination router after migration instruction is received, by the virtual address of destination router, to wait to move The virtual address of router is moved, file to be migrated is migrated from router to be migrated, the step of the file migration of router is simplified Suddenly, the efficiency of the file migration of router is improved.Meanwhile, the reliability of the file migration of router is improved, and then improve Consumer's Experience.
Optionally, before the file migration instruction that receiving terminal is sent, method also includes:
The connection request that receiving terminal is sent;Connection request is used for the nothing for indicating that destination router accesses router to be migrated Gauze network;
According to connection request, the wireless network of router to be migrated is accessed;
The connection response of response connection request is sent to terminal.
The technical scheme provided by this disclosed embodiment can include the following benefits:Destination router is in receiving terminal Before the file migration instruction of transmission, the wireless network of router to be migrated first can be accessed according to the instruction of terminal, to cause There may be communication path between destination router and router to be migrated, so that destination router is moved receiving file Move after instruction, the communication path can be used, by the virtual address of destination router, the virtual address of router to be migrated, File to be migrated is migrated from router to be migrated, the step of simplifying the file migration of router improves the text of router The efficiency of part migration.Meanwhile, the reliability of the file migration of router is improved, and then improve Consumer's Experience.
Optionally, connection request includes:The mark of the wireless network of router to be migrated;
According to connection request, the wireless network of router to be migrated is accessed, including:
The wireless network of coverage goal router is scanned, the mark of the wireless network of coverage goal router is obtained;
In the mark of the wireless network of coverage goal router, the mark with the wireless network of router to be migrated is searched The mark of matching;
Access wireless network corresponding with the mark of the mark matching of the wireless network of router to be migrated.
Optionally, before the file migration instruction that receiving terminal is sent, method also includes:
The mark for the router to be migrated that receiving terminal is sent.
The technical scheme provided by this disclosed embodiment can include the following benefits:Destination router can received Before the migration instruction that terminal is sent, the mark for the router to be migrated that receiving terminal is sent, so that destination router exists During file to be migrated is migrated from router to be migrated, if the connected mode of destination router and router to be migrated is sent out The mark of changing, the then router to be migrated that destination router can be stored by it, can continue to from route to be migrated File to be migrated is migrated in device, it is ensured that the continuity of the file migration of router, improve the effect of the file migration of router Rate.
Optionally, by file to be migrated from router migration to be migrated to destination router during, destination router With router to be migrated the second connected mode is converted to from the first connected mode;
Then according to the information of file to be migrated, by router virtual address to be migrated, the virtual address of destination router, By file to be migrated from router migration to be migrated to destination router, including:
After the second connected mode is converted to from the first connected mode, according to the mark of router to be migrated, acquisition is treated Migrate virtual address of the router under the second connected mode;
According to virtual address of the router to be migrated under the second connected mode, according to the information of file to be migrated, target The virtual address of router, continues to migrate file to be migrated from router to be migrated.
The technical scheme provided by this disclosed embodiment can include the following benefits:When above-mentioned destination router is from treating During migrating file to be migrated in migration router, destination router is changed with router to be migrated from the first connected mode During for the second connected mode, destination router obtains router to be migrated in the second connection according to the mark of router to be migrated Virtual address under mode, and then allow destination router virtual under the second connected mode according to router to be migrated Address, from the continuous migration file to be migrated of router delays to be migrated, it is ensured that the continuity of the file migration of router, is improved The efficiency of the file migration of router.
Optionally, according to the mark of router to be migrated, router to be migrated is obtained virtual under the second connected mode Address, including:
Address lookup request message is sent to server;Address lookup request message includes:The mark of router to be migrated; Virtual address of the router to be migrated that the router to be migrated that is stored with server is reported under the second connected mode;
The address lookup response message that the reception server is sent;Address lookup response message includes:Router to be migrated exists Virtual address under second connected mode.
The technical scheme provided by this disclosed embodiment can include the following benefits:Destination router is to be migrated During file to be migrated is migrated in router, if the connected mode of destination router and router to be migrated changes, Then destination router can send the address lookup request message for the mark for carrying router to be migrated to server, and then make Destination router can receive server send carry virtual address of the router to be migrated under the second connected mode Address lookup response message so that the void that destination router can be by router to be migrated under the second connected mode Intend address, proceed the transmission of file to be migrated, it is ensured that the continuity of the file migration of router, improve router The efficiency of file migration.
Optionally, according to the mark of router to be migrated, router to be migrated is obtained virtual under the second connected mode Address, including:
Proof of identity is carried out to router to be migrated;
Router to be migrated proof of identity after, according to the mark of router to be migrated, obtain road to be migrated By virtual address of the device under the second connected mode.
The technical scheme provided by this disclosed embodiment can include the following benefits:Destination router can waited to move The proof of identity of router is moved by rear, that is, determines that with destination router be to treat in the router being connected using the second connected mode When migrating router, according to the mark of router to be migrated, router to be migrated is obtained under the second connected mode virtually Location, it is ensured that the correctness of router file migration.
Optionally, after to router to be migrated progress proof of identity, in addition to:
After the proof of identity failure of router to be migrated, prompting message is sent to terminal.
The technical scheme provided by this disclosed embodiment can include the following benefits:Destination router can waited to move Move the proof of identity failure of router, i.e. determination is not in the router being connected using the second connected mode with destination router During router to be migrated, prompting message is sent to terminal, to remind the route that user is connected with destination router by terminal Device is replaced, it is ensured that the correctness of router file migration.
Optionally, the sequence number SN for being designated router to be migrated of router to be migrated.
According to the third aspect of the embodiment of the present disclosure there is provided a kind of router file migration device, including:
First acquisition module, is configured as obtaining the virtual address of router to be migrated;
Second acquisition module, is configured as obtaining the information of the file to be migrated of router to be migrated;
First sending module, is configured as sending file migration instruction to destination router;File migration instruction includes:Treat The virtual address of the information of migrated file and router to be migrated, migration instruction is used to indicate destination router according to text to be migrated The information of part, by the virtual address of destination router, the virtual address of router to be migrated, by file to be migrated to be migrated Router migration is to destination router.
The technical scheme provided by this disclosed embodiment can include the following benefits:Obtain and treat in the first acquisition module The virtual address of router is migrated, and, the second acquisition module is obtained after the information of the file to be migrated of router to be migrated, First sending module can carry the information and router to be migrated of file to be migrated virtually to destination router transmission The file migration instruction of location, to cause destination router after file migration instruction is received, to pass through the virtual of destination router Address, the virtual address of router to be migrated, migrate file to be migrated from router to be migrated, simplify the file of router The step of migration, improve the efficiency of the file migration of router.Meanwhile, the reliability of the file migration of router is improved, And then improve Consumer's Experience.
Optionally, the first acquisition module, is configured as sending configuration of routers request to be migrated to router to be migrated, and Receive the configuration of routers to be migrated response that router to be migrated asks to send based on configuration of routers to be migrated;
Wherein, configuration of routers to be migrated is asked for indicating the void that configuration of routers to be migrated communicates with destination router Intend address;Configuration of routers response to be migrated includes:The virtual address of router to be migrated.
Optionally, device also includes:
Second sending module, is configured as obtaining the information of the file to be migrated of router to be migrated in the second acquisition module Before, destination router configuring request is sent to destination router;Destination router configuring request is used to indicate destination router The virtual address of configuration and router communication to be migrated;
First receiving module, is configured as receiving the target road that destination router is sent based on destination router configuring request By device configuration response.
The technical scheme provided by this disclosed embodiment can include the following benefits:Second sending module can be to mesh Mark router and send destination router configuring request, to allow the first receiving module to receive destination router configuration sound Should so that the second acquisition module can based on the virtual address for getting router to be migrated, and, the target received Configuration of routers is responded, and determines that the migration of file can be carried out between router to be migrated and destination router, and then further The information of the file to be migrated of router to be migrated is obtained, and the first sending module is sent file to destination router and is moved Instruction is moved, to cause destination router after migration instruction is received, to pass through the virtual address of destination router, route to be migrated The virtual address of device, migrates file to be migrated from router to be migrated, the step of simplifying the file migration of router, improves The efficiency of the file migration of router.Meanwhile, the reliability of the file migration of router is improved, and then improve user's body Test.
Optionally, device also includes:
3rd sending module, is configured as before sending module sends file migration instruction to destination router, to mesh Mark router and send connection request;Connection request is used for the wireless network for indicating that destination router accesses router to be migrated;
Second receiving module, is configured as receiving the connection response that destination router is sent based on connection request.
The technical scheme provided by this disclosed embodiment can include the following benefits:3rd sending module can be One sending module is sent to destination router before file migration instruction, can send connection request to destination router, to refer to Show that destination router accesses the wireless network of router to be migrated, so that the second receiving module can be received for indicating Destination router has accessed the connection response of the wireless network of router to be migrated, and then make it that the first sending module 13 can be with base In the connection response, it may be determined that there is communication path between destination router and router to be migrated, and then route to target Device sends file migration instruction so that destination router can use the communication path, pass through mesh after migration instruction is received Virtual address, the virtual address of router to be migrated of router are marked, file to be migrated is migrated from router to be migrated, is simplified The step of file migration of router, improve the efficiency of the file migration of router.Meanwhile, improve the file of router The reliability of migration, and then improve Consumer's Experience.
Optionally, the second acquisition module, is configured as reading the information of the file of router storage to be migrated, generates file List;Pushing files list;Obtain the selection instruction that user is inputted based on listed files;According to selection instruction, in listed files The middle information for determining file to be migrated.
The technical scheme provided by this disclosed embodiment can include the following benefits:Second acquisition module is obtained first Modulus block is obtained after the virtual address of router to be migrated, can read the information of the file of router storage to be migrated, and Listed files is generated, and then can be to user's pushing files list.So, when getting the choosing that user is inputted based on listed files After selecting instruction, the second acquisition module can determine the letter of file to be migrated according to the selection instruction of user in listed files Breath, and then allow the first sending module to send the information and route to be migrated for carrying file to be migrated to destination router The file migration instruction of the virtual address of device, to cause destination router after migration instruction is received, to pass through destination router Virtual address, the virtual address of router to be migrated, file to be migrated is migrated from router to be migrated, router is simplified File migration the step of, improve the efficiency of the file migration of router.Meanwhile, improve router file migration can By property, and then improve Consumer's Experience.
Optionally, the second acquisition module, is configured as before the information of file of router storage to be migrated is read, really Surely there is the administration authority of router to be migrated.
The technical scheme provided by this disclosed embodiment can include the following benefits:Above-mentioned second acquisition module is being read Before the information for taking file in router to be migrated, it can also first determine that there is administration authority to router to be migrated, can be with Illegal terminal is avoided to access router to be migrated, it is ensured that the safety of router to be migrated.
Optionally, device also includes:
3rd acquisition module, is configured as before sending module sends file migration instruction to destination router, obtains The mark of router to be migrated;
4th sending module, is configured as the mark of router to be migrated being sent to destination router.
The technical scheme provided by this disclosed embodiment can include the following benefits:3rd acquisition module can be One sending module is sent to destination router before file migration instruction, obtains the mark of router to be migrated, and then causes the The mark of router to be migrated can be sent to destination router by four sending modules, so that destination router is from waiting to move Move during migrating file to be migrated in router, if the connected mode of destination router and router to be migrated becomes Change, then the mark for the router to be migrated that destination router can be stored by it, obtain router to be migrated and connect second Connect the virtual address under mode, and then allow void of the destination router by router to be migrated under the second connected mode Intend address, proceed the transmission of file to be migrated, it is ensured that the continuity of the file migration of router, improve router The efficiency of file migration.
Optionally, the sequence number SN for being designated router to be migrated of router to be migrated.
According to the fourth aspect of the embodiment of the present disclosure there is provided a kind of router file migration device, including:
First receiving module, is configured as the file migration instruction of receiving terminal transmission;File migration instruction includes:Wait to move Move the information and the virtual address of router to be migrated of the file to be migrated of router storage;
Acquisition module, is configured as obtaining the virtual address of destination router;
Transferring module, is configured as the information according to file to be migrated, passes through router virtual address to be migrated, target road By the virtual address of device, by file to be migrated from router migration to be migrated to destination router.
The technical scheme provided by this disclosed embodiment can include the following benefits:Received in the first receiving module After the file migration instruction that terminal is sent, acquisition module can obtain the virtual address of destination router, and then cause migration Module can be by the information according to file to be migrated, by router virtual address to be migrated, destination router virtually Location, migrates file to be migrated from router to be migrated, and the step of simplifying the file migration of router improves router The efficiency of file migration.Meanwhile, the reliability of the file migration of router is improved, and then improve Consumer's Experience.
Optionally, device also includes:
Second receiving module, is configured as before the file migration instruction that the first receiving module receiving terminal is sent, connects Receive the destination router configuring request that terminal is sent;Wherein, destination router configuring request is used to indicate that destination router is configured With the virtual address of router communication to be migrated;
Configuration module, is configured as according to destination router configuring request, configures virtual with router communication to be migrated Address;
First sending module, is configured as sending the destination router configuration of response destination router configuring request to terminal Response.
The technical scheme provided by this disclosed embodiment can include the following benefits:Second receiving module can be received The destination router configuring request that terminal is sent, to allow configuration module according to the destination router configuring request, configuration With the virtual address of router communication to be migrated so that the first sending module can be sent to terminal after configuration is complete The destination router configuration response of destination router configuring request is responded, to allow terminal to be based on getting route to be migrated The virtual address of device, and, the destination router configuration response received is determined between router to be migrated and destination router The migration of file can be carried out, and then further obtains the information of the file to be migrated of router to be migrated, and to transferring module File migration instruction is sent, to cause transferring module after migration instruction is received, by the virtual address of destination router, to treat The virtual address of router is migrated, file to be migrated is migrated from router to be migrated, the file migration of router is simplified Step, improves the efficiency of the file migration of router.Meanwhile, improve the reliability of the file migration of router, Jin Erti High Consumer's Experience.
Optionally, device also includes:
3rd receiving module, is configured as before the file migration instruction that the first receiving module receiving terminal is sent, connects Receive the connection request that terminal is sent;Connection request is used for the wireless network for indicating that destination router accesses router to be migrated;
Link block, is configured as accessing the wireless network of router to be migrated according to connection request;
Second sending module, is configured as sending the connection response of response connection request to terminal.
The technical scheme provided by this disclosed embodiment can include the following benefits:3rd receiving module connects first Receive before the file migration instruction that module receiving terminal is sent, can first receive the connection request of terminal transmission, and then cause Link block according to the connection request, can access the wireless network of router to be migrated, therefore, and the second sending module is to end End is sent after connection response so that terminal can be based on the connection response, determine between destination router and router to be migrated There may be communication path, so that destination router can receive the file migration instruction of terminal transmission, and then can be with Using the communication path, by the virtual address of destination router, the virtual address of router to be migrated, from router to be migrated Middle migration file to be migrated, the step of simplifying the file migration of router improves the efficiency of the file migration of router.Together When, the reliability of the file migration of router is improved, and then improve Consumer's Experience.
Optionally, connection request includes:The mark of the wireless network of router to be migrated;
Link block, is configured as scanning the wireless network of coverage goal router, obtains the nothing of coverage goal router In the mark of gauze network, and the mark of wireless network in coverage goal router, the wireless network with router to be migrated is searched The mark of the mark matching of network, accesses wireless network corresponding with the mark of the mark matching of the wireless network of router to be migrated Network.
Optionally, device also includes:
4th receiving module, is configured as before the file migration instruction that the first receiving module receiving terminal is sent, connects Receive the mark for the router to be migrated that terminal is sent.
The technical scheme provided by this disclosed embodiment can include the following benefits:4th receiving module can be Before the file migration instruction that one receiving module receiving terminal is sent, the mark for the router to be migrated that receiving terminal is sent, from And cause transferring module during file to be migrated is migrated from router to be migrated, if destination router and road to be migrated Changed by the connected mode of device, then the mark for the router to be migrated that transferring module can be stored by it, acquisition is treated Migrate virtual address of the router under the second connected mode, and then allow transferring module by router to be migrated the Virtual address under two connected modes, proceeds the transmission of file to be migrated, it is ensured that the file migration of router it is continuous Property, improve the efficiency of the file migration of router.
Optionally, by file to be migrated from router migration to be migrated to destination router during, destination router With router to be migrated the second connected mode is converted to from the first connected mode;
Transferring module, is configured as after the second connected mode is converted to from the first connected mode, according to road to be migrated By the mark of device, virtual address of the router to be migrated under the second connected mode is obtained;According to router to be migrated second Virtual address under connected mode, according to the information of file to be migrated, the virtual address of destination router, from router to be migrated Continue to migrate file to be migrated.
The technical scheme provided by this disclosed embodiment can include the following benefits:Moved when from router to be migrated During moving file to be migrated, destination router is converted to the second connected mode with router to be migrated from the first connected mode When, transferring module obtains virtual address of the router to be migrated under the second connected mode according to the mark of router to be migrated, And then allow virtual address of the transferring module according to router to be migrated under the second connected mode, from router to be migrated It is middle to continue to migrate file to be migrated, it is ensured that the continuity of the file migration of router, improve the file migration of router Efficiency..
Optionally, transferring module, is configured as sending address lookup request message to server;And the reception server is sent Address lookup response message;
Wherein, address lookup request message includes:The mark of router to be migrated;Be stored with route to be migrated in server Virtual address of the router to be migrated that device is reported under the second connected mode;Address lookup response message includes:Road to be migrated By virtual address of the device under the second connected mode.
The technical scheme provided by this disclosed embodiment can include the following benefits:Moved from router to be migrated During moving file to be migrated, if the connected mode of destination router and router to be migrated changes, transferring module The address lookup request message for the mark for carrying router to be migrated can be sent to server, and then make it that transferring module can To receive the address lookup response that server transmission carries virtual address of the router to be migrated under the second connected mode Message, so that the virtual address that transferring module can be by router to be migrated under the second connected mode, proceeds The transmission of file to be migrated, it is ensured that the continuity of the file migration of router, improves the efficiency of the file migration of router.
Optionally, transferring module, is configured as carrying out proof of identity to router to be migrated, in the body of router to be migrated After part verification passes through, according to the mark of router to be migrated, router to be migrated is obtained virtual under the second connected mode Address.
The technical scheme provided by this disclosed embodiment can include the following benefits:Transferring module can be to be migrated The proof of identity of router determines that with destination router be to wait to move in the router being connected using the second connected mode by rear When moving router, according to the mark of router to be migrated, virtual address of the router to be migrated under the second connected mode is obtained, It ensure that the correctness of router file migration.
Optionally, transferring module, is configured as after the proof of identity failure of router to be migrated, sends and carry to terminal Show message.
The technical scheme provided by this disclosed embodiment can include the following benefits:Transferring module can be to be migrated The proof of identity failure of router, that is, determine not to treat in the router being connected using the second connected mode with destination router When migrating router, prompting message is sent to terminal, to remind the router that user is connected with destination router by terminal It is replaced, it is ensured that the correctness of router file migration.
Optionally, the sequence number SN for being designated router to be migrated of router to be migrated.
According to the 5th of the embodiment of the present disclosure the aspect there is provided a kind of router file migration device, including:
Processor;
For the memory for the executable instruction for storing processor;
Wherein, processor is configured as:
Obtain the virtual address of router to be migrated;
Obtain the information of the file to be migrated of router to be migrated;
File migration instruction is sent to destination router;File migration instruction includes:The information of file to be migrated and wait to move The virtual address of router is moved, migration instruction is used to indicate information of the destination router according to file to be migrated, passes through target road By the virtual address of device, the virtual address of router to be migrated, by file to be migrated from router migration to be migrated to target road By device.
The technical scheme provided by this disclosed embodiment can include the following benefits:Router file migration device is obtained , can be to destination router after the information for taking the virtual address of router to be migrated and the file to be migrated of router to be migrated The file migration instruction for carrying the information of file to be migrated and the virtual address of router to be migrated is sent, to cause target road By device after file migration instruction is received, by the virtual address of destination router, the virtual address of router to be migrated, from File to be migrated is migrated in router to be migrated, the step of simplifying the file migration of router improves the file of router The efficiency of migration.Meanwhile, the reliability of the file migration of router is improved, and then improve Consumer's Experience.
According to the 6th of the embodiment of the present disclosure the aspect there is provided a kind of router file migration device, including:
Processor;
For the memory for the executable instruction for storing processor;
Wherein, processor is configured as:
The file migration instruction that receiving terminal is sent;File migration instruction includes:It is to be migrated that router to be migrated is stored The virtual address of the information of file and router to be migrated;
Obtain the virtual address of destination router;
, will by router virtual address to be migrated, the virtual address of destination router according to the information of file to be migrated File to be migrated is route from router migration to be migrated to target.
The technical scheme provided by this disclosed embodiment can include the following benefits:Router file migration device exists After the file migration instruction for receiving terminal transmission, the virtual address of destination router can be obtained, and then root can be passed through According to the information of file to be migrated, by router virtual address to be migrated, the virtual address of destination router, from route to be migrated File to be migrated is migrated in device, the step of simplifying the file migration of router improves the efficiency of the file migration of router. Meanwhile, the reliability of the file migration of router is improved, and then improve Consumer's Experience.
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 application scenario diagram of router file migration method according to an exemplary embodiment;
Fig. 2 is a kind of flow chart of router file migration method according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of router file migration method according to another exemplary embodiment;
Fig. 4 is a kind of flow chart of router file migration method according to further example embodiment;
Fig. 5 is a kind of flow chart of router file migration method according to further example embodiment;
Fig. 6 is a kind of flow chart of router file migration method according to further example embodiment;
Fig. 7 is a kind of flow chart of router file migration method according to further example embodiment;
Fig. 8 is a kind of flow chart of router file migration method according to further example embodiment;
Fig. 9 is a kind of flow chart of router file migration method according to further example embodiment;
Figure 10 is a kind of flow chart of router file migration method according to further example embodiment;
Figure 11 is a kind of block diagram of router file migration device according to an exemplary embodiment;
Figure 12 is a kind of block diagram of router file migration device according to another exemplary embodiment;
Figure 13 is a kind of block diagram of router file migration device according to further example embodiment;
Figure 14 is a kind of block diagram of router file migration device according to further example embodiment;
Figure 15 is a kind of block diagram of router file migration device according to further example embodiment;
Figure 16 is a kind of block diagram of router file migration device according to further example embodiment;
Figure 17 is a kind of block diagram of router file migration device according to further example embodiment;
Figure 18 is a kind of block diagram of router file migration device according to further example embodiment;
Figure 19 is a kind of block diagram of router file migration device 1900 according to an exemplary embodiment;
Figure 20 is a kind of block diagram of router file migration device 2000 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.
Fig. 1 is a kind of application scenario diagram of router file migration method according to an exemplary embodiment.Such as Fig. 1 Shown, the application scenarios can for example include:Terminal, destination router, router to be migrated.Terminal mentioned here can be Any terminal with radio communication function, for example:Mobile phone, tablet personal computer, personal digital assistant, computer etc..It is mentioned here Destination router and router to be migrated can be the router of any offer WiFi network.
Wherein, terminal can with the file to be migrated in control targe router Direct Transfer router to be migrated, and without Manually by after in file migration to be migrated to the terminal in router to be migrated, then from terminal transfer into destination router, The step of simplifying the file migration of router, improves the efficiency of the file migration of router.Simultaneously as will need not treat The file of migration passes through terminal transfer, it is to avoid because terminal reason causes the situation of file migration failure, improve router The reliability of file migration.Due to router file migration process, it is no longer necessary to which terminal is participated in, it is to avoid terminal is route because of migration Power consumption caused by device file, reduces the power consumption of terminal during the file migration of router, and then improves user's body Test.
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. 2 is a kind of flow chart of router file migration method according to an exemplary embodiment.This method Executive agent can be the terminal (abbreviation for being integrated with router file migration device:Terminal).As shown in Fig. 2 this method can be with Comprise the following steps:
In step S101, the virtual address of router to be migrated is obtained.
Specifically, when destination router needs to migrate the file in router to be migrated, terminal can obtain to be migrated The virtual address of router.Wherein, the present embodiment does not limit the mode that above-mentioned terminal obtains the virtual address of router to be migrated, For example:Terminal can obtain the virtual address of default router to be migrated, and it is router to be migrated point that can also obtain terminal The virtual address for the router to be migrated matched somebody with somebody.The Address requests that terminal can also send router to be migrated to address server disappear Breath, to indicate that the virtual address that router to be migrated is reported is sent to terminal by address server, and then is returned by server Router to be migrated virtual address, obtain the virtual address of the router to be migrated.
Optionally, as a kind of enforceable mode, terminal can also send router to be migrated to router to be migrated Configuring request, to indicate virtual address that configuration of routers to be migrated communicates with destination router.Router to be migrated is being received To after the configuration of routers request to be migrated, the configuration of virtual address can be carried out, and after configuration is completed, sent out to terminal Send configuration of routers to be migrated to respond, completed with indicating that the virtual address of router to be migrated is configured to terminal.So, terminal is led to Cross and receive the configuration of routers to be migrated response that router to be migrated asks to send based on configuration of routers to be migrated, can obtain To the virtual address for carrying the router to be migrated in configuration of routers to be migrated response.Certainly, terminal can also use phase The mode of pass technology, obtains the virtual address of router to be migrated, and the disclosure is repeated no more to this.
In step s 102, the information of the file to be migrated of router to be migrated is obtained.
Specifically, above-mentioned terminal is after the virtual address of router to be migrated is got, terminal can be obtained further Take the information of the file to be migrated in router to be migrated.Wherein, the information of file to be migrated mentioned here can for example be wrapped Include following one or more:The title of file to be migrated, the storage address of file to be migrated, size of file to be migrated etc..On The All Files that described file to be migrated can store for router to be migrated is stated, can also be stored for router to be migrated Partial document, can specifically be determined according to the demand of user.
Wherein, the present embodiment does not limit the information how above-mentioned terminal obtains the file to be migrated in router to be migrated. For example:The mark of the file for the migration that above-mentioned terminal can be inputted according to user, accesses router to be migrated, with from road to be migrated The information of these files, i.e., the information of file to be migrated are got in device.Above-mentioned terminal can also obtain default to be migrated Information of file to be migrated in router etc..
In step s 103, file migration instruction is sent to destination router;Wherein, file migration instruction includes:Wait to move The virtual address of the information of text move part and router to be migrated, migration instruction is used to indicate destination router according to file to be migrated Information, by the virtual address of destination router, the virtual address of router to be migrated, by file to be migrated from road to be migrated Migrated by device to destination router.
Specifically, above-mentioned terminal is after the information of file to be migrated of router to be migrated is obtained, can be to target road File migration instruction is sent by device.Wherein, it can include in this document migration instruction:File to be migrated in router to be migrated Information and router to be migrated virtual address.The migration instructs the letter for indicating destination router according to file to be migrated Breath, by the virtual address of destination router, the virtual address of router to be migrated, by file to be migrated from router to be migrated Migrate to destination router.
So, destination router, can be by destination router virtually after this document migration instruction is received Location, the virtual address of router to be migrated, access router to be migrated, and then by the information of file to be migrated, to be migrated File to be migrated is migrated in router.In this way so that destination router can be under the control of terminal, directly from treating The file to be migrated of router to be migrated is migrated in migration router, and manually moves treating in router to be migrated without user After moving in file migration to terminal, then from terminal transfer into destination router, simplify the step of the file migration of router Suddenly, the efficiency of the file migration of router is improved.Simultaneously as need not be kept away by file to be migrated by terminal transfer Exempt from because of terminal reason (for example:Terminal sleeping, shutdown, power-off etc.) cause the situation of file migration failure, improve router File migration reliability.Due to router file migration process, it is no longer necessary to which terminal is participated in, it is to avoid terminal is because of migration road The power consumption caused by device file, reduces the power consumption of terminal during the file migration of router, and then improves user Experience.
It should be noted that the virtual address of above-mentioned destination router and the virtual address of router to be migrated can be phase With the virtual address of address field.In this way, the address because of destination router and router to be migrated can be avoided the occurrence of Address it is identical, the situation for causing destination router can not be communicated with router to be migrated.
Wherein, the virtual address of above-mentioned destination router can be the virtual address being preset in destination router, may be used also Think that terminal is sent to destination router by file migration instruction, then in this case, the void of above-mentioned destination router It can be the virtual address that terminal is destination router distribution to intend address.
The router file migration method that the disclosure is provided, terminal obtains the virtual address of router to be migrated and to be migrated After the information of the file to be migrated of router, it can be sent to destination router and carry the information of file to be migrated and wait to move The file migration instruction of the virtual address of router is moved, to cause destination router after file migration instruction is received, to pass through The virtual address of the virtual address of destination router, router to be migrated, migrates file to be migrated from router to be migrated, letter The step of having changed the file migration of router, improves the efficiency of the file migration of router.Meanwhile, improve the text of router The reliability of part migration, and then improve Consumer's Experience.
Fig. 3 is a kind of flow chart of router file migration method according to another exemplary embodiment.Such as Fig. 3 institutes Show, the present embodiment refers to above-mentioned terminal before the information of file to be migrated of router to be migrated is obtained, and indicates target Router carries out the process of virtual address configuration, then before above-mentioned S102, this method can also comprise the following steps:
In step s 201, destination router configuring request is sent to destination router;Wherein, destination router configuration please Seek the virtual address for indicating destination router configuration and router communication to be migrated.
Specifically, in the present embodiment, above-mentioned terminal before the information of file to be migrated of router to be migrated is obtained, Destination router configuring request can be sent to destination router, to indicate that destination router configures what is communicated with destination router Virtual address.Destination router can carry out the configuration of virtual address after the destination router configuring request is received.Its In, destination router carries out the implementation of virtual address configuration, correlation technique is may refer to, to this without repeating.
In step S202, the destination router configuration that destination router is sent based on destination router configuring request is received Response.
Specifically, above-mentioned destination router is after the configuration of virtual address is completed, target route can be sent to terminal Device configuration response, is completed with indicating that the virtual address of destination router is configured to terminal.Therefore, terminal is sent out to destination router Send after destination router configuring request, terminal can receive what destination router was sent based on destination router configuring request Destination router configuration response, and then can determine that destination router has been completed virtually based on the destination router configuration response The configuration of location.So, terminal is getting the virtual address of router to be migrated, and, after destination router configuration response, It can determine be communicated by virtual address between router to be migrated and destination router, you can to carry out file Migration.Terminal can further obtain the information of the file to be migrated of router to be migrated, and be taken to destination router transmission Information with file to be migrated, and, the file migration instruction of router virtual address to be migrated, so that destination router root Instructed according to file migration, by the virtual address of destination router, the virtual address of router to be migrated, automatically by text to be migrated Part is from router migration to be migrated to destination router.
The router file migration method that the disclosure is provided, terminal gets the virtual address of router to be migrated, and, After receiving the destination router configuration response that destination router is sent based on destination router configuring request, it may be determined that treat When can carry out the migration of file between migration router and destination router, terminal can further obtain router to be migrated File to be migrated information, and to destination router send carry the information of file to be migrated and the void of router to be migrated Intend the file migration instruction of address, to cause destination router after migration instruction is received, to pass through the virtual of destination router Address, the virtual address of router to be migrated, migrate file to be migrated from router to be migrated, simplify the file of router The step of migration, improve the efficiency of the file migration of router.Meanwhile, the reliability of the file migration of router is improved, And then improve Consumer's Experience.
Fig. 4 is a kind of flow chart of router file migration method according to further example embodiment.In this public affairs In opening, above-mentioned destination router is when migrating the file to be migrated of router to be migrated, destination router and router to be migrated Between there is communication path, the communication path can (i.e. destination router and router to be migrated be logical for wired communication path Cross direct-connected the formed communication path of netting twine), communication path that can also be wireless is (for example:One of router is connected to separately Communication path that the wireless network of an outer router is formed etc.).Exist when between destination router and router to be migrated Be wireless communications pathway when, the radio path can be that destination router accesses the wireless network of router to be migrated and formed Path, can also be the path that the wireless network of router to be migrated access destination router is formed.Following embodiments with Destination router is accessed exemplified by the wireless network of router to be migrated, introduces how terminal indicates that destination router access is to be migrated The process of the wireless network of router.As shown in figure 4, before above-mentioned S103, this method can also include:
In step S301, connection request is sent to destination router;Wherein, connection request is used to indicate destination router Access the wireless network of router to be migrated.
In step s 302, the connection response that destination router is sent based on connection request is received.
Specifically, in the present embodiment, above-mentioned terminal to destination router before file migration instruction is sent, Ke Yixian The wireless network of destination router is accessed, is connected with being set up with destination router.Terminal is being connected it with destination router foundation Afterwards, connection request can be sent to destination router, to indicate that destination router accesses the wireless network of router to be migrated.Mesh Router is marked after the connection request is received, the wireless network of router to be migrated according to connection request, can be accessed, and Connection response is returned to terminal, to have accessed the wireless network of router to be migrated by connection response instruction terminal destination router Network.
Wherein, the present embodiment does not limit the mode that above-mentioned destination router accesses the wireless network of router to be migrated.Example Such as:Above-mentioned terminal can carry the mark of the wireless network of router to be migrated in above-mentioned connection request.So, target is route Device can scan the wireless network of coverage goal router, obtain covering after connection request is received first according to connection request The mark of the wireless network of destination router.Then, destination router can the wireless network of coverage goal router mark In knowledge, the mark matched with the mark of the wireless network of router to be migrated is searched.Finally, destination router access with it is to be migrated The corresponding wireless network of mark of the mark matching of the wireless network of router, completes the wireless network of access router to be migrated Purpose.In this way so that there may be wireless communication path between destination router and router to be migrated, from And destination router after the file migration instruction of terminal transmission is received, the communication path can be used, pass through mesh Virtual address, the virtual address of router to be migrated of router are marked, by file to be migrated from router migration to be migrated to mesh Mark router.Certainly, above-mentioned destination router can also access the wireless network of router to be migrated using correlation technique, to this Repeat no more.
The router file migration method that the disclosure is provided, terminal obtains the virtual address of router to be migrated and to be migrated After the information of the file to be migrated of router, the information of file to be migrated is carried and to be migrated being sent to destination router Before the file migration instruction of the virtual address of router, it can first indicate that destination router accesses the wireless of router to be migrated Network, to cause there may be communication path between destination router and router to be migrated, so that destination router exists Receive after migration instruction, the communication path can be used, pass through the virtual address of destination router, the void of router to be migrated Intend address, file to be migrated is migrated from router to be migrated, the step of simplifying the file migration of router improves route The efficiency of the file migration of device.Meanwhile, the reliability of the file migration of router is improved, and then improve Consumer's Experience.
Fig. 5 is a kind of flow chart of router file migration method according to further example embodiment.Such as Fig. 5 institutes Show, the present embodiment refer to above-mentioned terminal obtain router to be migrated file to be migrated information detailed process, then on S102 is stated to may include steps of:
In step S401, the information of the file of router storage to be migrated is read, and generates listed files.
Specifically, after above-mentioned terminal gets the virtual address of router to be migrated, can be according to router to be migrated Address, access router to be migrated, to pass through the default interface for being used to read the information of file on router to be migrated, read The information of the All Files stored in router to be migrated is taken, and generates listed files.Wherein, route to be migrated mentioned here The address of device can be the virtual address of router to be migrated, can also be physical address of router to be migrated etc., to this not It is defined.
Optionally, it is above-mentioned in order to avoid illegal terminal accesses router to be migrated in a kind of implementation of the disclosure Terminal can also first determine the management with router to be migrated before the information of file of router storage to be migrated is read Authority.When implementing, above-mentioned terminal can by way of the administrator password of router to be migrated logs in router to be migrated, Determine whether the administration authority with router to be migrated.When above-mentioned terminal can be stepped on by the administrator password of router to be migrated Router to be migrated is recorded, it is determined that having administration authority to router to be migrated, therefore, terminal can further access to be migrated Router, with the information for the file for reading router storage to be migrated.When above-mentioned terminal is close by the management of router to be migrated Code can not Successful login router to be migrated, it is determined that not having administration authority to router to be migrated, now, terminal can not be from treating The information of the file in router to be migrated is read in migration router, it is ensured that the safety of router to be migrated.
In step S402, pushing files list.
Specifically, above-mentioned terminal can push this document list after generation listed files to user, so as to obtain user Which file that is stored with router to be migrated is known by this document list.When implementing, terminal can pass through suspended window Mode push this document list, this document list can also be pushed in user interface, can also be pushed in communication information column This document list etc..
In step S403, the selection instruction that user is inputted based on listed files is obtained.
Specifically, user is after which file that is stored with during router to be migrated is known by terminal, user can be Selection needs which file migrated in these files, and the information based on these files to be migrated inputs selection instruction to terminal. When implementing, user is in the listed files that terminal is pushed, the information for the file that can be migrated by choosing user to expect Mode, to terminal input selection instruction, now, the information of these files chosen is the information of file to be migrated.
In step s 404, according to selection instruction, the information of file to be migrated is determined in listed files.
Specifically, terminal can determine file after the selection instruction of user's input is received according to the selection instruction The information of which file is the information of file to be migrated in list.So, terminal can the information based on file to be migrated, to mesh Mark router sends the migration instruction for the information for carrying file to be migrated.And then, destination router refers to receiving the migration After order, can the information based on file to be migrated, by the virtual address of destination router, router to be migrated virtually Location, migrates file to be migrated from router to be migrated.
The router file migration method that the disclosure is provided, terminal after the virtual address of router to be migrated is obtained, The information of the file of router storage to be migrated can be read, and generates listed files, and then can be arranged to user's pushing files Table.So, after the selection instruction that user is inputted based on listed files is got, terminal can refer to according to the selection of user Order, determines the information of file to be migrated, and then can carry file to be migrated to destination router transmission in listed files Information and router to be migrated virtual address file migration instruction, with cause destination router receiving migration instruction Afterwards, by the virtual address of destination router, the virtual address of router to be migrated, migrate to be migrated from router to be migrated File, the step of simplifying the file migration of router improves the efficiency of the file migration of router.Meanwhile, improve road By the reliability of the file migration of device, and then improve Consumer's Experience.
Optionally, in a kind of implementation of the disclosure, in order to avoid above-mentioned destination router is from router to be migrated During middle migration file to be migrated, user has changed the connected mode of destination router and router to be migrated, i.e., from the One connected mode is converted to the second connected mode, for example:Wireless connection is changed to from wired connection, or has been changed to from wireless connection Line is connected.Wherein, wireless connection mentioned here can be the connected mode of any short-distance wireless communication, for example:WiFi connects Connect, bluetooth connection etc..Therefore, above-mentioned terminal can obtain route to be migrated before migration instruction is sent to destination router The mark of device, and the mark of router to be migrated is sent to destination router.Wherein, router to be migrated mentioned here Mark can uniquely reflect the mark of the router identification to be migrated to be any, for example:The sequence number of router to be migrated (Serial Number, referred to as:SN), identity of the central processing unit of router to be migrated etc..So, when target is route Device from router to be migrated during file to be migrated is migrated, if the connection side of destination router and router to be migrated Formula changes, i.e., be converted to the second connected mode from the first connected mode, then router to be migrated can connect it second The virtual address connect under mode is sent to server.So, the router to be migrated that destination router can be stored by it Mark, obtain virtual address of the router to be migrated under the second connected mode from server, and then cause target route Device can be by router to be migrated under the second connected mode virtual address, router to be migrated is accessed, to proceed The transmission of file to be migrated, it is ensured that the continuity of the file migration of router, improves the efficiency of the file migration of router.
It should be noted that the systemic-function that can have by terminal of the method that above-described embodiment is provided in itself come Realize, 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.
Fig. 6 is a kind of flow chart of router file migration method according to further example embodiment.This method Executive agent can be integrated with router file migration device destination router (referred to as:Destination router), such as Fig. 6 institutes Show, this method may comprise steps of:
In step S501, the file migration instruction that receiving terminal is sent;Wherein, file migration instruction includes:It is to be migrated The information and the virtual address of router to be migrated of the file to be migrated of router storage.
Specifically, when destination router needs to migrate the file in router to be migrated, above-mentioned destination router can be with The file migration instruction of terminal transmission is received, this document migration instruction can include:Text to be migrated in router to be migrated The virtual address of the information of part and router to be migrated.The information of file to be migrated mentioned here can for example include following one Item is multinomial:The title of file to be migrated, the storage address of file to be migrated, size of file to be migrated etc..Described in above-mentioned The All Files that file to be migrated can store for router to be migrated, the part text that can also be stored for router to be migrated Part, can specifically be determined according to the demand of user.
Wherein, the information of above-mentioned file to be migrated can be acquired in terminal.The present embodiment does not limit above-mentioned terminal such as What obtains the information of the file to be migrated in router to be migrated.For example:The migration that above-mentioned terminal can be inputted according to user The mark of file, accesses router to be migrated, to get the information of these files from router to be migrated, i.e., text to be migrated The information of part.Above-mentioned terminal can also obtain information of file to be migrated in default router to be migrated etc..Optionally, on Router to be migrated can be accessed by stating terminal, read the information of the file of router storage to be migrated, and generate listed files, be entered And push this document list to user.After terminal gets the selection instruction that user is inputted based on listed files, terminal root According to selection instruction, the information of file to be migrated determined by listed files.
In step S502, the virtual address of destination router is obtained.
Specifically, in the present embodiment, above-mentioned destination router can also obtain the virtual address of destination router.Its In, the present embodiment does not limit the implementation that above-mentioned destination router obtains the virtual address of destination router, for example:Target road The virtual address being preset in destination router can be obtained by device, destination router can also be obtained and configured for destination router Virtual address.Destination router can also be instructed by receiving file migration, obtained terminal and instructed transmission by file migration Virtual address to the destination router of destination router.Then in this case, the virtual address of above-mentioned destination router can It is the virtual address that destination router is distributed to think terminal.
Optionally, in a kind of implementation of the disclosure, if the acquisition of above-mentioned destination router is that destination router is matched somebody with somebody The virtual address put, then before above-mentioned S501, the destination router configuration that destination router can be sent with receiving terminal please Ask;Wherein, the destination router configuring request is used to indicate destination router configuration with router communication to be migrated virtually Location.And then, destination router can be configured with router communication to be migrated virtually according to the destination router configuring request Location, and the destination router configuration response for responding destination router configuring request is sent to terminal, to indicate target road to terminal Configured and completed by the virtual address of device.Therefore, terminal can be based on the destination router configuration response, determine destination router The configuration of virtual address is completed, that is, determines by virtual address to be led between router to be migrated and destination router Letter, can carry out the migration of file.Terminal can further obtain the information of the file to be migrated of router to be migrated, and to Destination router sends the information for carrying file to be migrated, and, the file migration instruction of router virtual address to be migrated, So that destination router is instructed according to file migration, by the virtual address of destination router, router to be migrated virtually Location, automatically by file to be migrated from router migration to be migrated to destination router.Wherein, destination router is according to the target road By device configuring request, configuration and the implementation of the virtual address of router communication to be migrated may refer to correlation technique, to this Without repeating.
In step S503, according to the information of file to be migrated, pass through router virtual address to be migrated, destination router Virtual address, by file to be migrated from router migration to be migrated to destination router.
Specifically, above-mentioned destination router is after the virtual address of destination router is got, can be by acquired The virtual address file of destination router, the virtual address of router to be migrated that carries in migration instruction, access to be migrated Router.And then, the file to be migrated for the router to be migrated that destination router is carried in being instructed according to file migration Information, migrates file to be migrated from router to be migrated.In this way so that destination router can terminal control Under system, the file to be migrated of router to be migrated is directly migrated from router to be migrated, and manually will be to be migrated without user After in file migration to be migrated to terminal in router, then from terminal transfer into destination router, simplify router File migration the step of, improve the efficiency of the file migration of router.Simultaneously as file to be migrated need not be led to Cross terminal transfer, it is to avoid because of terminal reason (for example:Terminal sleeping, shutdown, power-off etc.) cause the situation of file migration failure, Improve the reliability of the file migration of router.Due to router file migration process, it is no longer necessary to which terminal is participated in, it is to avoid Terminal power consumption caused by migrating router file, reduces the power consumption of terminal during the file migration of router, enters And improve Consumer's Experience.
The router file migration method that the disclosure is provided, destination router refers in the file migration for receiving terminal transmission After order, the virtual address of destination router can be obtained, and then can be by the information according to file to be migrated, by waiting to move Router virtual address, the virtual address of destination router are moved, file to be migrated is migrated from router to be migrated, road is simplified By the file migration of device the step of, improve the efficiency of the file migration of router.Meanwhile, improve the file migration of router Reliability, and then improve Consumer's Experience.
Fig. 7 is a kind of flow chart of router file migration method according to further example embodiment.In this public affairs In opening, above-mentioned destination router is when migrating the file to be migrated of router to be migrated, destination router and router to be migrated Between there is communication path, the communication path can (i.e. destination router and router to be migrated be logical for wired communication path Cross direct-connected the formed communication path of netting twine), communication path that can also be wireless is (for example:One of router is connected to separately Communication path that the wireless network of an outer router is formed etc.).Exist when between destination router and router to be migrated Be wireless communications pathway when, the radio path can be that destination router accesses the wireless network of router to be migrated and formed Path, can also be the path that the wireless network of router to be migrated access destination router is formed.Following embodiments with Destination router is accessed exemplified by the wireless network of router to be migrated, introduces how terminal indicates that destination router access is to be migrated The process of the wireless network of router.As shown in fig. 7, before above-mentioned S501, this method can also include:
In step s 601, the connection request that receiving terminal is sent;Wherein, connection request is used to indicate that destination router connects Enter the wireless network of router to be migrated.
In step S602, according to connection request, the wireless network of router to be migrated is accessed.
In step S603, the connection response for responding connection request is sent to terminal.
Specifically, in the present embodiment, above-mentioned terminal to destination router before file migration instruction is sent, Ke Yixian The wireless network of destination router is accessed, is connected with being set up with destination router.Terminal is being connected it with destination router foundation Afterwards, connection request can be sent to destination router, to indicate that destination router accesses the wireless network of router to be migrated.Mesh Router is marked after the connection request is received, the wireless network of router to be migrated according to connection request, can be accessed, and Connection response is returned to terminal, to have accessed the wireless network of router to be migrated by connection response instruction terminal destination router Network.
Wherein, the present embodiment does not limit the mode that above-mentioned destination router accesses the wireless network of router to be migrated.Example Such as:Above-mentioned terminal can carry the mark of the wireless network of router to be migrated in above-mentioned connection request.So, target is route Device can scan the wireless network of coverage goal router, obtain covering after connection request is received first according to connection request The mark of the wireless network of destination router.Then, destination router can the wireless network of coverage goal router mark In knowledge, the mark matched with the mark of the wireless network of router to be migrated is searched.Finally, destination router access with it is to be migrated The corresponding wireless network of mark of the mark matching of the wireless network of router, completes the wireless network of access router to be migrated Purpose.In this way so that there may be wireless communication path between destination router and router to be migrated, from And destination router after the file migration instruction of terminal transmission is received, the communication path can be used, pass through mesh Virtual address, the virtual address of router to be migrated of router are marked, by file to be migrated from router migration to be migrated to mesh Mark router.Certainly, above-mentioned destination router can also access the wireless network of router to be migrated using correlation technique, to this Repeat no more.
The router file migration method that the disclosure is provided, the file migration instruction that destination router is sent in receiving terminal Before, the wireless network of router to be migrated first can be accessed according to the instruction of terminal, with cause destination router with it is to be migrated There may be communication path between router, so that destination router can be used after file migration instruction is received The communication path, by the virtual address of destination router, the virtual address of router to be migrated, is moved from router to be migrated File to be migrated is moved, the step of simplifying the file migration of router improves the efficiency of the file migration of router.Meanwhile, The reliability of the file migration of router is improved, and then improves Consumer's Experience.
Optionally, in a kind of implementation of the disclosure, in order to avoid above-mentioned destination router is from router to be migrated During middle migration file to be migrated, user has changed the connected mode of destination router and router to be migrated, i.e., from the One connected mode is converted to the second connected mode, for example:Wireless connection is changed to from wired connection, or has been changed to from wireless connection Line is connected.Wherein, wireless connection mentioned here can be the connected mode of any short-distance wireless communication, for example:WiFi connects Connect, bluetooth connection etc..Therefore, above-mentioned destination router can also be received before the file migration instruction that receiving terminal is sent The mark for the router to be migrated that terminal is sent.Wherein, the mark of router to be migrated mentioned here can for it is any can Uniquely reflect the mark of the router identification to be migrated, for example:Sequence number (the Serial Number, letter of router to be migrated Claim:SN), identity of the central processing unit of router to be migrated etc..
Then under the implementation, Fig. 8 is a kind of router file migration side according to further example embodiment The flow chart of method.As shown in figure 8, during above-mentioned destination router migrates file to be migrated from router to be migrated, Destination router is converted to the second connected mode with router to be migrated from the first connected mode, then above-mentioned S503 can be included such as Lower step:
In step s 701, after the second connected mode is converted to from the first connected mode, according to router to be migrated Mark, obtain the virtual address of router to be migrated under the second connected mode.
Specifically, in destination router during file to be migrated is migrated from router to be migrated, if target road By device and router to be migrated connected mode from the first connected mode be converted to the second connected mode when, destination router can be with According to the mark of router to be migrated, virtual address of the router to be migrated under the second connected mode is got.For example:If treating Its virtual address under the second connected mode is reported to terminal by migration router, then destination router can be with receiving terminal institute Void of the router to be migrated under the second connected mode can be carried in the new migration instruction sent, the new migration instruction Intend address.
Optionally, if its virtual address under the second connected mode is reported to server, mesh by router to be migrated Mark router can send the address lookup request message for the mark for carrying router to be migrated to server, to cause service Mark of the device based on the router to be migrated is inquired after virtual address of the router to be migrated under the second connected mode, can To send the address lookup sound for carrying the virtual address of the router to be migrated under the second connected mode to destination router Answer message.
Further, in order to ensure the correctness of router file migration, destination router and router to be migrated from First connected mode is converted to after the second connected mode, and destination router is obtaining router to be migrated in the second connected mode Under virtual address before, a router to be migrated progress that first pair can also be connected with destination router using the second connected mode Proof of identity, so router to be migrated proof of identity after, according to the mark of router to be migrated, obtain and wait to move Move virtual address of the router under the second connected mode.
When implementing, destination router is being converted to the second connected mode with router to be migrated from the first connected mode Afterwards, destination router can get the mark of router to be migrated by specific interface, and will be acquired to be migrated The mark of router, is compared with the mark of the router to be migrated transmitted by terminal before, when this two marks are identical, Destination router can determine that with destination router be still router to be migrated what is be connected using the second connected mode, that is, treat The authentication of migration router passes through.Therefore, destination router can further obtain router to be migrated virtually Location, to continue executing with file migration.When two marks are differed, destination router can determine using with destination router The router of second connected mode connection is not router to be migrated, i.e., the authentication failure of router to be migrated, therefore, Destination router can send prompting message to terminal, to remind the router that user is connected with destination router by terminal It is replaced, it is ensured that the correctness of router file migration.
In step S702, according to virtual address of the router to be migrated under the second connected mode, according to text to be migrated The information of part, the virtual address of destination router continues to migrate file to be migrated from router to be migrated.
Specifically, destination router is in the mark according to router to be migrated, router to be migrated is obtained in the second connection , can be according to the information according to file to be migrated, the virtual address of destination router, from waiting to move after virtual address under mode Move the continuous migration file to be migrated of router delays, it is ensured that the continuity of the file migration of router, improve the text of router The efficiency of part migration.
The router file migration method that the disclosure is provided, is treated when above-mentioned destination router is migrated from router to be migrated During migrated file, destination router and router to be migrated from the first connected mode be converted to the second connected mode when, Destination router obtains virtual address of the router to be migrated under the second connected mode according to the mark of router to be migrated, And then allow virtual address of the destination router according to router to be migrated under the second connected mode, from route to be migrated Continue to migrate file to be migrated in device, it is ensured that the continuity of the file migration of router, improve the file migration of router Efficiency.
With reference to two examples, illustrated the router file migration method that is provided the disclosure.
Example one, Fig. 9 are a kind of flow charts of router file migration method according to further example embodiment. This example is illustrated that destination router is instructed according to the migration of terminal, and file to be migrated is directly migrated from router to be migrated Detailed process.As shown in figure 9, this method can include:
In step S801, terminal sends connection request to destination router.
In step S802, destination router accesses the wireless network of router to be migrated according to connection request.
In step S803, destination router sends the connection response for responding connection request to terminal.
In step S804, terminal sends configuration of routers to be migrated to router to be migrated and asked.
In step S805, router to be migrated is asked according to configuration of routers to be migrated, and configuration is led to destination router The virtual address of letter.
In step S806, router to be migrated is sent to terminal responds the road to be migrated that configuration of routers to be migrated is asked By device configuration response.
Wherein, configuration of routers response to be migrated includes:The virtual address of router to be migrated.
In step S807, terminal sends destination router configuring request to destination router.
In step S808, destination router is according to destination router configuring request, configuration and router communication to be migrated Virtual address.
In step S809, the destination router that destination router sends response destination router configuring request to terminal is matched somebody with somebody Put response.
It should be noted that the present embodiment does not limit the sequencing that step S804-806 and step S807-809 is performed.
In step S810, terminal determines the administration authority with router to be migrated.
In step S811, terminal reads the information of the file of router storage to be migrated.
In step S812, terminal generation and pushing files list.
In step S813, terminal obtains the selection instruction that user is inputted based on listed files.
In step S814, terminal determines the information of file to be migrated according to selection instruction in listed files.
In step S815, terminal sends file migration to destination router and instructed.
Wherein, file migration instruction includes:The information of the file to be migrated of router to be migrated and router to be migrated Virtual address.
Optionally, before above-mentioned steps S815, this method can also include:Terminal obtains the mark of router to be migrated Know, and the mark of router to be migrated is sent to destination router.
In step S816, destination router according to the information of file to be migrated, by router virtual address to be migrated, The virtual address of destination router, by file to be migrated from router migration to be migrated to destination router.
Wherein, the implementation and technique effect of each step in above-mentioned example one may refer to above-described embodiment, to this Repeat no more.
Example two, Figure 10 are a kind of flows of router file migration method according to further example embodiment Figure.In this example, destination router is from router to be migrated during file to be migrated is migrated, destination router with Router to be migrated is converted to the second connected mode from the first connected mode.As shown in Figure 10, above-mentioned S816 can include:
In step S901, destination router carries out proof of identity to router to be migrated.
In step S902, destination router sends ground after router identification to be migrated is verified to server Location inquiry request message.
Wherein, address lookup request message includes:The mark of router to be migrated.
In step S903, server sends address lookup response message to destination router.
Wherein, address lookup response message includes:The corresponding router to be migrated of mark of router to be migrated is second Virtual address under connected mode.
In step S904, virtual address of the destination router according to router to be migrated under the second connected mode, from The continuous migration file to be migrated of router delays to be migrated.
Wherein, the implementation and technique effect of each step in above-mentioned example two may refer to above-described embodiment, to this Repeat no more.
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.
Figure 11 is a kind of block diagram of router file migration device according to an exemplary embodiment.Such as Figure 11 institutes Show, the router file migration device can be implemented in combination with some or all of of terminal by software, hardware or both. The router file migration device can include:
First acquisition module 11, is configured as obtaining the virtual address of router to be migrated;Optionally, the one of the disclosure Plant in implementation, the first acquisition module 11, configuration of routers to be migrated can be sent to router to be migrated and asked, and received The configuration of routers to be migrated response that router to be migrated asks to send based on configuration of routers to be migrated;Wherein, road to be migrated It is used to indicate the virtual address that configuration of routers to be migrated communicates with destination router by device configuring request;Router to be migrated is matched somebody with somebody Putting response includes:The virtual address of router to be migrated.
Second acquisition module 12, is configured as obtaining the information of the file to be migrated of router to be migrated;Optionally, at this In a kind of disclosed implementation, the second acquisition module 12 is configured as reading the information of the file of router storage to be migrated, Generate listed files;Pushing files list;Obtain the selection instruction that user is inputted based on listed files;According to selection instruction, The information of file to be migrated is determined in listed files.Optionally, in a kind of implementation of the disclosure, the second acquisition module, It is configured as before the information of file of router storage to be migrated is read, it is determined that the administrative power with router to be migrated Limit.
First sending module 13, is configured as sending file migration instruction to destination router;File migration instruction includes: The virtual address of the information of file to be migrated and router to be migrated, migration instruction is used to indicate destination router according to be migrated The information of file, by the virtual address of destination router, the virtual address of router to be migrated, by file to be migrated from waiting to move Router migration is moved to destination router.
The router file migration device that the disclosure is provided, router to be migrated is obtained virtually in the first acquisition module Location, and, the second acquisition module is obtained after the information of the file to be migrated of router to be migrated, and the first sending module can be to Destination router sends the file migration instruction for carrying the information of file to be migrated and the virtual address of router to be migrated, with So that destination router passes through the virtual address of destination router, router to be migrated after file migration instruction is received Virtual address, migrates file to be migrated from router to be migrated, and the step of simplifying the file migration of router improves road By the efficiency of the file migration of device.Meanwhile, the reliability of the file migration of router is improved, and then improve Consumer's Experience.
Figure 12 is a kind of block diagram of router file migration device according to another exemplary embodiment.Such as Figure 12 institutes Show, on the basis of the block diagram shown in above-mentioned Figure 11, above-mentioned router file migration device can also include:
Second sending module 14, is configured as obtaining the file to be migrated of router to be migrated in the second acquisition module 12 Before information, destination router configuring request is sent to destination router;Destination router configuring request is used to indicate target road Virtual address with router communication to be migrated is configured by device;
First receiving module 15, is configured as receiving the target that destination router is sent based on destination router configuring request Configuration of routers is responded.
The router file migration device that the disclosure is provided, the second sending module can send target road to destination router By device configuring request, to allow the first receiving module to receive destination router configuration response, so that second obtains Module can based on the virtual address for getting router to be migrated, and, the destination router configuration response received, it is determined that The migration of file can be carried out between router and destination router to be migrated, and then further obtains treating for router to be migrated The information of migrated file, and the first sending module is sent file migration instruction to destination router, to cause target road By device after migration instruction is received, by the virtual address of destination router, the virtual address of router to be migrated, from waiting to move Move in router and migrate file to be migrated, the step of simplifying the file migration of router improves the file migration of router Efficiency.Meanwhile, the reliability of the file migration of router is improved, and then improve Consumer's Experience.
Figure 13 is a kind of block diagram of router file migration device according to further example embodiment.Such as Figure 13 institutes Show, on the basis of the block diagram shown in above-mentioned Figure 11, above-mentioned router file migration device can also include:
3rd sending module 16, is configured as instructing it to destination router transmission file migration in the first sending module 13 Before, send connection request to destination router;Connection request is used to indicate that destination router accesses the wireless of router to be migrated Network;
Second receiving module 17, is configured as receiving the connection response that destination router is sent based on connection request.
The router file migration device that the disclosure is provided, the 3rd sending module can be in the first sending module to target road Before sending file migration instruction by device, connection request can be sent to destination router, to indicate that destination router access is treated The wireless network of router is migrated, is treated so that the second receiving module can be received for indicating that destination router has been accessed The connection response of the wireless network of router is migrated, and then allows the first sending module 13 based on the connection response, can be with Determine there is communication path between destination router and router to be migrated, and then refer to destination router transmission file migration Order so that destination router can use the communication path, by destination router virtually after migration instruction is received Location, the virtual address of router to be migrated, migrate file to be migrated from router to be migrated, and the file for simplifying router is moved The step of shifting, improve the efficiency of the file migration of router.Meanwhile, the reliability of the file migration of router is improved, is entered And improve Consumer's Experience.
Figure 14 is a kind of block diagram of router file migration device according to further example embodiment.Such as Figure 14 institutes Show, on the basis of the block diagram shown in above-mentioned Figure 11, above-mentioned router file migration device can also include:
3rd acquisition module 18, is configured as instructing it to destination router transmission file migration in the first sending module 13 Before, obtain the mark of router to be migrated;Optionally, the sequence number SN for being designated router to be migrated of router to be migrated.
4th sending module 19, is configured as the mark of router to be migrated being sent to destination router.
The router file migration device that the disclosure is provided, the 3rd acquisition module can be in the first sending module to target road Before sending file migration instruction by device, the mark of router to be migrated is obtained, and then the 4th sending module will be treated The mark of migration router is sent to destination router, so that destination router is waited to move migrating from router to be migrated During text move part, if the connected mode of destination router and router to be migrated changes, destination router can be with By the mark of its router to be migrated stored, virtual address of the router to be migrated under the second connected mode is obtained, And then allow virtual address of the destination router by router to be migrated under the second connected mode, proceed to wait to move The transmission of text move part, it is ensured that the continuity of the file migration of router, improves the efficiency of the file migration of router.
Figure 15 is a kind of block diagram of router file migration device according to further example embodiment.Such as Figure 15 institutes Show, the router file migration device can pass through the part for being implemented in combination with router of software, hardware or both or complete Portion.In the present embodiment, the router file migration device can be destination router, and the router file migration device can be with Including:
First receiving module 21, is configured as the file migration instruction of receiving terminal transmission;File migration instruction includes:Treat Migrate the information and the virtual address of router to be migrated of the file to be migrated of router storage;
Acquisition module 22, is configured as obtaining the virtual address of destination router;
Transferring module 23, is configured as the information according to file to be migrated, passes through router virtual address to be migrated, target The virtual address of router, by file to be migrated from router migration to be migrated to destination router.
The router file migration device that the disclosure is provided, the file migration of terminal transmission is received in the first receiving module After instruction, acquisition module can obtain the virtual address of destination router, and then transferring module is treated by basis The information of migrated file, by router virtual address to be migrated, the virtual address of destination router, from router to be migrated File to be migrated is migrated, the step of simplifying the file migration of router improves the efficiency of the file migration of router.Together When, the reliability of the file migration of router is improved, and then improve Consumer's Experience.
Figure 16 is a kind of block diagram of router file migration device according to further example embodiment.Such as Figure 16 institutes Show, on the basis of the block diagram shown in above-mentioned Figure 15, above-mentioned router file migration device can also include:
Second receiving module 24, is configured as instructing it in the file migration that the receiving terminal of the first receiving module 21 is sent Before, the destination router configuring request that receiving terminal is sent;Wherein, destination router configuring request is used to indicate destination router The virtual address of configuration and router communication to be migrated;
Configuration module 25, is configured as according to destination router configuring request, the void of configuration and router communication to be migrated Intend address;
First sending module 26, is configured as matching somebody with somebody to the destination router that terminal sends response destination router configuring request Put response.
The router file migration device that the disclosure is provided, the target route that the second receiving module can be sent with receiving terminal Device configuring request, to allow configuration module according to the destination router configuring request, configuration and router communication to be migrated Virtual address so that the first sending module can after configuration is complete, to terminal send response destination router configuration The destination router configuration response of request, to allow terminal based on the virtual address for getting router to be migrated, and, The destination router configuration response received, determines that moving for file can be carried out between router to be migrated and destination router Move, and then further obtain the information of the file to be migrated of router to be migrated, and file migration instruction is sent to transferring module, With cause transferring module receive migration instruction after, by the virtual address of destination router, router to be migrated it is virtual Address, migrates file to be migrated from router to be migrated, and the step of simplifying the file migration of router improves router File migration efficiency.Meanwhile, the reliability of the file migration of router is improved, and then improve Consumer's Experience.
Figure 17 is a kind of block diagram of router file migration device according to further example embodiment.Such as Figure 17 institutes Show, on the basis of the block diagram shown in above-mentioned Figure 15, above-mentioned router file migration device can also include:
3rd receiving module 27, is configured as instructing it in the file migration that the receiving terminal of the first receiving module 21 is sent Before, the connection request that receiving terminal is sent;Connection request is used for the wireless network for indicating that destination router accesses router to be migrated Network;
Link block 28, is configured as accessing the wireless network of router to be migrated according to connection request;Optionally, exist In a kind of implementation of the disclosure, connection request includes:The mark of the wireless network of router to be migrated;Then link block 28, the wireless network of coverage goal router can be scanned, the mark of the wireless network of coverage goal router is obtained, and covered In the mark of the wireless network of lid destination router, the mark matched with the mark of the wireless network of router to be migrated is searched, Access wireless network corresponding with the mark of the mark matching of the wireless network of router to be migrated.
Second sending module 29, is configured as sending the connection response of response connection request to terminal.
The router file migration device that the disclosure is provided, the 3rd receiving module is sent in the first receiving module receiving terminal File migration instruction before, can first receive the connection request of terminal transmission, and then allow link block according to this Connection request, accesses the wireless network of router to be migrated, therefore, the second sending module after connection response is sent to terminal, Allow terminal to be based on the connection response, determine there may be communication path between destination router and router to be migrated, So that destination router can receive the file migration instruction of terminal transmission, and then the communication path can be used, led to Virtual address, the virtual address of router to be migrated of destination router are crossed, file to be migrated is migrated from router to be migrated, The step of simplifying the file migration of router, improves the efficiency of the file migration of router.Meanwhile, improve router The reliability of file migration, and then improve Consumer's Experience.
Figure 18 is a kind of block diagram of router file migration device according to further example embodiment.Such as Figure 18 institutes Show, on the basis of the block diagram shown in above-mentioned Figure 15, above-mentioned router file migration device can also include:
4th receiving module 20, is configured as instructing it in the file migration that the receiving terminal of the first receiving module 21 is sent Before, the mark for the router to be migrated that receiving terminal is sent.Optionally, router to be migrated is designated router to be migrated Sequence number SN.
So, during transferring module 23 migrates file to be migrated from router to be migrated, if destination router Be converted to the second connected mode from the first connected mode with router to be migrated, then transferring module 23, can be configured as from First connected mode is converted to after the second connected mode, according to the mark of router to be migrated, is obtained router to be migrated and is existed Virtual address under second connected mode;According to virtual address of the router to be migrated under the second connected mode, according to waiting to move The information of text move part, the virtual address of destination router continues to migrate file to be migrated from router to be migrated.
Optionally, transferring module 23, are configured as sending address lookup request message to server;And the reception server is sent out The address lookup response message sent;Wherein, address lookup request message includes:The mark of router to be migrated;Deposited in server Contain the virtual address of router to be migrated that router to be migrated reports under the second connected mode;Address lookup response message Including:Virtual address of the router to be migrated under the second connected mode.
Optionally, during above-mentioned transferring module 23 migrates file to be migrated from router to be migrated, if target road The second connected mode is converted to from the first connected mode by device and router to be migrated, then above-mentioned transferring module 23 can waited to move The proof of identity of router is moved after, according to the mark of router to be migrated, router to be migrated is obtained in the second connection Virtual address under mode.Above-mentioned transferring module 23 can also be after the proof of identity failure of router to be migrated, to terminal Prompting message is sent, is replaced with the router for reminding user to be connected with destination router by terminal, it is ensured that router The correctness of file migration.
The router file migration device that the disclosure is provided, the 4th receiving module can be in the first receiving module receiving terminal Transmission file migration instruction before, receiving terminal send router to be migrated mark so that transferring module from During file to be migrated is migrated in router to be migrated, if the connected mode of destination router and router to be migrated occurs Change, then the mark for the router to be migrated that transferring module can be stored by it, obtains router to be migrated and connects second The virtual address under mode is connect, and then allows transferring module virtual under the second connected mode by router to be migrated Address, proceeds the transmission of file to be migrated, it is ensured that the continuity of the file migration of router, improves the text of router The efficiency of part migration.
Figure 19 is a kind of block diagram of router file migration device 1900 according to an exemplary embodiment.For example, Device 1900 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Reference picture 19, device 1900 can include following one or more assemblies:Processing assembly 1902, memory 1904, Power supply module 1906, multimedia groupware 1908, audio-frequency assembly 1910, the interface 1912 of input/output (I/O), sensor cluster 1914, and communication component 1916.
The integrated operation of the usual control device 1900 of processing assembly 1902, such as with display, call, data communication, The camera operation operation associated with record operation.Processing assembly 1902 can include one or more processors 1920 to perform Instruction, to complete all or part of step of above-mentioned method.In addition, processing assembly 1902 can include one or more moulds Block, is easy to the interaction between processing assembly 1902 and other assemblies.For example, processing assembly 1902 can include multi-media module, To facilitate the interaction between multimedia groupware 1908 and processing assembly 1902.
Memory 1904 is configured as storing various types of data supporting the operation in device 1900.These data Example includes the instruction of any application program or method for being used to operate on device 1900, contact data, telephone book data, Message, picture, video etc..Memory 1904 can by any kind of volatibility or non-volatile memory device or they Combination realize, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1906 provides electric power for the various assemblies of device 1900.Power supply module 1906 can include power management System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 1900.
Multimedia groupware 1908 is included in the touching display screen of one output interface of offer between device 1900 and user. In certain embodiments, touching display screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touching Panel is touched, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more Touch sensor is with the gesture on sensing touch, slip and touch panel.Touch sensor can not only sensing touch or slip The border of action, but also the detection duration related to touch or slide and pressure.In certain embodiments, many matchmakers Body component 1908 includes a front camera and/or rear camera.When device 1900 is in operator scheme, such as screening-mode Or during video mode, front camera and/or rear camera can receive the multi-medium data of outside.Each front camera Can be a fixed optical lens system or with focusing and optical zoom capabilities with rear camera.
Audio-frequency assembly 1910 is configured as output and/or input audio signal.For example, audio-frequency assembly 1910 includes a wheat Gram wind (MIC), when device 1900 is in operator scheme, when such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The audio signal received can be further stored in memory 1904 or via communication Component 1916 is sent.In certain embodiments, audio-frequency assembly 1910 also includes a loudspeaker, for exports audio signal.
I/O interfaces 1912 are that interface, above-mentioned peripheral interface module are provided between processing assembly 1902 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Main bar button, volume button, start button and Locking press button.
Sensor cluster 1914 includes one or more sensors, and the state for providing various aspects for device 1900 is commented Estimate.For example, sensor cluster 1914 can detect opening/closed mode of device 1900, the relative positioning of component, such as group Part is the display and keypad of device 1900, and sensor cluster 1914 can be with 1,900 1 groups of detection means 1900 or device The position of part changes, the existence or non-existence that user contacts with device 1900, the orientation of device 1900 or acceleration/deceleration and device 1900 temperature change.Sensor cluster 1914 can include proximity transducer, be configured to connect in not any physics The presence of object nearby is detected when touching.Sensor cluster 1914 can also include optical sensor, such as CMOS or ccd image sensing Device, for being used in imaging applications.In certain embodiments, the sensor cluster 1914 can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1916 is configured to facilitate the communication of wired or wireless way between device 1900 and other equipment.Dress The wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof can be accessed by putting 1900.It is exemplary at one In embodiment, communication component 1916 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, communication component 1916 also includes near-field communication (NFC) module, to promote junction service. For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band (UWB) skill can be based in NFC module Art, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1900 can be by one or more application specific integrated circuits (ASIC), numeral Signal 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 1904 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 1920 of device 1900.Example Such as, non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and Optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in storage medium is held by the processor of device 1900 During row so that device 1900 is able to carry out a kind of router file migration method.
This method includes:
Obtain the virtual address of router to be migrated;
Obtain the information of the file to be migrated of router to be migrated;
File migration instruction is sent to destination router;File migration instruction includes:The information of file to be migrated and wait to move The virtual address of router is moved, migration instruction is used to indicate information of the destination router according to file to be migrated, passes through target road By the virtual address of device, the virtual address of router to be migrated, by file to be migrated from router migration to be migrated to target road By device.
Optionally, the virtual address of above-mentioned acquisition router to be migrated, including:
Configuration of routers request to be migrated is sent to router to be migrated, configuration of routers to be migrated asks to treat for instruction The virtual address that migration configuration of routers communicates with destination router;
Receive the configuration of routers to be migrated response that router to be migrated asks to send based on configuration of routers to be migrated;Treat Migration configuration of routers response includes:The virtual address of router to be migrated.
Optionally, before the information of the file to be migrated of above-mentioned acquisition router to be migrated, the above method also includes:
Destination router configuring request is sent to destination router;Destination router configuring request is used to indicate that target is route Device configures the virtual address with router communication to be migrated;
Receive the destination router configuration response that destination router is sent based on destination router configuring request.
Optionally, before the above-mentioned transmission file migration instruction to destination router, the above method also includes:
Connection request is sent to destination router;Connection request is used to indicate that destination router accesses router to be migrated Wireless network;
Receive the connection response that destination router is sent based on connection request.
Optionally, the information of the file to be migrated of above-mentioned acquisition router to be migrated, including:
The information of the file of router storage to be migrated is read, and generates listed files;
Pushing files list;
Obtain the selection instruction that user is inputted based on listed files;
According to selection instruction, the information of file to be migrated is determined in listed files.
Optionally, before the information of the file of above-mentioned reading router storage to be migrated, in addition to:
It is determined that the administration authority with router to be migrated.
Optionally, before the above-mentioned transmission file migration instruction to destination router, the above method also includes:
Obtain the mark of router to be migrated;
The mark of router to be migrated is sent to destination router.
Optionally, the sequence number SN for being designated router to be migrated of above-mentioned router to be migrated.
Figure 20 is a kind of block diagram of router file migration device 2000 according to an exemplary embodiment.The route Device file migration device 2000 may be provided in destination router.Reference picture 20, server 2000 includes processing assembly 2022, It further comprises one or more processors, and as the memory resource representated by memory 2032, can be by for storing The instruction of the execution of processing assembly 2022, such as application program.The application program stored in memory 2032 can include one Or it is more than one each correspond to the module of one group of instruction.In addition, processing assembly 2022 is configured as execute instruction, to hold The above-mentioned router file migration method of row.
This method includes:
The file migration instruction that receiving terminal is sent;File migration instruction includes:It is to be migrated that router to be migrated is stored The virtual address of the information of file and router to be migrated;
Obtain the virtual address of destination router;
, will by router virtual address to be migrated, the virtual address of destination router according to the information of file to be migrated File to be migrated is from router migration to be migrated to destination router.
Optionally, before the file migration instruction that above-mentioned receiving terminal is sent, in addition to:
The destination router configuring request that receiving terminal is sent;Destination router configuring request is used to indicate destination router The virtual address of configuration and router communication to be migrated;
According to destination router configuring request, the virtual address of configuration and router communication to be migrated;
The destination router configuration response of response destination router configuring request is sent to terminal.
Optionally, before the file migration instruction that above-mentioned receiving terminal is sent, the above method also includes:
The connection request that receiving terminal is sent;Connection request is used for the nothing for indicating that destination router accesses router to be migrated Gauze network;
According to connection request, the wireless network of router to be migrated is accessed;
The connection response of response connection request is sent to terminal.
Optionally, above-mentioned connection request includes:The mark of the wireless network of router to be migrated;
It is above-mentioned that the wireless network of router to be migrated is accessed according to connection request, including:
The wireless network of coverage goal router is scanned, the mark of the wireless network of coverage goal router is obtained;
In the mark of the wireless network of coverage goal router, the mark with the wireless network of router to be migrated is searched The mark of matching;
Access wireless network corresponding with the mark of the mark matching of the wireless network of router to be migrated.
Optionally, before the file migration instruction that above-mentioned receiving terminal is sent, the above method also includes:
The mark for the router to be migrated that receiving terminal is sent.
Optionally, it is above-mentioned by file to be migrated from router migration to be migrated to destination router during, target road By device and router to be migrated the second connected mode is converted to from the first connected mode;
The then above-mentioned information according to file to be migrated, by router virtual address to be migrated, destination router it is virtual Address, by file to be migrated from router migration to be migrated to destination router, including:
After the second connected mode is converted to from the first connected mode, according to the mark of router to be migrated, acquisition is treated Migrate virtual address of the router under the second connected mode;
According to virtual address of the router to be migrated under the second connected mode, according to the information of file to be migrated, target The virtual address of router, continues to migrate file to be migrated from router to be migrated.
Optionally, the above-mentioned mark according to router to be migrated, obtains router to be migrated under the second connected mode Virtual address, including:
Address lookup request message is sent to server;Address lookup request message includes:The mark of router to be migrated; Virtual address of the router to be migrated that the router to be migrated that is stored with server is reported under the second connected mode;
The address lookup response message that the reception server is sent;Address lookup response message includes:Router to be migrated exists Virtual address under second connected mode.
Optionally, the above-mentioned mark according to router to be migrated, obtains router to be migrated under the second connected mode Virtual address, including:
Proof of identity is carried out to router to be migrated;
Router to be migrated proof of identity after, according to the mark of router to be migrated, obtain road to be migrated By virtual address of the device under the second connected mode.
Optionally, after the above-mentioned progress proof of identity to router to be migrated, in addition to:
After the proof of identity failure of router to be migrated, prompting message is sent to terminal.
Optionally, the sequence number SN for being designated router to be migrated of above-mentioned router to be migrated.
Server 2000 can also include the power management that a power supply module 2026 is configured as execute server 2000, One wired or wireless network interface 2050 is configured as server 2000 being connected to network, and an input and output (I/O) Interface 2058.Server 2000 can be operated based on the operating system for being stored in memory 2032, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
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 (38)

1. a kind of router file migration method, it is characterised in that including:
Obtain the virtual address of router to be migrated;
Obtain the information of the file to be migrated of the router to be migrated;
File migration instruction is sent to destination router;The file migration instruction includes:The information of the file to be migrated and The virtual address of the router to be migrated, the migration is instructed for indicating the destination router according to the text to be migrated The information of part, will be described to be migrated by the virtual address of the destination router, the virtual address of the router to be migrated File is from the router migration to be migrated to the destination router.
2. according to the method described in claim 1, it is characterised in that the virtual address for obtaining router to be migrated, including:
Configuration of routers request to be migrated is sent to the router to be migrated, the configuration of routers to be migrated asks to be used to refer to Show the virtual address that the configuration of routers to be migrated communicates with the destination router;
The router to be migrated is received to ring based on the configuration of routers to be migrated that the configuration of routers request to be migrated is sent Should;The configuration of routers response to be migrated includes:The virtual address of the router to be migrated.
3. according to the method described in claim 1, it is characterised in that the file to be migrated for obtaining the router to be migrated Information before, methods described also includes:
Destination router configuring request is sent to the destination router;The destination router configuring request is described for indicating Destination router configures the virtual address with the router communication to be migrated;
Receive the destination router configuration response that the destination router is sent based on the destination router configuring request.
4. according to the method described in claim 1, it is characterised in that described to instruct it to destination router transmission file migration Before, methods described also includes:
Connection request is sent to the destination router;The connection request is used to indicate to treat described in the destination router access Migrate the wireless network of router;
Receive the connection response that the destination router is sent based on the connection request.
5. the method according to claim any one of 1-4, it is characterised in that the acquisition router to be migrated is treated The information of migrated file, including:
The information of the file of the router storage to be migrated is read, and generates listed files;
Push the listed files;
Obtain the selection instruction that user is inputted based on the listed files;
According to the selection instruction, the information of the file to be migrated is determined in the listed files.
6. method according to claim 5, it is characterised in that the file of the reading router storage to be migrated Before information, in addition to:
It is determined that the administration authority with the router to be migrated.
7. according to the method described in claim 1, it is characterised in that described to send file migration instruction to the destination router Before, methods described also includes:
Obtain the mark of the router to be migrated;
The mark of the router to be migrated is sent to the destination router.
8. method according to claim 7, it is characterised in that the router to be migrated is designated the road to be migrated By the sequence number SN of device.
9. a kind of router file migration method, it is characterised in that methods described includes:
The file migration instruction that receiving terminal is sent;The file migration instruction includes:It is to be migrated that router to be migrated is stored The virtual address of the information of file and the router to be migrated;
Obtain the virtual address of destination router;
According to the information of the file to be migrated, pass through the router virtual address to be migrated, the void of the destination router Intend address, by the file to be migrated from the router migration to be migrated to the destination router.
10. method according to claim 9, it is characterised in that before the file migration instruction that the receiving terminal is sent, Also include:
Receive the destination router configuring request that the terminal is sent;The destination router configuring request is used to indicate the mesh Mark configuration of routers and the virtual address of the router communication to be migrated;
According to the destination router configuring request, the virtual address of configuration and the router communication to be migrated;
The destination router configuration response for responding the destination router configuring request is sent to the terminal.
11. method according to claim 9, it is characterised in that before the file migration instruction that the receiving terminal is sent, Methods described also includes:
Receive the connection request that the terminal is sent;The connection request is used to indicate to wait to move described in the destination router access Move the wireless network of router;
According to the connection request, the wireless network of the router to be migrated is accessed;
The connection response for responding the connection request is sent to the terminal.
12. method according to claim 11, it is characterised in that the connection request includes:The router to be migrated Wireless network mark;
It is described that the wireless network of the router to be migrated is accessed according to the connection request, including:
The wireless network of the scanning covering destination router, obtains the mark of the wireless network of the covering destination router;
In the mark of wireless network of the destination router is covered, search and the wireless network of the router to be migrated Identify the mark of matching;
Access wireless network corresponding with the mark of the mark matching of the wireless network of the router to be migrated.
13. method according to claim 9, it is characterised in that before the file migration instruction that the receiving terminal is sent, Methods described also includes:
Receive the mark for the router to be migrated that the terminal is sent.
14. method according to claim 13, it is characterised in that it is described by the file to be migrated from the road to be migrated During device is migrated to the destination router, the destination router and the router to be migrated are from the first connection side Formula is converted to the second connected mode;
Then the information according to the file to be migrated, is route by the router virtual address to be migrated, the target The virtual address of device, by the file to be migrated from the router migration to be migrated to the destination router, including:
After second connected mode is converted to from first connected mode, according to the mark of the router to be migrated Know, obtain virtual address of the router to be migrated under second connected mode;
According to virtual address of the router to be migrated under second connected mode, according to the letter of the file to be migrated Breath, the virtual address of the destination router continues to migrate the file to be migrated from the router to be migrated.
15. method according to claim 14, it is characterised in that the mark according to the router to be migrated, is obtained Virtual address of the router to be migrated under second connected mode is taken, including:
Address lookup request message is sent to server;The address lookup request message includes:The router to be migrated Mark;The router to be migrated that the router to be migrated that is stored with the server is reported is in second connection side Virtual address under formula;
Receive the address lookup response message that the server is sent;The address lookup response message includes:It is described to be migrated Virtual address of the router under second connected mode.
16. method according to claim 14, it is characterised in that the mark according to the router to be migrated, is obtained Virtual address of the router to be migrated under second connected mode is taken, including:
Proof of identity is carried out to the router to be migrated;
The router to be migrated proof of identity after, according to the mark of the router to be migrated, obtain described Virtual address of the router to be migrated under second connected mode.
17. method according to claim 16, it is characterised in that described that proof of identity is carried out to the router to be migrated Afterwards, in addition to:
After the proof of identity failure of the router to be migrated, prompting message is sent to the terminal.
18. method according to claim 13, it is characterised in that being designated for the router to be migrated is described to be migrated The sequence number SN of router.
19. a kind of router file migration device, it is characterised in that including:
First acquisition module, is configured as obtaining the virtual address of router to be migrated;
Second acquisition module, is configured as obtaining the information of the file to be migrated of the router to be migrated;
First sending module, is configured as sending file migration instruction to destination router;The file migration instruction includes:Institute The information of file to be migrated and the virtual address of the router to be migrated are stated, the migration is instructed for indicating the target road By information of the device according to the file to be migrated, pass through the virtual address of the destination router, the router to be migrated Virtual address, by the file to be migrated from the router migration to be migrated to the destination router.
20. device according to claim 19, it is characterised in that first acquisition module, is configured as treating to described Migrate router and send configuration of routers request to be migrated, and receive the router to be migrated and be based on the router to be migrated The configuration of routers to be migrated response that configuring request is sent;
Wherein, the configuration of routers to be migrated asks to be used to indicate the configuration of routers to be migrated and the destination router The virtual address of communication;The configuration of routers response to be migrated includes:The virtual address of the router to be migrated.
21. device according to claim 19, it is characterised in that described device also includes:
Second sending module, is configured as obtaining the file to be migrated of the router to be migrated in second acquisition module Before information, destination router configuring request is sent to the destination router;The destination router configuring request is used to refer to Show the virtual address of the destination router configuration and the router communication to be migrated;
First receiving module, is configured as receiving the mesh that the destination router is sent based on the destination router configuring request Mark configuration of routers response.
22. device according to claim 21, it is characterised in that described device also includes:
3rd sending module, is configured as before the sending module sends file migration instruction to destination router, to institute State destination router and send connection request;The connection request is used to indicate that the destination router accesses the route to be migrated The wireless network of device;
Second receiving module, is configured as receiving the connection response that the destination router is sent based on the connection request.
23. the device according to claim any one of 19-22, it is characterised in that second acquisition module, is configured as The information of the file of the router storage to be migrated is read, listed files is generated;Push the listed files;Obtain user's base The selection instruction inputted in the listed files;According to the selection instruction, determined in the listed files described to be migrated The information of file.
24. device according to claim 23, it is characterised in that second acquisition module, is configured as reading institute Before the information for the file for stating router storage to be migrated, it is determined that the administration authority with the router to be migrated.
25. device according to claim 19, it is characterised in that described device also includes:
3rd acquisition module, is configured as before the sending module sends file migration instruction to the destination router, Obtain the mark of the router to be migrated;
4th sending module, is configured as the mark of the router to be migrated being sent to the destination router.
26. device according to claim 25, it is characterised in that being designated for the router to be migrated is described to be migrated The sequence number SN of router.
27. a kind of router file migration device, it is characterised in that described device includes:
First receiving module, is configured as the file migration instruction of receiving terminal transmission;The file migration instruction includes:Wait to move Move the information and the virtual address of the router to be migrated of the file to be migrated of router storage;
Acquisition module, is configured as obtaining the virtual address of destination router;
Transferring module, is configured as the information according to the file to be migrated, passes through the router virtual address to be migrated, institute The virtual address of destination router is stated, the file to be migrated is route from the router migration to be migrated to the target Device.
28. device according to claim 27, it is characterised in that described device also includes:
Second receiving module, is configured as before the file migration instruction that the first receiving module receiving terminal is sent, connects Receive the destination router configuring request that the terminal is sent;Wherein, the destination router configuring request is used to indicate the mesh Mark configuration of routers and the virtual address of the router communication to be migrated;
Configuration module, is configured as according to the destination router configuring request, configuration and the router communication to be migrated Virtual address;
First sending module, is configured as sending the destination router for responding the destination router configuring request to the terminal Configuration response.
29. device according to claim 27, it is characterised in that described device also includes:
3rd receiving module, is configured as before the file migration instruction that the first receiving module receiving terminal is sent, connects Receive the connection request that the terminal is sent;The connection request is used to indicate that the destination router accesses the route to be migrated The wireless network of device;
Link block, is configured as accessing the wireless network of the router to be migrated according to the connection request;
Second sending module, is configured as sending the connection response for responding the connection request to the terminal.
30. device according to claim 29, it is characterised in that the connection request includes:The router to be migrated Wireless network mark;
The link block, is configured as the wireless network of the scanning covering destination router, obtains the covering target road By the mark of the wireless network of device, and in the mark of wireless network of the destination router is covered, lookup is waited to move with described The mark of the mark matching of the wireless network of router is moved, access is matched with the mark of the wireless network of the router to be migrated The corresponding wireless network of mark.
31. device according to claim 27, it is characterised in that described device also includes:
4th receiving module, is configured as before the file migration instruction that the first receiving module receiving terminal is sent, connects Receive the mark for the router to be migrated that the terminal is sent.
32. device according to claim 31, it is characterised in that it is described by the file to be migrated from the road to be migrated During device is migrated to the destination router, the destination router and the router to be migrated are from the first connection side Formula is converted to the second connected mode;
The transferring module, is configured as after second connected mode is converted to from first connected mode, according to The mark of the router to be migrated, obtains virtual address of the router to be migrated under second connected mode;Root According to virtual address of the router to be migrated under second connected mode, according to the information of the file to be migrated, institute The virtual address of destination router is stated, continues to migrate the file to be migrated from the router to be migrated.
33. device according to claim 32, it is characterised in that the transferring module, is configured as sending to server Address lookup request message;And receive the address lookup response message that the server is sent;
Wherein, the address lookup request message includes:The mark of the router to be migrated;Stored in the server State the virtual address of the router to be migrated that router to be migrated reports under second connected mode;The address is looked into Asking response message includes:Virtual address of the router to be migrated under second connected mode.
34. device according to claim 32, it is characterised in that the transferring module, is configured as to described to be migrated Router carry out proof of identity, the router to be migrated proof of identity after, according to the router to be migrated Mark, obtain the virtual address of the router to be migrated under second connected mode.
35. device according to claim 34, it is characterised in that the transferring module, is configured as described to be migrated After the proof of identity failure of router, prompting message is sent to the terminal.
36. device according to claim 31, it is characterised in that being designated for the router to be migrated is described to be migrated The sequence number SN of router.
37. a kind of router file migration device, it is characterised in that including:
Processor;
For the memory for the executable instruction for storing the processor;
Wherein, the processor is configured as:
Obtain the virtual address of router to be migrated;
Obtain the information of the file to be migrated of the router to be migrated;
File migration instruction is sent to destination router;The file migration instruction includes:The information of the file to be migrated and The virtual address of the router to be migrated, the migration is instructed for indicating the destination router according to the text to be migrated The information of part, will be described to be migrated by the virtual address of the destination router, the virtual address of the router to be migrated File is from the router migration to be migrated to the destination router.
38. a kind of router file migration device, it is characterised in that including:
Processor;
For the memory for the executable instruction for storing the processor;
Wherein, the processor is configured as:
The file migration instruction that receiving terminal is sent;The file migration instruction includes:It is to be migrated that router to be migrated is stored The virtual address of the information of file and the router to be migrated;
Obtain the virtual address of destination router;
According to the information of the file to be migrated, pass through the router virtual address to be migrated, the void of the destination router Intend address, the file to be migrated is route from the router migration to be migrated to the target.
CN201710183065.8A 2017-03-24 2017-03-24 Router file migration method and device Active CN106992882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710183065.8A CN106992882B (en) 2017-03-24 2017-03-24 Router file migration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710183065.8A CN106992882B (en) 2017-03-24 2017-03-24 Router file migration method and device

Publications (2)

Publication Number Publication Date
CN106992882A true CN106992882A (en) 2017-07-28
CN106992882B CN106992882B (en) 2020-06-02

Family

ID=59411878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710183065.8A Active CN106992882B (en) 2017-03-24 2017-03-24 Router file migration method and device

Country Status (1)

Country Link
CN (1) CN106992882B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917886A (en) * 2020-08-14 2020-11-10 深圳市欧瑞博科技股份有限公司 Intelligent device data migration method and device and intelligent device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364232A (en) * 2008-10-06 2009-02-11 深圳华为通信技术有限公司 Method, terminal and system fro backing-up non-volatile data
CN101499942A (en) * 2008-02-01 2009-08-05 华为技术有限公司 Method, system and apparatus for seamless switching
CN104144175A (en) * 2013-05-06 2014-11-12 腾讯科技(深圳)有限公司 Method, device and system for data migration
CN105630587A (en) * 2014-10-31 2016-06-01 腾讯科技(深圳)有限公司 Method, device and system for migrating application program data between terminals
CN105871423A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Data processing method and device
CN106332058A (en) * 2016-10-19 2017-01-11 广东欧珀移动通信有限公司 Data transmission method and terminal equipment
CN106452917A (en) * 2016-11-24 2017-02-22 上海斐讯数据通信技术有限公司 Method and system for automatically configuring PPPOE internet surfing account and password
CN106527980A (en) * 2016-10-19 2017-03-22 广东欧珀移动通信有限公司 Data migration method and terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499942A (en) * 2008-02-01 2009-08-05 华为技术有限公司 Method, system and apparatus for seamless switching
CN101364232A (en) * 2008-10-06 2009-02-11 深圳华为通信技术有限公司 Method, terminal and system fro backing-up non-volatile data
CN104144175A (en) * 2013-05-06 2014-11-12 腾讯科技(深圳)有限公司 Method, device and system for data migration
CN105630587A (en) * 2014-10-31 2016-06-01 腾讯科技(深圳)有限公司 Method, device and system for migrating application program data between terminals
CN105871423A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Data processing method and device
CN106332058A (en) * 2016-10-19 2017-01-11 广东欧珀移动通信有限公司 Data transmission method and terminal equipment
CN106527980A (en) * 2016-10-19 2017-03-22 广东欧珀移动通信有限公司 Data migration method and terminal
CN106452917A (en) * 2016-11-24 2017-02-22 上海斐讯数据通信技术有限公司 Method and system for automatically configuring PPPOE internet surfing account and password

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
小米社区官方论坛.: "迁移数据竟如此简单?教你使用小米路由器一键换机.", 《HTTP://BBS.XIAOMI.CN/T-13414534-3-O1#COMMENT_TOP》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111917886A (en) * 2020-08-14 2020-11-10 深圳市欧瑞博科技股份有限公司 Intelligent device data migration method and device and intelligent device
CN111917886B (en) * 2020-08-14 2023-05-30 深圳市欧瑞博科技股份有限公司 Intelligent device data migration method and device and intelligent device

Also Published As

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

Similar Documents

Publication Publication Date Title
CN104159226B (en) Method for connecting network and device
RU2619073C2 (en) Method and device for implementation of adjustment
KR102377724B1 (en) Device network configuration method and apparatus, and medium
CN110830468B (en) Cross-application-based authority management method and device and computer readable storage medium
CN105163366B (en) Wireless network connecting method and device
CN106209800B (en) Equipment Authority sharing method and apparatus
CN104936304A (en) Intelligent equipment binding method, intelligent equipment, and server
CN109076331A (en) The control method of electronic equipment and electronic equipment
CN107750466A (en) Use equipment near synchronized cue pairing
CN104853336A (en) Method for discovering intelligent equipment, method for accessing to internet and devices thereof
EP3051772B1 (en) Method and apparatus for accessing network
CN103888290A (en) Configuration information recovery method and device
CN106572112A (en) Access control method and device
CN105530165A (en) Instant chat method and device
CN106973082A (en) resource identification sharing method and device
CN108022349A (en) Information input method, equipment, smart lock and storage medium
CN104158854B (en) Resource share method and device
CN105763601A (en) File sharing method and device
CN106604230A (en) Region configuration method and region configuration device
CN104639609A (en) Method and device for sharing network
CN104125267A (en) Account protection method, device and terminal equipment
CN107395624A (en) Information processing method and device
CN114760321B (en) Device data synchronization method and device, terminal device and storage medium
CN105530129A (en) Router reset method and device
CN107070707A (en) Router initializes the determination method and apparatus of pattern

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