CN103858407B - File processing method, device and system - Google Patents

File processing method, device and system Download PDF

Info

Publication number
CN103858407B
CN103858407B CN201380003168.1A CN201380003168A CN103858407B CN 103858407 B CN103858407 B CN 103858407B CN 201380003168 A CN201380003168 A CN 201380003168A CN 103858407 B CN103858407 B CN 103858407B
Authority
CN
China
Prior art keywords
file
equipment
shared
user equipment
visited
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.)
Active
Application number
CN201380003168.1A
Other languages
Chinese (zh)
Other versions
CN103858407A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN103858407A publication Critical patent/CN103858407A/en
Application granted granted Critical
Publication of CN103858407B publication Critical patent/CN103858407B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/178Techniques for file synchronisation in file systems
    • G06F16/1794Details of file format conversion
    • 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 embodiment of the present invention provides a file processing method, device and system. The method comprises: receiving an access request sent by user equipment; according to the access request, accessing share-file system directory of equipment to be accessed and obtaining the share file of the equipment to be accessed; and if the file type supported by user equipment corresponding to an identification of the user equipment is not same with the file type supported by the equipment to be accessed corresponding to an identification of the equipment to be accessed, according to the file type supported by the user equipment and the file type of the equipment to be accessed, transforming the share file type and sending the share file after transforming to the user equipment. The embodiment of the present invention, by carrying out a transmitting process of the share file type, realizes the intercommunication among the equipments without increasing hardware cost and complex drive program development.

Description

The processing method of file, apparatus and system
Technical field
The present embodiments relate to the network communications technology, more particularly to a kind of processing method of file, apparatus and system.
Background technology
At present, need to be communicated between many equipment, do not unite in order to allow two information exchanges to there is standard criterion One two equipment have the ability being in communication with each other, and the measure mainly taken has following several:The first is in the two equipment It is upper to increase compatible hardware module, and the agreement for interconnecting between networks(Internet Protocol, abbreviation IP)Build in agreement A set of new agreement is found, and in HTML (Hypertext Markup Language)(Hyper Text Transfer Protocol, abbreviation HTTP)And reality When host-host protocol(Real-time Transport Protocol, abbreviation RTP)Set up a set of new on the two host-host protocols Agreement;The hardware module for being to increase on the two equipment compatibility second, and in standard transport layers such as bottom ethernet, USB On set up a set of new agreement;The third is the hardware module for increasing compatibility on the two equipment, and in bottom ethernet agreement Set up a set of new agreement in standard transport layer, and new transmission and control protocol are set up in increased compatible hardware module.
But, the new association complicated by increasing the hardware module or exploitation of compatibility on the two equipment in prior art View realizes the file-sharing of equipment room, but because the software type and quantity of the locally-installed reading and writing of files of user equipment have Limit, even if causing to realize being in communication with each other also realizing the normal read-write to shared file.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of processing method of file, apparatus and system, it is possible to achieve Yong Hushe The normal read-write to shared file is realized between standby.
In a first aspect, the embodiment of the present invention provides a kind of processing method of file, including:
Using the access request sent with data center apparatus receive user equipment, the access request includes the user The mark of the mark of equipment, equipment to be visited, and the shared-file system catalogue of the equipment to be visited, the shared file System directory is the catalogue that the confession other equipment that the equipment to be visited is arranged accesses its own shared file;
The application and data center apparatus access the shared file system of the equipment to be visited according to the access request System catalogue, obtains the shared file of the equipment to be visited;
If the corresponding user equipment of mark of the user equipment supports the type and the shared-file system mesh of file The corresponding equipment to be visited of mark of equipment to be visited described in record supports that the type of file is differed, then the application sum The file type supported according to the user equipment according to central apparatus supports the type of file with the equipment to be visited, will be described The type of shared file is converted into the type that the corresponding user equipment of mark of the user equipment supports file, and after changing Shared file be sent to the user equipment.
In the first possible implementation of first aspect, also include:
The application and data center apparatus receive the registration request that the user equipment sends, the registration request bag Include:The shared-file system catalogue of the user equipment and shared file, the mark of the user equipment and corresponding described The file type that user equipment is supported;
The application and data center apparatus preserve the mark and correspondence of the user equipment according to the registration request The file type supported of the user equipment, and by the shared-file system catalogue and shared file carry of the user equipment In file system name space;
If carry success, the corresponding user equipment of mark of the application and data center apparatus to the user equipment Registration reply message is returned, the registration reply message includes:The successful registering result of carry and share to the user and set The shared-file system catalogue of the standby other users equipment in addition to the user equipment.
According to the first possible implementation of first aspect or first aspect, second in first aspect may Implementation in, the registration request also include ID, then methods described also include:
The application and data center apparatus are the ID configuration access authority, and the access rights are used for labelling Whether the ID corresponding user be able to access that the shared file of the equipment to be visited and/or can wait to visit to described The shared file for asking equipment is processed.
According to second possible implementation of first aspect, in the third possible implementation of first aspect In, the access request includes ID, then the application and data center apparatus access described according to the access request The shared-file system catalogue of equipment to be visited, obtains the shared file of the equipment to be visited, including:
The application and data center apparatus obtain the corresponding access rights of the ID, if the ID pair The access rights answered are able to access that the shared file of the equipment to be visited, then the application and data center apparatus access described The shared-file system catalogue of equipment to be visited, obtains the shared file of the equipment to be visited;
Then the application and data center apparatus are asked according to the user operation, the shared text to the equipment to be visited Part is correspondingly processed, including:
The application and data center apparatus obtain the corresponding access rights of the ID, if the ID pair The access rights answered can be processed the shared file of the equipment to be visited, then asked according to the user operation, right The shared file of the equipment to be visited is correspondingly processed.
Second aspect, a kind of processing method of file of the embodiment of the present invention, including:
User equipment sends access request by file-sharing interface to application and data center apparatus, and the access please Ask mark, the mark of equipment to be visited including user equipment, and the shared-file system catalogue of the equipment to be visited;With For the application and data center apparatus according to the access request, the shared-file system mesh of the equipment to be visited is accessed Record, obtains the shared file of the equipment to be visited;
If the corresponding user equipment of mark of the user equipment supports the type and the shared-file system mesh of file The corresponding equipment to be visited of mark of equipment to be visited described in record supports that the type of file is differed, then the user equipment Receive the application and data center apparatus to be supported with the equipment to be visited according to the file type that the user equipment is supported The type of file, to the type of the shared file the corresponding user equipment support text of mark of the user equipment is converted into The shared file of the type of part.
In the first possible implementation of second aspect, including:
The user equipment to the application and data center apparatus send registration request, and the registration request includes:Institute The shared-file system catalogue and shared file of user equipment are stated, the mark of the user equipment and the corresponding user set The standby file type supported, so that the application and data center apparatus preserve the mark of the user equipment and corresponding institute The file type of user equipment support is stated, and by the shared-file system catalogue and shared file carry of the user equipment in text In part system name space;
The user equipment receives the registration reply message that the application and data center apparatus are returned, the registration response Message includes:The successful registering result of carry and share to the user equipment in addition to the user equipment other use The shared-file system catalogue of family equipment.
The third aspect, the embodiment of the present invention provides a kind of processing meanss of file, including:
Transceiver module, for the access request that receive user equipment sends, the access request includes the user equipment Mark, the mark of equipment to be visited, and the shared-file system catalogue of the equipment to be visited, the shared-file system Catalogue is the catalogue that the confession other equipment that the equipment to be visited is arranged accesses its own shared file;
Acquisition module, for according to the access request, accessing the shared-file system catalogue of the equipment to be visited, obtains Take the shared file of the equipment to be visited;
File type conversion module, if the corresponding user equipment of mark for the user equipment supports the type of file Equipment to be visited corresponding with the mark of equipment to be visited described in the shared-file system catalogue supports the type of file Differ, then the file type supported according to the user equipment supports the type of file with the equipment to be visited, will be described The type of shared file is converted into the type that the corresponding user equipment of mark of the user equipment supports file, and after changing Shared file be sent to the user equipment;
In the first possible implementation of the third aspect, the transceiver module is additionally operable to receive the user and sets The registration request that preparation is sent, the registration request includes:The shared-file system catalogue of the user equipment and shared file, institute State the file type that the mark and the corresponding user equipment of user equipment are supported;
Correspondingly, described device also includes:
Carry module, for according to the registration request, preserving the mark and the corresponding use of the user equipment The file type that family equipment is supported, and by the shared-file system catalogue and shared file carry of the user equipment in file system In system NameSpace;
If the transceiver module is additionally operable to the carry module carry success, the mark to the user equipment is corresponding User equipment returns registration reply message, and the registration reply message includes:The successful registering result of carry and share to institute State the shared-file system catalogue of the other users equipment in addition to the user equipment of user equipment.
According to the first possible implementation of the third aspect or the third aspect, second in the third aspect may Implementation in, the registration request that the transceiver module is received also includes ID, then described device also includes:
Permission configuration module, for for the ID configuration access authority, the access rights to be used for the labelling Whether the corresponding user of ID is able to access that the shared file of the equipment to be visited and/or to be visited can set to described Standby shared file is processed.
According to second possible implementation of the third aspect, in the third possible implementation of the third aspect In, the access request that the transceiver module is received includes ID, then the acquisition module, specifically for:
The corresponding access rights of the ID are obtained, if the corresponding access rights of the ID are able to access that institute The shared file of equipment to be visited is stated, then accesses the shared-file system catalogue of the equipment to be visited, obtained described to be visited The shared file of equipment;
The then processing module, specifically for:
The corresponding access rights of the ID are obtained, if the corresponding access rights of the ID can be to described The shared file of equipment to be visited is processed, then asked according to the user operation, the shared text to the equipment to be visited Part is correspondingly processed.
Fourth aspect, the embodiment of the present invention provides a kind of processing meanss of file, including:
Sending module, for by file-sharing interface, to application and data center apparatus access request, the visit being sent Ask mark, the mark of equipment to be visited that request includes user equipment, and the shared-file system mesh of the equipment to be visited Record;So that the application and data center apparatus are according to the access request, the shared file system of the equipment to be visited is accessed System catalogue, obtains the shared file of the equipment to be visited;
Receiver module, if the corresponding user equipment of mark for the user equipment supports that the type of file is common with described The corresponding equipment to be visited of mark for enjoying equipment to be visited described in file system directories supports that the type of file is differed, then Receive the application and data center apparatus to be supported with the equipment to be visited according to the file type that the user equipment is supported The type of file, to the type of the shared file the corresponding user equipment support text of mark of the user equipment is converted into The shared file of the type of part.
In the first possible implementation of fourth aspect, the sending module is additionally operable to the application sum Registration request is sent according to central apparatus, the registration request includes:The shared-file system catalogue of the user equipment and shared The file type that file, the mark of the user equipment and the corresponding user equipment are supported, for the application sum The file type that the mark and the corresponding user equipment for preserving the user equipment according to central apparatus is supported, and will be described The shared-file system catalogue and shared file carry of user equipment is in file system name space;
The receiver module, is additionally operable to receive the registration reply message that the application and data center apparatus are returned, described Registration reply message includes:The successful registering result of carry and share to the user equipment in addition to the user equipment Other users equipment shared-file system catalogue.
5th aspect, the embodiment of the present invention provides a kind of application and data center apparatus, including processor, communication interface, Memorizer and bus, the processor, the communication interface, the memorizer complete mutual leading to by the bus Letter, the communication interface is used to be communicated with other equipment, wherein:
The communication interface, for the access request that receive user equipment sends, the access request includes the user The mark of the mark of equipment, equipment to be visited, and the shared-file system catalogue of the equipment to be visited, the shared file System directory is the catalogue that the confession other equipment that the equipment to be visited is arranged accesses its own shared file;
The processor, for according to the access request, accessing the shared-file system catalogue of the equipment to be visited, Obtain the shared file of the equipment to be visited;
The processor, if the corresponding user equipment of mark for being additionally operable to the user equipment supports type and the institute of file The corresponding equipment to be visited of mark for stating equipment to be visited described in shared-file system catalogue supports the type of file not phase Together, then the file type supported according to the user equipment and the type of the equipment support file to be visited, described will share The type of file is converted into the type that the corresponding user equipment of mark of the user equipment supports file, and by conversion after be total to Enjoy file and be sent to the user equipment.
In the first possible implementation of the 5th aspect, the communication interface is additionally operable to receive the user and sets The registration request that preparation is sent, the registration request includes:The shared-file system catalogue of the user equipment and shared file, institute State the file type that the mark and the corresponding user equipment of user equipment are supported;
The memorizer, for according to the registration request, preserving the mark of the user equipment and corresponding described The file type that user equipment is supported, and by the shared-file system catalogue and shared file carry of the user equipment in file In system name space;
The communication interface, if for carry success, returning to the corresponding user equipment of mark of the user equipment Registration reply message, the registration reply message includes:The successful registering result of carry and share to the user equipment The shared-file system catalogue of the other users equipment in addition to the user equipment.
According to the 5th aspect or the first possible implementation of the 5th aspect, second at the 5th aspect may Implementation in, the registration request that the communication interface is received also includes ID, then the processor, is additionally operable to For the ID configuration access authority, whether the access rights can for the corresponding user of ID described in labelling Access the shared file of the equipment to be visited and/or the shared file of the equipment to be visited can be processed.
According to second possible implementation of the 5th aspect, in the third possible implementation of the 5th aspect In, the access request that the communication interface is received includes ID, then the processor, specifically for:
The corresponding access rights of the ID are obtained, if the corresponding access rights of the ID are able to access that institute The shared file of equipment to be visited is stated, then accesses the shared-file system catalogue of the equipment to be visited, obtained described to be visited The shared file of equipment;
The then processor, specifically for:
The corresponding access rights of the ID are obtained, if the corresponding access rights of the ID can be to described The shared file of equipment to be visited is processed, then asked according to the user operation, the shared text to the equipment to be visited Part is correspondingly processed.
6th aspect, the embodiment of the present invention provides a kind of user equipment, including processor, communication interface, memorizer and Bus, the processor, the communication interface, the memorizer complete mutual communication, the communication by the bus Interface is used to be communicated with other equipment, wherein:
The communication interface, for by file-sharing interface, to application and data center apparatus access request, institute being sent State mark, the mark of to be visited equipment of the access request including user equipment, and the shared file system of the equipment to be visited System catalogue;So that the application and data center apparatus are according to the access request, the shared text of the equipment to be visited is accessed Part system directory, obtains the shared file of the equipment to be visited;
The communication interface, if the corresponding user equipment of mark for being additionally operable to the user equipment support the type of file with The corresponding equipment to be visited of mark of equipment to be visited described in the shared-file system catalogue supports the type of file not It is identical, then receive file type that the application and data center apparatus are supported according to the user equipment and to be visited set with described The type of standby support file, to the type of the shared file the corresponding user equipment of mark of the user equipment is converted into Support the shared file of the type of file.
In the first possible implementation of the 6th aspect, the communication interface is additionally operable to the application sum Registration request is sent according to central apparatus, the registration request includes:The shared-file system catalogue of the user equipment and shared The file type that file, the mark of the user equipment and the corresponding user equipment are supported, for the application sum The file type that the mark and the corresponding user equipment for preserving the user equipment according to central apparatus is supported, and will be described The shared-file system catalogue and shared file carry of user equipment is in file system name space;
The communication interface, is additionally operable to receive the registration reply message that the application and data center apparatus are returned, described Registration reply message includes:The successful registering result of carry and share to the user equipment in addition to the user equipment Other users equipment shared-file system catalogue.
7th aspect, the embodiment of the present invention provides a kind of processing system of file, including application and data center apparatus and Multiple user equipmenies, wherein:
The application and data center apparatus are the 5th aspect, the 5th aspect the first to the 5th kind it is arbitrary may realization side Application and data center apparatus described in formula;
User equipment in terms of the user equipment is the 6th or in terms of the 6th described in the first possible implementation.
The embodiment of the present invention by carrying out conversion process to shared file type, with solve due to user equipment it is locally-installed Reading and writing of files software type and limited amount, even if causing to realize being in communication with each other and also cannot realize the reading to shared file Write.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are these Some bright embodiments, for those of ordinary skill in the art, without having to pay creative labor, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the flow chart of the processing method embodiment one of file of the present invention;
Fig. 2 is the application scenario diagram of the processing method embodiment two of file of the present invention;
Fig. 3 is the flow chart of the processing method embodiment three of file of the present invention;
Fig. 4 is the flow chart of the processing method embodiment five of file of the present invention;
Fig. 5 is the structure chart of the processing meanss embodiment one of file of the present invention;
Fig. 6 is the structure chart of the processing meanss embodiment two of file of the present invention;
Fig. 7 is the structure chart of the processing meanss embodiment three of file of the present invention;
Fig. 8 is the structure chart of present invention application and data center apparatus embodiment one;
Fig. 9 is the structure chart of user equipment embodiment one of the present invention;
Figure 10 is the Organization Chart of the processing system embodiment one of file of the present invention.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Fig. 1 is the flow chart of the processing method embodiment one of file of the present invention, and the executive agent of this method is the place of file Reason device, the device can be server apparatus, for example using and data center apparatus.As shown in figure 1, the method is specifically wrapped Include:
The access request that step 101, application and data center apparatus receive user equipment send, the access request includes should The mark of the mark of user equipment, equipment to be visited, and the shared-file system catalogue of the equipment to be visited, the shared file System directory is the catalogue that the confession other equipment that the equipment to be visited is arranged accesses its own shared file.
In the present embodiment, the user equipment mark can be user equipment hardware address, manufacturer mark or Person's unit type etc. is identified, as can be with the attribute information of the unique mark user equipment.
Step 102, the application and data center apparatus access the shared file of the equipment to be visited according to the access request System directory, obtains the shared file of the equipment to be visited.
In the present embodiment, alternatively, the processing meanss of file can be sent out with receive user equipment by file sharing protocol The shared-file system catalogue of the user equipment for sending and shared file, and by the shared-file system catalogue of the user equipment and Shared file carry in server apparatus, such as using the file system name space with data center apparatus in, so as to connect After receiving access request, such that it is able to access the shared-file system catalogue of the equipment to be visited, the equipment to be visited is obtained Shared file.
If the corresponding user equipment of mark of step 103, the user equipment supports type and the shared file system of file The corresponding equipment to be visited of the mark of the equipment to be visited supports that the type of file is differed in system catalogue, then this applies sum The file type supported according to the user equipment according to central apparatus and the equipment to be visited support the type of file, by the shared text The type of part is converted into the type that the corresponding user equipment of mark of the user equipment supports file, and by conversion after shared text Part is sent to the user equipment.
In the present embodiment, there may be what is compatible can not accessed between different type and the various user equipmenies of application The form of the raw video image file that the monitoring of file type, for example, by taking video file as an example, such as monitoring device is generated For Audio Video Interleaved(Audio Video Interleaved, abbreviation AVI)Form, and if user equipment, such as mobile phone, Only support dynamic image expert group -4(Moving Pictures Experts Group/Motion Pictures Experts Group-4, abbreviation MP4)The file of form, therefore, when mobile phone needs the video file of accessing monitoring equipment, then the process of file Device needs the shared-file system catalogue of accessing monitoring equipment, obtains the shared file of the monitoring device, i.e. video file, and File format is converted into into the video file that file format is MP4 forms for the video file of AVI format, then by after conversion The video file of MP4 forms is sent to mobile phone.
In the present embodiment, the access request for being sent by receive user equipment, and according to the access request, access this and treat The shared-file system catalogue of access equipment, obtains the shared file of the equipment to be visited, if the mark correspondence of the user equipment User equipment support the equipment to be visited support corresponding with the mark of the equipment to be visited of the type of file file class When type is differed, the type of the file type supported according to the user equipment and equipment support file to be visited is shared to this The type of file carries out conversion process, and the shared file after conversion is sent to into user equipment, is treated due to can directly access The shared-file system catalogue of access equipment, obtains the shared file of equipment to be visited, it is possible to by the shared of equipment to be visited File is converted into the file format that equipment to be visited is supported, therefore, compared to prior art because user equipment is locally-installed Even if the software type and limited amount of reading and writing of files cause to realize being in communication with each other also cannot realize the read-write to shared file, this Inventive embodiments realize the normal read-write of the shared file between each user equipment.
Fig. 2 is the application scenario diagram of the processing method embodiment two of file of the present invention, in the present embodiment, with the place of file The application scenarios of reason method are as a example by home network, as shown in Fig. 2 the home network can include user equipment, wireless routing Device, data communication exchange and application and data center(App&Data Center, abbreviation ADC)Server.Wherein, user Equipment can specifically include parlor electric equipment, family's monitoring device, field of kitchen electric appliance equipment, mobile phone and PC;Each use Exchanged by data communication between the equipment of family and be connected with ADC, ADC plays a part of one family data center.Each equipment and number There is the form more than comparison according to the communication protocol between communication switchboard, for example:Having on Ethernet, Ethernet for wired connection is carried Point-to-point connection protocol(Point to point protocol over Ethernet, abbreviation PPPoE), frame relay etc., nothing The presence or absence of line connection line fidelity(Wireless Fidelity, abbreviation WIFI), bluetooth, near field communication (NFC)(Near Field Communication, abbreviation NFC)Etc..The function of these agreements is all to provide communication, in various communication protocols, The shared-file system catalogue and shared file of user equipment can be provided.
In addition, can be with built-in various specific features on each user equipment, such as speaker, sound head, photographic head, each The sensor of type, these are all managed on a user device in the way of facility inventory and file;Also there is oneself simultaneously Functional process unit, such as media decoding broadcast unit, Power Management Unit etc., these are all the uses of catalogue and file Person, is controlled by controlling file.User equipment is connected on network by network interface, externally provides shared-file system Catalogue and shared file, and file-sharing interface.
Fig. 3 is the flow chart of the processing method embodiment three of file of the present invention, and the executive agent of this method is the place of file Reason device, the device can be specially server apparatus, for example using and data center apparatus.With the family shown in above-mentioned Fig. 2 As a example by the application scenarios of network, the technical scheme of the present embodiment is discussed in detail, as shown in figure 3, the method is specifically included:
Step 301, the application and data center apparatus receive the registration request that the user equipment sends, the registration request bag Include:The shared-file system catalogue of the user equipment and shared file, the mark of the user equipment and the corresponding user set The standby file type supported.
In the present embodiment, can be provided with advance on user equipment using the IP address with data center, so that the use , according to the application and the IP address of data center apparatus, sending registration to corresponding application and data center apparatus please for family equipment Ask.
Step 302, the application and data center apparatus preserve the mark of the user equipment and right according to the registration request The file type that the user equipment answered is supported, and the shared-file system catalogue and shared file carry of the user equipment are existed In file system name space.
If step 303, carry success, the corresponding user of mark of the application and data center apparatus to the user equipment Equipment returns registration reply message, and the registration reply message includes:The successful registering result of carry and share to the user and set The shared-file system catalogue of the standby other users equipment in addition to the user equipment.
In the present embodiment, for example, table one is the shared text of the other equipment that can be accessed in family's monitoring device The system directory of part.
Table one
As shown in Table 1, for example, mobile phone can open Camera.dev with the camera software of standard, can clap Photo, while open pick up file Tone_arm.dev just can record a video, opens Speaker.dev, it is possible to which voice is passed It is defeated to go to play to family's monitoring device.
The access request that step 304, application and data center apparatus receive user equipment send, the access request includes should The mark of the mark of user equipment, equipment to be visited, and the shared-file system catalogue of the equipment to be visited, the shared file System directory is the catalogue that the confession other equipment that the equipment to be visited is arranged accesses its own shared file.
Step 305, the application and data center apparatus access the shared file of the equipment to be visited according to the access request System directory, obtains the shared file of the equipment to be visited.
If the corresponding user equipment of mark of step 306, the user equipment supports type and the shared file system of file The corresponding equipment to be visited of the mark of the equipment to be visited supports that the type of file is differed in system catalogue, then this applies sum The file type supported according to the user equipment according to central apparatus and the equipment to be visited support the type of file, by the shared text The type of part is converted into the type that the corresponding user equipment of mark of the user equipment supports file, and by conversion after shared text Part is sent to the user equipment.
In the present embodiment, for example, in male owner goes on business, the ADC files for being mounted to mobile phone are checked by mobile phone System space, is opening file “ family Jian Kongshebei Camera.dev " just it can directly be seen that the video text of monitor in real time Part.It was found that family old man is speaking with two children, two children are crying.Male owner by mobile phone open " family monitoring set Standby Speaker.dev " just can speak on mobile phone, and play on the loudspeaker of monitoring device;And monitor in real time picture is simultaneously The activity of theirs at home can be seen, their sound can be heard.Meanwhile, male owner by open " family monitoring set It is standby History " history video file below catalogue, it will be appreciated that the process of thing.
Another scene, during the hostess goes on business, the ADC file system spaces for being mounted to mobile phone is checked by mobile phone, When opening file " family's monitoring device Camera.dev ", ADC has found that mobile phone does not support the file access of dev forms, only The file format of MP4 is held, now dev forms are converted into ADC the file of MP4, such hostess just can directly be seen that in real time Video monitoring.Such as find that child falls asleep on the sofa of parlor, just " parlor electric equipment " electricity below by opening Depending on related file, living-room TV is closed;By opening " parlor electric equipment " related file of air-conditioning below, sky Temperature regulating is adjusted to suitable temperature.
Another scene, Mr. Wen is 35 years old man, and father and mother, parents-in-law separately live, oneself three-person household, household appliances Equipment is linked into the network of ADC service providers, while the father and mother of oneself, the family of parents-in-law are also linked into the net of ADC service providers Network.Mr. Wen can access all devices of these three families.Mr. Wen hears the application software of a video monitoring, can be with By the real time imaging for analyzing photographic head, Falls Among Old People is automatically detected, short message alarm and phonic warning are sent automatically.Then it is literary Mr. starts this application software in ADC service providers.So, family someone falls and just can at once receive short message alarm and voice Alarm, Mr. Wen can be connected to ADC by mobile phone, be observed conditions by photographic head.
In the present embodiment, by by the shared-file system catalogue and shared file carry of the user equipment in file system In system NameSpace, it is possible to share to the shared file of the other users equipment in addition to the user equipment of the user equipment System directory, so as to user equipment can be accessed according to the shared file file system directories of the other users equipment for receiving The shared-file system catalogue of other users equipment, and its corresponding shared file is obtained, it is achieved thereby that different users sets Shared file can be normally accessed between standby.
Further, in the example IV of the processing method of file of the present invention, in above-mentioned Fig. 1 or embodiment illustrated in fig. 3 On the basis of, the access request also includes:User operation is asked, then the method can further include:
According to the user operation request, the shared file of the equipment to be visited is correspondingly processed, such as delete, add Plus or modification etc. process.
In the present embodiment, for example, according to the user operation request, the shared file of the equipment to be visited is carried out The specific implementation for correspondingly processing can be:" parlor electric equipment " related file of air-conditioning below is being obtained, then may be used So that according to user operation, to air-conditioning, related file carries out respective handling, such as by the numerical value in the related file of the air-conditioning more New modification realizes air-conditioner temperature to be adjusted to suitable temperature.
Alternatively, the registration request can also include ID, then the method can further include:
The application and data center apparatus are the ID configuration access authority, and the access rights are for the labelling user Identify whether corresponding user is able to access that the shared file of the equipment to be visited and/or the equipment to be visited can be shared File is processed.
Alternatively, the access request can include ID, then one kind of step 102 or step 305 is implemented Mode is:
The application and data center apparatus obtain the corresponding access rights of the ID, if the corresponding visit of the ID The shared file that authority is able to access that the equipment to be visited is asked, then the application and data center apparatus access the equipment to be visited Shared-file system catalogue, obtains the shared file of the equipment to be visited;
Then the application and data center apparatus are carried out according to the user operation request to the shared file of the equipment to be visited Correspondingly process, including:
The application and data center apparatus obtain the corresponding access rights of the ID, if the corresponding visit of the ID Ask that authority can be processed the shared file of the equipment to be visited, then according to user operation request, this to be visited is set Standby shared file is correspondingly processed.
In the present embodiment, by the way that to ID configuration access authority, the user for realizing different rights accesses different Shared file, to improve the safety and motility that manage each user equipment shared file.
Fig. 4 is the flow chart of the processing method embodiment five of file of the present invention, and the executive agent of this method is the place of file Reason device, the device can be specially user equipment, such as family's monitoring device or mobile device etc..As shown in figure 4, the party Method is specifically included:
Step 401, user equipment send access request by file-sharing interface to application and data center apparatus, should Access request includes mark, the mark of equipment to be visited of user equipment, and the shared-file system mesh of the equipment to be visited Record;So that the application and data center apparatus are according to the access request, the shared-file system catalogue of the equipment to be visited is accessed, Obtain the shared file of the equipment to be visited.
In the present embodiment, application and data center apparatus can perform the technical side of embodiment of the method shown in Fig. 1 or Fig. 2 Case, it realizes that principle is similar, and here is omitted.
In addition, in the present embodiment, user equipment can need to share according to the configuration of itself and application from local selection File.By taking family's monitoring device as an example, family's monitoring device can choose the video file that shared file can be monitoring. By taking mobile device as an example, it can be photo and/or document content that mobile device can select shared file.
If the corresponding user equipment of mark of step 402, the user equipment supports type and the shared file system of file The corresponding equipment to be visited of the mark of the equipment to be visited supports that the type of file is differed in system catalogue, then the user equipment Receive the application and data center apparatus and file is supported with the equipment to be visited according to the file type that the user equipment is supported Type, the type of the file shared to this is converted into the type of the corresponding user equipment support file of mark of the user equipment Shared file.
In the present embodiment, by file-sharing interface, access request, the access are sent to application and data center apparatus Request includes mark, the mark of equipment to be visited of user equipment, and the shared-file system catalogue of the equipment to be visited;With For the application and data center apparatus according to the access request, the shared-file system catalogue of the equipment to be visited is accessed, obtained The shared file of the equipment to be visited;If the corresponding user equipment of mark of the user equipment supports that the type of file is waited to visit with this The corresponding equipment to be visited of mark of the equipment asked supports the file that the type of file is differed, then supported according to the user equipment Type supports that the type of the type of file, the file shared to this carries out conversion process with the equipment to be visited, and after changing Shared file be sent to the user equipment;Receive the shared file after the conversion that the application and data center apparatus are returned; Because application and data center apparatus can directly access the shared-file system catalogue of equipment to be visited, equipment to be visited is obtained Shared file, it is possible to the shared file of equipment to be visited is converted into into the file format that equipment to be visited is supported, therefore, this Inventive embodiments realize the shared file of normal access between each equipment.
Further, in the processing method embodiment six of the file of the present invention, in the base of the embodiment shown in above-mentioned Fig. 4 On plinth, the method can also include:
The user equipment to the application and data center apparatus send registration request, and the registration request includes:The user sets The file that standby shared-file system catalogue and shared file, the mark of the user equipment and the corresponding user equipment are supported Type, so that the application and data center apparatus preserve the text that the mark of the user equipment and the corresponding user equipment are supported Part type, and by the shared-file system catalogue and shared file carry of the user equipment in file system name space;
The user equipment receives the registration reply message that the application and data center apparatus are returned, the registration reply message bag Include:The successful registering result of carry and share to the other users equipment in addition to the user equipment of the user equipment and be total to Enjoy file system directories.
In the present embodiment, by sending registration request to application and data center apparatus, realize that user equipment is right by its The system directory of the shared file answered and with shared file unify carry application and data center apparatus file system name In space, so that other user equipmenies can be by using the shared file that the user equipment is accessed with data center apparatus System directory, and its corresponding shared file is obtained, the file shared so as to realize the normal read-write between each equipment.
Fig. 5 is the structure chart of the processing meanss embodiment one of file of the present invention, and the device can be server apparatus, for example Using and data center apparatus, as shown in figure 5, the device include transceiver module 51, acquisition module 52 and file type conversion mould Block 53, wherein, transceiver module 51, for the access request that receive user equipment sends, the access request includes the user equipment Mark, the mark of equipment to be visited, and the shared-file system catalogue of the equipment to be visited, the shared-file system catalogue It is catalogue that confession other equipment that the equipment to be visited is arranged accesses its own shared file;Acquisition module 52, should for basis Access request, accesses the shared-file system catalogue of the equipment to be visited, obtains the shared file of the equipment to be visited;Files classes Type modular converter 53, if the corresponding user equipment of mark for the user equipment supports type and the shared file system of file The corresponding equipment to be visited of the mark of the equipment to be visited supports that the type of file is differed in system catalogue, then according to the user The file type that equipment is supported supports the type of file with the equipment to be visited, and the type of the shared file is converted into into the user The corresponding user equipment of mark of equipment supports the type of file, and the shared file after conversion is sent to into the user equipment.
The device of the present embodiment, can be used for performing the technical scheme of embodiment of the method shown in Fig. 1, and it realizes principle and skill Art effect is similar to, and here is omitted.
Fig. 6 is the structure chart of the processing meanss embodiment two of file of the present invention, and the device can be server apparatus, for example Using and data center apparatus, the device on the basis of the structure shown in Fig. 5, as shown in fig. 6, what the transceiver module 51 was received The access request also includes:User operation is asked, then the device also includes:Processing module 61, for being asked according to the user operation Ask, the shared file of the equipment to be visited is correspondingly processed.
Transceiver module 51, is additionally operable to receive the registration request that the user equipment sends, and the registration request includes:The user sets The file that standby shared-file system catalogue and shared file, the mark of the user equipment and the corresponding user equipment are supported Type;
Correspondingly, the device also includes:Carry module 63, for according to the registration request, preserving the mark of the user equipment The file type that knowledge and the corresponding user equipment are supported, and by the shared-file system catalogue of the user equipment and share text Part carry is in file system name space;
If the transceiver module 51 is additionally operable to the carry success of carry module 63, to the corresponding use of mark of the user equipment Family equipment returns registration reply message, and the registration reply message includes:The successful registering result of carry and share to the user The shared-file system catalogue of the other users equipment in addition to the user equipment of equipment.
The registration request that the transceiver module 51 is received also includes ID, then the device also includes:Authority configuration mould Block 62, for for the ID configuration access authority, whether the access rights can for the corresponding user of the ID Access the shared file of the equipment to be visited and/or the shared file of the equipment to be visited can be processed.
Alternatively, the access request that the transceiver module 51 is received includes ID, then the acquisition module 52, concrete to use In:The corresponding access rights of the ID are obtained, if the corresponding access rights of the ID are able to access that this to be visited sets Standby shared file, then access the shared-file system catalogue of the equipment to be visited, obtains the shared file of the equipment to be visited;
The then processing module 61, specifically for:The corresponding access rights of the ID are obtained, if the ID correspondence Access rights the shared file of the equipment to be visited can be processed, then according to user operation request, this is waited to visit The shared file for asking equipment is correspondingly processed.
The device of the present embodiment, can be used for performing the technical scheme of embodiment of the method shown in Fig. 1 or Fig. 3, and it realizes former Reason is similar with technique effect, and here is omitted.
Fig. 7 is the structure chart of the processing meanss embodiment three of file of the present invention, and the device can be user equipment, such as handss Machine, as shown in fig. 7, the device includes sending module 71 and receiver module 72, wherein,
Sending module 71, for by file-sharing interface, to application and data center apparatus access request, the visit being sent Ask mark, the mark of equipment to be visited that request includes user equipment, and the shared-file system catalogue of the equipment to be visited; So that the application and data center apparatus are according to the access request, the shared-file system catalogue of the equipment to be visited is accessed, obtained Take the shared file of the equipment to be visited;Receiver module 72, if the corresponding user equipment of mark for the user equipment is supported The type of file equipment to be visited corresponding with the mark of the equipment to be visited in the shared-file system catalogue supports file Type differ, then receive the application and data center apparatus to be visited with this according to the file type that the user equipment is supported Equipment supports that the type of the type of file, the file shared to this is converted into the corresponding user equipment of mark of the user equipment Hold the shared file of the type of file.
The device of the present embodiment, can be used for performing the technical scheme of embodiment of the method shown in Fig. 4, and it realizes principle and skill Art effect is similar to, and here is omitted.
Further, on the architecture basics shown in Fig. 7, the sending module 71 is additionally operable to the application and data center Equipment sends registration request, and the registration request includes:The shared-file system catalogue of the user equipment and shared file, the user The file type that the mark of equipment and the corresponding user equipment are supported, so that the application and data center apparatus preserve the use The file type that the mark of family equipment and the corresponding user equipment are supported, and by the shared-file system mesh of the user equipment Record and shared file carry are in file system name space;
The receiver module 72, is additionally operable to receive the registration reply message that the application and data center apparatus are returned, the registration Response message includes:The successful registering result of carry and share to the user equipment in addition to the user equipment other use The shared-file system catalogue of family equipment.
In the above-described embodiments, registration request is sent to application and data center apparatus by sending module, realizes user Equipment unifies carry in application and the text of data center apparatus by the system directory of its corresponding shared file and with shared file In part system name space, so that other user equipmenies can access the user equipment by application and data center apparatus The system directory of shared file, and its corresponding shared file is obtained, so as to realize the intercommunication between each equipment.
Fig. 8 is the structure chart of present invention application and data center apparatus embodiment one, as shown in figure 8, the application and data Central apparatus 800, including processor 801, communication interface 802, memorizer 803 and bus 804, the processor 801, the communication Interface 802, the memorizer 803 complete mutual communication by the bus 804, and the communication interface 802 is used for and other equipment Communicated, wherein:
The communication interface 802, for the access request that receive user equipment sends, the access request includes the user equipment Mark, the mark of equipment to be visited, and the shared-file system catalogue of the equipment to be visited, the shared-file system catalogue It is catalogue that confession other equipment that the equipment to be visited is arranged accesses its own shared file;The processor 801, should for basis Access request, accesses the shared-file system catalogue of the equipment to be visited, obtains the shared file of the equipment to be visited;The process Device 801, if the corresponding user equipment of mark for being additionally operable to the user equipment supports the type and the shared-file system mesh of file The corresponding equipment to be visited of the mark of the equipment to be visited supports that the type of file is differed in record, then according to the user equipment The file type of support supports the type of file with the equipment to be visited, and the type of the shared file is converted into into the user equipment The corresponding user equipment of mark support the type of file, and the shared file after conversion is sent to into the user equipment.
The device of the present embodiment, can be used for performing the technical scheme of embodiment of the method shown in Fig. 1, and it realizes principle and skill Art effect is similar to, and here is omitted.
In present invention application and data center apparatus embodiment two, on the basis of structure shown in Fig. 8, further, The access request that the communication interface 802 is received also includes:User operation is asked, then the processor 801, is additionally operable to according to the use Family operation requests, are correspondingly processed the shared file of the equipment to be visited.
The communication interface 802, is additionally operable to receive the registration request that the user equipment sends, and the registration request includes:The use What the shared-file system catalogue of family equipment and shared file, the mark of the user equipment and the corresponding user equipment were supported File type;The memorizer 803, for according to the registration request, preserving the mark of the user equipment and the corresponding user The file type that equipment is supported, and the shared-file system catalogue and shared file carry of the user equipment are ordered in file system In the name space;The communication interface 802, if for carry success, returning to the corresponding user equipment of mark of the user equipment Registration reply message, the registration reply message includes:The successful registering result of carry and share to the user equipment except this The shared-file system catalogue of the other users equipment outside user equipment.
Alternatively, the registration request that the communication interface 802 is received also includes ID, then the processor 801, also uses In for the ID configuration access authority, whether the access rights are able to access that this is treated for the corresponding user of the ID The shared file of access equipment and/or the shared file of the equipment to be visited can be processed.
The access request that the communication interface 802 is received includes ID, then the processor 801, specifically for:Obtain The corresponding access rights of the ID, if the corresponding access rights of the ID are able to access that the shared of the equipment to be visited File, then access the shared-file system catalogue of the equipment to be visited, obtains the shared file of the equipment to be visited;
The then processor 801, specifically for:The corresponding access rights of the ID are obtained, if the ID correspondence Access rights the shared file of the equipment to be visited can be processed, then according to user operation request, this is waited to visit The shared file for asking equipment is correspondingly processed.
Above-described embodiment can be used for performing the technical scheme of embodiment of the method shown in Fig. 1 or Fig. 3, and it realizes principle and skill Art effect is similar to, and here is omitted.
Fig. 9 is the structure chart of user equipment embodiment one of the present invention, as shown in figure 9, including processor 901, communication interface 902nd, memorizer 903 and bus 904, the processor 901, the communication interface 902, the memorizer 903 are complete by the bus 904 Into mutual communication, the communication interface 902 is used to be communicated with other equipment, wherein:
The communication interface 902, for by file-sharing interface, to application and data center apparatus access request being sent, The access request includes mark, the mark of equipment to be visited of user equipment, and the shared-file system of the equipment to be visited Catalogue;So that the application and data center apparatus are according to the access request, the shared-file system mesh of the equipment to be visited is accessed Record, obtains the shared file of the equipment to be visited;The communication interface 902, if the corresponding use of the mark for being additionally operable to the user equipment Family equipment is supported that the type of file is corresponding with the mark of the equipment to be visited in the shared-file system catalogue and to be visited is set It is standby to support that the type of file is differed, then receive the file type that the application and data center apparatus are supported according to the user equipment With the type that the equipment to be visited supports file, the mark that the type of the file shared to this is converted into the user equipment is corresponding User equipment supports the shared file of the type of file.
The device of the present embodiment, can be used for performing the technical scheme of embodiment of the method shown in Fig. 4, and it realizes principle and skill Art effect is similar to, and here is omitted.
In user equipment embodiment two of the present invention, on the basis of structure shown in Fig. 9, further, the communication interface 902, it is additionally operable to send registration request to the application and data center apparatus, the registration request includes:The user equipment it is shared The file type that file system directories and shared file, the mark of the user equipment and the corresponding user equipment are supported, with The file type that the mark and the corresponding user equipment for preserving the user equipment for the application and data center apparatus is supported, And by the shared-file system catalogue and shared file carry of the user equipment in file system name space;
The communication interface 902, is additionally operable to receive the registration reply message that the application and data center apparatus are returned, the registration Response message includes:The successful registering result of carry and share to the user equipment in addition to the user equipment other use The shared-file system catalogue of family equipment.
Figure 10 is the Organization Chart of the processing system embodiment one of file of the present invention, and as shown in Figure 10, the system includes:Using With data center apparatus and multiple user equipmenies, the wherein application and data center apparatus can be the application sum shown in Fig. 8 According to central apparatus 800;The user equipment can be the user equipment 900 shown in Fig. 9.
Application and data center apparatus 800 in the present embodiment system, can be used for performing method reality shown in Fig. 1 or Fig. 3 The technical scheme of example is applied, it realizes that principle is similar with technique effect, and here is omitted.
User equipment 900 in the present embodiment system, can be used for performing the technical scheme of embodiment of the method shown in Fig. 4, It realizes that principle is similar with technique effect, and here is omitted.
It should be noted that during said system embodiment is except can apply to home network, other can also be applied to Different scene, for example, in can apply to plant network.The system that hypothesis deploys the present embodiment, if enterprise supervision First version of system, can only carry out video record work, later, can be by video analysis artificial abortion and logistics.Then enterprise is not Need to change monitoring system, just can be with as long as increasing the application software of new file type conversion in ADC.With application software Further enrich, enterprise can carry out the analysis and control of automatization to warehouse, workshop, artificial abortion, logistics, due to ADC provide Unified catalogue and file interface, enterprise when new equipment is increased, as long as upgrade file type switching software just can be real Existing intercommunication between newly added equipment and original equipment simultaneously can normally access shared file content.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method can be with Realize by another way.For example, device embodiment described above is only schematic, for example, the unit Divide, only a kind of division of logic function can have other dividing mode, such as multiple units or component when actually realizing Can with reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings by some interfaces, device or unit Close or communicate to connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme 's.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of said method embodiment can pass through Completing, aforesaid program can be stored in a computer read/write memory medium the related hardware of programmed instruction, the program Upon execution, the step of including said method embodiment is performed;And aforesaid storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above only to illustrate technical scheme, rather than a limitation;To the greatest extent Pipe has been described in detail with reference to foregoing embodiments to the present invention, it will be understood by those within the art that:Its according to So the technical scheme described in foregoing embodiments can be modified, either which part or all technical characteristic are entered Row equivalent;And these modifications or replacement, do not make the essence disengaging various embodiments of the present invention technology of appropriate technical solution The scope of scheme.

Claims (8)

1. a kind of processing method of file, it is characterised in that include:
Using the access request sent with data center apparatus receive user equipment, the access request includes the user equipment Mark, the mark of equipment to be visited, and the shared-file system catalogue of the equipment to be visited, the shared-file system Catalogue is the catalogue that the confession other equipment that the equipment to be visited is arranged accesses its own shared file;
The application and data center apparatus access the shared-file system mesh of the equipment to be visited according to the access request Record, obtains the shared file of the equipment to be visited;
If the corresponding user equipment of mark of the user equipment is supported in the type of file and the shared-file system catalogue The corresponding equipment to be visited of mark of the equipment to be visited supports that the type of file is differed, then the application and data center The file type that equipment is supported according to the user equipment supports the type of file with the equipment to be visited, by the shared text The type of part is converted into the type that the corresponding user equipment of mark of the user equipment supports file, and by conversion after it is shared File is sent to the user equipment;
The application and data center apparatus receive the registration request that the user equipment sends, and the registration request includes:Institute The shared-file system catalogue and shared file of user equipment are stated, the mark of the user equipment and the corresponding user set The standby file type supported;
The application and data center apparatus preserve the mark of the user equipment and corresponding institute according to the registration request The file type of user equipment support is stated, and by the shared-file system catalogue and shared file carry of the user equipment in text In part system name space;
If carry success, the application and data center apparatus are returned to the corresponding user equipment of mark of the user equipment Registration reply message, the registration reply message includes:The successful registering result of carry and share to the user equipment The shared-file system catalogue of the other users equipment in addition to the user equipment.
2. method according to claim 1, it is characterised in that the registration request also includes ID, then the side Method also includes:
The application and data center apparatus are the ID configuration access authority, and the access rights are used for described in labelling Whether the corresponding user of ID is able to access that the shared file of the equipment to be visited and/or to be visited can set to described Standby shared file is processed.
3. method according to claim 2, it is characterised in that the access request also includes ID, then it is described should , according to the access request, the shared-file system catalogue of the equipment to be visited is accessed with data center apparatus, obtain institute The shared file of equipment to be visited is stated, including:
The application and data center apparatus obtain the corresponding access rights of the ID, if the ID is corresponding Access rights are able to access that the shared file of the equipment to be visited, then wait to visit described in the application and data center apparatus access The shared-file system catalogue of equipment is asked, the shared file of the equipment to be visited is obtained;
The access request is also asked including user operation, then methods described also includes:
The application and data center apparatus obtain the corresponding access rights of the ID, if the ID is corresponding Access rights can be processed the shared file of the equipment to be visited, then asked according to the user operation, to described The shared file of equipment to be visited is correspondingly processed.
4. a kind of processing method of file, it is characterised in that include:
User equipment sends access request, the access request bag by file-sharing interface to application and data center apparatus Include mark, the mark of equipment to be visited of user equipment, and the shared-file system catalogue of the equipment to be visited;For institute State and, according to the access request, access the shared-file system catalogue of the equipment to be visited using with data center apparatus, obtain Take the shared file of the equipment to be visited;
If the corresponding user equipment of mark of the user equipment is supported in the type of file and the shared-file system catalogue The corresponding equipment to be visited of mark of the equipment to be visited supports that the type of file is differed, then the user equipment receives institute State using and the file type supported according to the user equipment of data center apparatus and the equipment support file to be visited Type, to the type of the shared file type that corresponding user equipment supports file that identifies of the user equipment is converted into Shared file;
The user equipment to the application and data center apparatus send registration request, and the registration request includes:The use The shared-file system catalogue of family equipment and shared file, the mark of the user equipment and the corresponding user equipment The file type held, so that the application and data center apparatus preserve the mark and the corresponding use of the user equipment The file type that family equipment is supported, and by the shared-file system catalogue and shared file carry of the user equipment in file system In system NameSpace;
The user equipment receives the registration reply message that the application and data center apparatus are returned, the registration reply message Including:The successful registering result of carry and share to the other users in addition to the user equipment of the user equipment and set Standby shared-file system catalogue.
5. a kind of processing meanss of file, it is characterised in that include:
Transceiver module, for the access request that receive user equipment sends, the access request includes the mark of the user equipment Knowledge, the mark of equipment to be visited, and the shared-file system catalogue of the equipment to be visited, the shared-file system catalogue It is catalogue that confession other equipment that the equipment to be visited is arranged accesses its own shared file;
Acquisition module, for according to the access request, accessing the shared-file system catalogue of the equipment to be visited, obtains institute State the shared file of equipment to be visited;
File type conversion module, if the corresponding user equipment of mark for the user equipment supports type and the institute of file The corresponding equipment to be visited of mark for stating equipment to be visited described in shared-file system catalogue supports that the type of file is differed, The file type then supported according to the user equipment supports the type of file with the equipment to be visited, by the shared file Type be converted into the corresponding user equipment of mark of the user equipment and support the type of file, and by conversion after shared text Part is sent to the user equipment;
The transceiver module, is additionally operable to receive the registration request that the user equipment sends, and the registration request includes:The use The shared-file system catalogue of family equipment and shared file, the mark of the user equipment and the corresponding user equipment The file type held;
Correspondingly, described device also includes:
Carry module, for according to the registration request, the mark and the corresponding user for preserving the user equipment to set The standby file type supported, and the shared-file system catalogue and shared file carry of the user equipment are ordered in file system In the name space;
If the transceiver module is additionally operable to the carry module carry success, to the corresponding user of mark of the user equipment Equipment returns registration reply message, and the registration reply message includes:The successful registering result of carry and share to the use The shared-file system catalogue of the other users equipment in addition to the user equipment of family equipment.
6. device according to claim 5, it is characterised in that the registration request that the transceiver module is received also includes ID, then described device also include:
Permission configuration module, for for the ID configuration access authority, the access rights to be used for user described in labelling Identify corresponding user whether be able to access that the equipment to be visited shared file and/or can be to the equipment to be visited Shared file is processed.
7. device according to claim 6, it is characterised in that the access request that the transceiver module is received includes using Family identifies, then the acquisition module, specifically for:
The corresponding access rights of the ID are obtained, if the corresponding access rights of the ID are able to access that described treating The shared file of access equipment, then access the shared-file system catalogue of the equipment to be visited, obtains the equipment to be visited Shared file;
The access request is also asked including user operation, then described device also includes:
Processing module, for obtaining the corresponding access rights of the ID, if the corresponding access rights of the ID The shared file of the equipment to be visited can be processed, then be asked according to the user operation, to be visited be set to described Standby shared file is correspondingly processed.
8. a kind of processing meanss of file, it is characterised in that include:
Sending module, for by file-sharing interface, to application and data center apparatus access request being sent, the access please Ask mark, the mark of equipment to be visited including user equipment, and the shared-file system catalogue of the equipment to be visited;With For the application and data center apparatus according to the access request, the shared-file system mesh of the equipment to be visited is accessed Record, obtains the shared file of the equipment to be visited;
Receiver module, if the corresponding user equipment of mark for the user equipment supports the type and the shared text of file The corresponding equipment to be visited of mark of equipment to be visited described in part system directory supports that the type of file is differed, then receive institute State using and the file type supported according to the user equipment of data center apparatus and the equipment support file to be visited Type, to the type of the shared file type that corresponding user equipment supports file that identifies of the user equipment is converted into Shared file;
The sending module, is additionally operable to send registration request to the application and data center apparatus, and the registration request includes: The shared-file system catalogue of the user equipment and shared file, the mark of the user equipment and the corresponding user The file type that equipment is supported, for described using the mark that the user equipment is preserved with data center apparatus and corresponding The file type that the user equipment is supported, and the shared-file system catalogue and shared file carry of the user equipment are existed In file system name space;
The receiver module, is additionally operable to receive the registration reply message that the application and data center apparatus are returned, the registration Response message includes:The successful registering result of carry and share to its in addition to the user equipment of the user equipment The shared-file system catalogue of his user equipment.
CN201380003168.1A 2013-12-02 2013-12-02 File processing method, device and system Active CN103858407B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/088325 WO2015081471A1 (en) 2013-12-02 2013-12-02 File processing method, device, and system

Publications (2)

Publication Number Publication Date
CN103858407A CN103858407A (en) 2014-06-11
CN103858407B true CN103858407B (en) 2017-04-12

Family

ID=50864349

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380003168.1A Active CN103858407B (en) 2013-12-02 2013-12-02 File processing method, device and system

Country Status (2)

Country Link
CN (1) CN103858407B (en)
WO (1) WO2015081471A1 (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015081471A1 (en) * 2013-12-02 2015-06-11 华为技术有限公司 File processing method, device, and system
CN104283941A (en) * 2014-09-16 2015-01-14 深圳市同洲电子股份有限公司 Data access method, device and system
CN107784040B (en) * 2016-08-31 2022-03-18 北京国双科技有限公司 File issuing method and device
CN107070972B (en) * 2016-12-30 2020-02-07 中国银联股份有限公司 Distributed file processing method and device
TWI643185B (en) * 2017-04-26 2018-12-01 瑞昱半導體股份有限公司 Audio processing device and method
CN110213313B (en) * 2018-04-28 2021-09-28 腾讯科技(深圳)有限公司 File uploading method, related device and system
CN109495556B (en) * 2018-10-31 2021-04-16 深圳高灯计算机科技有限公司 File processing method and device
CN111104387A (en) * 2019-11-22 2020-05-05 苏州浪潮智能科技有限公司 Method and device for acquiring data set on server

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163087A (en) * 2006-10-13 2008-04-16 风网科技(北京)有限公司 System and method for sharing mobile terminal video document
CN101729442A (en) * 2008-10-23 2010-06-09 华为技术有限公司 Method and device for realizing content sharing
CN102035848A (en) * 2010-12-23 2011-04-27 福建南威软件工程发展有限公司 Method for exchanging data among shared systems
EP2375671A1 (en) * 2008-12-29 2011-10-12 Chengdu Huawei Symantec Technologies Co., Ltd. Access method and access apparatus for network file system
CN102571726A (en) * 2010-12-23 2012-07-11 中国移动通信集团广东有限公司 Multimedia data sharing method, system and state judgment server

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6407680B1 (en) * 2000-12-22 2002-06-18 Generic Media, Inc. Distributed on-demand media transcoding system and method
US8316052B2 (en) * 2006-12-12 2012-11-20 Verizon Patent And Licensing Inc. Method, computer program product and apparatus for providing media sharing services
EP2697968A4 (en) * 2011-04-15 2014-12-10 Opera Software Ireland Ltd Real-time video optimizer
WO2015081471A1 (en) * 2013-12-02 2015-06-11 华为技术有限公司 File processing method, device, and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101163087A (en) * 2006-10-13 2008-04-16 风网科技(北京)有限公司 System and method for sharing mobile terminal video document
CN101729442A (en) * 2008-10-23 2010-06-09 华为技术有限公司 Method and device for realizing content sharing
EP2375671A1 (en) * 2008-12-29 2011-10-12 Chengdu Huawei Symantec Technologies Co., Ltd. Access method and access apparatus for network file system
CN102035848A (en) * 2010-12-23 2011-04-27 福建南威软件工程发展有限公司 Method for exchanging data among shared systems
CN102571726A (en) * 2010-12-23 2012-07-11 中国移动通信集团广东有限公司 Multimedia data sharing method, system and state judgment server

Also Published As

Publication number Publication date
WO2015081471A1 (en) 2015-06-11
CN103858407A (en) 2014-06-11

Similar Documents

Publication Publication Date Title
CN103858407B (en) File processing method, device and system
CN105052104B (en) The processing method of file, apparatus and system
CN107995215A (en) Control method, device and the cloud platform server of smart home device
CN106471465B (en) Service enabler function
CN110099078A (en) Communication between devices, message synchronization method, apparatus, equipment and storage medium
CN106797400A (en) System and method for making it possible to access third party's service via service layer
CN103457966B (en) Method, equipment and system of based on DLNA technology access cloud storage equipment
CN102694704B (en) Home gateway, and distinguishing method of user identities thereof
CN101304360A (en) System and method for virtualization of user digital terminal
CN104717289B (en) A kind of method of data synchronization and device
JP2009009204A (en) Content management system and content management method
JP2012004705A (en) Information processing system, information processing method, and information processing program
CN105991377B (en) The method for finding and communicating between universal plug and play UPnP device
US20150156231A1 (en) Method and a server of reserving conference hardware resources
JP2009277111A (en) Information processing device
CN106341463A (en) A mobile internet audio/video management and control system based on an internet of things
CN106231393B (en) Video information processing method, device and system
CN101068252B (en) Method and apparatus for synchronizing device providing content directory service with device not providing content directory service
US20090070831A1 (en) Interactive Hospitality System for an Exchange of Data
CN103414713A (en) Method, device and DLNA device with access to cloud medium resource
CN103716592A (en) Intelligent home remote monitoring system and communication method thereof
CN104320718B (en) It is a kind of to avoid multiple DMC from pushing the method and device that media play produces conflict
CN103475533A (en) Monitoring front end access method, apparatus and system
CN103384232A (en) Identity authentication method and device
CN107360071A (en) Method for sending information, mobile client and the intelligent home gateway of intelligent home network

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