CN105610626A - Router data replication method and router - Google Patents

Router data replication method and router Download PDF

Info

Publication number
CN105610626A
CN105610626A CN201610009372.XA CN201610009372A CN105610626A CN 105610626 A CN105610626 A CN 105610626A CN 201610009372 A CN201610009372 A CN 201610009372A CN 105610626 A CN105610626 A CN 105610626A
Authority
CN
China
Prior art keywords
router
data
service
cos
module
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
CN201610009372.XA
Other languages
Chinese (zh)
Other versions
CN105610626B (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 CN201610009372.XA priority Critical patent/CN105610626B/en
Publication of CN105610626A publication Critical patent/CN105610626A/en
Application granted granted Critical
Publication of CN105610626B publication Critical patent/CN105610626B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0806Configuration setting for initial configuration or provisioning, e.g. plug-and-play
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • 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
    • 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/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/60Router architectures

Abstract

The invention relates to a router data replication method and a router. The method comprises the following steps that: a first router is accessed to a local area network of a second router; the first router identifies a service provided for the first router by the second router; the service type provided by the second router is determined; and the first router replicates data on the second router according to the service type. Therefore, the first router can actively replicate the data on the second router; compared with the manual data replication scheme, the efficiency is relatively high; and the user experience is improved.

Description

Router data clone method and router
Technical field
The disclosure relates to the communication technology, relates in particular to router data clone method and router.
Background technology
Along with the development of information technology, the use of intelligent router is more and more extensive. In intelligent router, be provided with memory space,User can be by user data, and for example, the data such as picture, photo, are stored in the memory space of intelligent router, more logicalCross the electronic equipment being connected with intelligent router and check the user data of storing in intelligent router. The process using userIn, may need to change intelligent router, how the user data in the old intelligent router before changing is copied to after replacingNew intelligent router in just seem very necessary.
In correlation technique, after new intelligent router is connected with old intelligent router, manually copy in old intelligent routerData to new intelligent router.
Summary of the invention
For overcoming the problem existing in correlation technique, the disclosure provides a kind of router data clone method and router.
According to the first aspect of disclosure embodiment, a kind of router data clone method is provided, comprising:
In the LAN of the first router access the second router;
Described the first router is identified the service that described the second router provides to described the first router, determines described the second tunnelThe COS being provided by device;
Described the first router, according to described COS, copies the data in described the second router.
In conjunction with first aspect, in the possible implementation of the first of first aspect, described the first router identifies describedThe service that two routers provide to described the first router, comprising:
Described the first router provides to described the first router by the second router described in file-sharing service protocol identificationService; And/or
Described the first router by the second router described in application programming interface API protocol identification to the described first viaThe service being provided by device.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second of first aspect, instituteState the first router according to described COS, copy the data in described the second router, comprising:
If the service that described COS is corresponding is the file-sharing service that described the second router provides, the described first via byDevice copies the data in described the second router by file-sharing service agreement; Or
If the service that described COS is corresponding is the API that described the second router provides, described the first router is passed throughAPI agreement copies the data in described the second router; Or
File-sharing service and API that if the service that described COS is corresponding is described the second router to be provided, describedOne router copies the data in described the second router by file-sharing service agreement or API agreement.
In conjunction with the possible realization of the second of the possible implementation of the first of first aspect or first aspect or first aspectMode, in the third possible implementation of first aspect, described the first router, according to described COS, copiesBefore data in described the second router, also comprise:
The duplicate instructions that described the first router receiving control apparatus sends, wherein, described duplicate instructions is used to indicate described theThe data of one router duplication preset kind;
Described the first router, according to described COS, copies the data in described the second router, comprising:
Described the first router is according to described COS and described duplicate instructions, copies and in described the second router, meets instituteState the data of preset kind.
In conjunction with the possible realization of the second of the possible implementation of the first of first aspect or first aspect or first aspectMode, according to described COS, copies institute in the first router described in the 4th kind of possible implementation of first aspectState the data in the second router, comprising:
Described the first router is identified in described the second router according to described COS and default reproducible data typeData, determine the reproducible data in described the second router, wherein, described default reproducible data type be withThe default data that identify and/or be stored in the predeterminated position of described the second router;
Described the first router copies the reproducible data in described the second router.
According to the second aspect of disclosure embodiment, a kind of router is provided, comprising:
AM access module, is configured to access in the LAN of the second router;
Identification module, is configured to identify the service that described the second router provides to described router, determines described the second tunnelThe COS being provided by device;
Replication module, is configured to, according to described COS, copy the data in described the second router.
In conjunction with second aspect, in the possible implementation of the first of second aspect, described identification module comprises:
The first recognin module, is configured to by the second router described in file-sharing service protocol identification to described routerThe service providing; And/or
The second recognin module, be configured to by the second router described in application programming interface API protocol identification toThe service that described router provides.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second of second aspect, instituteStating replication module comprises:
The first replicon module, being configured to work as service corresponding to described COS is the file that described the second router providesWhen share service, copy the data in described the second router by file-sharing service agreement; Or
The second replicon module, being configured to work as service corresponding to described COS is the API that described the second router providesTime, copy the data in described the second router by API agreement; Or
The 3rd replicon module, being configured to work as service corresponding to described COS is the file that described the second router providesWhen share service and API, copy the number in described the second router by file-sharing service agreement or API agreementAccording to.
In conjunction with the possible realization of the second of the possible implementation of the first of second aspect or second aspect or second aspectMode, in the third possible implementation of second aspect, described router also comprises:
Receiver module, is configured to the duplicate instructions that receiving control apparatus sends, and wherein, described duplicate instructions is used to indicate instituteState the data of router duplication preset kind;
Described replication module comprises:
The 4th replicon module, is configured to, according to described COS and described duplicate instructions, copy described secondary routeOn device, meet the data of described preset kind.
In conjunction with the possible realization of the second of the possible implementation of the first of second aspect or second aspect or second aspectMode, in the 4th kind of possible implementation of second aspect, described replication module comprises:
Recognin module, is configured to identify described secondary route according to described COS and default reproducible data typeData on device, determine the reproducible data in described the second router, and wherein, described default reproducible data type isWith the default data that identify and/or be stored in the predeterminated position of described the second router;
The 5th replicon module, is configured to copy the reproducible data in described the second router.
According to the third aspect of disclosure embodiment, a kind of router is provided, comprising:
Memory;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
In the LAN of access the second router;
Identify the service that described the second router provides to described router, determine the service class that described the second router providesType;
According to described COS, copy the data in described the second router.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
In an embodiment, access in the LAN of the second router by the first router, the first router is identified the second tunnelThe service being provided to the first router by device, determines the COS that the second router provides, and the first router is according to service classType, copies the data in the second router, thereby, make the data of the first router on can Active Replication the second router,Compared to the scheme of manual copy data, efficiency is higher, has improved user's experience.
In another embodiment, the duplicate instructions sending by the first router receiving control apparatus, the first router is according to clothesBusiness type and duplicate instructions, copy the data that meet preset kind in the second router, makes user can initiatively select to needCopy the data of which type, thereby, can only copy the data of user's appointment to meet user's demand, further carryHigh duplicating efficiency and user experience.
In another embodiment, identify the second tunnel by the first router according to COS and default reproducible data typeBy the data on device, determine the reproducible data in the second router, wherein, default reproducible data type is with in advanceBidding is known and/or is stored in the data of the predeterminated position in the second router, the first router copy in the second router canCopy data, can only copy the data that identify and/or be stored in predeterminated position with default, thereby realization only copies canCopy data, and do not need to copy the total data in the second router, further improve duplicating efficiency and user and experienced.
Should be understood that, it is only exemplary and explanatory that above general description and details are hereinafter described, and can not limitThe disclosure processed.
Brief description of the drawings
Accompanying drawing is herein merged in description and forms the part of this description, shows embodiment according to the invention,And be used from and explain principle of the present invention with description one.
Fig. 1 is according to the flow chart of a kind of router data clone method shown in an exemplary embodiment;
Fig. 2 is according to the flow chart of a kind of router data clone method shown in another exemplary embodiment;
Fig. 3 is according to the flow chart of a kind of router data clone method shown in another exemplary embodiment;
Fig. 4 is according to the block diagram of a kind of router shown in an exemplary embodiment;
Fig. 5 is according to the block diagram of a kind of router shown in another exemplary embodiment;
Fig. 6 is according to the block diagram of a kind of router shown in another exemplary embodiment;
Fig. 7 is the basis block diagram of a kind of router shown in an exemplary embodiment again;
Fig. 8 is according to the block diagram of a kind of router shown in another exemplary embodiment;
Fig. 9 is according to the block diagram of a kind of router shown in an exemplary embodiment;
Figure 10 is according to the block diagram of a kind of router shown in an exemplary embodiment.
By above-mentioned accompanying drawing, the embodiment that the disclosure is clear and definite has been shown, will there is hereinafter more detailed description. These accompanying drawings andText description is not the scope in order to limit disclosure design by any mode, but is this by reference to specific embodimentThose skilled in the art illustrate concept of the present disclosure.
Detailed description of the invention
Here will at length describe exemplary embodiment, its sample table shows in the accompanying drawings. Description below relates to accompanying drawingTime, unless separately there is expression, the same numbers in different accompanying drawings represents same or analogous key element. In following exemplary embodimentDescribed embodiment does not represent all embodiments consistent with the present invention. On the contrary, they be only with as appended powerThe example of apparatus and method that describe in detail, that aspects more of the present invention are consistent in profit claim.
Fig. 1 is according to the flow chart of a kind of router data clone method shown in an exemplary embodiment. As shown in Figure 1,The router data clone method that the present embodiment provides comprises:
S101: in the LAN of the first router access the second router.
The router data clone method that disclosure embodiment provides can be for changing in the scene of router: the first viaBy device can be change after new router, the second router can be change before old router. The first router andThe second router can be all intelligent router. User, using in the process of the second router, stores in the second routerUser data, for example, the data such as picture, video and text, can realize the electronics by being connected with the second routerEquipment is watched picture or video. When user need to use the first router to replace the second router, continue for follow-upContinuous these data that use, need to be copied to the user data in the second router in the first router.
The router data clone method that disclosure embodiment provides needs first the first router to be accessed the office of the second routerIn the net of territory. The first router and the second router all comprise wide area network (WideAreaNetwork; Be called for short: WAN) mouthAnd LAN (LocalAreaNetwork; Be called for short: LAN) mouth. Before S101, user need to use twisted-pair feeder, coaxialThe netting twines such as cable are connected the WAN mouth of the first router with the LAN mouth of the second router, so just from hardware byOne router is connected with the second router. Afterwards, the first router can be passed through DHCP (DynamicHostConfigurationProtocol; Be called for short: DHCP) in the LAN of access the second router, the first router access secondAfter in the LAN of router, can identify the second router.
S102: the service that the first router identification the second router provides to the first router, determine that the second router providesCOS.
After in the LAN of the first router access the second router, need to identify that the second router provides to the first routerService, determines the COS that the second router provides.
In one implementation, the first router is passed through file-sharing service protocol identification the second router to the first routerThe service providing. For instance, the first router can be passed through the files such as BitTorrent agreement, Jabber/XMPP agreementThe service that share service protocol identification the second router provides to the first router. If the first router is used file-sharing clothesBusiness agreement energy successful access the second router, determines that the service that secondary route provides to the first router is file-sharing clothesBusiness. Energy successful access the second router means the first router and can set up with the second router by file-sharing service agreementConnect, and can read the data in the second router.
In another implementation, the first router is by application programming interface (ApplicationProgrammingInterface; Be called for short: the service that API) protocol identification the second router provides to the first router. If the first routerUse API agreement energy successful access the second router, determine that the service that the second router provides to the first router isAPI。
In another implementation, the first router is used file-sharing service agreement and API protocol identification second simultaneouslyThe service that router provides to the first router. If can successful access the second router, determine that the second router is to theThe service that one router provides is file-sharing service and API.
Optionally, before S102, the first router can also be by media interviews control (MediaAccessControl;Be called for short: MAC) Address Recognition the second router.
S103: the first router, according to COS, copies the data in the second router.
Determining that after the COS that the second router provides, the first router copies in the second router according to COSData.
In one implementation, if service corresponding to COS is the file-sharing service that the second router provides,One router copies the data in the second router by file-sharing service agreement.
In another implementation, if service corresponding to COS is the API that the second router provides, the first viaCopy the data in the second router by device by API agreement.
In another implementation, if the file-sharing service that service corresponding to COS is the second router to be provided andAPI, the first router copies the data in the second router by file-sharing service agreement or API agreement. Also,If the second router provides file-sharing service and API to the first router simultaneously, the first router is selected basis whereinAny COS copies the data in the second router. In this implementation, optional, the first router can be toThe second router sends the connection request message corresponding with the agreement of selecting, and the second router receives connection request message basisConnection request message determines that identical agreement and the first router of agreement of selecting with the first router connects. This kind of realityIn existing mode, if file-sharing service and API that service corresponding to COS is the second router to be provided, the first via byDevice can also be selected to copy the data in the second router by API agreement, and this is because API takes compared to file-sharingBusiness has the higher authority of checking the data in the second router.
Data in the second router that the first router copies can be all data in the second router, also can secondPartial data on router, the present embodiment does not limit this. After the first router copies the data in the second routerThe data that copy to are stored in the memory space of self, for user.
The router data clone method that the present embodiment provides, accesses by the first router in the LAN of the second router,The service that the first router identification the second router provides to the first router, determines the COS that the second router provides,The first router, according to COS, copies the data in the second router, thereby, the first router can initiatively be answeredData in the second router processed, compared to the scheme of manual copy data, efficiency is higher, has improved user's experience.
Fig. 2 is according to the flow chart of a kind of router data clone method shown in another exemplary embodiment. The present embodiment existsOn basis embodiment illustrated in fig. 1, to the first router according to COS, before copying data in the second router andThe first via, by according to COS, copies the data in the second router, elaborates, as shown in Figure 2, the present embodimentThe router data clone method providing comprises:
S201: in the LAN of the first router access the second router.
Similar with S101, user is connected the first router on hardware with the second router after, the first router can be led toCross in the LAN of DHCP agreement access the second router.
S202: the service that the first router identification the second router provides to the first router, determine that the second router providesCOS.
S102 is similar, has three kinds of implementations, the first router by file-sharing service protocol identification the second router toThe service that the first router provides. Or the first router is passed through API protocol identification the second router to the first routerThe service providing. Or the first router is used file-sharing service agreement and API protocol identification the second router simultaneouslyThe service providing to the first router.
S203: the duplicate instructions that the first router receiving control apparatus sends.
Wherein, duplicate instructions is used to indicate described the first router and copies the data of preset kind.
It should be noted that, control appliance is the equipment connecting with the first router, and control appliance can pass through wired sideFormula or wireless mode are connected with the first router. Control appliance can be computer, mobile phone, information receiving and transmitting equipment,Tablet device and personal digital assistant etc. User can input duplicate instructions on control appliance, for example, and can be by controllingApplication program (Application on equipment; Be called for short: APP) input duplicate instructions.
The first router that is used to indicate duplicate instructions copies the data of preset kind, and for example, duplicate instructions can only be indicated and be copiedThe data of picture format, or, a data for replicating video form can be indicated. The preset kind here is not only limited to for spyWhich user is the data of the formula that fixes, can also, for the data of specifying which user to write, also can specify by which equipment writeThe data that enter. User can input duplicate instructions according to the demand of self in control appliance. It is defeated that control appliance receives userAfter the duplicate instructions entering, duplicate instructions can be sent to the first router. What the first router receiving control apparatus sent answersInstruction processed.
S204: the first router is according to COS and duplicate instructions, copies and in the second router, meets preset kindData.
Similar with S103, there are 3 kinds of implementations: if the file that service corresponding to COS is the second router to be provided is altogetherEnjoy service, the first router, by file-sharing service agreement and according to duplicate instructions, copies in the second router and meets and presetThe data of type.
The API that if the service that COS is corresponding is the second router to be provided, the first router by API agreement and according toDuplicate instructions, copies the data that meet preset kind in the second router.
File-sharing service and API that if the service that COS is corresponding is the second router to be provided, the first router is passed throughFile-sharing service agreement or API agreement and according to duplicate instructions, copy the number that meets preset kind in the second routerAccording to. Also, if the second router provides file-sharing service and API to the first router simultaneously, the first router choosingSelect according to any COS wherein and according to duplicate instructions, copy the data that meet preset kind in the second router. ?In this kind of implementation, if file-sharing service and API that service corresponding to COS is the second router to be provided,One router can also be selected by API agreement and according to duplicate instructions, copies and in the second router, meets preset kindData.
The router data clone method that the present embodiment provides, what send by the first router receiving control apparatus copies fingerOrder, the first router, according to COS and duplicate instructions, copies the data that meet preset kind in the second router, makesObtain the data which type user can initiatively select to copy, thereby, the data of user's appointment can only be copied to meetUser's demand, has further improved duplicating efficiency and user and has experienced.
Fig. 3 is according to the flow chart of a kind of router data clone method shown in another exemplary embodiment. The present embodiment existsOn basis embodiment illustrated in fig. 1, the first router, according to COS, is copied to the data in the second router, do in detailDescribe in detail brightly, as shown in Figure 3, the router data clone method that the present embodiment provides comprises:
S301: in the LAN of the first router access the second router.
Similar with S101, user is connected the first router on hardware with the second router after, the first router can be led toCross in the LAN of DHCP agreement access the second router.
S302: the service that the first router identification the second router provides to the first router, determine that the second router providesCOS.
S102 is similar, has three kinds of implementations, the first router by file-sharing service protocol identification the second router toThe service that the first router provides. Or the first router is passed through API protocol identification the second router to the first routerThe service providing. Or the first router is used file-sharing service agreement and API protocol identification the second router simultaneouslyThe service providing to the first router.
S303: the first router is identified the data in the second router according to COS and default reproducible data type,Determine the reproducible data in the second router.
Wherein, default reproducible data type is with default mark and/or is stored in the predeterminated position in the second routerData.
Default mark and predeterminated position can be that the first router and the second router are made an appointment.
For instance, the data in the second router can be divided into system data and user data, wherein, and system data and useUser data has different marks, and system data does not need to copy, and only need to copy user data, the first router basisFile-sharing service agreement or API agreement and default reproducible data type are only identified the data with default mark.Or the data in the second router are stored in different positions, the first router according to file-sharing service agreement orAPI agreement and default reproducible data type are only identified the data that are stored in predeterminated position, for example, only identify drive and areThe data of storing on the hard disk of " D ". Or the first router is according to file-sharing service agreement or API agreement and pre-If reproducible data type identify with default mark simultaneously and be stored in the data of predeterminated position. With default mark and/ or the data that are stored in predeterminated position be reproducible data.
S304: the first router copies the reproducible data in the second router.
The first router identifies after reproducible data, copies the reproducible data in the second router.
The router data clone method that the present embodiment provides, by the first router according to COS and default reproducibleData in data type identification the second router, determine the reproducible data in the second router, wherein, default reproducibleData type be with default mark and/or be stored in the data of the predeterminated position in the second router, the first router is multipleReproducible data in the second router processed, can only copy the data that identify and/or be stored in predeterminated position with default,Thereby, realize and only copy reproducible data, and do not need to copy the total data in the second router, further improve multipleEfficiency processed and user experience.
Fig. 4 is according to the block diagram of a kind of router shown in an exemplary embodiment. As shown in Figure 4, the present embodiment providesRouter comprises:
AM access module 41, is configured to access in the LAN of the second router.
User need to use the netting twines such as twisted-pair feeder, coaxial cable that the LAN mouth of the WAN mouth of router and the second router is connectedConnect, so just from hardware, router is connected with the second router. Afterwards, AM access module 41 can be assisted by DHCPIn the LAN of view access the second router, AM access module 41 can identify the after accessing in the LAN of the second routerTwo routers.
Identification module 42, is configured to identify the service that the second router provides to router, determines that the second router providesCOS.
Replication module 43, is configured to according to COS, copies the data in the second router.
The router that the present embodiment provides, by AM access module is set, is configured to access in the LAN of the second router,Identification module, is configured to identify the service that the second router provides to the first router, determines the clothes that the second router providesBusiness type, replication module, is configured to according to COS, copies the data in the second router, thus router canWith the data in Active Replication the second router, compared to the scheme of manual copy data, efficiency is higher, has improved user's bodyTest.
Fig. 5 is according to the block diagram of a kind of router shown in another exemplary embodiment. The present embodiment is embodiment illustrated in fig. 4Basis on, identification module 42 comprises:
The first recognin module 421, being configured to provides to router by file-sharing service protocol identification the second routerService.
The first recognin module 421 can be passed through the file-sharing service associations such as BitTorrent agreement, Jabber/XMPP agreementThe service that view identification the second router provides to router.
The second recognin module 422, the service providing to router by API protocol identification the second router is provided.
It should be noted that, it should be noted that, identification module 42 can be to only include the first recognin module 421 or onlyComprise the second recognin module 422, or, comprise the first recognin module 421 and the second recognin module 422 simultaneously.
The router that the present embodiment provides, by the first recognin module is set, is configured to by file-sharing service agreementThe service that provides to router of identification the second router, the second recognin module, is configured to by API protocol identification theThe service that two routers provide to router, the service that provides to router of identification the second router, thereby, according to correspondenceCOS copies the data in the second router, and step is succinct, and efficiency is high.
Fig. 6 is according to the block diagram of a kind of router shown in another exemplary embodiment. As shown in Figure 6, the present embodiment providesRouter on basis embodiment illustrated in fig. 5, replication module 43 comprises:
It is the file-sharing that the second router provides that the first replicon module 431 is configured to work as service corresponding to COSWhen service, copy the data in the second router by file-sharing service agreement.
The second replicon module 432, be configured to when service corresponding to COS be the second router provide API time,Copy the data in the second router by API agreement.
The 3rd replicon module 433, being configured to work as service corresponding to COS is the file-sharing that the second router providesWhen service and API, copy the data in the second router by file-sharing service agreement or API agreement.
The second router that the first replicon module 431, the second replicon module 432 and the 3rd replicon module 433 copyOn data can be all data in the second router, the partial data on also can the second router, the present embodiment pairThis does not limit. After data in router duplication the second router, the data that copy to are stored to the memory space of selfIn, for user.
The router that the present embodiment provides, by the first replicon module is set, is configured to when service corresponding to COSBe the second router provide file-sharing service time, copy the number in the second router by file-sharing service agreementAccording to, the second replicon module, be configured to when service corresponding to COS be the second router provide API time,Copy the data in the second router by API agreement, the 3rd replicon module, be configured to when COS correspondingWhen service is the file-sharing service that provides of the second router and API, by file-sharing service agreement or API associationView copies the data in the second router, can copy the data in the second router according to corresponding COS, and step is succinct,Efficiency is high.
Fig. 7 is the basis block diagram of a kind of router shown in an exemplary embodiment again. As shown in Figure 7, the present embodiment providesRouter on basis embodiment illustrated in fig. 4, also comprise:
Receiver module 71, is configured to the duplicate instructions that receiving control apparatus sends.
Wherein, duplicate instructions is used to indicate the data of router duplication preset kind.
The 4th replicon module 434, is configured to according to COS and duplicate instructions, copies in the second router and meetsThe data of preset kind.
The router that the present embodiment provides, by receiver module is set, is configured to the duplicate instructions that receiving control apparatus sends,The 4th replication module, is configured to according to COS and duplicate instructions, copies and in the second router, meets preset kindData, make user can initiatively select to copy the data of which type, thereby, can only copy the number that user specifiesMeet according to this user's demand, further improved duplicating efficiency and user and experienced.
Fig. 8 is according to the block diagram of a kind of router shown in another exemplary embodiment. As shown in Figure 8, the present embodiment providesRouter on basis embodiment illustrated in fig. 4, replication module 43 comprises:
Recognin module 435, is configured to according in COS and default reproducible data type identification the second routerData, determine the reproducible data in the second router.
Wherein, default reproducible data type is with default mark and/or is stored in the predeterminated position of the second routerData.
The 5th replicon module 436, is configured to copy the reproducible data in the second router.
The router data clone method that the present embodiment provides, by recognin module is set, is configured to according to COSWith the data in default reproducible data type identification the second router, determine the reproducible data in the second router, itsIn, default reproducible data type is the data that identify and/or be stored in the predeterminated position in the second router with default,The 5th replicon module, is configured to copy the reproducible data in the second router, can only copy with default mark and/ or be stored in the data of predeterminated position, thereby, realize and only copy reproducible data, and do not need to copy in the second routerTotal data, further improved duplicating efficiency and user and experienced.
Built-in function and the structure of more than having described wearable device charging alarm set, Fig. 9 is according to an exemplary embodimentThe block diagram of a kind of router illustrating. As shown in Figure 9, this router can be embodied as:
Memory 1001; For the memory of storage of processor 1002 executable instructions; Wherein, processor 1002 is joinedBe set to:
In the LAN of access the second router.
The service that identification the second router provides to router, determines the COS that the second router provides.
According to COS, copy the data in the second router.
The router data that the present embodiment provides, in the LAN by access the second router, identification the second router is to theThe service that one router provides, determines the COS that the second router provides, and according to COS, copies the second routerOn data, thereby, make the data of router on can Active Replication the second router, compared to manual copy dataScheme, efficiency is higher, has improved user's experience.
Figure 10 is according to the block diagram of a kind of router shown in an exemplary embodiment. For example, router one 900 can be carriedSupplying is a router. With reference to Figure 10, router one 900 comprises processing components 1922, and it further comprises one or more placesReason device, and by the memory resource of memory 1932 representatives, can be by the finger of the execution of processing components 1922 for storingOrder, for example application program. In memory 1932, the application program of storage can comprise that one or more each is rightThe module of Ying Yuyi group instruction. In addition, processing components 1922 is configured to carry out instruction, to carry out above-mentioned router dataClone method, described method comprises:
In the LAN of access the second router;
The service that identification the second router provides to router, determines the COS that the second router provides;
According to COS, copy the data in the second router.
Router one 900 can also comprise that a power supply module 1926 is configured to carry out the power management of router one 900,A wired or wireless network interface 1950 is configured to router one 900 to be connected to network, and input and output (I/O)Interface 1958.
Those skilled in the art are considering description and are putting into practice after invention disclosed herein, will easily expect other reality of the present inventionExecute scheme. The application is intended to contain any modification of the present invention, purposes or adaptations, these modification, purposes orAdaptations follow general principle of the present invention and comprise the undocumented common practise in the art of the disclosure orConventional techniques means. Description and embodiment are only regarded as exemplary, and true scope of the present invention and spirit are by power belowProfit requires to point out.
Should be understood that, the present invention is not limited to precision architecture described above and illustrated in the accompanying drawings, and canTo carry out various amendments and change not departing from its scope. Scope of the present invention is only limited by appended claim.

Claims (11)

1. router data clone method, is characterized in that, comprising:
In the LAN of the first router access the second router;
Described the first router is identified the service that described the second router provides to described the first router, determines described the second tunnelThe COS being provided by device;
Described the first router, according to described COS, copies the data in described the second router.
2. method according to claim 1, is characterized in that, described the first router is identified described the second routerThe service providing to described the first router, comprising:
Described the first router provides to described the first router by the second router described in file-sharing service protocol identificationService; And/or
Described the first router by the second router described in application programming interface API protocol identification to the described first viaThe service being provided by device.
3. method according to claim 2, is characterized in that, described the first router is according to described COS,Copy the data in described the second router, comprising:
If the service that described COS is corresponding is the file-sharing service that described the second router provides, the described first via byDevice copies the data in described the second router by file-sharing service agreement; Or
If the service that described COS is corresponding is the API that described the second router provides, described the first router is passed throughAPI agreement copies the data in described the second router; Or
File-sharing service and API that if the service that described COS is corresponding is described the second router to be provided, describedOne router copies the data in described the second router by file-sharing service agreement or API agreement.
4. according to the method described in claim 1-3 any one, it is characterized in that, described the first router is according to described clothesBusiness type, before copying the data in described the second router, also comprises:
The duplicate instructions that described the first router receiving control apparatus sends, wherein, described duplicate instructions is used to indicate described theThe data of one router duplication preset kind;
Described the first router, according to described COS, copies the data in described the second router, comprising:
Described the first router is according to described COS and described duplicate instructions, copies and in described the second router, meets instituteState the data of preset kind.
5. according to the method described in claim 1-3 any one, it is characterized in that, described the first router is according to described clothesBusiness type, copies the data in described the second router, comprising:
Described the first router is identified in described the second router according to described COS and default reproducible data typeData, determine the reproducible data in described the second router, wherein, described default reproducible data type be withThe default data that identify and/or be stored in the predeterminated position of described the second router;
Described the first router copies the reproducible data in described the second router.
6. a router, is characterized in that, comprising:
AM access module, is configured to access in the LAN of the second router;
Identification module, is configured to identify the service that described the second router provides to described router, determines described the second tunnelThe COS being provided by device;
Replication module, is configured to, according to described COS, copy the data in described the second router.
7. router according to claim 6, is characterized in that, described identification module comprises:
The first recognin module, is configured to by the second router described in file-sharing service protocol identification to described routerThe service providing; And/or
The second recognin module, be configured to by the second router described in application programming interface API protocol identification toThe service that described router provides.
8. method according to claim 7, is characterized in that, described replication module comprises:
The first replicon module, being configured to work as service corresponding to described COS is the file that described the second router providesWhen share service, copy the data in described the second router by file-sharing service agreement; Or
The second replicon module, being configured to work as service corresponding to described COS is the API that described the second router providesTime, copy the data in described the second router by API agreement; Or
The 3rd replicon module, being configured to work as service corresponding to described COS is the file that described the second router providesWhen share service and API, copy the number in described the second router by file-sharing service agreement or API agreementAccording to.
9. according to the method described in claim 6-8 any one, it is characterized in that, described router also comprises:
Receiver module, is configured to the duplicate instructions that receiving control apparatus sends, and wherein, described duplicate instructions is used to indicate instituteState the data of router duplication preset kind;
Described replication module comprises:
The 4th replicon module, is configured to, according to described COS and described duplicate instructions, copy described secondary routeOn device, meet the data of described preset kind.
10. according to the method described in claim 6-8 any one, it is characterized in that, described replication module comprises:
Recognin module, is configured to identify described secondary route according to described COS and default reproducible data typeData on device, determine the reproducible data in described the second router, and wherein, described default reproducible data type isWith the default data that identify and/or be stored in the predeterminated position of described the second router;
The 5th replicon module, is configured to copy the reproducible data in described the second router.
11. 1 kinds of routers, is characterized in that, comprising:
Memory;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
In the LAN of access the second router;
Identify the service that described the second router provides to described router, determine the service class that described the second router providesType;
According to described COS, copy the data in described the second router.
CN201610009372.XA 2016-01-07 2016-01-07 Router data clone method and router Active CN105610626B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610009372.XA CN105610626B (en) 2016-01-07 2016-01-07 Router data clone method and router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610009372.XA CN105610626B (en) 2016-01-07 2016-01-07 Router data clone method and router

Publications (2)

Publication Number Publication Date
CN105610626A true CN105610626A (en) 2016-05-25
CN105610626B CN105610626B (en) 2019-07-23

Family

ID=55990171

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610009372.XA Active CN105610626B (en) 2016-01-07 2016-01-07 Router data clone method and router

Country Status (1)

Country Link
CN (1) CN105610626B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021142788A1 (en) * 2020-01-17 2021-07-22 Oppo广东移动通信有限公司 Method and apparatus for migrating configuration capabilities, storage medium, and processor

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1443012A (en) * 2002-03-06 2003-09-17 株式会社Ntt都科摩 Changing over control device and method and mobile communication system
CN1610324A (en) * 2003-10-22 2005-04-27 三星电子株式会社 Network apparatus and method for stable handoff
CN1745553A (en) * 2003-04-15 2006-03-08 松下电器产业株式会社 Routing control method, router, and terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1443012A (en) * 2002-03-06 2003-09-17 株式会社Ntt都科摩 Changing over control device and method and mobile communication system
CN1745553A (en) * 2003-04-15 2006-03-08 松下电器产业株式会社 Routing control method, router, and terminal
CN1610324A (en) * 2003-10-22 2005-04-27 三星电子株式会社 Network apparatus and method for stable handoff

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021142788A1 (en) * 2020-01-17 2021-07-22 Oppo广东移动通信有限公司 Method and apparatus for migrating configuration capabilities, storage medium, and processor
CN114651429A (en) * 2020-01-17 2022-06-21 Oppo广东移动通信有限公司 Configuration capability migration method and device, storage medium and processor
CN114651429B (en) * 2020-01-17 2023-10-03 Oppo广东移动通信有限公司 Migration method and device for configuration capability, storage medium and processor

Also Published As

Publication number Publication date
CN105610626B (en) 2019-07-23

Similar Documents

Publication Publication Date Title
US7761510B2 (en) Conference system for enabling concurrent displaying of data from conference presenter and conference participants
CN103856554B (en) Method and system for managing the inter-node communication in cluster
US20180285053A1 (en) Screenshot method and apparatus
CN101056389B (en) Electronic conference system, electronic conference support method, electronic conference control apparatus, and portable storage device
US10698890B2 (en) Dual overlay query processing
CN108881227B (en) Operation control method and device of remote whiteboard system and remote whiteboard system
JP6252037B2 (en) Information sharing system, information sharing method, connection device, and information sharing program
US9692608B2 (en) Communication management apparatus, program, communication management method, and communication management system
CN107241312B (en) A kind of right management method and device
CN104166603A (en) Data backup method and device and electronic device
KR102016277B1 (en) Intellectual Property Support Systems, Intellectual Property Support Methods, and Intellectual Property Support Programs
US20160291915A1 (en) Display sharing sessions between devices
CN105610626A (en) Router data replication method and router
CN109324731A (en) Information display method and device
US9857853B2 (en) System, apparatus, and method for device control
CN110716789A (en) Data configuration method, readable storage medium and electronic device
JP2019169143A (en) System, method, device, and program that track copy of printed material owned by rights holder
JP6578701B2 (en) Information processing system, information processing device, terminal device, and program
US11373001B2 (en) Screen capturing and masking system and method
US10244196B2 (en) Display control apparatus and display control method
JP6244746B2 (en) Device management apparatus, device management system, device management method and program
CN110505434A (en) A kind of Image distribution method, device, electronic equipment and storage medium
WO2020203238A1 (en) Image processing device and method, and program
US20150253996A1 (en) Access control method and data storage device
KR101593633B1 (en) Apparatus, method and readable recording medium of releasing a build file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant