CN102811161A - Router and network data transmission method thereof - Google Patents

Router and network data transmission method thereof Download PDF

Info

Publication number
CN102811161A
CN102811161A CN 201110149029 CN201110149029A CN102811161A CN 102811161 A CN102811161 A CN 102811161A CN 201110149029 CN201110149029 CN 201110149029 CN 201110149029 A CN201110149029 A CN 201110149029A CN 102811161 A CN102811161 A CN 102811161A
Authority
CN
China
Prior art keywords
file
document
storage device
network storage
local subscriber
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.)
Pending
Application number
CN 201110149029
Other languages
Chinese (zh)
Inventor
邓吉生
段雪涛
许式伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shengle Information Technolpogy Shanghai Co Ltd
Original Assignee
Shengle Information Technolpogy Shanghai 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 Shengle Information Technolpogy Shanghai Co Ltd filed Critical Shengle Information Technolpogy Shanghai Co Ltd
Priority to CN 201110149029 priority Critical patent/CN102811161A/en
Publication of CN102811161A publication Critical patent/CN102811161A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a router. The router comprises a central processing unit, a storage unit and a data synchronization unit, wherein the data synchronization unit is used for synchronizing the file data of local user equipment and a remote network storage device. The invention further discloses a network data transmission method of the router. According to the router disclosed by the invention, the synchronization function of the file data can be finished by the network storage device when the local user equipment is in an offline condition.

Description

Router and network data transmission method thereof
Technical field
The present invention relates to Internet technology, particularly a kind of router and network data transmission method thereof.
Background technology
Along with the development of Internet technology, and the popularity that online data storage is used is increasingly high, and file data, electron album, music, video file that people trend towards oneself leave on the network storage device.The network storage device here is meant network storage service, generally includes but is not limited to network hard disc, network album, online file storage, online diary service and E-mail service.At present, the user will store several GB even more file data easily in network storage device, but when we need use these files, but need spend the plenty of time to download to this locality to file data.
Router (Router) is the main node equipment of the Internet.Router is through the forwarding of route determination data; As interconnected hinge between the heterogeneous networks; Route system has constituted the main body train of thought based on the Internet Internet of TCP/IP; We can say that also router has constituted the skeleton of Internet, the cable router that inserts through wired realization local subscriber apparatus is arranged; Also have through wireless communication protocol (IEEE 802.11g standard agreement and 802.11b standard agreement) and realize the wifi router that local subscriber apparatus inserts, also have the 3G router.The wifi router comes and the personal digital device talk through wifi technology transmitting/receiving wireless signal, can under the situation of not establishing cable, set up a computer network easily, is widely used by people.
People have characteristics when using router, be exactly to remove initiatively to close router, and router is in long operating state usually, and is interconnected with it even without local subscriber apparatus.
Summary of the invention
The technical problem that the present invention will solve is to make network storage device under the situation of local subscriber apparatus off-line, also can accomplish the synchronizing function of file data.
For solving the problems of the technologies described above, the invention provides a kind of router, comprise CPU, memory cell, also comprise data synchronisation unit;
Said data synchronisation unit, the file data that is used for local subscriber apparatus and remote network storage device is synchronous.
Said data synchronisation unit can comprise authentication module, comparison module, synchronization module;
Said authentication module is used to verify the file operation power of local subscriber apparatus to the remote network storage device;
Said comparison module; Through every interpolation one file on local subscriber apparatus or the remote network storage device of checking; Then said comparison module generates the benchmark file an of this document, if the operation of a file has taken place on local subscriber apparatus or remote network storage device through checking, then said comparison module compares this document with its benchmark file; If inconsistent, confirm that then renewal has taken place this document content;
Said synchronization module, this document that is used for having taken place to upgrade with regard to content carry out file data between local subscriber apparatus through checking and remote network storage device synchronous.
If having taken place on the remote network storage device, the operation of a file make this document content that renewal take place; Then said synchronization module is updated to said memory cell to this document of latest edition synchronously, and upgrades the benchmark file of this document according to this document of latest edition; Then, said synchronization module is updated to the local subscriber apparatus of passing through checking that is connected to said router with this document of the latest edition in the said memory cell more synchronously;
If having taken place on the local subscriber apparatus, the operation of a file make this document content that renewal take place; Then said synchronization module is updated to said memory cell to this document of latest edition synchronously, and upgrades the benchmark file of this document according to this document of latest edition; Then, said synchronization module is updated to this document of the latest edition in the said memory cell on the remote network storage device more immediately or in setting constantly synchronously.
Preferable; If having taken place on the local subscriber apparatus, the operation of a file make this document content that renewal take place; Said synchronization module is when this local subscriber apparatus off-line, and this document with the latest edition in the said memory cell is updated on the remote network storage device synchronously again.
Said authentication module can make local subscriber apparatus obtain the file operation power to the remote network storage device through the mode of trusted certificate or subscriber authorisation.
Said authentication module can make local subscriber apparatus obtain the file operation power to the remote network storage device through the mode of OAUTH mandate, OpenID, trusted certificate.
Preferable; The benchmark file of one file comprises version number, the timestamp of this document, the MD5 or the SHA1 cryptographic hash of file; Said comparison module with its benchmark file, compares a file, to determine whether unanimity to the MD5 or the SHA1 cryptographic hash of fileversion number, timestamp, file.
The present invention also provides a kind of network data transmission method of above-mentioned router; Said data synchronisation unit; The checking local subscriber apparatus is to the file operation power of remote network storage device; And through every interpolation one file on local subscriber apparatus or the remote network storage device of checking; Then said data synchronisation unit generates the benchmark file an of this document, if the operation of a file has taken place on local subscriber apparatus or remote network storage device through checking, then said data synchronisation unit compares this document with its benchmark file; If inconsistent, then said data synchronisation unit is carried out file data with this document between local subscriber apparatus and remote network storage device through checking synchronous.
If having taken place on the remote network storage device, the operation of a file make this document content that renewal take place; Then said data synchronisation unit is updated to said memory cell to this document of latest edition synchronously, and upgrades the benchmark file of this document according to this document of latest edition; Then, said data synchronisation unit is updated to the local subscriber apparatus of passing through checking that is connected to said router with this document of the latest edition in the said memory cell more synchronously;
If having taken place on the local subscriber apparatus, the operation of a file make this document content that renewal take place; Then said data synchronisation unit is updated to said memory cell to this document of latest edition synchronously, and upgrades the benchmark file of this document according to this document of latest edition; Then, said data synchronisation unit immediately or in setting constantly, this document with the latest edition in the said memory cell is updated on the remote network storage device synchronously again.
Preferable; If having taken place on the local subscriber apparatus, the operation of a file make this document content that renewal take place; Said synchronization module is when this local subscriber apparatus off-line, and this document with the latest edition in the said memory cell is updated on the remote network storage device synchronously again.
Said data synchronisation unit can make local subscriber apparatus obtain the file operation power to the remote network storage device through the mode of trusted certificate or subscriber authorisation.
Said data synchronisation unit can make local subscriber apparatus obtain the file operation power to the remote network storage device through the mode of OAUTH mandate, OpenID, trusted certificate.
Preferable; The benchmark file of one file comprises version number, the timestamp of this document, the MD5 or the SHA1 cryptographic hash of file, said data synchronisation unit, with a file with its benchmark file; MD5 or SHA1 cryptographic hash to fileversion number, timestamp, file compare, to determine whether unanimity.
Router of the present invention; On the basis of conventional router, increase data synchronisation unit; Thereby the data sync function is incorporated on the router; Need not local subscriber apparatus and participate in synchronously even start, just can the file data in the remote network storage device be downloaded to the memory cell on the router synchronously; Subscriber equipment just can cut out subscriber equipment after to the synchronous file modification of needs, and need not the pending file data upload to the remote network storage device, and router of the present invention can be accomplished uploading synchronously of file data automatically; Because synchronous (comprise and upload and download) of file not only can accomplish under the online situation of local subscriber apparatus; Also can under the situation of local subscriber apparatus off-line, accomplish; Therefore; Router of the present invention makes and can utilize the network bandwidth more fully when subscriber equipment is online, brings better network to experience to the user.
Description of drawings
Below in conjunction with accompanying drawing and embodiment the present invention is done further explain.
Fig. 1 is router one an execution mode sketch map of the present invention;
Fig. 2 is the network data transmission method flow chart of router of the present invention.
Embodiment
Router one execution mode of the present invention is as shown in Figure 1, comprises CPU, WAN ethernet controller, WLAN wireless communication module, memory cell, power circuit, clock unit, data synchronisation unit.
Said data synchronisation unit, the file data that is used for local subscriber apparatus and remote network storage device is synchronous, and said data synchronisation unit comprises authentication module, comparison module, synchronization module.
Said authentication module; Be used to verify the file operation power of local subscriber apparatus to the remote network storage device; Preferable, said authentication module makes local subscriber apparatus obtain the file operation power to the remote network storage device through the mode of trusted certificate or subscriber authorisation, as passing through modes such as OAUTH mandate, OpenID, trusted certificate; This authorization local subscriber apparatus is when carrying out the network storage device file operation; Need not to touch user's account (like user name and password), also Maintenance free username and password, safe ready.
Said comparison module; Through every interpolation one file on local subscriber apparatus or the remote network storage device of checking; Then said comparison module generates the benchmark file an of this document, and the benchmark file of a file comprises the summary info of this document, for example comprises MD5 or the SHA1 cryptographic hash etc. of version number, timestamp, the file of this document; If the operation of a file has taken place on local subscriber apparatus or remote network storage device through checking; Then said comparison module compares said file with its benchmark file, can be to the MD5 (Message Digest Algorithm version 5, message digest algorithm the 5th edition) or SHA1 (the Secure Hash Algorithm of the version number of file, timestamp, file; Secure Hash Algorithm) cryptographic hash etc. compares; To determine whether unanimity,, confirm that then renewal has taken place this document content if inconsistent.
Said synchronization module, this document that is used for having taken place to upgrade with regard to content carry out file data between local subscriber apparatus through checking and remote network storage device synchronous;
If having taken place on the remote network storage device, the operation of a file make this document content that renewal take place; Then said synchronization module is updated to said memory cell to this document of latest edition synchronously, and upgrades the benchmark file of this document according to this document of latest edition; Then, said synchronization module is updated to the local subscriber apparatus of passing through checking that is connected to said router with this document of the latest edition in the said memory cell more synchronously;
Otherwise; If having taken place on the local subscriber apparatus, the operation of a file make this document content that renewal take place; Then said synchronization module is updated to said memory cell to this document of latest edition synchronously, and upgrades the benchmark file of this document according to this document of latest edition; Said then synchronization module is updated to this document of the latest edition in the said memory cell on the remote network storage device more immediately or setting constantly (for example at this local subscriber apparatus off-line time) synchronously.
Said CPU, the data processing work of responsible said router, its enforcement can be adopted KS8695X high energy 16/32 digit RISC micro controller of (but being not limited to) MICREL.
Said WLAN wireless communication module is supported popular protocol IEEE 802.11g standard agreement and 802.11b standard agreement, i.e. wifi, and it passes through bus and links to each other with CPU, thereby sets up WLAN.Can select (but being not limited to) RT2661T to design as main control chip.
Said WAN ethernet module links to each other with CPU through bus, and wherein the form of WAN ethernet module can be the cable network of DSL/Cable Modem, also can be the form of wireless networks such as 3G.
Described memory cell is made up of FLASH and RAM.The FLASH memory is a kind of nonvolatile storage, after system restarts or shuts down, still can preserve data, is used for the Boot ROM of system program, file data and CPU of storage router.The RAM memory is a kind of volatile memory, the internal memory when moving as system, storage ephemeral data.
Said power supply unit is used for the hardware power supply of said router, and it is responsible for external power source conversion is the needed DC power supply of router.
Said clock unit, the hardware chip, system bus and each interface section that are used to whole router provide the groundwork frequency.
Said system bus is meant data/address bus and address bus.
The network data transmission method of above-mentioned router is as shown in Figure 2; Said data synchronisation unit; The checking local subscriber apparatus is to the file operation power of remote network storage device; And through every interpolation one file on local subscriber apparatus or the remote network storage device of checking; Then said data synchronisation unit generates the benchmark file an of this document, if the operation of a file has taken place on local subscriber apparatus or remote network storage device through checking, then said data synchronisation unit compares this document with its benchmark file; If inconsistent, then said data synchronisation unit is carried out file data with this document between local subscriber apparatus and remote network storage device through checking synchronous.
If having taken place on the remote network storage device, the operation of a file make this document content that renewal take place; Then said data synchronisation unit is updated to said memory cell to this document of latest edition synchronously, and upgrades the benchmark file of this document according to this document of latest edition; Then, said data synchronisation unit is updated to the local subscriber apparatus of passing through checking that is connected to said router with this document of the latest edition in the said memory cell more synchronously;
If having taken place on the local subscriber apparatus, the operation of a file make this document content that renewal take place; Then said data synchronisation unit is updated to said memory cell to this document of latest edition synchronously, and upgrades the benchmark file of this document according to this document of latest edition; Then, said data synchronisation unit immediately or setting constantly (as the time) at this local subscriber apparatus off-line, this document with the latest edition in the said memory cell is updated on the remote network storage device synchronously again.
Router of the present invention; On the basis of conventional router, increase data synchronisation unit; Thereby the data sync function is incorporated on the router; Need not local subscriber apparatus and participate in synchronously even start, just can the file data in the remote network storage device be downloaded to the memory cell on the router synchronously; Subscriber equipment just can cut out subscriber equipment after to the synchronous file modification of needs, and need not the pending file data upload to the remote network storage device, and router of the present invention can be accomplished uploading synchronously of file data automatically; Because synchronous (comprise and upload and download) of file not only can accomplish under the online situation of local subscriber apparatus; Also can under the situation of local subscriber apparatus off-line, accomplish; Therefore; Router of the present invention makes and can utilize the network bandwidth more fully when subscriber equipment is online, brings better network to experience to the user.

Claims (13)

1. a router comprises CPU, memory cell, it is characterized in that, also comprises data synchronisation unit;
Said data synchronisation unit, the file data that is used for local subscriber apparatus and remote network storage device is synchronous.
2. router according to claim 1 is characterized in that said data synchronisation unit comprises authentication module, comparison module, synchronization module;
Said authentication module is used to verify the file operation power of local subscriber apparatus to the remote network storage device;
Said comparison module; Through every interpolation one file on local subscriber apparatus or the remote network storage device of checking; Then said comparison module generates the benchmark file an of this document, if the operation of a file has taken place on local subscriber apparatus or remote network storage device through checking, then said comparison module compares this document with its benchmark file; If inconsistent, confirm that then renewal has taken place this document content;
Said synchronization module, this document that is used for having taken place to upgrade with regard to content carry out file data between local subscriber apparatus through checking and remote network storage device synchronous.
3. router according to claim 2 is characterized in that,
If having taken place on the remote network storage device, the operation of a file make this document content that renewal take place; Then said synchronization module is updated to said memory cell to this document of latest edition synchronously, and upgrades the benchmark file of this document according to this document of latest edition; Then, said synchronization module is updated to the local subscriber apparatus of passing through checking that is connected to said router with this document of the latest edition in the said memory cell more synchronously;
If having taken place on the local subscriber apparatus, the operation of a file make this document content that renewal take place; Then said synchronization module is updated to said memory cell to this document of latest edition synchronously, and upgrades the benchmark file of this document according to this document of latest edition; Then, said synchronization module is updated to this document of the latest edition in the said memory cell on the remote network storage device more immediately or in setting constantly synchronously.
4. router according to claim 3; It is characterized in that; If having taken place on the local subscriber apparatus, the operation of a file make this document content that renewal take place; Said synchronization module is when this local subscriber apparatus off-line, and this document with the latest edition in the said memory cell is updated on the remote network storage device synchronously again.
5. router according to claim 2 is characterized in that, said authentication module, and the mode through trusted certificate or subscriber authorisation makes local subscriber apparatus obtain the file operation power to the remote network storage device.
6. router according to claim 2 is characterized in that, said authentication module, and the mode through OAUTH mandate, OpenID, trusted certificate makes local subscriber apparatus obtain the file operation power to the remote network storage device.
7. router according to claim 2; It is characterized in that; The benchmark file of one file comprises version number, the timestamp of this document, the MD5 or the SHA1 cryptographic hash of file; Said comparison module with its benchmark file, compares a file, to determine whether unanimity to the MD5 or the SHA1 cryptographic hash of fileversion number, timestamp, file.
8. the network data transmission method of the described router of claim 1; It is characterized in that; Said data synchronisation unit; The checking local subscriber apparatus is to the file operation of remote network storage device power, and every interpolation one file on local subscriber apparatus through checking or the remote network storage device, and then said data synchronisation unit generates the benchmark file an of this document; If the operation of a file has taken place on local subscriber apparatus or remote network storage device through checking; Then said data synchronisation unit compares this document with its benchmark file, if inconsistent, then said data synchronisation unit is carried out file data with this document between local subscriber apparatus and remote network storage device through checking synchronous.
9. method according to claim 8 is characterized in that,
If having taken place on the remote network storage device, the operation of a file make this document content that renewal take place; Then said data synchronisation unit is updated to said memory cell to this document of latest edition synchronously, and upgrades the benchmark file of this document according to this document of latest edition; Then, said data synchronisation unit is updated to the local subscriber apparatus of passing through checking that is connected to said router with this document of the latest edition in the said memory cell more synchronously;
If having taken place on the local subscriber apparatus, the operation of a file make this document content that renewal take place; Then said data synchronisation unit is updated to said memory cell to this document of latest edition synchronously, and upgrades the benchmark file of this document according to this document of latest edition; Then, said data synchronisation unit immediately or in setting constantly, this document with the latest edition in the said memory cell is updated on the remote network storage device synchronously again.
10. method according to claim 9; It is characterized in that; If having taken place on the local subscriber apparatus, the operation of a file make this document content that renewal take place; Said synchronization module is when this local subscriber apparatus off-line, and this document with the latest edition in the said memory cell is updated on the remote network storage device synchronously again.
11. method according to claim 8 is characterized in that, said data synchronisation unit, the mode through trusted certificate or subscriber authorisation make local subscriber apparatus obtain the file operation power to the remote network storage device.
12. method according to claim 8 is characterized in that, said data synchronisation unit, the mode through OAUTH mandate, OpenID, trusted certificate make local subscriber apparatus obtain the file operation power to the remote network storage device.
13. method according to claim 8; It is characterized in that; The benchmark file of one file comprises version number, the timestamp of this document, the MD5 or the SHA1 cryptographic hash of file, said data synchronisation unit, with a file with its benchmark file; MD5 or SHA1 cryptographic hash to fileversion number, timestamp, file compare, to determine whether unanimity.
CN 201110149029 2011-06-03 2011-06-03 Router and network data transmission method thereof Pending CN102811161A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110149029 CN102811161A (en) 2011-06-03 2011-06-03 Router and network data transmission method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110149029 CN102811161A (en) 2011-06-03 2011-06-03 Router and network data transmission method thereof

Publications (1)

Publication Number Publication Date
CN102811161A true CN102811161A (en) 2012-12-05

Family

ID=47234746

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110149029 Pending CN102811161A (en) 2011-06-03 2011-06-03 Router and network data transmission method thereof

Country Status (1)

Country Link
CN (1) CN102811161A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325970A (en) * 2016-10-17 2017-01-11 宁德时代新能源科技股份有限公司 Compiling method and compiling system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106325970A (en) * 2016-10-17 2017-01-11 宁德时代新能源科技股份有限公司 Compiling method and compiling system

Similar Documents

Publication Publication Date Title
JP6203985B1 (en) Secure provisioning of authentication credentials
US20200287726A1 (en) Remote device control
JP5523632B2 (en) WiFi communication implementation method, user equipment, and wireless router
CN107181770B (en) Method of data synchronization and system
US11088811B2 (en) Virtual carrier aggregation for wideband operation of wireless communication systems
CN104105096B (en) A kind of radio switch-in method of IPC equipment
EP3700163B1 (en) Seamless wi-fi subscription remediation
CN107438981B (en) Wireless client traffic continuity across controller failover and load balancing
CN107113816B (en) System and method for hidden connection merging
CN1557069A (en) Radio information transmitting system, radio communication method, radio station, and radio terminal device
EP2496007A2 (en) Method and apparatus for provisioning of information in a cellular communication network
CN103580921A (en) Automatic network equipment upgrading method and automatic network equipment upgrading system
WO2017076016A1 (en) Base station provisioning method, terminal, and base station
CN105142135A (en) Method for rapidly configuring intelligent device network connection based on quick connection protocol
CN103561281A (en) Multimedia data sharing method and device
WO2014071841A1 (en) Method, terminal, server, system, and device for synchronizing wireless network parameters
US9628322B2 (en) Network synchronization system and method involving automatic setting via physical line
US20150006892A1 (en) Methods and apparatuses for secure end to end communication
CN103929450A (en) Data synchronization method and data synchronization device
CN101505300A (en) System for data synchronization between server and terminal on the basis of Linux and synchronization method thereof
CN104079638A (en) Browser extension setting method and device, browser device and electronic equipment
CN102811161A (en) Router and network data transmission method thereof
CN101309187A (en) Data transmission method and system
US20220038290A1 (en) Facilitation of identification of internet-of-things host devices
CN102271125A (en) Method for carrying out 802.1X authentication cross equipment, access equipment and access control equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121205