CN105117496A - Method and system for sharing data in external storage device in router - Google Patents

Method and system for sharing data in external storage device in router Download PDF

Info

Publication number
CN105117496A
CN105117496A CN201510626673.2A CN201510626673A CN105117496A CN 105117496 A CN105117496 A CN 105117496A CN 201510626673 A CN201510626673 A CN 201510626673A CN 105117496 A CN105117496 A CN 105117496A
Authority
CN
China
Prior art keywords
external memory
router
memory equipment
share
service
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
CN201510626673.2A
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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201510626673.2A priority Critical patent/CN105117496A/en
Publication of CN105117496A publication Critical patent/CN105117496A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a method and system for sharing data in an external storage device in a router. The method includes the steps that when the external storage device is inserted into and connected to the router, the router establishes a designated share catalogue for the external storage device under a router share catalogue according to the device information of the external storage device and binds the external storage device to the designated share catalogue; a share service configuration file used for starting the share service of the external storage device is generated according to the binding information of the external storage device and the configuration information of the router; the share service of the external storage device is started according to the configuration file of the share service, and therefore data in the external storage device can be shared. According to the method and system for sharing data in the external storage device in the router, the types and names of various external storage devices can be automatically set, the external storage devices are bound to the designated share catalogue in the router automatically according to file system types and partitions of the external storage devices, configuration does not need to be configured by a user, and the purpose of zero configuration data sharing is achieved.

Description

The method and system of data in a kind of share Router External memory equipment
Technical field
The present invention relates to router technology field, be specially the method and system of data in a kind of share Router External memory equipment.
Background technology
Nowadays intelligent router is more and more universal, and intelligent router not only has route and the function of surfing the Net of conventional router, also has the service function of more intelligence, as Bandwidth Management, remote monitoring, off-line download, data sharing function.Wherein data sharing function often needs external mobile memory device, passes through page configuration, open corresponding data sharing service after memory device couple in router by user.The External memory equipment that router can access is varied, there are USB flash disk, SD card and portable hard drive etc., the file system type of often kind of memory device is also different, mainly be divided into FAT, NTFS and EXT etc., and a jumbo External memory equipment often more than subregion, the compatibility of router is extremely important thus.
Current router is mainly FTP (FileTransferProtocol to the share service of External memory equipment, file transfer protocol (FTP)) and SAMBA (ServerMessagesBlock, information service block) agreement, when user thinks the data of shared External memory equipment, first need to enable External memory equipment by the page, fill in share service config option subsequently, finally realize file-sharing service function.Detailed config option is good service for user provides, but too increases the difficulty that user uses share service.The method that External memory equipment data shared by existing route device is: user is by External memory equipment couple in router, memory device is enabled at the page, fill in the config option of the share service page, thus realize the sharing functionality of External memory equipment, add the workload that user uses router share service function so undoubtedly.External memory equipment data shared by existing route device needs manually to enable External memory equipment, and fills in the configuration parameter of share service, adds the complexity that user uses, and a lot of config option user does not know its implication yet, does not possess the principle be simple and easy to.
Summary of the invention
The shortcoming of prior art in view of the above, the object of the present invention is to provide the method and system of data in a kind of share Router External memory equipment, needing during for solving the data in prior art in share Router External memory equipment to be manually configured and to configure loaded down with trivial details problem.
For achieving the above object and other relevant objects, the invention provides the method for data in a kind of share Router External memory equipment, in described share Router External memory equipment, the method for data comprises: when External memory equipment insertion is connected to router, and the facility information according to described External memory equipment is specified share directory for described External memory equipment creates and described External memory equipment is tied to described appointment share directory under router share directory; The binding information of described External memory equipment and the configuration information of router generate the share service configuration file for enabling described External memory equipment share service; Enable described External memory equipment share service according to described share service configuration file, thus make the data sharing in described External memory equipment.
Preferably, it is described when External memory equipment insertion is connected to router, described router specifically comprises for described External memory equipment creates to specify share directory and described External memory equipment is tied to described appointment share directory under router share directory according to the facility information of described External memory equipment: during in described router startup, the hot plug events of described External memory equipment is registered at router kernel, when described External memory equipment insertion is connected to router, trigger described hot plug events and by the kernel calls hot plug process function of described router, the subregion of described plug process function External memory equipment according to the name acquiring of described External memory equipment the file system obtained in each subregion for described External memory equipment creates the title appointment share directory identical with the title of described subregion under the share directory of described router, described External memory equipment is tied to described appointment share directory by the form according to described file system.
Preferably, described binding information at least comprises: the binding catalogue of described External memory equipment and the binding character set of described External memory equipment.
Preferably, the configuration information of described router at least comprises: the username and password of router and the lan interfaces address network segment of described router.
Preferably, described share service is file transfer protocol (FTP) share service and/or information service block agreement share service; Described share service configuration file should be file transfer protocol (FTP) share service configuration file and/or information service block agreement share service configuration file mutually.
For achieving the above object, the present invention also provides the system of data in a kind of share Router External memory equipment, in described share Router External memory equipment, the system of data comprises: binding module, when being connected to router for inserting at External memory equipment, the facility information according to described External memory equipment is specified share directory for described External memory equipment creates and described External memory equipment is tied to described appointment share directory under router share directory; Configuration module, is connected with described binding module, for generating the share service configuration file for enabling described External memory equipment share service according to the binding information of described External memory equipment and the configuration information of router; Share service opening module, is connected with described configuration module with described binding module respectively, for enabling described External memory equipment share service according to described share service configuration file, thus makes the data sharing in described External memory equipment.
Preferably, described binding module comprises: registering unit, when described router startup, for registering the hot plug events of described External memory equipment at router kernel; Call unit, is connected with described registering unit, for inserting the kernel calls hot plug process function be connected to by described router when router triggers described hot plug events at described External memory equipment; Acquiring unit, is connected with described call unit, the subregion of External memory equipment and the file system that obtains in each subregion for utilizing described plug process function, according to the name acquiring of described External memory equipment; Share directory creating unit, is connected with described acquiring unit, for being the appointment share directory that described External memory equipment establishment title is identical with the title of described subregion under the share directory of described router; Catalogue binding unit, is connected with described share directory creating unit, for the form according to described file system, described External memory equipment is tied to described appointment share directory.
Preferably, described binding information at least comprises: the binding catalogue of described External memory equipment and the binding character set of described External memory equipment.
Preferably, the configuration information of described router at least comprises: the username and password of router and the lan interfaces address network segment of described router.
Preferably, described share service is file transfer protocol (FTP) share service and/or information service block agreement share service; Described share service configuration file should be file transfer protocol (FTP) share service configuration file and/or information service block agreement share service configuration file mutually.
As mentioned above, the method and system of data in a kind of share Router External memory equipment of the present invention, have following beneficial effect:
1, External memory equipment to be tied to appointment share directory in router by obtaining the facility information of External memory equipment by the present invention, and according to the binding information of External memory equipment and the automatic multiple generation of the configuration information of router for enabling the share service configuration file of described External memory equipment share service, finally enable described External memory equipment share service according to described share service configuration file, thus the data in described External memory equipment can be shared.
2, the present invention can type, the title of the various External memory equipment of automatic equipment, and the appointment share directory automatically External memory equipment is tied to according to the file system type of External memory equipment and subregion in router, do not need user to carry out any configuration, realize the object of zero configuration data sharing.
3, the present invention is simply efficient, has stronger versatility and practicality.
Accompanying drawing explanation
Fig. 1 is shown as the schematic flow sheet of the method for data in share Router External memory equipment of the present invention.
Fig. 2 is shown as the schematic flow sheet binding External memory equipment in the method for data in share Router External memory equipment of the present invention.
Fig. 3 is shown as the schematic flow sheet starting share service in the method for data in share Router External memory equipment of the present invention.
Fig. 4 is shown as the structural representation of the system of data in share Router External memory equipment of the present invention.
Fig. 5 is shown as the structural representation of binding module in the system of data in share Router External memory equipment of the present invention.
Element numbers explanation
The system of data in 1 share Router External memory equipment
11 binding module
111 registering unit
112 call units
113 acquiring units
114 share directory creating units
115 catalogue binding unit
12 configuration modules
13 share service opening module
S11 ~ S13 step
Embodiment
Below by way of specific instantiation, embodiments of the present invention are described, those skilled in the art the content disclosed by this instructions can understand other advantages of the present invention and effect easily.The present invention can also be implemented or be applied by embodiments different in addition, and the every details in this instructions also can based on different viewpoints and application, carries out various modification or change not deviating under spirit of the present invention.
The object of the present embodiment is the method and system providing data in a kind of share Router External memory equipment, needs manually to be configured and to configure loaded down with trivial details problem during for solving the data in prior art in share Router External memory equipment.Below by elaborate the present embodiment a kind of share Router External memory equipment in the principle of method and system of data and embodiment, make those skilled in the art not need creative work can understand the method and system of data in a kind of share Router External memory equipment of the present embodiment.
The present embodiment provides the method and system of data in a kind of share Router External memory equipment, mainly solve the data of zero configuration share Router External memory equipment, router external storage equipment mainly realizes shared data and off-line download function, and simple and effective data sharing function is extremely important.The present embodiment is especially for multiple storage device type, multiple file system format, the hot-plug equipment of multi partition, intelligence is bound equipment according to information on hot plug devices, and according to the configuration file of router and the multiple share service of apparatus bound Automatic generation of information, turn-on data share service, the share service function that zero configuration enables router can be realized, user is by after External memory equipment couple in router, the type of router automatic identification equipment, according to the file system format of memory device and partition table, equipment is bound, automatically the configuration file of share service is generated after apparatus bound, and enable the share service functions such as FTP (file transfer protocol (FTP)) and SAMBA (information service block agreement).
Particularly, as shown in Figure 1, the present embodiment provides the method for data in a kind of share Router External memory equipment, and in described share Router External memory equipment, the method for data comprises the following steps.
Step S11, when External memory equipment insertion is connected to router, the facility information according to described External memory equipment is specified share directory for described External memory equipment creates and described External memory equipment is tied to described appointment share directory under router share directory.
In the present embodiment, particularly, it is described when External memory equipment insertion is connected to router, described router specifically comprises for described External memory equipment creates to specify share directory and described External memory equipment is tied to described appointment share directory under router share directory according to the facility information of described External memory equipment: during in described router startup, the hot plug events of described External memory equipment is registered at router kernel, when described External memory equipment insertion is connected to router, trigger described hot plug events and by the kernel calls hot plug process function of described router, the subregion of described plug process function External memory equipment according to the name acquiring of described External memory equipment the file system obtained in each subregion for described External memory equipment creates the title appointment share directory identical with the title of described subregion under the share directory of described router, finally according to the form of described file system, described External memory equipment is tied to described appointment share directory.
Step S12, the binding information of described External memory equipment and the configuration information of router generate the share service configuration file for enabling described External memory equipment share service.
Wherein, described binding information at least comprises: the binding catalogue of described External memory equipment and the binding character set of described External memory equipment, and the configuration information of described router at least comprises: the username and password of router and the lan interfaces address network segment (i.e. LAN mouth IP network section) of described router.
Step S13, enables described External memory equipment share service according to described share service configuration file, thus makes the data sharing in described External memory equipment.
Particularly, in the present embodiment, described share service is file transfer protocol (FTP) (FTP) share service and/or information service block agreement (SAMBA) share service, and described share service configuration file should be file transfer protocol (FTP) share service configuration file and/or information service block agreement share service configuration file mutually.
In the share Router External memory equipment understanding in the present embodiment further for making those skilled in the art, the method for data, will further illustrate the implementation process of the method for data in share Router External memory equipment in the present embodiment below.
In share Router External memory equipment in the present embodiment, the method for data comprises the identification of various External memory equipment and binding and the automatic generating configuration file of router and starts these two parts of share service function composition.When there being External memory equipment couple in router, triggering and being registered in the hot plug events of kernel, calling processor, handling procedure according to installable file system form and partition table information by the shared sub-directory of apparatus bound to router; After apparatus bound, system generates the configuration file of share service according to the state of the information of equipment and router, starts share service function subsequently, realizes the function of zero configuration share Router external device data.
First be that External memory equipment is bound.The external memory device of router generally can be divided into USB flash disk, SD card and portable hard drive etc., these equipment can generate different device files after couple in router, can create with the device file of sda* name when USB flash disk and portable hard drive access, SD card can create with the device file of mmcblk* name.First the present embodiment registers the hot plug events for various device type at kernel, can trigger hot plug events when there being equipment access, calls corresponding process function and binds memory device.Particularly, as shown in Figure 2, just register the hot plug events of SD card and USB storage device to kernel during router startup, the implementor name that wherein the corresponding mmcblk of SD card is initial, USB stores the initial implementor name of corresponding sda, when there being External memory equipment to access, kernel can the hot plug process function of invoke user layer registration transmission equipment name and environmental variance, process function reads the partition table of corresponding device according to implementor name and environmental variance, its file system format is obtained for each subregion, the catalogue identical with zone name is created under router share directory, under binding it to corresponding catalogue according to the file system format of this subregion, wherein new technology file system uses ntfs-3g order to bind, other file system format uses mount order to bind, circulation calls share service program after all being bound by all for equipment subregions.
Being tied to by External memory equipment after under formulation share directory, then generate the share service configuration file enabling described External memory equipment share service.As shown in Figure 3, first share service program can check whether External memory equipment is bound, equipment does not exist, and exits, when External memory equipment exists, obtain the username and password of router successively, the binding catalogue of memory device, the character set of memory device binding and the lan interfaces address network segment (i.e. LAN mouth IP network section) of router, according to the main config option that these content spanned file host-host protocols (FTP) and information service block agreement (SAMBA) are served, other config options Use Defaults, the configuration file of generation is used to enable file transfer protocol (FTP) (FTP) and information service block agreement (SAMBA) share service function subsequently, realize zero configuration share Router External memory equipment data.
That is, various External memory equipment interfaces in routers, as USB storage, SD card and portable hard drive storage etc., at kernel registration hot plug events, the hot plug events of triggering system when External memory equipment couple in routers such as USB flash disk, SD cards, process function is according to the type of equipment, file system format and partition table information bound device.System is according to storing device information and the automatic spanned file host-host protocol (FTP) of router running status, information service block agreement (SAMBA) configuration file enable share service subsequently.Router is bound equipment according to the file system format of the type fetch equipment of access device and partition table, automatically generate the configuration file of share service according to facility information and route-map after binding, and enable share service function, now user can pass through the data of file transfer protocol (FTP) (FTP) and information service block agreement (SAMBA) client-access memory device.
In addition, the present embodiment also provides the system of data in a kind of share Router External memory equipment, and as shown in Figure 4, in described share Router External memory equipment, the system 1 of data comprises: binding module 11, configuration module 12 and share service opening module 13.
When described binding module 11 is connected to router for inserting at External memory equipment, the facility information according to described External memory equipment is specified share directory for described External memory equipment creates and described External memory equipment is tied to described appointment share directory under router share directory.
Particularly, as shown in Figure 5, in the present embodiment, described binding module 11 comprises: registering unit 111, call unit 112, acquiring unit 113, share directory creating unit 114 and catalogue binding unit 115.
Described registering unit 111 when described router startup, for registering the hot plug events of described External memory equipment at router kernel; Described call unit 112 is connected with described registering unit 111, for inserting the kernel calls hot plug process function be connected to by described router when router triggers described hot plug events at described External memory equipment; Described acquiring unit 113 is connected with described call unit 112, the subregion of External memory equipment and the file system that obtains in each subregion for utilizing described plug process function, according to the name acquiring of described External memory equipment; Described share directory creating unit 114 is connected with described acquiring unit 113, for being the appointment share directory that described External memory equipment establishment title is identical with the title of described subregion under the share directory of described router; Described catalogue binding unit 115 is connected with described share directory creating unit 114, for the form according to described file system, described External memory equipment is tied to described appointment share directory.
Described configuration module 12 is connected with described binding module 11, for generating the share service configuration file for enabling described External memory equipment share service according to the binding information of described External memory equipment and the configuration information of router.
Wherein, described binding information at least comprises: the binding catalogue of described External memory equipment and the binding character set of described External memory equipment; The configuration information of described router at least comprises: the username and password of router and the lan interfaces address network segment (i.e. LAN mouth IP network section) of described router.
Described share service opening module 13 is connected with described configuration module 12 with described binding module 11 respectively, for enabling described External memory equipment share service according to described share service configuration file, thus makes the data sharing in described External memory equipment.
Wherein, in the present embodiment, described share service is file transfer protocol (FTP) (FTP) share service and/or information service block agreement share service, and described share service configuration file should be file transfer protocol (FTP) (FTP) share service configuration file and/or information service block agreement (SAMBA) share service configuration file mutually.
In the share Router External memory equipment understanding in the present embodiment further for making those skilled in the art, the system 1 of data, will further illustrate the course of work of the system 1 of data in share Router External memory equipment in the present embodiment below.
In share Router External memory equipment in the present embodiment, the method for data comprises the identification of various External memory equipment and binding and the automatic generating configuration file of router and starts these two parts of share service function composition.When there being External memory equipment couple in router, triggering and being registered in the hot plug events of kernel, calling processor, handling procedure according to installable file system form and partition table information by the shared sub-directory of apparatus bound to router; After apparatus bound, system generates the configuration file of share service according to the state of the information of equipment and router, starts share service function subsequently, realizes the function of zero configuration share Router external device data.
First be that binding module 11 is bound for External memory equipment.The external memory device of router generally can be divided into USB flash disk, SD card and portable hard drive etc., these equipment can generate different device files after couple in router, can create with the device file of sda* name when USB flash disk and portable hard drive access, SD card can create with the device file of mmcblk* name.In the present embodiment, first registering unit 111 registers the hot plug events for various device type at kernel, can trigger hot plug events when there being equipment access, and call unit 112 calls corresponding process function and binds memory device.Particularly, as shown in Figure 2, during router startup, registering unit 111 just registers the hot plug events of SD card and USB storage device to kernel, the implementor name that wherein the corresponding mmcblk of SD card is initial, USB stores the initial implementor name of corresponding sda, when there being External memory equipment to access, call unit 112 can the hot plug process function of invoke user layer registration transmission equipment name and environmental variance by kernel, acquiring unit 113 reads the partition table of corresponding device according to implementor name and environmental variance by process function, its file system format is obtained for each subregion, share directory creating unit 114 creates the catalogue identical with zone name under router share directory, under catalogue binding unit 115 binds it to corresponding catalogue according to the file system format of this subregion, wherein new technology file system uses ntfs-3g order to bind, other file system format uses mount order to bind, circulation calls share service program after all being bound by all for equipment subregions.
Be tied to after under formulation share directory by External memory equipment in binding module 11, then configuration module 12 generates the share service configuration file enabling described External memory equipment share service.As shown in Figure 3, by share service program, first configuration module 12 can check whether External memory equipment is bound, equipment does not exist, and exits, when External memory equipment exists, configuration module 12 obtains the username and password of router successively, the binding catalogue of memory device, the character set of memory device binding and the lan interfaces address network segment (i.e. LAN mouth IP network section) of router, according to the main config option that these content spanned file host-host protocols (FTP) and information service block agreement (SAMBA) are served, other config options Use Defaults, share service opening module 13 uses the configuration file generated to enable file transfer protocol (FTP) (FTP) and information service block agreement (SAMBA) share service function subsequently, realize zero configuration share Router External memory equipment data.
That is, various External memory equipment interfaces in routers, as USB storage, SD card and portable hard drive storage etc., at kernel registration hot plug events, the hot plug events of triggering system when External memory equipment couple in routers such as USB flash disk, SD cards, process function is according to the type of equipment, file system format and partition table information bound device.System is according to storing device information and the automatic spanned file host-host protocol (FTP) of router running status, information service block agreement (SAMBA) configuration file enable share service subsequently.Router is bound equipment according to the file system format of the type fetch equipment of access device and partition table, automatically generate the configuration file of share service according to facility information and route-map after binding, and enable share service function, now user can pass through the data of file transfer protocol (FTP) (FTP) and information service block agreement (SAMBA) client-access memory device.
In sum, External memory equipment to be tied to appointment share directory in router by obtaining the facility information of External memory equipment by the present invention, and according to the binding information of External memory equipment and the automatic multiple generation of the configuration information of router for enabling the share service configuration file of described External memory equipment share service, finally enable described External memory equipment share service according to described share service configuration file, thus the data in described External memory equipment can be shared; The present invention can type, the title of the various External memory equipment of automatic equipment, and the appointment share directory automatically External memory equipment is tied to according to the file system type of External memory equipment and subregion in router, do not need user to carry out any configuration, realize the object of zero configuration data sharing; The present invention is simply efficient, has stronger versatility and practicality.So the present invention effectively overcomes various shortcoming of the prior art and tool high industrial utilization.
Above-described embodiment is illustrative principle of the present invention and effect thereof only, but not for limiting the present invention.Any person skilled in the art scholar all without prejudice under spirit of the present invention and category, can modify above-described embodiment or changes.Therefore, such as have in art usually know the knowledgeable do not depart from complete under disclosed spirit and technological thought all equivalence modify or change, must be contained by claim of the present invention.

Claims (10)

1. the method for data in share Router External memory equipment, is characterized in that: in described share Router External memory equipment, the method for data comprises:
When External memory equipment insertion is connected to router, the facility information according to described External memory equipment is specified share directory for described External memory equipment creates and described External memory equipment is tied to described appointment share directory under router share directory;
The share service configuration file for enabling described External memory equipment share service is generated according to the binding information of described External memory equipment and the configuration information of described router;
Enable described External memory equipment share service according to described share service configuration file, thus make the data sharing in described External memory equipment.
2. the method for data in share Router External memory equipment according to claim 1, it is characterized in that: described when External memory equipment insertion is connected to router, the facility information according to described External memory equipment specifically comprises for described External memory equipment creates to specify share directory and described External memory equipment is tied to described appointment share directory under router share directory:
When described router startup, the hot plug events of described External memory equipment is registered at router kernel, described External memory equipment insert be connected to router time, trigger described hot plug events and by the kernel calls hot plug process function of described router;
The subregion of described plug process function External memory equipment according to the name acquiring of described External memory equipment the file system obtained in each subregion for described External memory equipment creates the title appointment share directory identical with the title of described subregion under the share directory of described router;
Described External memory equipment is tied to described appointment share directory by the form according to described file system.
3. the method for data in share Router External memory equipment according to claim 1, is characterized in that: described binding information at least comprises: the binding catalogue of described External memory equipment and the binding character set of described External memory equipment.
4. the method for data in share Router External memory equipment according to claim 1, is characterized in that: the configuration information of described router at least comprises: the username and password of router and the lan interfaces address network segment of described router.
5. the method for data in share Router External memory equipment according to claim 1, is characterized in that: described share service is file transfer protocol (FTP) share service and/or information service block agreement share service; Described share service configuration file should be file transfer protocol (FTP) share service configuration file and/or information service block agreement share service configuration file mutually.
6. the system of data in share Router External memory equipment, is characterized in that: in described share Router External memory equipment, the system of data comprises:
Binding module, when being connected to router for inserting at External memory equipment, the facility information according to described External memory equipment is specified share directory for described External memory equipment creates and described External memory equipment is tied to described appointment share directory under router share directory;
Configuration module, is connected with described binding module, for generating the share service configuration file for enabling described External memory equipment share service according to the binding information of described External memory equipment and the configuration information of router;
Share service opening module, is connected with described configuration module with described binding module respectively, for enabling described External memory equipment share service according to described share service configuration file, thus makes the data sharing in described External memory equipment.
7. the system of data in share Router External memory equipment according to claim 6, is characterized in that: described binding module comprises:
Registering unit, when described router startup, for registering the hot plug events of described External memory equipment at router kernel;
Call unit, is connected with described registering unit, for inserting the kernel calls hot plug process function be connected to by described router when router triggers described hot plug events at described External memory equipment;
Acquiring unit, is connected with described call unit, the subregion of External memory equipment and the file system that obtains in each subregion for utilizing described plug process function, according to the name acquiring of described External memory equipment;
Share directory creating unit, is connected with described acquiring unit, for being the appointment share directory that described External memory equipment establishment title is identical with the title of described subregion under the share directory of described router;
Catalogue binding unit, is connected with described share directory creating unit, for the form according to described file system, described External memory equipment is tied to described appointment share directory.
8. the system of data in share Router External memory equipment according to claim 6, is characterized in that: described binding information at least comprises: the binding catalogue of described External memory equipment and the binding character set of described External memory equipment.
9. the system of data in share Router External memory equipment according to claim 6, is characterized in that: the configuration information of described router at least comprises: the username and password of router and the lan interfaces address network segment of described router.
10. the system of data in share Router External memory equipment according to claim 9, is characterized in that: described share service is file transfer protocol (FTP) share service and/or information service block agreement share service; Described share service configuration file should be file transfer protocol (FTP) share service configuration file and/or information service block agreement share service configuration file mutually.
CN201510626673.2A 2015-09-28 2015-09-28 Method and system for sharing data in external storage device in router Pending CN105117496A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510626673.2A CN105117496A (en) 2015-09-28 2015-09-28 Method and system for sharing data in external storage device in router

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510626673.2A CN105117496A (en) 2015-09-28 2015-09-28 Method and system for sharing data in external storage device in router

Publications (1)

Publication Number Publication Date
CN105117496A true CN105117496A (en) 2015-12-02

Family

ID=54665484

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510626673.2A Pending CN105117496A (en) 2015-09-28 2015-09-28 Method and system for sharing data in external storage device in router

Country Status (1)

Country Link
CN (1) CN105117496A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017097025A1 (en) * 2015-12-09 2017-06-15 上海斐讯数据通信技术有限公司 Samba configuration management method for network device and system
CN107729197A (en) * 2017-10-12 2018-02-23 郑州云海信息技术有限公司 A kind of abnormality detection method and device
CN108881441A (en) * 2018-06-21 2018-11-23 惠州高盛达科技有限公司 Shared online playback method and its system based on router
WO2019029183A1 (en) * 2017-08-09 2019-02-14 中兴通讯股份有限公司 Storage device access method, apparatus, storage medium and processor
CN117827768A (en) * 2024-03-05 2024-04-05 国网江西省电力有限公司电力科学研究院 USB flash disk file resource management method and system based on FTP

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101461232A (en) * 2006-04-18 2009-06-17 马维尔半导体有限公司 Shared memory multi video channel display apparatus and methods
CN101599970A (en) * 2009-07-14 2009-12-09 中国联合网络通信集团有限公司 Home gateway is shared storage implementation method and device
WO2011076113A1 (en) * 2009-12-22 2011-06-30 华为终端有限公司 Method for visiting usb device in home gateway, home gateway and terminal
CN103888527A (en) * 2014-03-13 2014-06-25 小米科技有限责任公司 Data sharing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101461232A (en) * 2006-04-18 2009-06-17 马维尔半导体有限公司 Shared memory multi video channel display apparatus and methods
CN101599970A (en) * 2009-07-14 2009-12-09 中国联合网络通信集团有限公司 Home gateway is shared storage implementation method and device
WO2011076113A1 (en) * 2009-12-22 2011-06-30 华为终端有限公司 Method for visiting usb device in home gateway, home gateway and terminal
CN103888527A (en) * 2014-03-13 2014-06-25 小米科技有限责任公司 Data sharing method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017097025A1 (en) * 2015-12-09 2017-06-15 上海斐讯数据通信技术有限公司 Samba configuration management method for network device and system
WO2019029183A1 (en) * 2017-08-09 2019-02-14 中兴通讯股份有限公司 Storage device access method, apparatus, storage medium and processor
CN107729197A (en) * 2017-10-12 2018-02-23 郑州云海信息技术有限公司 A kind of abnormality detection method and device
CN108881441A (en) * 2018-06-21 2018-11-23 惠州高盛达科技有限公司 Shared online playback method and its system based on router
CN117827768A (en) * 2024-03-05 2024-04-05 国网江西省电力有限公司电力科学研究院 USB flash disk file resource management method and system based on FTP

Similar Documents

Publication Publication Date Title
CN105117496A (en) Method and system for sharing data in external storage device in router
CN109547570A (en) Service registration method, apparatus, registration center's management equipment and storage medium
CN109951325B (en) Network cable connection checking method and device
CN100471139C (en) System and method for network test
CN102833323B (en) Method and system for remote control of controlled terminal by server
CN107483243A (en) A kind of automatic deployment method and equipment of OpenStack platforms
CN111901177B (en) Bare metal server network configuration method, system and related equipment
WO2020052438A1 (en) Game rendering method and apparatus, terminal, and non-transitory computer-readable storage medium
EP3244569A1 (en) Asset information management method and device
WO2020024413A1 (en) Method for controlling deployment of cloud computing platform, server, and storage medium
CN104104720A (en) Server cluster management method and system
CN109120444B (en) Cloud resource management method, processor and storage medium
CN108390795B (en) Household appliance and monitoring method thereof, smart home system and readable storage medium
CN110493028A (en) A kind of clustered deploy(ment) method, system, device and computer readable storage medium
CN109445801A (en) A kind of method and apparatus detecting bare machine network interface card information
WO2016197643A1 (en) Method and device for implementing vnf deployment
CN114024853B (en) Hardware information collection method and system of bare metal node and related components
CN113419815A (en) Method, system, equipment and medium for pre-starting operation environment installation
CN111542035A (en) Cloud service connection method, system and related equipment
CN112748961A (en) Method and device for executing starting task
EP3893451A1 (en) Network isolation method and apparatus based on user mode protocol stack
CN114070755B (en) Virtual machine network flow determination method and device, electronic equipment and storage medium
CN110809045B (en) Data communication method and related equipment thereof
CN109788034B (en) Configuration method for gateway access equipment, electronic equipment and storage medium
CN112099902A (en) Network adapter configuration method and device of virtual machine, electronic device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151202

RJ01 Rejection of invention patent application after publication