WO2015081468A1 - 文件的处理方法、装置及系统 - Google Patents

文件的处理方法、装置及系统 Download PDF

Info

Publication number
WO2015081468A1
WO2015081468A1 PCT/CN2013/088311 CN2013088311W WO2015081468A1 WO 2015081468 A1 WO2015081468 A1 WO 2015081468A1 CN 2013088311 W CN2013088311 W CN 2013088311W WO 2015081468 A1 WO2015081468 A1 WO 2015081468A1
Authority
WO
WIPO (PCT)
Prior art keywords
accessed
user equipment
shared
user
file
Prior art date
Application number
PCT/CN2013/088311
Other languages
English (en)
French (fr)
Inventor
文海
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201380003187.4A priority Critical patent/CN105052104B/zh
Priority to PCT/CN2013/088311 priority patent/WO2015081468A1/zh
Publication of WO2015081468A1 publication Critical patent/WO2015081468A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols

Definitions

  • Embodiments of the present invention relate to network communication technologies, and in particular, to a file processing method, apparatus, and system. Background technique
  • IP Internet Protocol
  • HTTP Hypertext Transfer Protocol
  • RTP Real-Time Transport Protocol
  • USB Universal Serial Bus
  • the embodiments of the present invention provide a file processing method, device, and system, which can implement normal reading and writing of shared files between user devices.
  • an embodiment of the present invention provides a file processing method, including:
  • the application and the data center device receive an access request sent by the user equipment, where the access request includes an identifier of the user equipment, an identifier of the device to be accessed, and a shared file system directory of the to-be-accessed device, where the shared file system directory is The device to be accessed is set for access by other devices a directory of its own shared files;
  • the application and the data center device access the shared file system directory of the to-be-accessed device according to the access request, and obtain the shared file of the to-be-accessed device;
  • the application and the data center device acquire the shared file system, if the type of the user equipment supporting file corresponding to the identifier of the user equipment is different from the type of the to-be-accessed device supporting file corresponding to the identifier of the device to be accessed.
  • a software list corresponding to the file type in the directory, and the software list and the shared file of the to-be-accessed device are sent to the user equipment.
  • the method further includes:
  • the application and the data center device receive the registration request sent by the user equipment, where the registration request includes: a shared file system directory and a shared file of the user equipment, and the identifier of the user equipment and the corresponding user equipment support File type;
  • the application and the data center device save the identifier of the user equipment and the file type supported by the user equipment according to the registration request, and mount the shared file system directory and the shared file of the user equipment in the file.
  • system namespace In the system namespace;
  • the application and the data center device return a registration response message to the user equipment corresponding to the identifier of the user equipment, where the registration response message includes: a successful registration result and a sharing to the user equipment.
  • the registration request further includes a user identifier
  • the method further includes: the application And the data center device is configured to configure the access right for the user identifier, where the access right is used to mark whether the user corresponding to the user identifier can access the shared file of the device to be accessed and/or can share the device to be accessed.
  • the file is processed.
  • the access request includes a user identifier, and the application and the data center device access according to the access request
  • the shared file system directory of the device to be accessed, and the shared file of the device to be accessed including:
  • the application and the data center device obtain the access rights corresponding to the user identifier, and if the access rights corresponding to the user identifier can access the shared file of the device to be accessed, access the shared file system directory of the device to be accessed, Obtaining a shared file of the device to be accessed;
  • the application and the data center device process the shared file of the device to be accessed according to the user operation request, including:
  • the application and the data center device obtain the access authority corresponding to the user identifier, and if the access authority corresponding to the user identifier can process the shared file of the to-be-accessed device, according to the user operation request, The shared files of the devices to be accessed are processed accordingly.
  • an embodiment of the present invention provides a file processing method, including:
  • the user equipment sends an access request to the application and the data center device by using the file sharing interface, where the access request includes an identifier of the user equipment, an identifier of the device to be accessed, and a shared file system directory of the to-be-accessed device; And the data center device accesses the shared file system directory of the to-be-accessed device according to the access request, and acquires a shared file of the to-be-accessed device; if the type of the user device supporting file corresponding to the identifier of the user device is The user equipment receives a software installation list corresponding to the type of the file in the shared file system directory returned by the application and the data center device, where the type of the to-be-accessed device support file is different from the identifier of the device to be accessed. a shared file with the device to be accessed;
  • the user equipment selects corresponding software from the software installation list to install, and identifies the shared file of the to-be-accessed device according to the installed software.
  • the method includes:
  • the user equipment sends a registration request to the application and the data center device, where the registration request includes: a shared file system directory and a shared file of the user equipment, and an identifier of the user equipment and a corresponding supported by the user equipment. a file type, where the application and the data center device save the identifier of the user equipment and the file type supported by the user equipment, and mount the shared file system directory and the shared file of the user equipment in the file system.
  • the namespace In the namespace;
  • the registration response message includes: a registration result that is successfully mounted, and other user equipments other than the user equipment that are shared with the user equipment. Shared file system directory.
  • an embodiment of the present invention provides a file processing apparatus, including:
  • a transceiver module configured to receive an access request sent by the user equipment, where the access request includes an identifier of the user equipment, an identifier of the device to be accessed, and a shared file system directory of the to-be-accessed device, where the shared file system directory is a directory set by the device to be accessed for other devices to access their own shared files;
  • An obtaining module configured to access a shared file system directory of the device to be accessed according to the access request, and obtain a shared file of the device to be accessed;
  • the obtaining module is further configured to acquire the shared file if the type of the user equipment supporting file corresponding to the identifier of the user equipment is different from the type of the to-be-accessed device supporting file corresponding to the identifier of the device to be accessed.
  • a software list corresponding to the file type in the system directory, and the software list and the shared file of the to-be-accessed device are sent to the user equipment.
  • the transceiver module is further configured to receive a registration request sent by the user equipment, where the registration request includes: a shared file system directory and a shared file of the user equipment. The identifier of the user equipment and the file type supported by the user equipment;
  • the device further includes:
  • a mounting module configured to save an identifier of the user equipment and a file type supported by the user equipment according to the registration request, and mount the shared file system directory and the shared file of the user equipment in the file system In the namespace;
  • the transceiver module is further configured to: if the connection is successful, return a registration response message to the user equipment corresponding to the identifier of the user equipment, where the registration response message includes: a successful registration result and a sharing to the user equipment A shared file system directory of other user devices than the user device.
  • the registration request received by the transceiver module further includes a user identifier
  • the device is Also includes:
  • a privilege configuration module configured to configure an access right for the user identifier, where the access privilege is used to mark whether the user corresponding to the user identifier can access the shared file of the device to be accessed and/or can access the device to be accessed
  • the shared file is processed.
  • the access request received by the transceiver module includes a user identifier
  • the acquiring module is specifically configured to: :
  • the processing module is specifically configured to:
  • an embodiment of the present invention provides a file processing apparatus, including:
  • a sending module configured to send, by using a file sharing interface, an access request to an application and a data center device, where the access request includes an identifier of the user equipment, an identifier of the device to be accessed, and a shared file system directory of the to-be-accessed device;
  • the application and the data center device access the shared file system directory of the to-be-accessed device according to the access request, and acquire the shared file of the to-be-accessed device;
  • a receiving module configured to receive the application and the data center device if the type of the user equipment supporting file corresponding to the identifier of the user equipment is different from the type of the to-be-accessed device supporting file corresponding to the identifier of the device to be accessed a software installation list corresponding to the type of the file in the shared file system directory and a shared file of the to-be-accessed device;
  • a software installation module configured to select a corresponding software from the software installation list for installation, and identify the shared file of the to-be-accessed device according to the installed software.
  • the method includes:
  • the sending module is further configured to send a registration request to the application and the data center device, where the registration request includes: a shared file system directory and a shared file of the user equipment, an identifier of the user equipment, and a corresponding a file type supported by the user equipment, where the application and the data center device save the identifier of the user equipment and the file type supported by the user equipment, and hang the shared file system directory and the shared file of the user equipment. Loaded in the file system namespace;
  • the receiving module is further configured to receive a registration response message returned by the application and the data center device, where the registration response message includes: a registration result that is successfully mounted, and a user device that is shared with the user equipment except the user equipment Shared file system directory for other user devices.
  • an embodiment of the present invention provides an application and a data center device, including a processor, a communication interface, a memory, and a bus, where the processor, the communication interface, and the memory complete communication with each other through the bus.
  • the communication interface is configured to communicate with another device, where: the communication interface is configured to receive an access request sent by the user equipment, where the access request includes An identifier of the user equipment, an identifier of the device to be accessed, and a shared file system directory of the to-be-accessed device, where the shared file system directory is a directory set by the to-be-accessed device for other devices to access their own shared files;
  • the processor is configured to access a shared file system directory of the device to be accessed according to the access request, and obtain a shared file of the device to be accessed;
  • the processor is further configured to acquire the shared file if the type of the user equipment supporting file corresponding to the identifier of the user equipment is different from the type of the to-be-accessed device supporting file corresponding to the identifier of the device to be accessed.
  • a software list corresponding to the file type in the system directory, and the software list and the shared file of the to-be-accessed device are sent to the user equipment.
  • the communication interface is further configured to receive a registration request sent by the user equipment, where the registration request includes: a shared file system directory and a shared file of the user equipment The identifier of the user equipment and the file type supported by the user equipment;
  • the storage device is configured to save an identifier of the user equipment and a file type supported by the user equipment according to the registration request, and mount the shared file system directory and the shared file of the user equipment in the file system.
  • namespace In the namespace;
  • the communication interface is configured to: when the connection is successful, return a registration response message to the user equipment corresponding to the identifier of the user equipment, where the registration response message includes: a registration result that is successfully mounted and shared with the user equipment A shared file system directory of other user devices than the user device.
  • the registration request received by the communication interface further includes a user identifier, and the processing is performed.
  • the access permission is used to mark whether the user corresponding to the user identifier can access the shared file of the device to be accessed and/or can access the device to be accessed. Share files for processing.
  • the access request received by the communication interface includes a user identifier
  • the processor is specifically configured to: :
  • the processor is specifically configured to:
  • an embodiment of the present invention provides a user equipment, including a processor, a communication interface, a memory, and a bus, where the processor, the communication interface, and the memory complete communication with each other through the bus,
  • the communication interface is used to communicate with other devices, where:
  • the communication interface is configured to send an access request to the application and the data center device by using a file sharing interface, where the access request includes an identifier of the user equipment, an identifier of the device to be accessed, and a shared file system directory of the to-be-accessed device; Obtaining, by the application and the data center device, the shared file system directory of the to-be-accessed device according to the access request, and acquiring the shared file of the to-be-accessed device;
  • the communication interface is further configured to: if the type of the user equipment supporting file corresponding to the identifier of the user equipment is different from the type of the to-be-accessed device supporting file corresponding to the identifier of the device to be accessed, receive the application and a software installation list corresponding to the type of the file in the shared file system directory returned by the data center device and a shared file of the to-be-accessed device;
  • the processor is configured to select a corresponding software from the software installation list for installation, and identify the shared file of the to-be-accessed device according to the installed software.
  • the communication interface is further configured to send a registration request to the application and the data center device, where the registration request includes: a shared file system directory of the user equipment, and a shared file, an identifier of the user equipment, and a file type supported by the user equipment, where the application and the data center device save the identifier of the user equipment and the file type supported by the user equipment, and Mounting the shared file system directory and the shared file of the user equipment in the file system namespace;
  • the communication interface is further configured to receive a registration response message returned by the application and the data center device, where the registration response message includes: a registration result that is successfully mounted and a user device that is shared with the user equipment except the user equipment Shared file system directory for other user devices.
  • a seventh aspect of the present invention provides a file processing system, including an application and a data center device, and multiple user devices, where:
  • the application and the data center device are the fifth aspect, the application and data center device of any one of the first to fifth possible implementation manners of the fifth aspect;
  • the user equipment is the user equipment described in the sixth aspect or the first possible implementation manner of the sixth aspect.
  • the embodiment of the present invention solves the problem that the software type and the number of software for reading and writing files locally installed by the user equipment are limited, so that even if mutual communication is realized, the application software that supports all user equipment sharing file types is deployed on the application and the data center device. Enables reading and writing of shared files.
  • Embodiment 2 is an application scenario diagram of Embodiment 2 of a method for processing a file according to the present invention
  • Embodiment 3 is a flowchart of Embodiment 3 of a method for processing a file according to the present invention
  • Embodiment 5 is a flowchart of Embodiment 5 of a method for processing a file according to the present invention
  • FIG. 5 is a structural diagram of Embodiment 1 of a processing device for a file according to the present invention.
  • Embodiment 2 is a structural diagram of Embodiment 2 of a processing apparatus for a file according to the present invention.
  • Figure 7 is a structural diagram of a third embodiment of a processing apparatus for a file according to the present invention.
  • Embodiment 8 is a structural diagram of Embodiment 1 of an application and data center device according to the present invention.
  • Embodiment 9 is a structural diagram of Embodiment 1 of a user equipment according to the present invention.
  • FIG. 10 is a structural diagram of Embodiment 1 of a processing system of a file according to the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • FIG. 1 is a flowchart of Embodiment 1 of a method for processing a file according to the present invention.
  • the execution body of the method is a file processing device, and the device may be a server device, such as an application and a data center device.
  • the method specifically includes:
  • Step 101 The application and the data center device receive an access request sent by the user equipment, where the access request includes an identifier of the user equipment, an identifier of the device to be accessed, and a shared file system directory of the to-be-accessed device, where the shared file system directory is The directory set by the device to be accessed for other devices to access their own shared files.
  • the identifier of the user equipment may be an identifier of a hardware address, a manufacturer identifier, or a device model of the user equipment, that is, attribute information that can uniquely identify the user equipment.
  • Step 102 The application and the data center device access the shared file system directory of the to-be-accessed device according to the access request, and acquire a shared file of the to-be-accessed device.
  • the processing device of the file may receive the shared file system directory and the shared file of the user equipment sent by the user equipment through the file sharing protocol, and hang the shared file system directory and the shared file of the user equipment. It is stored in a file system namespace of the server device, such as an application and a data center device, so that after receiving the access request, the shared file system directory of the device to be accessed can be accessed to obtain the shared file of the device to be accessed.
  • the server device such as an application and a data center device
  • Step 103 If the type of the user equipment supporting file corresponding to the identifier of the user equipment is different from the type of the to-be-accessed device supporting file corresponding to the identifier of the device to be accessed, the application and the data center device acquire the shared file system. A software list corresponding to the file type in the directory, and the software list and the shared file of the device to be accessed are sent to the user device.
  • the software list may be a list consisting of basic attributes of the software, such as a tag, an identifier, a type, or a list of software itself, such as a naming. Since the application and the data center device send the software list and the shared file of the to-be-accessed device to the user device, the user device can select software from the software installation list to install, thereby implementing the shared file identifying the device to be accessed. .
  • a file type that is incompatible with access between different types of users and applications.
  • a video file is used as an example.
  • the format of the original video image file generated by the monitoring device is Audio Video Interleaved (AVI) format
  • AVI Audio Video Interleaved
  • MP4 Motion Picture Experts Group-4
  • MP4 Motion Picture Experts Group-4
  • Sharing a file that is, a video file, and sending a software installation list supporting the playback of the AVI format file to the user equipment, for the user equipment to select a software suitable for the user equipment itself from the software installation list to be installed to identify the file AVI file.
  • the shared file system directory of the device to be accessed by receiving an access request sent by the user equipment, and accessing the shared file system directory of the device to be accessed according to the access request, acquiring a shared file of the device to be accessed, if the user corresponding to the identifier of the user device.
  • the type of the device support file is different from the type of the device support file to be accessed, and the software installation list corresponding to the file type supported by the user device is obtained, and the software installation list and the to-be-accessed are obtained.
  • the shared file of the device is sent to the user equipment, and the user equipment can be selected from the software installation list to install a software, thereby realizing normal reading and writing of the shared file between the user equipments.
  • the home network may include user equipment. , wireless routers, data communication switches, and application and data center (App&Data Center, ADC for short) servers.
  • the user equipment may specifically include living room electrical equipment, home monitoring equipment, kitchen electrical equipment, mobile phones, and personal computers; each user equipment is connected to the ADC through data communication exchange, and the ADC functions as a home data center.
  • the communication protocol between each device and the data communication switch has many forms, for example: Ethernet with wired connection, point to point protocol over Ethernet (PPPoE), frame relay, etc. Etc., wireless connection has Wireless Fidelity (WIFI), Bluetooth, Near Field Communication (NFC) and so on.
  • WIFI Wireless Fidelity
  • NFC Near Field Communication
  • each user equipment such as speakers, recording heads, cameras, and various types of sensors, which are managed by device directories and files on the user equipment;
  • Units such as media decoding playback units, power management units, etc., are users of directories and files, controlled by control files.
  • the user equipment is connected to the network through a network interface, and provides a shared file system directory and a shared file to the outside. And file sharing interface.
  • FIG. 3 is a flowchart of Embodiment 3 of a method for processing a file according to the present invention.
  • the execution body of the method is a file processing device, and the device may be specifically a server device, such as an application and a data center device.
  • the application scenario of the home network shown in FIG. 2 is taken as an example to describe the technical solution of the embodiment in detail.
  • the method specifically includes:
  • Step 301 The application and the data center device receive a registration request sent by the user equipment, where the registration request includes: a shared file system directory and a shared file of the user equipment, an identifier of the user equipment, and a corresponding file type supported by the user equipment. .
  • the user equipment may be pre-configured with an IP address of the application and the data center, so that the user equipment sends a registration request to the corresponding application and the data center device according to the IP address of the application and the data center device.
  • Step 302 The application and the data center device save the identifier of the user equipment and the file type supported by the user equipment according to the registration request, and mount the shared file system directory and the shared file of the user equipment in the file system name. In space.
  • Step 303 If the mounting is successful, the application and the data center device return a registration response message to the user equipment corresponding to the identifier of the user equipment, where the registration response message includes: a successful registration result and a sharing to the user equipment.
  • the registration response message includes: a successful registration result and a sharing to the user equipment.
  • Table 1 is a system directory of shared files of other devices accessible on the home monitoring device.
  • a mobile phone can use the standard webcam software, open Camera.dev, can take pictures while opening the file T 0ne _arm.d eV pickup can record, open Speaker.dev, the voice can be Transfer to the home monitoring device to play.
  • Step 304 The application and the data center device receive an access request sent by the user equipment, where the access request includes an identifier of the user equipment, an identifier of the device to be accessed, and a shared file system directory of the to-be-accessed device, where the shared file system directory is Other devices to be accessed by the device to be accessed Access the directory of its own shared files.
  • Step 305 The application and the data center device access the shared file system directory of the device to be accessed according to the access request, and obtain a shared file of the device to be accessed.
  • Step 306 If the type of the user equipment supporting file corresponding to the identifier of the user equipment is different from the type of the to-be-accessed device supporting file corresponding to the identifier of the device to be accessed, the application and the data center device acquire the shared file system directory. The software list corresponding to the file type is sent, and the software list and the shared file of the to-be-accessed device are sent to the user equipment.
  • the mobile phone's ADC file system space is viewed through the mobile phone, and the real-time monitoring can be directly seen by opening the file "home monitoring device ⁇ Camera.dev".
  • Video file I found that the old man was talking to two children, and both children were crying.
  • the male owner can open the " ⁇ Home Monitoring Device ⁇ Speaker.dev” on the mobile phone and can talk on the mobile phone and play it on the speaker of the monitoring device; while the real-time monitoring screen can also see their activities at home, they can hear them. sound.
  • the male owner can understand the passing of the event by opening the historical video file under the ⁇ Home Monitoring Device ⁇ HistoryV directory.
  • the hostess is on a business trip, viewing the ADC file system space mounted on the mobile phone through the mobile phone.
  • the ADC finds that the mobile phone does not support file access in dev format, only supports MP4 file format, at this time ADC will send a list of software installations that support access to dev format files to the hostess's mobile phone, for the hostess to select one from the software installation list according to the software supported by the mobile phone system, so that the hostess The phone can support access to dev format files. This way the hostess can see the real-time video surveillance directly.
  • the TV in the living room is closed by opening the TV-related file under "Hardware Electrical Equipment ⁇ "; by turning on the "Chair Room Electrical Equipment ⁇ ” under the air-conditioning related documents, the air conditioner Adjust the temperature to a suitable temperature.
  • Mr. Wen is a 35-year-old man who lives separately from his parents and his parents. His family of three is connected to the network of ADC service providers, and his parents and families of his parents are also connected. ADC service provider's network. Mr. Wen has access to all the equipment of these three families. Mr. Wen heard that there is a video monitoring application software that can automatically detect the old man's fall and automatically send SMS alarms and voice alarms by analyzing the real-time image of the camera. So Mr. Wen started the application at the ADC service provider. In this way, when someone falls in the house, they can immediately receive SMS alarms and voice alarms. Mr. Wen can connect to the ADC through the mobile phone and view the situation through the camera.
  • the shared file system directory and the shared file of the user equipment are mounted in the file system namespace, and can be shared with the shared file system of the user equipment of the user equipment except the user equipment. a directory, so that the user equipment can access the shared file system directory of other user devices according to the received shared file file system directory of other user devices, and obtain the corresponding shared file, thereby realizing normal access between different user devices. shared documents.
  • the access request further includes: a user operation request, where the method further includes:
  • the shared file of the device to be accessed is processed correspondingly, for example, processing operations such as deleting, modifying, or adding.
  • the specific implementation manner of processing the shared file of the device to be accessed may be: obtaining the file related to the air conditioner under the " ⁇ living room electrical device"
  • the air-conditioning related files can be read and written accordingly, for example, by updating the value of the file to adjust the air conditioning temperature to a suitable temperature.
  • the registration request may further include a user identifier
  • the method may further include: the application and the data center device configuring an access right for the user identifier, where the access authority is used to mark whether the user corresponding to the user identifier can Accessing the shared file of the device to be accessed and/or processing the shared file of the device to be accessed.
  • the access request may include the user identifier, and a specific implementation manner of step 102 or step 205 is:
  • the application and the data center device obtain the access right corresponding to the user identifier, and if the access right corresponding to the user identifier can access the shared file of the device to be accessed, access the shared file system directory of the device to be accessed, and obtain the device to be accessed. Shared file
  • the application and the data center device process the shared file of the device to be accessed according to the user operation request, including:
  • the application and the data center device obtain the access rights corresponding to the user identifier, and if the access authority corresponding to the user identifier can process the shared file of the device to be accessed, the shared file of the device to be accessed according to the user operation request Process accordingly.
  • FIG. 4 is a flowchart of a fifth embodiment of a method for processing a file according to the present invention.
  • the execution subject of the method is a file processing device, and the device may be specifically a user equipment, such as a home monitoring device or a mobile device. As shown in FIG. 4, the method specifically includes:
  • Step 401 The user equipment sends an access request to the application and the data center device by using a file sharing interface, where the access request includes an identifier of the user equipment, an identifier of the device to be accessed, and a shared file system directory of the to-be-accessed device. And the data center device accesses the shared file system directory of the to-be-accessed device according to the access request, and obtains the shared file of the to-be-accessed device.
  • the application and the data center device may perform the technical solution of the method embodiment shown in FIG. 1 or FIG. 2, and the implementation principles thereof are similar, and details are not described herein again.
  • the user equipment can locally select files to be shared according to its own configuration and application.
  • the home monitoring device can select a shared file to be a monitored video file.
  • the mobile device can choose to share the file as a photo and/or document content.
  • Step 402 If the type of the user equipment supporting file corresponding to the identifier of the user equipment is different from the type of the to-be-accessed device supporting file corresponding to the identifier of the device to be accessed, the user equipment receives the application and the data center device returns The software installation list corresponding to the type of the file in the shared file system directory and the shared file of the device to be accessed.
  • Step 403 The user equipment selects corresponding software from the software installation list to install, and identifies the shared file of the to-be-accessed device according to the installed software.
  • an access request is sent to the application and the data center device by using a file sharing interface, where the access request includes an identifier of the user equipment, an identifier of the device to be accessed, and a shared file system directory of the to-be-accessed device;
  • the application and the data center device access the shared file system directory of the device to be accessed according to the access request, and obtain the shared file of the device to be accessed; if the type of the user device supports the file and the device to be accessed corresponding to the identifier of the user device Obtaining a software installation list corresponding to the file type supported by the user equipment, and sending the software installation list and the shared file of the to-be-accessed device to the user equipment,
  • the user equipment selects a software from the software installation list to install to identify the shared file of the to-be-accessed device; select a software from the software installation list to install, and identify the to-be-accessed device according to the installed software.
  • the central device can directly access the shared file system directory of the device to be accessed, and obtain the device to be accessed.
  • the files are shared, and software that supports the shared files of the devices to be accessed is installed, so that normal access to shared files between devices can be achieved.
  • the method may further include:
  • the user equipment sends a registration request to the application and the data center device, where the registration request includes: a shared file system directory and a shared file of the user equipment, an identifier of the user equipment, and a file type supported by the user equipment, for the
  • the application and the data center device save the identifier of the user equipment and the file type supported by the user equipment, and mount the shared file system directory and the shared file of the user equipment in the file system namespace;
  • the registration response message includes: a registration result of the successful registration and a shared file system directory shared by the user equipment with other user equipments other than the user equipment .
  • the user equipment uniformly mounts the system directory and the shared file of the corresponding shared file in the file system namespace of the application and the data center device, The other user equipment can access the system directory of the shared file of the user equipment through the application and the data center device, and obtain the corresponding shared file, so that the shared file is normally accessed between the devices.
  • the device may be a server device, such as an application and a data center device.
  • the device includes a transceiver module 51 and an acquisition module 52, where The module 51 is configured to receive an access request sent by the user equipment, where the access request includes an identifier of the user equipment, an identifier of the to-be-accessed device, and a shared file system directory of the to-be-accessed device, where the shared file system directory is the to-be-accessed device a directory for the other device to access the shared file; the obtaining module 52 is configured to access the shared file system directory of the device to be accessed according to the access request, and obtain the shared file of the device to be accessed; Obtaining a file type corresponding to the shared file system directory, if the type of the user equipment supporting file corresponding to the identifier of the user equipment is different from the type of the to-be-accessed device supporting file corresponding to the identifier
  • FIG. 6 is a structural diagram of Embodiment 2 of a processing apparatus for a file according to the present invention.
  • the apparatus may be a server device, such as an application and a data center device.
  • the device is based on the structure shown in FIG. 5, as shown in FIG.
  • the access request received by the transceiver module 51 further includes: a user operation request, the device further includes: a processing module 61, configured to process the shared file of the device to be accessed according to the user operation request.
  • the transceiver module 51 is further configured to receive a registration request sent by the user equipment, where the registration request includes: a shared file system directory and a shared file of the user equipment, an identifier of the user equipment, and a corresponding file type supported by the user equipment;
  • the device further includes: a mounting module 63, configured to save the identifier of the user equipment and the file type supported by the user equipment according to the registration request, and share the file system directory and the shared file of the user equipment Mounted in the file system namespace;
  • the transceiver module 51 is further configured to: if the mounting module 63 is successfully mounted, return a registration response message to the user equipment corresponding to the identifier of the user equipment, where the registration response message includes: a successful registration result and a sharing to the user A shared file system directory of other user devices of the device other than the user device.
  • the registration request received by the transceiver module 51 further includes a user identifier
  • the device further includes: a rights configuration module 62, configured to configure an access right for the user identifier, where the access authority is used to mark whether the user corresponding to the user identifier can access
  • the shared file of the device to be accessed and/or the shared file of the device to be accessed can be processed.
  • the access request received by the transceiver module 51 includes a user identifier
  • the acquiring module is
  • the processing module 61 is specifically configured to: obtain an access right corresponding to the user identifier, and if the access right corresponding to the user identifier can process the shared file of the device to be accessed, the to-be-accessed according to the user operation request The shared files of the device are processed accordingly.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 or FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 7 is a structural diagram of Embodiment 3 of a processing device of a file according to the present invention.
  • the device may be a user equipment, such as a mobile phone.
  • the device includes a sending module 71, a receiving module 72, and software.
  • the module 73 is installed.
  • the sending module 71 is configured to send, by using a file sharing interface, an access request to the application and the data center device, where the access request includes an identifier of the user equipment, an identifier of the device to be accessed, and a shared file system directory of the to-be-accessed device;
  • the application and the data center device access the shared file system directory of the to-be-accessed device according to the access request, and obtain a shared file of the to-be-accessed device.
  • the receiving module 72 is configured to receive the return of the application and the data center device if the type of the user equipment supporting file corresponding to the identifier of the user equipment is different from the type of the to-be-accessed device supporting file corresponding to the identifier of the device to be accessed.
  • the software installation list corresponding to the type of the file in the shared file system directory and the shared file of the device to be accessed.
  • the software installation module 73 is configured to select a corresponding software from the software installation list for installation, and identify the shared file of the to-be-accessed device according to the installed software.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 4, and the principle and the technical effect are similar, and details are not described herein again.
  • the sending module 71 is further configured to send a registration request to the application and the data center device, where the registration request includes: a shared file system directory and a shared file of the user equipment, where The identifier of the user equipment and the file type supported by the user equipment, so that the application and the data center device save the identifier of the user equipment and the file type supported by the user equipment, and share the file system of the user equipment.
  • Directory and shared files are mounted in the file system namespace;
  • the receiving module 72 is further configured to receive a registration response message returned by the application and the data center device, where the registration response message includes: a successful registration result of the mounting and other user equipments other than the user equipment shared by the user equipment Shared file system directory.
  • the sending module 71 sends a registration request to the application and the data center device, so that the user equipment uniformly mounts the system directory and the shared file of the corresponding shared file in the file system namespace of the application and the data center device.
  • the user equipment uniformly mounts the system directory and the shared file of the corresponding shared file in the file system namespace of the application and the data center device.
  • the application and data center device 800 includes a processor 801, a communication interface 802, a memory 803, and a bus 804.
  • the processor 801 The communication interface 802, the memory 803 completes communication with each other through the bus 804, and the communication interface 802 is configured to communicate with other devices, wherein:
  • the communication interface 802 is configured to receive an access request sent by the user equipment, where the access request includes an identifier of the user equipment, an identifier of the device to be accessed, and a shared file system directory of the to-be-accessed device, where the shared file system directory is Access the directory set by the device for other devices to access their own shared files.
  • the processor 801 is configured to access a shared file system directory of the device to be accessed according to the access request, and obtain a shared file of the device to be accessed.
  • the processor 801 is further configured to: if the type of the user equipment supporting file corresponding to the identifier of the user equipment is different from the type of the to-be-accessed device supporting file corresponding to the identifier of the device to be accessed, obtain the shared file system directory.
  • a software list corresponding to the file type, and the software list and the shared file of the device to be accessed are sent to the user device.
  • the device in this embodiment can be used to implement the technical solution of the method embodiment shown in FIG. 1.
  • the principle and the technical effect are similar, and details are not described herein again.
  • the access request received by the communication interface 802 further includes: a user operation request, and the processor 801 is further used. According to the user operation request, the shared file of the device to be accessed is processed accordingly.
  • the communication interface 802 is further configured to receive a registration request sent by the user equipment, where the registration request includes: a shared file system directory and a shared file of the user equipment, an identifier of the user equipment, and a corresponding file type supported by the user equipment;
  • the storage 803 is configured to save the identifier of the user equipment and the file type supported by the user equipment according to the registration request, and mount the shared file system directory and the shared file of the user equipment in the file system namespace;
  • the communication interface 802 is configured to: when the connection is successful, return a registration response message to the user equipment corresponding to the identifier of the user equipment, where the registration response message includes: a successful registration result and a user shared with the user equipment A shared file system directory of other user devices other than the device.
  • the registration request received by the communication interface 802 further includes a user identifier
  • the processor 801 is further configured to configure an access right for the user identifier, where the access right is used to mark whether the user corresponding to the user identifier can access
  • the shared file of the device to be accessed and/or the shared file of the device to be accessed can be processed.
  • the access request received by the communication interface 802 includes a user identifier, and the processor 801 is specifically configured to: obtain an access right corresponding to the user identifier, and if the access right corresponding to the user identifier can access the shared file of the device to be accessed, Accessing the shared file system directory of the device to be accessed, Obtain a shared file of the device to be accessed;
  • the processor 801 is specifically configured to: obtain an access right corresponding to the user identifier, and if the access right corresponding to the user identifier can process the shared file of the device to be accessed, the to-be-accessed according to the user operation request The shared files of the device are processed accordingly.
  • FIG. 9 is a structural diagram of Embodiment 1 of a user equipment according to the present invention, as shown in FIG.
  • a communication interface 902 a memory 903, and a bus 904, the processor 901, the communication interface
  • the memory 903 performs communication with each other through the bus 904.
  • the communication interface 902 is configured to communicate with other devices, where:
  • the communication interface 902 is configured to send, by using a file sharing interface, an access request to an application and a data center device, where the access request includes an identifier of the user equipment, an identifier of the device to be accessed, and a shared file system directory of the to-be-accessed device; The device and the data device access the shared file system directory of the device to be accessed according to the access request, and obtain the shared file of the device to be accessed.
  • the communication interface 902 is further configured to receive the application and the data center device if the type of the user equipment supporting file corresponding to the identifier of the user equipment is different from the type of the to-be-accessed device supporting file corresponding to the identifier of the device to be accessed.
  • the returned software installation list corresponding to the type of the file in the shared file system directory and the shared file of the device to be accessed.
  • the processor 901 is configured to select a corresponding software from the software installation list for installation, and identify the shared file of the to-be-accessed device according to the installed software.
  • the device in this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 4, and the implementation principle and the technical effect are similar, and details are not described herein again.
  • the communication interface 902 is further configured to send a registration request to the application and the data center device, where the registration request includes: the user equipment The shared file system directory and the shared file, the identifier of the user device, and the file type supported by the user device, for the application and the data center device to save the identifier of the user device and the corresponding file type supported by the user device. And mounting the shared file system directory and the shared file of the user equipment in the file system namespace;
  • the communication interface 902 is further configured to receive a registration response message returned by the application and the data center device, where the registration response message includes: a successful registration result of the mounting and sharing to the user setting A shared file system directory of other user devices than the user device.
  • 10 is an architectural diagram of Embodiment 1 of a processing system of a file according to the present invention. As shown in FIG. 10, the system includes: an application and a data center device and a plurality of user equipments, where the application and the data center device may be as shown in FIG. Application and data center device 800; the user device can be the user device 900 shown in FIG.
  • the application and the data center device 800 in the system of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 1 or FIG. 3, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the user equipment 900 in the system of this embodiment may be used to implement the technical solution of the method embodiment shown in FIG. 4, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the foregoing system embodiment can also be applied to other different scenarios, for example, can be applied to a factory network. It is assumed that the system embodiment of the present invention is deployed. If the first version of the enterprise monitoring system can only perform video recording, later, it is necessary to support analysis of the flow of people and logistics. The enterprise does not need to replace the monitoring system, just add a new application that supports the analysis of video files to the ADC software list. With the further enrichment of application software, enterprises can automate the analysis and control of warehouses, workshops, people flow, logistics. Since ADC provides a unified directory and file interface, enterprises only need to add new application software when adding new equipment. It is possible to realize communication between the newly added device and the original device, and to normally access the shared file with each other.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be electrical, mechanical or otherwise.
  • the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes the steps of the foregoing method embodiment; and the foregoing storage medium includes: ROM, RAM , a variety of media that can store program code, such as a disk or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

 本发明实施例提供一种文件的处理方法、装置及系统,本发明方法,包括:接收用户设备发送的访问请求;根据所述访问请求,访问所述待访问设备的共享文件系统目录,获取所述待访问设备的共享文件;若所述用户设备的标识对应的用户设备支持文件的类型与所述待访问的设备的标识对应的待访问设备支持文件的类型不相同,则获取所述共享文件系统目录中所述文件的类型对应的软件安装列表,并将软件安装列表和所述待访问设备的共享文件发送给所述用户设备。本发明实施例,通过用户设备从所述软件安装列表中选择一个软件进行安装,以识别所述待访问设备的共享文件,以实现在不需要增加硬件成本和复杂的驱动程序开发基础上实现设备间的相互通信。

Description

文件的处理方法、 装置及系统
技术领域
本发明实施例涉及网络通信技术, 尤其涉及一种文件的处理方法、 装 置及系统。 背景技术
目前, 很多设备之间需要进行通信, 为了能够让两个信息交换规范不统 一的两个设备具有相互通信的能力, 主要采取的措施有如下几种: 第一种是 在这两个设备上增加兼容的硬件模块, 并在网络之间互连的协议 (Internet Protocol , 简称 IP) 上建立一套新协议, 以及在超文本传输协议 (Hyper Text Transfer Protocol,简称 HTTP)和实时传输协议 (Real-time Transport Protocol, 简称 RTP) 这两个传输协议之上建立一套新协议; 第二种是在这两个设备上 增加兼容的硬件模块, 并在底层以太网、通用串行总线(Universal Serial Bus, 简称 USB ) 等标准传输层上建立一套新协议; 第三种是在这两个设备上增加 兼容的硬件模块, 并在底层以太网协议标准传输层上建立一套新协议, 并在 增加的兼容的硬件模块上建立新的传输和控制协议。
但是, 现有技术中通过在这两个设备上增加兼容的硬件模块或者开发复 杂的新协议实现设备间的文件共享, 但是由于用户设备本地安装的读写文件 的软件类型和数量有限, 导致即使实现相互通信也无法实现对共享文件的正 常读写。 发明内容
有鉴于此, 本发明实施例提供一种文件的处理方法、 装置及系统, 可 以实现用户设备间实现对共享文件的正常读写。
第一方面, 本发明实施例提供一种文件的处理方法, 包括:
应用和数据中心设备接收用户设备发送的访问请求, 所述访问请求包括 所述用户设备的标识、 待访问设备的标识, 以及所述待访问设备的共享文件 系统目录, 所述共享文件系统目录是所述待访问设备设置的供其他设备访问 其自身共享文件的目录;
所述应用和数据中心设备根据所述访问请求, 访问所述待访问设备的共 享文件系统目录, 获取所述待访问设备的共享文件;
若所述用户设备的标识对应的用户设备支持文件的类型与所述待访问的 设备的标识对应的待访问设备支持文件的类型不相同, 则所述应用和数据中 心设备获取所述共享文件系统目录下的所述文件类型对应的软件列表, 并将 所述软件列表和所述待访问设备的共享文件发送给所述用户设备。
在第一方面的第一种可能的实现方式中, 还包括:
所述应用和数据中心设备接收所述用户设备发送的注册请求, 所述注册 请求包括: 所述用户设备的共享文件系统目录和共享文件, 所述用户设备的 标识以及对应的所述用户设备支持的文件类型;
所述应用和数据中心设备根据所述注册请求, 保存所述用户设备的标识 以及对应的所述用户设备支持的文件类型, 并将所述用户设备的共享文件系 统目录和共享文件挂载在文件系统命名空间中;
若挂载成功, 则所述应用和数据中心设备向所述用户设备的标识对应的 用户设备返回注册响应消息, 所述注册响应消息包括: 挂载成功的注册结果 以及共享给所述用户设备的除所述用户设备之外的其他用户设备的共享文件 系统目录。
根据第一方面或者第一方面的第一种可能的实现方式, 在第一方面的第 二种可能的实现方式中, 所述注册请求还包括用户标识, 则所述方法还包括: 所述应用和数据中心设备为所述用户标识配置访问权限, 所述访问权限 用于标记所述用户标识对应的用户是否能够访问所述待访问设备的共享文件 和 /或能够对所述待访问设备的共享文件进行处理。
根据第一方面的第二种可能的实现方式, 在第一方面的第三种可能的实 现方式中, 所述访问请求包括用户标识, 则所述应用和数据中心设备根据所 述访问请求, 访问所述待访问设备的共享文件系统目录, 获取所述待访问设 备的共享文件, 包括:
所述应用和数据中心设备获取所述用户标识对应的访问权限, 若所述用 户标识对应的访问权限能够访问所述待访问设备的共享文件, 则访问所述待 访问设备的共享文件系统目录, 获取所述待访问设备的共享文件; 则所述应用和数据中心设备根据所述用户操作请求, 对所述待访问设备 的共享文件进行相应地处理, 包括:
所述应用和数据中心设备获取所述用户标识对应的访问权限, 若所述用 户标识对应的访问权限能够对所述待访问设备的共享文件进行处理, 则根据 所述用户操作请求, 对所述待访问设备的共享文件进行相应地处理。
第二方面, 本发明实施例提供一种文件的处理方法, 包括:
用户设备通过文件共享接口, 向应用和数据中心设备发送访问请求, 所 述访问请求包括用户设备的标识、 待访问设备的标识, 以及所述待访问设备 的共享文件系统目录; 以供所述应用和数据中心设备根据所述访问请求, 访 问所述待访问设备的共享文件系统目录, 获取所述待访问设备的共享文件; 若所述用户设备的标识对应的用户设备支持文件的类型与所述待访问的 设备的标识对应的待访问设备支持文件的类型不相同, 则所述用户设备接收 所述应用和数据中心设备返回的所述共享文件系统目录中所述文件的类型对 应的软件安装列表和所述待访问设备的共享文件;
所述用户设备从所述软件安装列表中选择相应的软件进行安装, 并根据 安装后的所述软件识别所述待访问设备的共享文件。
在第二方面的第一种可能的实现方式中, 包括:
所述用户设备向所述应用和数据中心设备发送注册请求, 所述注册请求 包括: 所述用户设备的共享文件系统目录和共享文件, 所述用户设备的标识 以及对应的所述用户设备支持的文件类型, 以供所述应用和数据中心设备保 存所述用户设备的标识以及对应的所述用户设备支持的文件类型, 并将所述 用户设备的共享文件系统目录和共享文件挂载在文件系统命名空间中;
所述用户设备接收所述应用和数据中心设备返回的注册响应消息, 所述 注册响应消息包括: 挂载成功的注册结果以及共享给所述用户设备的除所述 用户设备之外的其他用户设备的共享文件系统目录。
第三方面, 本发明实施例提供一种文件的处理装置, 包括:
收发模块, 用于接收用户设备发送的访问请求, 所述访问请求包括所述 用户设备的标识、 待访问设备的标识, 以及所述待访问设备的共享文件系统 目录, 所述共享文件系统目录是所述待访问设备设置的供其他设备访问其自 身共享文件的目录; 获取模块, 用于根据所述访问请求, 访问所述待访问设备的共享文件系 统目录, 获取所述待访问设备的共享文件;
所述获取模块, 还用于若所述用户设备的标识对应的用户设备支持文件 的类型与所述待访问的设备的标识对应的待访问设备支持文件的类型不相 同, 则获取所述共享文件系统目录下的所述文件类型对应的软件列表, 并将 所述软件列表和所述待访问设备的共享文件发送给所述用户设备。
在第三方面的第一种可能的实现方式中, 所述收发模块, 还用于接收所 述用户设备发送的注册请求, 所述注册请求包括: 所述用户设备的共享文件 系统目录和共享文件, 所述用户设备的标识以及对应的所述用户设备支持的 文件类型;
相应地, 所述装置还包括:
挂载模块, 用于根据所述注册请求, 保存所述用户设备的标识以及对应 的所述用户设备支持的文件类型, 并将所述用户设备的共享文件系统目录和 共享文件挂载在文件系统命名空间中;
所述收发模块还用于若挂载成功, 则向所述用户设备的标识对应的用户 设备返回注册响应消息, 所述注册响应消息包括: 挂载成功的注册结果以及 共享给所述用户设备的除所述用户设备之外的其他用户设备的共享文件系统 目录。
根据第三方面或者第三方面的第一种可能的实现方式, 在第三方面的第 二种可能的实现方式中,所述收发模块接收的所述注册请求还包括用户标识, 则所述装置还包括:
权限配置模块, 用于为所述用户标识配置访问权限, 所述访问权限用于 标记所述用户标识对应的用户是否能够访问所述待访问设备的共享文件和 / 或能够对所述待访问设备的共享文件进行处理。
根据第三方面的第二种可能的实现方式, 在第三方面的第三种可能的实 现方式中, 所述收发模块接收的所述访问请求包括用户标识, 则所述获取模 块, 具体用于:
获取所述用户标识对应的访问权限, 若所述用户标识对应的访问权限能 够访问所述待访问设备的共享文件, 则访问所述待访问设备的共享文件系统 目录, 获取所述待访问设备的共享文件; 则所述处理模块, 具体用于:
获取所述用户标识对应的访问权限, 若所述用户标识对应的访问权限能 够对所述待访问设备的共享文件进行处理, 则根据所述用户操作请求, 对所 述待访问设备的共享文件进行相应地处理。
第四方面, 本发明实施例提供一种文件的处理装置, 包括:
发送模块, 用于通过文件共享接口, 向应用和数据中心设备发送访问请 求, 所述访问请求包括用户设备的标识、 待访问设备的标识, 以及所述待访 问设备的共享文件系统目录; 以供所述应用和数据中心设备根据所述访问请 求, 访问所述待访问设备的共享文件系统目录, 获取所述待访问设备的共享 文件;
接收模块, 用于若所述用户设备的标识对应的用户设备支持文件的类型 与所述待访问的设备的标识对应的待访问设备支持文件的类型不相同, 则接 收所述应用和数据中心设备返回的所述共享文件系统目录中所述文件的类型 对应的软件安装列表和所述待访问设备的共享文件;
软件安装模块, 用于从所述软件安装列表中选择相应的软件进行安装, 并根据安装后的所述软件识别所述待访问设备的共享文件。
在第四方面的第一种可能的实现方式中, 包括:
所述发送模块, 还用于向所述应用和数据中心设备发送注册请求, 所述 注册请求包括: 所述用户设备的共享文件系统目录和共享文件, 所述用户设 备的标识以及对应的所述用户设备支持的文件类型, 以供所述应用和数据中 心设备保存所述用户设备的标识以及对应的所述用户设备支持的文件类型, 并将所述用户设备的共享文件系统目录和共享文件挂载在文件系统命名空间 中;
所述接收模块, 还用于接收所述应用和数据中心设备返回的注册响应消 息, 所述注册响应消息包括: 挂载成功的注册结果以及共享给所述用户设备 的除所述用户设备之外的其他用户设备的共享文件系统目录。
第五方面, 本发明实施例提供一种应用和数据中心设备, 包括处理器、 通信接口、 存储器以及总线, 所述处理器、 所述通信接口、 所述存储器通过 所述总线完成相互间的通信, 所述通信接口用于与其他设备进行通信, 其中: 所述通信接口, 用于接收用户设备发送的访问请求, 所述访问请求包括 所述用户设备的标识、 待访问设备的标识, 以及所述待访问设备的共享文件 系统目录, 所述共享文件系统目录是所述待访问设备设置的供其他设备访问 其自身共享文件的目录;
所述处理器, 用于根据所述访问请求, 访问所述待访问设备的共享文件 系统目录, 获取所述待访问设备的共享文件;
所述处理器, 还用于若所述用户设备的标识对应的用户设备支持文件的 类型与所述待访问的设备的标识对应的待访问设备支持文件的类型不相同, 则获取所述共享文件系统目录下的所述文件类型对应的软件列表, 并将所述 软件列表和所述待访问设备的共享文件发送给所述用户设备。
在第五方面的第一种可能的实现方式中, 所述通信接口, 还用于接收所 述用户设备发送的注册请求, 所述注册请求包括: 所述用户设备的共享文件 系统目录和共享文件, 所述用户设备的标识以及对应的所述用户设备支持的 文件类型;
所述存储器, 用于根据所述注册请求, 保存所述用户设备的标识以及对 应的所述用户设备支持的文件类型, 并将所述用户设备的共享文件系统目录 和共享文件挂载在文件系统命名空间中;
所述通信接口, 用于若挂载成功, 则向所述用户设备的标识对应的用户 设备返回注册响应消息, 所述注册响应消息包括: 挂载成功的注册结果以及 共享给所述用户设备的除所述用户设备之外的其他用户设备的共享文件系统 目录。
根据第五方面或者第五方面的第一种可能的实现方式, 在第五方面的第 二种可能的实现方式中,所述通信接口接收的所述注册请求还包括用户标识, 则所述处理器, 还用于为所述用户标识配置访问权限, 所述访问权限用于标 记所述用户标识对应的用户是否能够访问所述待访问设备的共享文件和 /或 能够对所述待访问设备的共享文件进行处理。
根据第五方面的第二种可能的实现方式, 在第五方面的第三种可能的实 现方式中, 所述通信接口接收的所述访问请求包括用户标识, 则所述处理器, 具体用于:
获取所述用户标识对应的访问权限, 若所述用户标识对应的访问权限能 够访问所述待访问设备的共享文件, 则访问所述待访问设备的共享文件系统 目录, 获取所述待访问设备的共享文件;
则所述处理器, 具体用于:
获取所述用户标识对应的访问权限, 若所述用户标识对应的访问权限能 够对所述待访问设备的共享文件进行处理, 则根据所述用户操作请求, 对所 述待访问设备的共享文件进行相应地处理。
第六方面, 本发明实施例提供一种用户设备, 包括处理器、 通信接口、 存储器以及总线, 所述处理器、 所述通信接口、 所述存储器通过所述总线完 成相互间的通信, 所述通信接口用于与其他设备进行通信, 其中:
所述通信接口, 用于通过文件共享接口, 向应用和数据中心设备发送访 问请求, 所述访问请求包括用户设备的标识、 待访问设备的标识, 以及所述 待访问设备的共享文件系统目录; 以供所述应用和数据中心设备根据所述访 问请求, 访问所述待访问设备的共享文件系统目录, 获取所述待访问设备的 共享文件;
所述通信接口, 还用于若所述用户设备的标识对应的用户设备支持文件 的类型与所述待访问的设备的标识对应的待访问设备支持文件的类型不相 同, 则接收所述应用和数据中心设备返回的所述共享文件系统目录中所述文 件的类型对应的软件安装列表和所述待访问设备的共享文件;
所述处理器, 用于从所述软件安装列表中选择相应的软件进行安装, 并 根据安装后的所述软件识别所述待访问设备的共享文件。
在第六方面的第一种可能的实现方式中, 所述通信接口, 还用于向所述 应用和数据中心设备发送注册请求, 所述注册请求包括: 所述用户设备的共 享文件系统目录和共享文件, 所述用户设备的标识以及对应的所述用户设备 支持的文件类型, 以供所述应用和数据中心设备保存所述用户设备的标识以 及对应的所述用户设备支持的文件类型, 并将所述用户设备的共享文件系统 目录和共享文件挂载在文件系统命名空间中;
所述通信接口, 还用于接收所述应用和数据中心设备返回的注册响应消 息, 所述注册响应消息包括: 挂载成功的注册结果以及共享给所述用户设备 的除所述用户设备之外的其他用户设备的共享文件系统目录。
第七方面, 本发明实施例提供一种文件的处理系统, 包括应用和数据中 心设备和多个用户设备, 其中: 所述应用和数据中心设备为第五方面, 第五方面第一种至第五种任一可 能实现方式所述的应用和数据中心设备;
所述用户设备为第六方面或第六方面第一种可能的实现方式所述的 用户设备。
本发明实施例通过在应用和数据中心设备上部署支持所有用户设备共 享文件类型的访问应用软件, 以解决由于用户设备本地安装的读写文件的软 件类型和数量有限, 导致即使实现相互通信也无法实现对共享文件的读写。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的附图。 图 1为本发明文件的处理方法实施例一的流程图;
图 2为本发明文件的处理方法实施例二的应用场景图;
图 3为本发明文件的处理方法实施例三的流程图;
图 4为本发明文件的处理方法实施例五的流程图;
图 5为本发明文件的处理装置实施例一的结构图;
图 6为本发明文件的处理装置实施例二的结构图;
图 7为本发明文件的处理装置实施例三的结构图;
图 8为本发明应用和数据中心设备实施例一的结构图;
图 9为本发明用户设备实施例一的结构图;
图 10为本发明文件的处理系统实施例一的架构图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。 图 1为本发明文件的处理方法实施例一的流程图, 本方法的执行主体是 文件的处理装置, 该装置可以为服务器设备, 如可定义成应用和数据中心设 备。 如图 1所示, 该方法具体包括:
步骤 101、应用和数据中心设备接收用户设备发送的访问请求, 该访问请 求包括该用户设备的标识、 待访问设备的标识, 以及该待访问设备的共享文 件系统目录, 该共享文件系统目录是该待访问设备设置的供其他设备访问其 自身共享文件的目录。
在本实施例中, 该用户设备的标识可以为用户设备的硬件地址、 生产厂 家标识或者设备型号等标识, 即为可以唯一标识该用户设备的属性信息。
步骤 102、 该应用和数据中心设备根据该访问请求, 访问该待访问设备的 共享文件系统目录, 获取该待访问设备的共享文件。
在本实施例中, 可选地, 文件的处理装置可以接收用户设备通过文件共 享协议发送的该用户设备的共享文件系统目录和共享文件, 并将该用户设备 的共享文件系统目录和共享文件挂载在服务器设备, 例如应用和数据中心设 备的文件系统命名空间中, 从而在接收到访问请求后, 可以访问该待访问设 备的共享文件系统目录, 获取该待访问设备的共享文件。
步骤 103、 若该用户设备的标识对应的用户设备支持文件的类型与该 待访问的设备的标识对应的待访问设备支持文件的类型不相同, W I」该应 用和数据中心设备获取该共享文件系统目录下的该文件类型对应的软件 列表, 并将该软件列表和所述待访问设备的共享文件发送给该用户设 备。
本步骤中具体实施时, 软件列表可以是以软件的基本属性组成的列表, 比如标记、 标识、 类型或者是软件本身例如命名组成的列表。 由于该应用 和数据中心设备将软件列表和该待访问设备的共享文件发送给该用户设 备, 因此该用户设备可以从该软件安装列表中选择软件进行安装, 从而实 现识别该待访问设备的共享文件。
在本实施例中, 在不同类型和应用的各种用户设备之间可能存在不能兼 容访问的文件类型, 举例来说, 以视频文件为例, 例如监控设备监控生成的 原始视频图像文件的格式为音频视频交错 (Audio Video Interleaved, 简称 AVI)格式, 而如果用户设备, 例如手机, 只支持动态图像专家组 -4 (Moving Pictures Experts Group/Motion Pictures Experts Group-4, 简称 MP4 ) 格式的文 件, 因此, 当手机需要访问监控设备的视频文件, 则文件的处理装置需要访 问监控设备的共享文件系统目录, 获取该监控设备的共享文件,即视频文件, 并将支持播放 AVI格式文件的软件安装列表发送给该用户设备, 以供该用户 设备从该软件安装列表中选择一个适用于用户设备自身的软件进行安装, 以 识别该 AVI文件。
在本实施例中, 通过接收用户设备发送的访问请求, 并根据该访问请求, 访问该待访问设备的共享文件系统目录, 获取该待访问设备的共享文件, 若 该用户设备的标识对应的用户设备支持文件的类型与该待访问的设备的标识 对应的待访问设备支持文件的类型不相同, 则获取与该用户设备支持的文件 类型对应的软件安装列表, 并将软件安装列表和该待访问设备的共享文件发 送给该用户设备, 可以使得该用户设备从该软件安装列表中选择一个软件进 行安装, 从而实现了各用户设备之间的共享文件的正常读写。
图 2为本发明文件的处理方法实施例二的应用场景图, 在本实施例中, 以文件的处理方法的应用场景为家庭网络为例, 如图 2所示, 该家庭网络可 以包括用户设备、 无线路由器、 数据通信交换机以及应用和数据中心 (App&Data Center, 简称 ADC)服务器。 其中, 用户设备可以具体包括客厅 电器设备、 家庭监控设备、 厨房电器设备、 手机和个人电脑; 各个用户设备 之间通过数据通信交换与 ADC连接, ADC起到一个家庭数据中心的作用。 各设备与数据通信交换机之间的通信协议有比较多的形式, 例如: 有线连接 的有以太网、 以太网上承载点到点连接协议 (point to point protocol over Ethernet,简称 PPPoE)、帧中继等等,无线连接的有无线保真(Wireless Fidelity, 简称 WIFI) 、 蓝牙、 近距离无线通讯技术 (Near Field Communication, 简称 NFC ) 等等。 这些协议的功能都是提供通信, 在各种通信协议上, 都可以提 供用户设备的共享文件系统目录和共享文件。
另外, 各用户设备上可以内置各种具体功能部件, 例如扬声器、 录音头、 摄像头、 各种类型的传感器, 这些在用户设备上都以设备目录和文件的方式 进行管理; 同时也有自己的功能处理单元, 例如媒体解码播放单元、 电源管 理单元等, 这些都是目录和文件的使用者, 通过控制文件进行控制。 用户设 备通过网络接口连接到网络上, 对外提供共享文件系统目录和共享文件, 以 及文件共享接口。
图 3为本发明文件的处理方法实施例三的流程图, 本方法的执行主体是 文件的处理装置, 该装置可以具体为服务器设备, 例如应用和数据中心设 备。 以上述图 2所示的家庭网络的应用场景为例, 详细介绍本实施例的技术 方案, 如图 3所示, 该方法具体包括:
步骤 301、该应用和数据中心设备接收该用户设备发送的注册请求, 该 注册请求包括: 该用户设备的共享文件系统目录和共享文件, 该用户设备 的标识以及对应的该用户设备支持的文件类型。
在本实施例中, 用户设备上可以预先配置有应用和数据中心的 IP地址, 以使该用户设备根据该应用和数据中心设备的 IP地址, 向对应的应用和数据 中心设备发送注册请求。
步骤 302、该应用和数据中心设备根据该注册请求, 保存该用户设备的 标识以及对应的该用户设备支持的文件类型, 并将该用户设备的共享文件 系统目录和共享文件挂载在文件系统命名空间中。
步骤 303、若挂载成功, 则该应用和数据中心设备向该用户设备的标识 对应的用户设备返回注册响应消息, 该注册响应消息包括: 挂载成功的注 册结果以及共享给该用户设备的除该用户设备之外的其他用户设备的共 享文件系统目录。
在本实施例中, 举例来说, 表一为家庭监控设备上可以访问的其他设备 的共享文件的系统目录。
Figure imgf000012_0001
Figure imgf000012_0002
Alarm.mp3 Alarm.mp3
Welcome.mp3 Welcome.mp3
History\ History\
20120306\ 20120306\
0000-0030.mp4 0000-0030.mp4
0030-0100.mp4 0030-0100.mp4
0500-0530.mp4 0500-0530.mp4
0530-0600.mp4 0530-0600.mp4
2300-2330.mp4 2300-2330.mp4
2330-0000.mp4 2330-0000.mp4
\厨房电器设备 \
\客厅电器设备 \
\手机和个人电脑\
如表一所示,举例来说,手机可以用标准的摄像头软件,打开 Camera.dev, 可以拍照片, 同时打开拾音器文件 T0ne_arm.deV就可以录像, 打开 Speaker.dev, 就可以把语音传输到家庭监控设备去播放。
步骤 304、应用和数据中心设备接收用户设备发送的访问请求, 该访问 请求包括该用户设备的标识、 待访问设备的标识, 以及该待访问设备的共 享文件系统目录, 该共享文件系统目录是该待访问设备设置的供其他设备 访问其自身共享文件的目录。
步骤 305、该应用和数据中心设备根据该访问请求, 访问该待访问设备 的共享文件系统目录, 获取该待访问设备的共享文件。
步骤 306、若该用户设备的标识对应的用户设备支持文件的类型与该待 访问的设备的标识对应的待访问设备支持文件的类型不相同, 则该应用和 数据中心设备获取该共享文件系统目录下的该文件类型对应的软件列表, 并将软件列表和该待访问设备的共享文件发送给该用户设备。
在本实施例中, 举例来说, 当男主人出差中, 通过手机查看挂载到手机 的 ADC文件系统空间, 在打开文件" \家庭监控设备 \Camera.dev"就可以直接 看到实时监控的视频文件。 发现家里老人在和两个孩子说话, 两个孩子都在 哭。 男主人通过手机打开 "\家庭监控设备 \ Speaker.dev"就可以在手机上说 话, 并在监控设备的喇叭上播放; 而实时监控画面同时可以看到他们在家里 的活动, 可以听到他们的声音。 同时, 男主人通过打开" \家庭监控设备 \ HistoryV目录下面的历史视频文件, 可以了解事情的经过。
另外一个场景, 女主人出差中, 通过手机查看挂载到手机的 ADC文件系 统空间, 在打开文件" \家庭监控设备 \Camera.dev"时, ADC发现手机不支持 dev格式的文件访问, 只支持 MP4的文件格式, 此时 ADC将支持访问 dev格式 文件的软件安装列表发送给女主人的手机上, 以供女主人根据手机系统支持 的软件从软件安装列表中选择一个进行安装,使得女主人的手机能支持 dev格 式文件的访问。 这样女主人就可以直接看到实时的视频监控。 比如发现孩子 在客厅沙发上面睡着了, 就通过打开" \客厅电器设备 \ "下面电视相关的文 件, 把客厅电视关闭了; 通过打开" \客厅电器设备 \ "下面空调相关的文件, 把空调温度调至合适的温度。
又一个场景, 文先生是 35岁男子, 和父母、 岳父母分开住, 自己三口之 家, 家庭电器设备接入到 ADC服务商的网络, 同时自己的父母、 岳父母的家 庭也都接入到 ADC服务商的网络。 文先生可以访问这三个家庭的所有设备。 文先生听说有一个视频监控的应用软件, 可以通过分析摄像头的实时图像, 自动检测到老人跌倒, 自动发送短信告警和语音告警。 于是文先生在 ADC服 务商启动这个应用软件。 这样, 家里有人跌倒就可以马上收到短信告警和语 音告警, 文先生可以通过手机, 连接到 ADC, 通过摄像头查看情况。 在本实施例中, 通过将该用户设备的共享文件系统目录和共享文件挂载 在文件系统命名空间中, 并可以共享给该用户设备的除该用户设备之外的其 他用户设备的共享文件系统目录, 从而用户设备可以根据接收到的其他用户 设备的共享文件文件系统目录, 访问其他用户设备的共享文件系统目录, 并 获取其对应的共享文件, 从而实现了不同的用户设备之间可以正常访问共享 文件。
进一步地, 在本发明的实施例四中, 在上述图 1或图 3所示实施例的基础 上, 该访问请求还包括: 用户操作请求, 则该方法还可以进一步包括:
根据该用户操作请求, 对该待访问设备的共享文件进行相应地处理, 比 如删除、 修改或添加等处理操作。
在本实施例中, 举例来说, 根据该用户操作请求, 对该待访问设备的共 享文件进行相应地处理的具体实现方式可以为:在获取 "\客厅电器设备 \ "下面 空调相关的文件, 则可以根据用户操作, 对空调相关的文件进行相应地读写, 例如通过更新文件的数值实现将空调温度调至合适的温度。
可选地, 该注册请求还可以包括用户标识, 则该方法还可以进一步包括: 所述应用和数据中心设备为该用户标识配置访问权限, 该访问权限用 于标记该用户标识对应的用户是否能够访问该待访问设备的共享文件和 / 或能够对该待访问设备的共享文件进行处理。
可选地, 该访问请求可以包括用户标识, 则步骤 102或者步骤 205的一种 具体实现方式为:
该应用和数据中心设备获取该用户标识对应的访问权限, 若该用户标识 对应的访问权限能够访问该待访问设备的共享文件, 则访问该待访问设备的 共享文件系统目录, 获取该待访问设备的共享文件;
则该应用和数据中心设备根据该用户操作请求, 对该待访问设备的共享 文件进行相应地处理, 包括:
该应用和数据中心设备获取该用户标识对应的访问权限, 若该用户标 识对应的访问权限能够对该待访问设备的共享文件进行处理, 则根据该用 户操作请求, 对该待访问设备的共享文件进行相应地处理。
在本实施例中, 通过对用户标识配置访问权限, 实现不同权限的用户访 问不同的共享文件, 以提高管理各用户设备共享文件的安全性和灵活性。 图 4为本发明文件的处理方法实施例五的流程图,本方法的执行主体是文 件的处理装置, 该装置可以具体为用户设备, 例如家庭监控设备或者移动设 备等。 如图 4所示, 该方法具体包括:
步骤 401、用户设备通过文件共享接口, 向应用和数据中心设备发送访问 请求, 该访问请求包括用户设备的标识、 待访问设备的标识, 以及该待访问 设备的共享文件系统目录; 以供该应用和数据中心设备根据该访问请求, 访 问该待访问设备的共享文件系统目录, 获取该待访问设备的共享文件。
在本实施例中, 应用和数据中心设备可以执行图 1或图 2所示方法实施例 的技术方案, 其实现原理相类似, 此处不再赘述。
另外, 在本实施例中, 用户设备可以根据自身的配置和应用, 从本地选 取需要共享的文件。 以家庭监控设备为例, 家庭监控设备可以选取共享的文 件可以为监控的视频文件。 以移动设备为例, 移动设备可以选择共享的文件 可以为照片和 /或文档内容。
步骤 402、若该用户设备的标识对应的用户设备支持文件的类型与该待访 问的设备的标识对应的待访问设备支持文件的类型不相同, 则该用户设备接 收该应用和数据中心设备返回的该共享文件系统目录中该文件的类型对应的 软件安装列表和该待访问设备的共享文件。
步骤 403、 该用户设备从该软件安装列表中选择相应的软件进行安 装, 并根据安装后的该软件识别该待访问设备的共享文件。
在本实施例中, 通过文件共享接口, 向应用和数据中心设备发送访问请 求, 该访问请求包括用户设备的标识、 待访问设备的标识, 以及该待访问设 备的共享文件系统目录; 以供该应用和数据中心设备根据该访问请求, 访问 该待访问设备的共享文件系统目录, 获取该待访问设备的共享文件; 若该用 户设备的标识对应的用户设备支持文件的类型与该待访问的设备的标识对应 的待访问设备支持文件的类型不相同, 则获取与该用户设备支持的文件类型 对应的软件安装列表, 并将软件安装列表和该待访问设备的共享文件发送给 该用户设备, 以供该用户设备从该软件安装列表中选择一个软件进行安装, 以识别该待访问设备的共享文件; 从该软件安装列表中选择一个软件进行安 装, 并根据安装后的该软件识别该待访问设备的共享文件; 由于应用和数据 中心设备可以直接访问待访问设备的共享文件系统目录, 获取待访问设备的 共享文件, 且安装了可以支持访问待访问设备的共享文件的软件, 因此, 可 以实现各设备之间对共享文件的正常访问。
进一步地, 在本发明的实施例六中, 在上述图 4所示的实施例的基础上, 该方法还可以包括:
该用户设备向该应用和数据中心设备发送注册请求, 该注册请求包 括: 该用户设备的共享文件系统目录和共享文件, 该用户设备的标识以及 对应的该用户设备支持的文件类型, 以供该应用和数据中心设备保存该用 户设备的标识以及对应的该用户设备支持的文件类型, 并将该用户设备的 共享文件系统目录和共享文件挂载在文件系统命名空间中;
该用户设备接收该应用和数据中心设备返回的注册响应消息, 该注册 响应消息包括: 挂载成功的注册结果以及共享给该用户设备的除该用户设 备之外的其他用户设备的共享文件系统目录。
在本实施例中, 通过向应用和数据中心设备发送注册请求, 实现用户设 备将其对应的共享文件的系统目录和和共享文件统一挂载在应用和数据中心 设备的文件系统命名空间中, 以使其他的用户设备能够通过应用和数据中心 设备访问该用户设备的共享文件的系统目录, 并获取其对应的共享文件, 从 而实现各个设备之间正常访问共享文件。
图 5为本发明文件的处理装置实施例一的结构图,该装置可以为服务器设 备, 例如应用和数据中心设备, 如图 5所示, 该装置包括收发模块 51和获取模 块 52, 其中, 收发模块 51, 用于接收用户设备发送的访问请求, 该访问请求 包括该用户设备的标识、 待访问设备的标识, 以及该待访问设备的共享文件 系统目录, 该共享文件系统目录是该待访问设备设置的供其他设备访问其自 身共享文件的目录; 获取模块 52, 用于根据该访问请求, 访问该待访问设备 的共享文件系统目录, 获取该待访问设备的共享文件; 该获取模块 52, 还用 于若该用户设备的标识对应的用户设备支持文件的类型与该待访问的设备的 标识对应的待访问设备支持文件的类型不相同, 则获取该共享文件系统目录 下的该文件类型对应的软件列表, 并将该软件列表和所述待访问设备的共享 文件发送给该用户设备。
本实施例的装置, 可以用于执行图 1所示方法实施例的技术方案, 其实 现原理和技术效果类似, 此处不再赘述。 图 6为本发明文件的处理装置实施例二的结构图,该装置可以为服务器设 备, 例如应用和数据中心设备, 该装置在图 5所示的结构的基础上, 如图 6所 示, 该收发模块 51接收的该访问请求还包括: 用户操作请求, 则该装置还包 括: 处理模块 61, 用于根据该用户操作请求, 对该待访问设备的共享文件进 行相应地处理。
收发模块 51, 还用于接收该用户设备发送的注册请求, 该注册请求包括: 该用户设备的共享文件系统目录和共享文件, 该用户设备的标识以及对应的 该用户设备支持的文件类型;
相应地, 该装置还包括: 挂载模块 63, 用于根据该注册请求, 保存该用 户设备的标识以及对应的该用户设备支持的文件类型, 并将该用户设备的共 享文件系统目录和共享文件挂载在文件系统命名空间中;
该收发模块 51还用于若该挂载模块 63挂载成功, 则向该用户设备的标识 对应的用户设备返回注册响应消息, 该注册响应消息包括: 挂载成功的注 册结果以及共享给该用户设备的除该用户设备之外的其他用户设备的共 享文件系统目录。
该收发模块 51接收的该注册请求还包括用户标识, 则该装置还包括: 权 限配置模块 62, 用于为该用户标识配置访问权限, 该访问权限用于标记该用 户标识对应的用户是否能够访问该待访问设备的共享文件和 /或能够对该待 访问设备的共享文件进行处理。
可选地, 该收发模块 51接收的该访问请求包括用户标识, 则该获取模块
52, 具体用于: 获取该用户标识对应的访问权限, 若该用户标识对应的访问 权限能够访问该待访问设备的共享文件, 则访问该待访问设备的共享文件系 统目录, 获取该待访问设备的共享文件;
则该处理模块 61, 具体用于: 获取该用户标识对应的访问权限, 若该用 户标识对应的访问权限能够对该待访问设备的共享文件进行处理, 则根据该 用户操作请求, 对该待访问设备的共享文件进行相应地处理。
本实施例的装置,可以用于执行图 1或图 3所示方法实施例的技术方案, 其实现原理和技术效果类似, 此处不再赘述。
图 7为本发明文件的处理装置实施例三的结构图, 该装置可以为用户设 备, 例如手机, 如图 7所示, 该装置包括发送模块 71、 接收模块 72和软件 安装模块 73。 其中, 发送模块 71, 用于通过文件共享接口, 向应用和数据 中心设备发送访问请求, 该访问请求包括用户设备的标识、 待访问设备 的标识, 以及该待访问设备的共享文件系统目录; 以供该应用和数据中 心设备根据该访问请求, 访问该待访问设备的共享文件系统目录, 获取 该待访问设备的共享文件。 接收模块 72, 用于若该用户设备的标识对应的 用户设备支持文件的类型与该待访问的设备的标识对应的待访问设备支 持文件的类型不相同, 则接收该应用和数据中心设备返回的该共享文件 系统目录中该文件的类型对应的软件安装列表和该待访问设备的共享文 件。 软件安装模块 73, 用于从该软件安装列表中选择相应的软件进行安 装, 并根据安装后的该软件识别该待访问设备的共享文件。
本实施例的装置, 可以用于执行图 4所示方法实施例的技术方案, 其实 现原理和技术效果类似, 此处不再赘述。
进一步地, 在图 7所示的结构基础上, 该发送模块 71, 还用于向该应用和 数据中心设备发送注册请求, 该注册请求包括: 该用户设备的共享文件系统 目录和共享文件,该用户设备的标识以及对应的该用户设备支持的文件类型, 以供该应用和数据中心设备保存该用户设备的标识以及对应的该用户设备支 持的文件类型, 并将所述用户设备的共享文件系统目录和共享文件挂载在文 件系统命名空间中;
该接收模块 72,还用于接收该应用和数据中心设备返回的注册响应消息, 该注册响应消息包括: 挂载成功的注册结果以及共享给该用户设备的除该用 户设备之外的其他用户设备的共享文件系统目录。
在上述实施例中,通过发送模块 71向应用和数据中心设备发送注册请求, 实现用户设备将其对应的共享文件的系统目录和和共享文件统一挂载在应用 和数据中心设备的文件系统命名空间中, 以使其他的用户设备能够通过应用 和数据中心设备访问该用户设备的共享文件的系统目录, 并获取其对应的共 享文件, 从而实现各个设备之间的互相通信。
图 8为本发明应用和数据中心设备实施例一的结构图, 如图 8所示, 该 应用和数据中心设备 800, 包括处理器 801、 通信接口 802、 存储器 803以及 总线 804, 该处理器 801、 该通信接口 802、 该存储器 803通过该总线 804完 成相互间的通信, 该通信接口 802用于与其他设备进行通信, 其中: 该通信接口 802, 用于接收用户设备发送的访问请求, 该访问请求包括该 用户设备的标识、 待访问设备的标识, 以及该待访问设备的共享文件系统目 录, 该共享文件系统目录是该待访问设备设置的供其他设备访问其自身共享 文件的目录。 该处理器 801, 用于根据该访问请求, 访问该待访问设备的共享 文件系统目录, 获取该待访问设备的共享文件。 该处理器 801, 还用于若该用 户设备的标识对应的用户设备支持文件的类型与该待访问的设备的标识对应 的待访问设备支持文件的类型不相同, 则获取该共享文件系统目录下的该文 件类型对应的软件列表, 并将该软件列表和该待访问设备的共享文件发送给 该用户设备。
本实施例的装置, 可以用于执行图 1所示方法实施例的技术方案, 其实 现原理和技术效果类似, 此处不再赘述。
在本发明应用和数据中心设备实施例二中, 在图 8所示结构的基础上, 进 一步地, 该通信接口 802接收的该访问请求还包括: 用户操作请求, 则该处理 器 801, 还用于根据该用户操作请求, 对该待访问设备的共享文件进行相应地 处理。
该通信接口 802, 还用于接收该用户设备发送的注册请求, 该注册请求包 括: 该用户设备的共享文件系统目录和共享文件, 该用户设备的标识以及对 应的该用户设备支持的文件类型; 该存储器 803, 用于根据该注册请求, 保存 该用户设备的标识以及对应的该用户设备支持的文件类型, 并将该用户设备 的共享文件系统目录和共享文件挂载在文件系统命名空间中; 该通信接口 802, 用于若挂载成功, 则向该用户设备的标识对应的用户设备返回注册响应 消息, 该注册响应消息包括: 挂载成功的注册结果以及共享给该用户设备的 除该用户设备之外的其他用户设备的共享文件系统目录。
可选地, 该通信接口 802接收的该注册请求还包括用户标识, 则该处理器 801, 还用于为该用户标识配置访问权限, 该访问权限用于标记该用户标识对 应的用户是否能够访问该待访问设备的共享文件和 /或能够对该待访问设备 的共享文件进行处理。
该通信接口 802接收的该访问请求包括用户标识, 则该处理器 801, 具体 用于: 获取该用户标识对应的访问权限, 若该用户标识对应的访问权限能够 访问该待访问设备的共享文件, 则访问该待访问设备的共享文件系统目录, 获取该待访问设备的共享文件;
则该处理器 801, 具体用于: 获取该用户标识对应的访问权限, 若该用户 标识对应的访问权限能够对该待访问设备的共享文件进行处理, 则根据该用 户操作请求, 对该待访问设备的共享文件进行相应地处理。
上述实施例可以用于执行图 1或图 3所示方法实施例的技术方案, 其实现 原理和技术效果类似, 此处不再赘述。
图 9 为本发明用户设备实施例一的结构图, 如图 9 所示, 包括处理器
901、 通信接口 902、 存储器 903 以及总线 904, 该处理器 901、 该通信接口
902、 该存储器 903通过该总线 904完成相互间的通信, 该通信接口 902用于 与其他设备进行通信, 其中:
该通信接口 902, 用于通过文件共享接口, 向应用和数据中心设备发送访 问请求, 该访问请求包括用户设备的标识、 待访问设备的标识, 以及该待访 问设备的共享文件系统目录; 以供该应用和数据中 ^ 设备根据该访问请求, 访问该待访问设备的共享文件系统目录, 获取该待访问设备的共享文件。 该 通信接口 902,还用于若该用户设备的标识对应的用户设备支持文件的类型与 该待访问的设备的标识对应的待访问设备支持文件的类型不相同, 则接收该 应用和数据中心设备返回的该共享文件系统目录中该文件的类型对应的软件 安装列表和该待访问设备的共享文件。该处理器 901, 用于从该软件安装列表 中选择相应的软件进行安装, 并根据安装后的该软件识别该待访问设备的共 享文件。
本实施例的装置, 可以用于执行图 4所示方法实施例的技术方案, 其实现 原理和技术效果类似, 此处不再赘述。
在本发明用户设备实施例二中, 在图 9所示结构的基础上, 进一步地, 该 通信接口 902, 还用于向该应用和数据中心设备发送注册请求, 该注册请求包 括: 该用户设备的共享文件系统目录和共享文件, 该用户设备的标识以及对 应的该用户设备支持的文件类型, 以供该应用和数据中心设备保存该用户设 备的标识以及对应的该用户设备支持的文件类型, 并将该用户设备的共享文 件系统目录和共享文件挂载在文件系统命名空间中;
该通信接口 902, 还用于接收该应用和数据中心设备返回的注册响应 消息, 该注册响应消息包括: 挂载成功的注册结果以及共享给该用户设 备的除该用户设备之外的其他用户设备的共享文件系统目录。 图 10为本发明文件的处理系统实施例一的架构图, 如图 10所示, 该系统 包括: 应用和数据中心设备和多个用户设备, 其中该应用和数据中心设备可 以为图 8所示的应用和数据中心设备 800;该用户设备可以为图 9所示的用户设 备 900。
本实施例系统中的应用和数据中心设备 800,可以用于执行图 1或图 3所示 方法实施例的技术方案, 其实现原理和技术效果类似, 此处不再赘述。
本实施例系统中的用户设备 900, 可以用于执行图 4所示方法实施例的技 术方案, 其实现原理和技术效果类似, 此处不再赘述。
需要说明的是, 上述系统实施例除了可以应用于家庭网络中, 还可以应 用于其他不同的场景, 举例来说, 可以应用于工厂网络中。 假设部署了本发 明的系统实施例, 若企业监控系统第一个版本, 只能进行视频录制工作, 后 来, 需要支持对视频进行分析人流和物流。 则企业不需要更换监控系统, 只 要在 ADC 的软件列表中增加新的支持分析视频文件的应用软件就可以了。 随着应用软件的进一步丰富, 企业可以对仓库、 车间、 人流、 物流进行自动 化的分析和控制, 由于 ADC 提供了统一的目录和文件接口, 企业在增加新 的设备时, 只要增加新的应用软件就可以实现新增设备与原设备之间互相通 信, 互相正常访问共享的文件。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 装置和 方法, 可以通过其它的方式实现。 例如, 以上所描述的装置实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间 的耦合或直接耦合或通信连接可以是通过一些接口, 装置或单元的间接耦合 或通信连接, 可以是电性, 机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码的 介质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替 换, 并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权 利 要 求 书
1、 一种文件的处理方法, 其特征在于, 包括:
应用和数据中心设备接收用户设备发送的访问请求, 所述访问请求包括 所述用户设备的标识、 待访问设备的标识, 以及所述待访问设备的共享文件 系统目录, 所述共享文件系统目录是所述待访问设备设置的供其他设备访问 其自身共享文件的目录;
所述应用和数据中心设备根据所述访问请求, 访问所述待访问设备的共 享文件系统目录, 获取所述待访问设备的共享文件;
若所述用户设备的标识对应的用户设备支持文件的类型与所述待访问的 设备的标识对应的待访问设备支持文件的类型不相同, 则所述应用和数据中 心设备获取所述共享文件系统目录下的所述文件类型对应的软件列表, 并将 所述软件列表和所述待访问设备的共享文件发送给所述用户设备。
2、 根据权利要求 1所述的方法, 其特征在于, 还包括:
所述应用和数据中心设备接收所述用户设备发送的注册请求, 所述注册 请求包括: 所述用户设备的共享文件系统目录和共享文件, 所述用户设备的 标识以及对应的所述用户设备支持的文件类型;
所述应用和数据中心设备根据所述注册请求, 保存所述用户设备的标识 以及对应的所述用户设备支持的文件类型, 并将所述用户设备的共享文件系 统目录和共享文件挂载在文件系统命名空间中;
若挂载成功, 则所述应用和数据中心设备向所述用户设备的标识对应的 用户设备返回注册响应消息, 所述注册响应消息包括: 挂载成功的注册结果 以及共享给所述用户设备的除所述用户设备之外的其他用户设备的共享文件 系统目录。
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述注册请求还包括用 户标识, 则所述方法还包括:
所述应用和数据中心设备为所述用户标识配置访问权限, 所述访问权限 用于标记所述用户标识对应的用户是否能够访问所述待访问设备的共享文件 和 /或能够对所述待访问设备的共享文件进行处理。
4、 根据权利要求 3所述的方法, 其特征在于, 所述访问请求包括用户标 识, 则所述应用和数据中心设备根据所述访问请求, 访问所述待访问设备的 共享文件系统目录, 获取所述待访问设备的共享文件, 包括:
所述应用和数据中心设备获取所述用户标识对应的访问权限, 若所述用 户标识对应的访问权限能够访问所述待访问设备的共享文件, 则访问所述待 访问设备的共享文件系统目录, 获取所述待访问设备的共享文件;
则所述应用和数据中心设备根据所述用户操作请求, 对所述待访问设备 的共享文件进行相应地处理, 包括:
所述应用和数据中心设备获取所述用户标识对应的访问权限, 若所述用 户标识对应的访问权限能够对所述待访问设备的共享文件进行处理, 则根据 所述用户操作请求, 对所述待访问设备的共享文件进行相应地处理。
5、 一种文件的处理方法, 其特征在于, 包括:
用户设备通过文件共享接口, 向应用和数据中心设备发送访问请求, 所 述访问请求包括用户设备的标识、 待访问设备的标识, 以及所述待访问设备 的共享文件系统目录; 以供所述应用和数据中心设备根据所述访问请求, 访 问所述待访问设备的共享文件系统目录, 获取所述待访问设备的共享文件; 若所述用户设备的标识对应的用户设备支持文件的类型与所述待访问的 设备的标识对应的待访问设备支持文件的类型不相同, 则所述用户设备接收 所述应用和数据中心设备返回的所述共享文件系统目录中所述文件的类型对 应的软件安装列表和所述待访问设备的共享文件;
所述用户设备从所述软件安装列表中选择相应的软件进行安装, 并根据 安装后的所述软件识别所述待访问设备的共享文件。
6、 根据权利要求 5所述的方法, 其特征在于, 包括:
所述用户设备向所述应用和数据中心设备发送注册请求, 所述注册请求 包括: 所述用户设备的共享文件系统目录和共享文件, 所述用户设备的标识 以及对应的所述用户设备支持的文件类型, 以供所述应用和数据中心设备保 存所述用户设备的标识以及对应的所述用户设备支持的文件类型, 并将所述 用户设备的共享文件系统目录和共享文件挂载在文件系统命名空间中;
所述用户设备接收所述应用和数据中心设备返回的注册响应消息, 所述 注册响应消息包括: 挂载成功的注册结果以及共享给所述用户设备的除所述 用户设备之外的其他用户设备的共享文件系统目录。
7、 一种文件的处理装置, 其特征在于, 包括: 收发模块, 用于接收用户设备发送的访问请求, 所述访问请求包括所述 用户设备的标识、 待访问设备的标识, 以及所述待访问设备的共享文件系统 目录, 所述共享文件系统目录是所述待访问设备设置的供其他设备访问其自 身共享文件的目录;
获取模块, 用于根据所述访问请求, 访问所述待访问设备的共享文件系 统目录, 获取所述待访问设备的共享文件;
所述获取模块, 还用于若所述用户设备的标识对应的用户设备支持文件 的类型与所述待访问的设备的标识对应的待访问设备支持文件的类型不相 同, 则获取所述共享文件系统目录下的所述文件类型对应的软件列表, 并将 所述软件列表和所述待访问设备的共享文件发送给所述用户设备。
8、 根据权利要求 7所述的装置, 其特征在于:
所述收发模块, 还用于接收所述用户设备发送的注册请求, 所述注册请 求包括: 所述用户设备的共享文件系统目录和共享文件, 所述用户设备的标 识以及对应的所述用户设备支持的文件类型;
相应地, 所述装置还包括:
挂载模块, 用于根据所述注册请求, 保存所述用户设备的标识以及对应 的所述用户设备支持的文件类型, 并将所述用户设备的共享文件系统目录和 共享文件挂载在文件系统命名空间中;
所述收发模块还用于若挂载成功, 则向所述用户设备的标识对应的用户 设备返回注册响应消息, 所述注册响应消息包括: 挂载成功的注册结果以及 共享给所述用户设备的除所述用户设备之外的其他用户设备的共享文件系统 目录。
9、 根据权利要求 7或 8所述的装置, 其特征在于, 所述收发模块接收的所 述注册请求还包括用户标识, 则所述装置还包括:
权限配置模块, 用于为所述用户标识配置访问权限, 所述访问权限用于 标记所述用户标识对应的用户是否能够访问所述待访问设备的共享文件和 / 或能够对所述待访问设备的共享文件进行处理。
10、 根据权利要求 9所述的装置, 其特征在于, 所述收发模块接收的所述 访问请求包括用户标识, 则所述获取模块, 具体用于:
获取所述用户标识对应的访问权限, 若所述用户标识对应的访问权限能 够访问所述待访问设备的共享文件, 则访问所述待访问设备的共享文件系统 目录, 获取所述待访问设备的共享文件;
则所述处理模块, 具体用于:
获取所述用户标识对应的访问权限, 若所述用户标识对应的访问权限能 够对所述待访问设备的共享文件进行处理, 则根据所述用户操作请求, 对所 述待访问设备的共享文件进行相应地处理。
11、 一种文件的处理装置, 其特征在于, 包括:
发送模块, 用于通过文件共享接口, 向应用和数据中心设备发送访问请 求, 所述访问请求包括用户设备的标识、 待访问设备的标识, 以及所述待访 问设备的共享文件系统目录; 以供所述应用和数据中心设备根据所述访问请 求, 访问所述待访问设备的共享文件系统目录, 获取所述待访问设备的共享 文件;
接收模块, 用于若所述用户设备的标识对应的用户设备支持文件的类型 与所述待访问的设备的标识对应的待访问设备支持文件的类型不相同, 则接 收所述应用和数据中心设备返回的所述共享文件系统目录中所述文件的类型 对应的软件安装列表和所述待访问设备的共享文件;
软件安装模块, 用于从所述软件安装列表中选择相应的软件进行安装, 并根据安装后的所述软件识别所述待访问设备的共享文件。
12、 根据权利要求 11所述的装置, 其特征在于, 包括:
所述发送模块, 还用于向所述应用和数据中心设备发送注册请求, 所述 注册请求包括: 所述用户设备的共享文件系统目录和共享文件, 所述用户设 备的标识以及对应的所述用户设备支持的文件类型, 以供所述应用和数据中 心设备保存所述用户设备的标识以及对应的所述用户设备支持的文件类型, 并将所述用户设备的共享文件系统目录和共享文件挂载在文件系统命名空间 中;
所述接收模块, 还用于接收所述应用和数据中心设备返回的注册响应消 息, 所述注册响应消息包括: 挂载成功的注册结果以及共享给所述用户设备 的除所述用户设备之外的其他用户设备的共享文件系统目录。
13、 一种应用和数据中心设备, 包括处理器、 通信接口、 存储器以及总 线, 所述处理器、 所述通信接口、 所述存储器通过所述总线完成相互间的通 信, 所述通信接口用于与其他设备进行通信, 其特征在于:
所述通信接口, 用于接收用户设备发送的访问请求, 所述访问请求包括 所述用户设备的标识、 待访问设备的标识, 以及所述待访问设备的共享文件 系统目录, 所述共享文件系统目录是所述待访问设备设置的供其他设备访问 其自身共享文件的目录;
所述处理器, 用于根据所述访问请求, 访问所述待访问设备的共享文件 系统目录, 获取所述待访问设备的共享文件;
所述处理器, 还用于若所述用户设备的标识对应的用户设备支持文件的 类型与所述待访问的设备的标识对应的待访问设备支持文件的类型不相同, 则获取所述共享文件系统目录下的所述文件类型对应的软件列表, 并将所述 软件列表和所述待访问设备的共享文件发送给所述用户设备。
14、 根据权利要求 13所述的应用和数据中心设备, 其特征在于: 所述通信接口, 还用于接收所述用户设备发送的注册请求, 所述注册请 求包括: 所述用户设备的共享文件系统目录和共享文件, 所述用户设备的标 识以及对应的所述用户设备支持的文件类型;
所述存储器, 用于根据所述注册请求, 保存所述用户设备的标识以及对 应的所述用户设备支持的文件类型, 并将所述用户设备的共享文件系统目录 和共享文件挂载在文件系统命名空间中;
所述通信接口, 用于若挂载成功, 则向所述用户设备的标识对应的用户 设备返回注册响应消息, 所述注册响应消息包括: 挂载成功的注册结果以及 共享给所述用户设备的除所述用户设备之外的其他用户设备的共享文件系统 目录。
15、 根据权利要求 13或 14所述的应用和数据中心设备, 其特征在于, 所 述通信接口接收的所述注册请求还包括用户标识, 则所述处理器, 还用于为 所述用户标识配置访问权限, 所述访问权限用于标记所述用户标识对应的用 户是否能够访问所述待访问设备的共享文件和 /或能够对所述待访问设备的 共享文件进行处理。
16、 根据权利要求 15所述的应用和数据中心设备, 其特征在于, 所述通 信接口接收的所述访问请求包括用户标识, 则所述处理器, 具体用于:
获取所述用户标识对应的访问权限, 若所述用户标识对应的访问权限能 够访问所述待访问设备的共享文件, 则访问所述待访问设备的共享文件系统 目录, 获取所述待访问设备的共享文件;
则所述处理器, 具体用于:
获取所述用户标识对应的访问权限, 若所述用户标识对应的访问权限能 够对所述待访问设备的共享文件进行处理, 则根据所述用户操作请求, 对所 述待访问设备的共享文件进行相应地处理。
17、 一种用户设备, 包括处理器、 通信接口、 存储器以及总线, 所述处 理器、 所述通信接口、 所述存储器通过所述总线完成相互间的通信, 所述通 信接口用于与其他设备进行通信, 其特征在于:
所述通信接口, 用于通过文件共享接口, 向应用和数据中心设备发送访 问请求, 所述访问请求包括用户设备的标识、 待访问设备的标识, 以及所述 待访问设备的共享文件系统目录; 以供所述应用和数据中心设备根据所述访 问请求, 访问所述待访问设备的共享文件系统目录, 获取所述待访问设备的 共享文件;
所述通信接口, 还用于若所述用户设备的标识对应的用户设备支持文件 的类型与所述待访问的设备的标识对应的待访问设备支持文件的类型不相 同, 则接收所述应用和数据中心设备返回的所述共享文件系统目录中所述文 件的类型对应的软件安装列表和所述待访问设备的共享文件;
所述处理器, 用于从所述软件安装列表中选择相应的软件进行安装, 并 根据安装后的所述软件识别所述待访问设备的共享文件。
18、 根据权利要求 17所述的用户设备, 其特征在于:
所述通信接口, 还用于向所述应用和数据中心设备发送注册请求, 所述 注册请求包括: 所述用户设备的共享文件系统目录和共享文件, 所述用户设 备的标识以及对应的所述用户设备支持的文件类型, 以供所述应用和数据中 心设备保存所述用户设备的标识以及对应的所述用户设备支持的文件类型, 并将所述用户设备的共享文件系统目录和共享文件挂载在文件系统命名空间 中;
所述通信接口, 还用于接收所述应用和数据中心设备返回的注册响应消 息, 所述注册响应消息包括: 挂载成功的注册结果以及共享给所述用户设备 的除所述用户设备之外的其他用户设备的共享文件系统目录。
19、 一种文件的处理系统, 包括应用和数据中心设备和多个用户设备, 其特征在于:
所述应用和数据中心设备为权利要求 13-16任一所述的应用和数据中心 设备;
所述用户设备为权利要求 17或 18所述的用户设备。
PCT/CN2013/088311 2013-12-02 2013-12-02 文件的处理方法、装置及系统 WO2015081468A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201380003187.4A CN105052104B (zh) 2013-12-02 2013-12-02 文件的处理方法、装置及系统
PCT/CN2013/088311 WO2015081468A1 (zh) 2013-12-02 2013-12-02 文件的处理方法、装置及系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/088311 WO2015081468A1 (zh) 2013-12-02 2013-12-02 文件的处理方法、装置及系统

Publications (1)

Publication Number Publication Date
WO2015081468A1 true WO2015081468A1 (zh) 2015-06-11

Family

ID=53272711

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/088311 WO2015081468A1 (zh) 2013-12-02 2013-12-02 文件的处理方法、装置及系统

Country Status (2)

Country Link
CN (1) CN105052104B (zh)
WO (1) WO2015081468A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193927A (zh) * 2017-05-17 2017-09-22 深圳市茁壮网络股份有限公司 信息推荐方法及装置
CN109710582A (zh) * 2018-12-13 2019-05-03 创新科存储技术有限公司 一种共享目录管理方法和装置
CN109120897B (zh) * 2018-08-28 2020-06-26 视联动力信息技术股份有限公司 一种视联网监控视频目录共享方法和装置
CN114327517A (zh) * 2021-12-29 2022-04-12 深圳市驱动人生科技股份有限公司 软件驱动的实现方法及系统

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107784040B (zh) * 2016-08-31 2022-03-18 北京国双科技有限公司 一种文件下发方法及装置
US20190005066A1 (en) * 2017-06-29 2019-01-03 International Business Machines Corporation Multi-tenant data service in distributed file systems for big data analysis
CN109543091B (zh) * 2018-09-27 2022-04-15 百度在线网络技术(北京)有限公司 应用程序的推送方法、装置及终端
CN117938830A (zh) * 2022-01-21 2024-04-26 荣耀终端有限公司 一种文件共享方法、通信系统和电子设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094243A (zh) * 2007-05-31 2007-12-26 广东中大讯通软件科技有限公司 基于UPnP的不同类型设备间的多媒体适配系统及多媒体内容适配方法
CN101841537A (zh) * 2010-04-13 2010-09-22 北京时代亿信科技有限公司 一种基于协议代理实现对文件共享访问控制方法及系统
CN103248678A (zh) * 2013-04-24 2013-08-14 天脉聚源(北京)传媒科技有限公司 一种数据资源共享方法、服务端和客户端
CN103348347A (zh) * 2011-02-08 2013-10-09 汤姆逊许可公司 在家庭网络中共享数据的方法以及实现该方法的装置

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101729442B (zh) * 2008-10-23 2013-03-20 华为技术有限公司 一种实现内容共享的方法和装置
CN101459669A (zh) * 2008-12-29 2009-06-17 成都市华为赛门铁克科技有限公司 一种网络文件系统的访问方法和装置
CN102571726B (zh) * 2010-12-23 2016-06-22 中国移动通信集团广东有限公司 多媒体数据共享的方法、系统及状态判定服务器

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101094243A (zh) * 2007-05-31 2007-12-26 广东中大讯通软件科技有限公司 基于UPnP的不同类型设备间的多媒体适配系统及多媒体内容适配方法
CN101841537A (zh) * 2010-04-13 2010-09-22 北京时代亿信科技有限公司 一种基于协议代理实现对文件共享访问控制方法及系统
CN103348347A (zh) * 2011-02-08 2013-10-09 汤姆逊许可公司 在家庭网络中共享数据的方法以及实现该方法的装置
CN103248678A (zh) * 2013-04-24 2013-08-14 天脉聚源(北京)传媒科技有限公司 一种数据资源共享方法、服务端和客户端

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193927A (zh) * 2017-05-17 2017-09-22 深圳市茁壮网络股份有限公司 信息推荐方法及装置
CN109120897B (zh) * 2018-08-28 2020-06-26 视联动力信息技术股份有限公司 一种视联网监控视频目录共享方法和装置
CN109710582A (zh) * 2018-12-13 2019-05-03 创新科存储技术有限公司 一种共享目录管理方法和装置
CN109710582B (zh) * 2018-12-13 2021-10-26 创新科技术有限公司 一种共享目录管理方法和装置
CN114327517A (zh) * 2021-12-29 2022-04-12 深圳市驱动人生科技股份有限公司 软件驱动的实现方法及系统

Also Published As

Publication number Publication date
CN105052104B (zh) 2018-08-14
CN105052104A (zh) 2015-11-11

Similar Documents

Publication Publication Date Title
WO2015081468A1 (zh) 文件的处理方法、装置及系统
US11297363B2 (en) Method of integrating remote content with hospitality media system and media system thereof
WO2015081471A1 (zh) 文件的处理方法、装置及系统
US11722806B2 (en) System, method and apparatus for remote monitoring
US9116893B2 (en) Network connected media gateway for communication networks
JP2016534607A (ja) 拡張可能なビデオクラウドサービスのためのシステムおよび方法
JP2015517706A (ja) クライアントデバイス間でデータを交換するための方法、システム、および装置
JP6074497B2 (ja) メディア情報アクセス制御のための方法及び装置、並びにディジタル・ホーム・マルチメディア・システム
US20160099928A1 (en) Systems and methods for managing connections for universal plug-and-play devices
US20220303186A1 (en) Techniques for reacting to device event state changes that are shared over a network of user devices
KR101210359B1 (ko) Dlna 네트워크에서 디지털 컨텐츠 매니지먼트 기능을이용한 컨텐츠 분류 방법 및 장치
KR20140043621A (ko) 복수의 디지털 기기 간 스토리지 공유 방법 및 이를 기록한 기록 매체
CN107396071A (zh) 一种视频监控方法及系统
JP6590215B2 (ja) 情報通信装置、情報通信システム、情報取得方法及び制御プログラム
Kataoka et al. Consumer device recommendation method for web-based distributed browsing
JP2012119967A (ja) 監視システムの管理サーバ
KR20130012203A (ko) 개인 포털 플랫폼 및 시스템

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 201380003187.4

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13898675

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13898675

Country of ref document: EP

Kind code of ref document: A1