WO2013152677A1 - 资源共享方法及设备 - Google Patents

资源共享方法及设备 Download PDF

Info

Publication number
WO2013152677A1
WO2013152677A1 PCT/CN2013/073482 CN2013073482W WO2013152677A1 WO 2013152677 A1 WO2013152677 A1 WO 2013152677A1 CN 2013073482 W CN2013073482 W CN 2013073482W WO 2013152677 A1 WO2013152677 A1 WO 2013152677A1
Authority
WO
WIPO (PCT)
Prior art keywords
file
resource
local
remote
shared
Prior art date
Application number
PCT/CN2013/073482
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 北京百纳威尔科技有限公司
Publication of WO2013152677A1 publication Critical patent/WO2013152677A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications

Definitions

  • the present invention relates to communications technologies, and in particular, to a resource sharing method and device. Background technique
  • DMS Device Management Server
  • the embodiments of the present invention provide a resource sharing method and device.
  • the embodiment of the invention provides a resource sharing method, including:
  • the embodiment of the invention provides a resource sharing device, including:
  • Directory management module creating a shared resource root directory
  • the information obtaining module obtains an internet link address for sharing, and traverses the remote resource file included in the webpage corresponding to the internet link address according to a preset file format, and obtains remote shared file information that conforms to the preset file format,
  • the remote shared file information includes a file name, a file size, a file format, and a link address corresponding to the remote resource file.
  • the directory management module is further configured to create a remote resource subdirectory under the shared resource root directory. The remote shared file information is stored in a remote resource subdirectory.
  • the resource sharing method and device provided by the embodiment of the present invention obtains an Internet resource address used by the user for sharing, and traverses the remote resource file in the webpage pointed to by the link address according to the link address to obtain a remote resource file conforming to the preset file format.
  • the remote shared file information, and the remote shared file information is saved in the form of a tree structure, thereby realizing the sharing of remote network resources by the local area network device.
  • FIG. 2 is a flowchart of remote shared file information acquisition in an embodiment of a resource sharing method
  • FIG. 3 is a flowchart of another embodiment of a resource sharing method according to the present invention
  • FIG. 4 is a flowchart of acquiring local shared file information in an embodiment of a resource sharing method
  • FIG. 5 is a flowchart of still another embodiment of a resource sharing method according to the present invention.
  • Figure 6 is a flow chart of updating the root directory of the shared resource
  • FIG. 7 is a schematic structural diagram of a resource sharing device according to the present invention.
  • FIG. 8 is a schematic structural diagram of an information acquiring module in a resource sharing device
  • FIG. 9 is a schematic structural diagram of another embodiment of a resource sharing device according to the present invention.
  • the present invention provides a resource sharing method and device for the defect that the local area network resources can only share local storage resources and cannot share network resources outside the local area network.
  • Obtaining an Internet link address used by the user for sharing traversing the remote resource file in the webpage pointed to by the link address, obtaining remote shared file information of the remote resource file conforming to the preset file format, and acquiring the remote shared file
  • the information is saved in the form of a tree structure, thereby realizing the sharing of network resources by the LAN device.
  • Step S102 Creating a shared resource root directory
  • the user device Before acquiring the resource file shared by the user, the user device creates a root node in the virtual file system as a shared resource root directory, and the shared resource root directory is used to store the shared file information of the resource file selected by the user device.
  • Step S104 Obtain an Internet link address for sharing, and traverse the remote resource file included in the webpage corresponding to the Internet link address according to the preset file format, and obtain remote shared file information of the remote resource file conforming to the preset file format;
  • the default file format refers to the format of the resource file preset by the user equipment.
  • the default file formats are WMV, AVI, and RMVB.
  • the remote resource file refers to the file contained in the web page corresponding to the shared Internet link address.
  • the remote shared file information refers to the information of the remote resource file that conforms to the preset file format, including the file name, file size, file format, and link address of the corresponding remote resource file.
  • acquiring an internet link address sent by the user equipment for sharing establishing a network link according to the internet link address, downloading a hypertext markup language HTML file or an extensible markup language XML file of the webpage and extracting the HTML file or the XML file thereof
  • the file is parsed, traversing the web content included in the parsed HTML file or the XML file, and obtaining remote shared file information of the remote resource file conforming to the preset file format.
  • Step S106 Create a remote resource subdirectory under the shared resource root directory.
  • the remote resource subdirectory is used to store remote shared file information.
  • the resource sharing method provided in this embodiment obtains an Internet link address used by the user for sharing, and traverses the remote resource file in the webpage pointed to by the link address according to the link address to obtain remote sharing of the remote resource file conforming to the preset file format.
  • File information; and the remote shared file letter The information is saved in the form of a tree structure, thereby realizing the sharing of network resources by the LAN device.
  • FIG. 2 is a flow chart of obtaining remote shared file information in the resource sharing method embodiment, as shown in FIG. 2:
  • Step S201 obtaining an internet link address for sharing
  • Step S202 traversing a remote resource file included in a webpage corresponding to the link address, and acquiring a file type of the remote resource file;
  • the method of traversing the remote resource file included in the webpage corresponding to the link address is: downloading an HTML file or an XML file of the webpage corresponding to the link address, parsing and traversing the remote resource file included in the HTML file or the XML file.
  • Step S203 determining whether the file type of the remote resource file belongs to a file or a sub-link address, and if it is a sub-link address, returning to step S202, acquiring a remote resource file of the webpage corresponding to the sub-link address according to the sub-link address, and acquiring the sub-resource file Link the file type of the remote resource file; if it is a file, proceed to step S204;
  • Step S204 Obtain remote shared file information of the remote resource file that meets the preset file format.
  • the remote shared file information includes: a resource sharing method provided by the embodiment for the shared Internet link and its sub-links, Parsing an HTML file or an XML file of a webpage corresponding to the shared Internet link and its sub-links, and obtaining remote shared file information of the remote resource in the webpage corresponding to the preset file format corresponding to the Internet link and the sub-link, thereby realizing The sharing of network resources by LAN devices.
  • FIG. 3 is a flowchart of another embodiment of a resource sharing method according to the present invention. As shown in FIG. 3, the method includes:
  • Step S302 Create a shared resource root directory.
  • Step S304 obtaining an Internet link address for sharing, and traversing the remote resource file included in the webpage corresponding to the Internet link address according to the preset file format, and acquiring remote shared file information of the remote resource file conforming to the preset file format;
  • Step S306 creating a remote resource subdirectory under the shared resource root directory
  • steps S302, S304, and S306 refer to the description in the embodiment of the resource sharing method corresponding to the foregoing FIG. 1, and details are not described herein again.
  • Step S308 obtaining a local file path for sharing, and accessing the path of the local file To the local resource file, obtain the local shared file information of the local resource file;
  • the local resource file includes the files included in the local file directory pointed to by the local file path and its subdirectories.
  • Local shared file information including the file name, file size, file format, and file path corresponding to the local resource file.
  • Step S310 creating a local resource subdirectory under the shared resource root directory
  • the local resource subdirectory is used to store local shared file information.
  • step S308 and step S310 may be performed before, after or at the same time as steps S304 and S306, which are not limited by the present invention.
  • the resource sharing method provided in this embodiment obtains an Internet link address used by the user for sharing, and traverses the remote resource file in the webpage pointed to by the link address according to the link address to obtain remote sharing of the remote resource file conforming to the preset file format.
  • File information ; obtain the local file path of the local resource file and the local resource file in the local file directory and its subdirectory that the user points to by obtaining the local file path used by the user for sharing, and obtain the local shared file information of the local resource file, and
  • the remote shared file information and the local shared file information are respectively saved in the form of a tree structure, thereby realizing sharing of local resources and network resources by the local area network device.
  • FIG. 4 is a flowchart of acquiring local shared file information in the resource sharing method embodiment, as shown in FIG. 4:
  • Step S401 Obtain a local file path for sharing, and extract a file directory pointed to by the local file path;
  • Step S402 traversing the sub-item file in the directory, obtaining the file type of the sub-item file in the directory; Step S403, determining the file type of the sub-item file of the directory; if the file type of the sub-file is the directory, returning to step S402, traversing the file a sub-file of a subdirectory of the directory, obtaining a file type of the sub-file under the sub-directory; if the sub-file type under the directory is a file, proceeding to step S404; and step S404, obtaining local shared file information of the local resource file.
  • the local shared file information includes the directory pointed to by the shared local file path and the local file contained in the subdirectory.
  • FIG. 5 is a flowchart of still another embodiment of the resource sharing method according to the present invention. The embodiment is implemented based on the embodiment shown in FIG. 3. As shown in FIG. 5, after the step S310, the method in this embodiment further includes: Step S312: a read request sent by the user equipment;
  • the read request is for the user equipment to read a resource file for sharing in other user equipments in the local area network, and the read request carries the storage path information of the resource file in the local area network.
  • the A device and the B device are connected to the same home LAN, and the A device can display the resource file for sharing in the B device.
  • the user views the sub-directory of the B device as the resource file a01 under the movie on the A device, and the B device obtains the resource file a01.
  • the read request carries the storage path information of the resource file aOl, that is, B: ⁇ movie ⁇ a01.
  • Step S314 determining, according to the read request, whether the resource file requested to be read is a remote resource file or a local resource file; if the resource file requested to be read is a remote resource file, proceeding to step S316; if the resource requested to be read is a local resource File, proceed to step S320;
  • the resource file storage path carried in the read request it is determined whether the directory stored in the resource file is a remote resource subdirectory or a local resource subdirectory. If the resource file is stored in the remote resource subdirectory, the resource requested by the user is remotely. A resource file, if the resource file is stored in a local resource subdirectory, the resource requested by the user is a local resource file.
  • Step S316 traversing the remote resource subdirectory, obtaining the link address of the remote resource file;
  • Step S320 traversing the local resource subdirectory, obtaining the file path of the local resource file;
  • Step S322 calling the local resource read/write interface to obtain the local resource file according to the file path of the local resource file, and proceeding to step S324;
  • Step S324 returning the resource requested by the user to the user equipment.
  • the network connection is established according to the link address of the remote resource file, the hypertext transfer protocol http interface is invoked, the data packet of the remote resource file is obtained by the streaming media technology according to the DLNA protocol specification, and the obtained remote resource file data packet is obtained. Returned to the user equipment that initiated the read request by streaming.
  • the local resource read/write interface is called according to the file path of the local resource file to obtain the local resource file, and the obtained local resource file is encapsulated in an XML file format according to the DLNA protocol specification.
  • the encapsulated local resource file is returned to the user device that initiated the read request.
  • the resource sharing method provided in this embodiment can obtain the technical effect of the embodiment shown in FIG. 3, and can obtain the read request of the user equipment, and judge according to the storage path information of the resource file carried in the read request.
  • the resource file belongs to the remote resource file or the local resource file.
  • FIG. 6 is a flow chart of the shared resource root directory update. The embodiment is implemented based on the embodiment shown in FIG. 5. As shown in FIG. 6, before step S312, the method further includes:
  • Step S3 1 1 1 when the remote shared file information changes, according to the Internet link address used for sharing, re-acquire the remote shared file information of the remote resource file conforming to the preset file format, and update the remote resource subdirectory;
  • Step S3 1 12 When the local shared file information changes, according to the local file path for sharing, re-acquire the local shared file information of the local resource file, and update the local resource subdirectory.
  • the remote resource subdirectory and the local resource subdirectory used by the user on the user device for sharing are updated.
  • the resource sharing method provided in this embodiment can obtain the changed content by updating the remote shared resource subdirectory on the user equipment when the remote resource file included in the webpage corresponding to the shared Internet link address is changed by the user.
  • Remotely sharing file information When the local resource file pointed to by the local file path used by the user changes, the changed local shared file information can be obtained by updating the local resource subdirectory on the user device.
  • FIG. 7 is a schematic structural diagram of a resource sharing device according to the present invention. As shown in FIG. 7, the resource sharing device includes a directory management module 1 1 and an information acquiring module 12:
  • Directory management module 1 1 used to create a shared resource root directory
  • the directory management module 1 1 creates a root node in the virtual file system of the user device as a shared resource root directory, and the shared resource root directory is used to store shared file information of the resource file selected by the user device.
  • the information obtaining module 12 is configured to obtain an internet link address for sharing, and traverse the remote resource file included in the webpage corresponding to the internet link address according to the preset file format. Take remote shared file information that matches the default file format.
  • the remote shared file information includes a file name, a file size, a file format, and a link address corresponding to the remote resource file.
  • the information obtaining module 12 acquires an Internet link address for sharing, establishes a network link, downloads an HTML or XML file corresponding to the web address of the Internet address for parsing, and traverses the web content included in the parsed HTML file or the XML file. And obtaining remote shared file information of the remote resource file that conforms to the preset file format, and sending the obtained remote shared file information to the directory management module 11.
  • the directory management module 11 creates a remote resource subdirectory under the shared resource root directory according to the remote shared file information sent by the information obtaining module 12, and stores the shared file information in the remote resource subdirectory.
  • the resource sharing device obtained by the embodiment obtains the Internet link address used by the user for sharing, and traverses the remote resource file in the webpage pointed to by the link address according to the link address to obtain remote sharing of the remote resource file conforming to the preset file format.
  • File information; and the remote shared file information is saved in the form of a tree structure, thereby realizing the sharing of network resources by the LAN device.
  • the information obtaining module 12 is further configured to obtain a local file path for sharing, access a local resource file pointed to by the local file path, obtain local shared file information of the local resource file, and obtain the obtained The local shared file information is sent to the directory management module 11;
  • the local shared file information includes the file name, file size, file format, and file path of the corresponding local resource file.
  • the directory management module 11 is further configured to create a local resource subdirectory in the shared resource root directory according to the local shared file information sent by the information obtaining module 12, and store the local shared file information in the local resource subdirectory.
  • the resource sharing device obtained in this embodiment obtains a local file path used by the user for sharing, and traverses the local file directory and its subdirectory pointed to by the local file path according to the local file path.
  • the local resource file obtains the local shared file information of the local resource file, and saves the local shared file information in the form of a tree structure, thereby realizing the sharing of local resources by the local area network device.
  • FIG. 8 is a schematic structural diagram of an information acquiring module in a resource sharing device.
  • the information acquiring module includes an obtaining module 121, a traversing module 122, a determining module 123, and an information extracting module 124:
  • the obtaining module 121 is configured to obtain an Internet link address used by the user equipment for sharing, and the traversing module 122 is configured to: traverse the remote resource file included in the webpage corresponding to the link address, and obtain a file type of the remote resource file;
  • the determining module 123 is configured to determine whether the file type of the remote resource file belongs to a file or a sub-link address, and if it is a sub-link address, notify the traversing module 122, and obtain a remote resource file of the webpage corresponding to the sub-link address according to the sub-link address. And obtaining a file type of the remote resource file under the sub-link; if it is a file, the notification information extraction module 124 acquires the remote shared file information of the remote resource file that conforms to the preset file format.
  • the resource sharing device obtains the webpage content or the XML file of the webpage corresponding to the shared Internet link and the sub-link, and obtains the webpage content of the webpage corresponding to the internet link and the sub-link by acquiring and parsing the HTML file or the XML file of the webpage corresponding to the shared Internet link and the sub-link.
  • the obtaining module 121 in the information obtaining module is further configured to obtain a local file path for sharing, and extract a file directory pointed to by the local file path;
  • the traversing module 122 is further configured to traverse the sub-item file in the directory, and obtain a file type of the sub-item file in the directory;
  • the determining module 123 is further configured to determine a file type of the directory sub-file; if the file type of the sub-file is a directory, notify the traversing module 122, traverse the sub-file of the sub-directory of the directory, and obtain the sub-file of the sub-directory The file type; if the sub-file type under the directory is a file, the notification information extraction module 124 obtains the local shared file information of the local resource file.
  • FIG. 9 is a schematic structural diagram of another embodiment of a resource sharing device according to the present invention.
  • the resource sharing device includes: a directory management module 21, an information obtaining module 22, a file accessing module 23, and a data transmission module 24, where:
  • the directory management module 21 and the information acquisition module 22 employ the directory management module 11 and the information acquisition module 12 provided by the resource sharing device embodiment described above.
  • the file accessing module 23 is configured to obtain a read request sent by the user, and determine, according to the read request, whether the resource file requested to be read is a remote resource file or a local resource file; if the resource file requested to be read is a remote resource file, traverse the remote resource. Subdirectory, obtain the link address of the remote resource file, establish a network connection according to the link address, call the hypertext transfer protocol http interface to obtain the remote resource file, and send the obtained remote resource file to the data transfer module 24;
  • the data transmission module 24 is configured to return a remote resource file requested by the user to the user equipment.
  • the resource sharing device provided in this embodiment can obtain the read request of the user equipment according to the storage path information of the resource file carried in the read request, in addition to the technical effect of the embodiment shown in FIG.
  • the device determines whether the resource file belongs to the remote resource file or the local resource file, and obtains the remote resource file requested by the user equipment by expanding the file read/write interface, thereby implementing the reading operation for the shared network resource in the local area network device.
  • the file accessing module 23 is further configured to traverse the local resource subdirectory, obtain a file path of the local resource file, and invoke a local resource read/write interface according to the file path. Obtain a local resource file, and send the obtained local resource file to the data transmission module 24;
  • the data transmission module 24 is further configured to return a local resource file requested by the user to the user equipment.
  • the resource sharing device obtained in this embodiment obtains a local resource file shared by the user through the local file read/write interface, thereby implementing a read operation for the shared local resource in the local area network device.
  • the resource sharing device further includes an update module 25, wherein:
  • the update module 25 is configured to re-acquire the remote resource file according to the preset file format according to the Internet link address used for sharing when the remote shared file information changes.
  • the file management module 21 is configured to notify the directory management module 21 to update the remote resource subdirectory.
  • the local shared file information changes the local shared file information of the local resource file is reacquired according to the local file path for sharing, and the directory management module 21 is notified. Update the local resource subdirectory.
  • the resource sharing device provided in this embodiment can obtain the changed content by updating the remote shared resource subdirectory on the user equipment when the remote resource file included in the webpage corresponding to the shared Internet link address is changed.
  • Remotely sharing file information When the local resource file pointed to by the local file path used by the user changes, the changed local shared file information can be obtained by updating the local resource subdirectory on the user device.
  • the embodiment of the present invention further provides a resource sharing device, which includes a memory and a processor, and is used by the memory. And storing a program instruction; a processor coupled to the memory, the processor being configured to execute program instructions stored in the memory, and configured to perform various implementations of the resource sharing method described above.
  • an embodiment of the present invention further provides a machine readable medium having stored thereon a set of instructions, when the set of instructions is executed, causing the machine to execute various embodiments of the resource sharing method, and the foregoing storage medium
  • ROM read-only memory
  • RAM random access memory
  • CD-ROM compact disc-read only memory
  • other media that can store program code

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明提供一种资源共享方法及设备,包括:创建共享资源根目录;获取用于进行共享的互联网链接地址,根据预设文件格式,遍历互联网链接地址对应网页中所包括的远程资源文件,获取符合预设文件格式的远程资源文件的远程共享文件信息;在共享资源根目录下创建远程资源子目录,远程资源子目录中存储所述远程共享文件信息。通过本发明提供的资源共享方法及设备,遍历用户提供的用于共享的互联网链接地址所对应的网页,获取远程资源文件的远程共享文件信息,实现了在局域网设备之间对网络资源的共享。

Description

资源共享方法及设备
技术领域 本发明涉及通信技术, 尤其涉及一种资源共享方法及设备。 背景技术
现代家庭中, 个人电脑、 数字电视、 掌上电脑、 手机、 MP3等在人们 生活中的使用越来越普及, 一个人可能同时拥有上述各类信息产品, 使用 过程中经常在每个设备中都保存有用户的资源, 如果用户希望在其中一个 设备上查看另一个设备中保存的资源时, 需要使用移动存储设备将这些资 源从一个设备中转移到另外一个设备中, 费时费力, 如果设备之间还存在 兼容问题, 则操作更加麻烦。 用户也可以通过使用网上邻居来进行共享数 据, 但网上邻居共享设置需要经过一系列复杂繁瑣的配置程序, 且速度緩 慢。
传统技术通过数字生活网络联盟 ( Digital Living Network Alliance 简 称: DLNA ) 解决了个人电脑、 消费电器、 移动设备在内的无线网络和有 线网络的互联互通, 实现数字媒体和内容服务的无限制的共享和增长, 设 备管理服务器 (Device Management Server, 简称: DMS )是 DLNA定义 的一种服务, 可以实现共享多媒体资源的获取、 共享、 存储及复制。 但现 有的 DMS只能实现在家庭局域网设备间对局域网本地存储资源的共享, 而不能对局域网以外的网络资源进行共享。 发明内容
针对传统技术的上述缺陷, 本发明实施例提供一种资源共享方法及设 备。
本发明实施例提供一种资源共享方法, 包括:
创建共享资源根目录;
获取用于进行共享的互联网链接地址, 根据预设文件格式, 遍历所述 互联网链接地址对应网页中所包括的远程资源文件, 获取符合所述预设文 件格式的远程资源文件的远程共享文件信息, 所述远程共享文件信息包括 对应所述远程资源文件的文件名、 文件大小、 文件格式、 链接地址; 在所述共享资源根目录下创建远程资源子目录, 所述远程资源子目录 中存储所述远程共享文件信息。
本发明实施例提供一种资源共享设备, 包括:
目录管理模块, 创建共享资源根目录;
信息获取模块, 获取用于进行共享的互联网链接地址, 根据预设文件 格式, 遍历所述互联网链接地址对应网页中所包括的远程资源文件, 获取 符合所述预设文件格式的远程共享文件信息, 所述远程共享文件信息包括 对应所述远程资源文件的文件名、 文件大小、 文件格式、 链接地址; 所述目录管理模块还用于在所述共享资源根目录下创建远程资源子 目录, 所述远程资源子目录中存储所述远程共享文件信息。
本发明实施例提供的资源共享方法和设备, 通过获取用户用于进行共 享的互联网链接地址, 根据该链接地址遍历其所指向的网页中的远程资源 文件, 获取符合预设文件格式的远程资源文件的远程共享文件信息, 并将 该远程共享文件信息以树结构的形式保存下来, 从而实现了局域网设备对 远程网络资源的共享。 附图说明 图 1为本发明资源共享方法实施例流程图;
图 2为资源共享方法实施例中远程共享文件信息获取流程图; 图 3为本发明资源共享方法另一实施例的流程图;
图 4为资源共享方法实施例中本地共享文件信息获取流程图; 图 5为本发明资源共享方法又一实施例流程图;
图 6为共享资源根目录更新流程图;
图 7为本发明资源共享设备的结构示意图;
图 8为资源共享设备中信息获取模块的结构示意图;
图 9为本发明资源共享设备另一实施例结构示意图。 具体实施方式 本发明针对传统技术中, 在局域网设备之间只能共享本地存储资源, 而 不能共享局域网以外的网络资源这一缺陷,提供了一种资源共享方法及设备。 通过获取用户用于进行共享的互联网链接地址, 根据该链接地址遍历其所指 向的网页中的远程资源文件, 获取符合预设文件格式的远程资源文件的远程 共享文件信息, 并将该远程共享文件信息以树结构的形式保存下来, 从而实 现了局域网设备对网络资源的共享。
图 1为本发明资源共享方法实施例流程图, 如图 1所示, 该方法包括: 步骤 S102, 创建共享资源根目录;
在获取用户进行共享的资源文件之前, 该用户设备在其虚拟文件系统中 创建一个根节点作为共享资源根目录, 该共享资源根目录用于存储该用户设 备选择共享的资源文件的共享文件信息。
步骤 S104, 获取用于进行共享的互联网链接地址, 根据预设文件格式, 遍历互联网链接地址对应网页中所包括的远程资源文件, 获取符合预设文件 格式的远程资源文件的远程共享文件信息;
预设文件格式, 是指用户设备预先设定的资源文件的格式。 例如预设文 件格式为 WMV、 AVI和 RMVB。
远程资源文件, 是指用于共享的互联网链接地址对应网页中所包含的文 件。
远程共享文件信息, 是指符合预设文件格式的远程资源文件的信息, 包 括对应远程资源文件的文件名、 文件大小、 文件格式、 链接地址。
具体地, 获取用户设备发送的用于进行共享的互联网链接地址, 根据该 互联网链接地址建立网络链接, 下载该网页的超文本标记语言 HTML文件或 可扩展标记语言 XML文件并对其 HTML文件或 XML文件进行解析, 遍历 其解析后的 HTML文件或 XML文件中所包括的网页内容, 获取符合预设文 件格式的远程资源文件的远程共享文件信息。
步骤 S106, 在共享资源根目录下创建远程资源子目录。
远程资源子目录用于存储远程共享文件信息。
本实施例提供的资源共享方法, 通过获取用户用于进行共享的互联网链 接地址, 根据该链接地址遍历其所指向的网页中的远程资源文件, 获取符合 预设文件格式的远程资源文件的远程共享文件信息; 并将该远程共享文件信 息以树结构的形式保存下来, 从而实现了局域网设备对网络资源的共享。 基于图 1所示实施例, 在另一实施例中, 图 2为资源共享方法实施例中 远程共享文件信息获取流程图, 如图 2所示:
步骤 S201, 获取用于进行共享的互联网链接地址;
步骤 S202, 遍历该链接地址所对应网页中包含的远程资源文件, 获取该 远程资源文件的文件类型;
遍历该链接地址所对应网页中包含的远程资源文件的方法为: 下载该链 接地址所对应网页的 HTML文件或 XML文件 , 解析并遍历其 HTML文件或 XML文件中所包含的远程资源文件。
步骤 S203 , 判断该远程资源文件的文件类型属于文件还是子链接地址, 若为子链接地址, 则返回步骤 S202, 根据该子链接地址获取该子链接地址所 对应网页的远程资源文件, 获取该子链接下远程资源文件的文件类型; 若为 文件, 则进入步骤 S204;
步骤 S204,获取符合预设文件格式的远程资源文件的远程共享文件信息; 远程共享文件信息包括: 用于进行共享的互联网链接及其子链接所对应 本实施例提供的资源共享方法, 通过下载并解析用于进行共享的互联网 链接及其子链接所对应网页的 HTML文件或 XML文件 , 获取该互联网链接 及子链接所对应网页的中符合预设文件格式的远程资源的远程共享文件信 息, 从而实现了局域网设备对网络资源的共享。
图 3为本发明资源共享方法另一实施例的流程图, 如图 3所示, 本方 法包括:
步骤 S302, 创建共享资源根目录;
步骤 S304,获取用于进行共享的互联网链接地址,根据预设文件格式, 遍历互联网链接地址对应网页中所包括的远程资源文件, 获取符合预设文 件格式的远程资源文件的远程共享文件信息;
步骤 S306, 在共享资源根目录下创建远程资源子目录;
本方法步骤 S302、 S304、 S306可参见上述图 1对应的资源共享方法 实施例中的描述, 在此不再赘述。
步骤 S308, 获取用于进行共享的本地文件路径, 访问本地文件路径所指 向的本地资源文件, 获取本地资源文件的本地共享文件信息;
本地资源文件包括本地文件路径所指向的本地文件目录及其子目录中所 包括的文件。
本地共享文件信息, 包括对应所述本地资源文件的文件名、 文件大小、 文件格式、 文件路径。
步骤 S310, 在共享资源根目录下创建本地资源子目录;
本地资源子目录用于存储本地共享文件信息。
上述步骤 S308和步骤 S310可以在步骤 S304和 S306之前、 之后或同 时执行, 本发明对此不做限制。
本实施例提供的资源共享方法, 通过获取用户用于进行共享的互联网链 接地址, 根据该链接地址遍历其所指向的网页中的远程资源文件, 获取符合 预设文件格式的远程资源文件的远程共享文件信息; 通过获取用户用于进行 共享的本地文件路径, 根据该本地文件路径遍历其所指向的本地文件目录及 其子目录中的本地资源文件, 获取本地资源文件的本地共享文件信息, 并将 该远程共享文件信息和本地共享文件信息分别以树结构的形式保存下来, 从 而实现了局域网设备对本地资源及网络资源的共享。
基于图 3所示实施例, 在另一实施例中, 图 4为资源共享方法实施例中 本地共享文件信息获取流程图, 如图 4所示:
步骤 S401 , 获取用于进行共享的本地文件路径, 提取本地文件路径所指 向的文件目录;
步骤 S402,遍历目录下的子项文件,获取该目录下子项文件的文件类型; 步骤 S403 , 判断该目录子项文件的文件类型; 若子项文件的文件类型为 目录, 则返回步骤 S402, 遍历该目录的子目录的子项文件, 获取子目录下子 项文件的文件类型; 若该目录下的子项文件类型是文件, 则进入步骤 S404; 步骤 S404, 获取本地资源文件的本地共享文件信息。
本地共享文件信息包括, 用于共享的本地文件路径所指向的目录及子目 录中包含的本地文件。
本实施例提供的资源共享方法, 通过循环遍历用于共享的本地文件路径 所指向的目录及子目录中的文件, 获取了该目录及其子目录中的本地资源文 件的本地共享文件信息, 实现了局域网设备对本地资源的共享。 图 5为本发明资源共享方法又一实施例流程图, 本实施例基于图 3所 示实施例实现, 如图 5所示, 本实施例的方法在步骤 S310之后, 还包括: 步骤 S312, 获取用户设备发送的读取请求;
读取请求为用户设备请求读取局域网中其他用户设备中用于共享的 某个资源文件, 该读取请求中携带该资源文件在局域网中的存储路径信 息。
例如, A设备与 B设备连接于同一家庭局域网, A设备上可以显示 B设备中用于共享的资源文件, 用户在 A设备上查看 B设备中子目录为 movie下的资源文件 a01 , B设备获取该用户设备发送的读取请求。 该读 取请求携带资源文件 aOl的存储路径信息, 即 B: \movie\ a01。
步骤 S314,根据读取请求, 判断请求读取的资源文件是远程资源文件 还是本地资源文件; 若请求读取的资源文件是远程资源文件, 则进入步骤 S316; 若请求读取的资源是本地资源文件, 则进入步骤 S320;
根据读取请求中携带的资源文件存储路径, 判断该资源文件存储的目 录为远程资源子目录还是本地资源子目录, 若该资源文件存储于远程资源 子目录, 则用户请求读取的资源是远程资源文件, 若该资源文件存储于本 地资源子目录, 则用户请求的资源是本地资源文件。
步骤 S316, 遍历远程资源子目录, 获取远程资源文件的链接地址; 步骤 S318,根据远程资源文件的链接地址建立网络连接,调用超文本 传输协议 http接口获取远程资源文件, 进入步骤 S324;
步骤 S320, 遍历本地资源子目录, 获取本地资源文件的文件路径; 步骤 S322,根据本地资源文件的文件路径调用本地资源读写接口获取 本地资源文件, 进入步骤 S324;
步骤 S324, 返回用户请求读取的资源至所述用户设备。
具体地, 根据远程资源文件的链接地址建立网络连接, 调用超文本传 输协议 http接口 ,按照 DLNA协议规范通过流媒体技术获取该远程资源文 件的数据包, 并将获取到的远程资源文件的数据包通过流式传输的方式返 回给发起读取请求的用户设备。
根据本地资源文件的文件路径调用本地资源读写接口获取本地资源 文件, 按照 DLNA协议规范, 以 XML文件格式封装获取到的本地资源文 件; 将封装好的本地资源文件返回给发起读取请求的用户设备。
本实施例提供的资源共享方法, 除能够获得图 3所示实施例的技术效 果外, 还能够通过获取用户设备的读取请求, 根据该读取请求中携带的资 源文件的存储路径信息, 判断该资源文件属于远程资源文件还是本地资源 文件, 通过扩展文件读写接口, 既能够获取到用户设备请求的本地资源文 件, 也能够获取用户设备请求的远程资源文件, 从而实现局域网设备中用 于共享的本地资源及网络资源的读取操作。
在另一实施例中, 图 6为共享资源根目录更新流程图, 本实施例基于 图 5所示实施例实现, 如图 6所示, 在步骤 S3 12之前还包括:
步骤 S3 1 1 1 , 当远程共享文件信息发生变化时, 根据用于进行共享的 互联网链接地址, 重新获取符合预设文件格式的远程资源文件的远程共享 文件信息, 更新远程资源子目录;
步骤 S3 1 12 , 当本地共享文件信息发生变化时, 根据用于进行共享的 本地文件路径, 重新获取本地资源文件的本地共享文件信息, 更新本地资 源子目录。
在另一实施例中在用户设备开启时, 更新该用户设备上用户用于进行 共享的远程资源子目录和本地资源子目录。
本实施例提供的资源共享方法, 当用户用于进行共享的互联网链接地 址所对应的网页所包含的远程资源文件发生变化时, 能够通过更新用户设 备上的远程共享资源子目录, 获取变化后的远程共享文件信息; 当用户用 于进行共享的本地文件路径所指向的本地资源文件发生变化时, 能够通过 更新用户设备上的本地资源子目录, 获取变化后的本地共享文件信息。
图 7为本发明资源共享设备的结构示意图, 如图 7所示, 该资源共享 设备包括目录管理模块 1 1和信息获取模块 12:
目录管理模块 1 1 , 用于创建共享资源根目录;
目录管理模块 1 1在用户设备的虚拟文件系统中创建了一个根节点作 为共享资源根目录, 该共享资源根目录用于存储该用户设备选择共享的资 源文件的共享文件信息。
信息获取模块 12 , 用于获取用于进行共享的互联网链接地址, 根据预 设文件格式, 遍历互联网链接地址对应网页中所包括的远程资源文件, 获 取符合预设文件格式的远程共享文件信息。
本实施例提供的资源共享设备各模块的功能和处理流程, 可以参见上 述方法实施例, 其实现原理类似, 此处不再赘述。
远程共享文件信息包括对应所述远程资源文件的文件名、 文件大小、 文件格式、 链接地址。
具体地, 信息获取模块 12获取用于进行共享的互联网链接地址后建 立网络链接 ,下载该互联网地址对应网页的 HTML或 XML文件进行解析 , 遍历解析后的 HTML文件或 XML文件中所包括的网页内容, 获取符合预 设文件格式的远程资源文件的远程共享文件信息, 并将获取到的远程共享 文件信息发送至目录管理模块 11。 目录管理模块 11根据信息获取模块 12 发送的远程共享文件信息, 在共享资源根目录下创建远程资源子目录, 并 将程共享文件信息存储于远程资源子目录中。
本实施例提供的资源共享设备, 通过获取用户用于进行共享的互联网 链接地址, 根据该链接地址遍历其所指向的网页中的远程资源文件, 获取 符合预设文件格式的远程资源文件的远程共享文件信息; 并将该远程共享 文件信息以树结构的形式保存下来, 从而实现了局域网设备对网络资源的 共享。
在另一实施例中, 信息获取模块 12还用于获取用于进行共享的本地 文件路径, 访问本地文件路径所指向的本地资源文件, 获取本地资源文件 的本地共享文件信息, 并将获取到的本地共享文件信息发送至目录管理模 块 11 ;
本地共享文件信息包括对应本地资源文件的文件名、 文件大小、 文件 格式、 文件路径。
目录管理模块 11还用于根据信息获取模块 12发送的本地共享文件信 息, 在共享资源根目录下创建本地资源子目录, 在本地资源子目录中存储 本地共享文件信息。
本实施例提供的资源共享设备各模块的功能和处理流程, 可以参见上 述方法实施例, 其实现原理类似, 此处不再赘述。
本实施例提供的资源共享设备, 通过获取用户用于进行共享的本地文 件路径, 根据该本地文件路径遍历其所指向的本地文件目录及其子目录中 的本地资源文件, 获取本地资源文件的本地共享文件信息, 并将本地共享 文件信息以树结构的形式保存下来, 从而实现了局域网设备对本地资源的 共享。
在另一实施例中, 如图 8所示, 图 8为资源共享设备中信息获取模块 的结构示意图, 信息获取模块包括获取模块 121、 遍历模块 122、 判断模 块 123以及信息提取模块 124:
获取模块 121 , 用于获取用户设备用于进行共享的互联网链接地址; 遍历模块 122, 用于遍历该链接地址所对应网页中包含的远程资源文 件, 获取该远程资源文件的文件类型;
判断模块 123 , 用于判断该远程资源文件的文件类型属于文件还是子 链接地址, 若为子链接地址, 则通知遍历模块 122, 根据该子链接地址获 取该子链接地址所对应网页的远程资源文件, 获取该子链接下远程资源文 件的文件类型; 若为文件, 则通知信息提取模块 124获取符合预设文件格 式的远程资源文件的远程共享文件信息。
本实施例提供的资源共享设备, 通过下载并解析用于进行共享的互联 网链接及其子链接所对应的网页的 HTML文件或 XML文件 , 获取该互联 网链接及子链接所对应网页的网页内容, 获取到符合预设文件格式的远程 资源的远程共享文件信息, 从而实现了局域网设备对网络资源的共享。
在另一实施例中, 信息获取模块中的获取模块 121 , 还用于获取用于 进行共享的本地文件路径, 提取本地文件路径所指向的文件目录;
遍历模块 122, 还用于遍历目录下的子项文件, 获取该目录下子项文 件的文件类型;
判断模块 123 , 还用于判断该目录子项文件的文件类型; 若子项文件 的文件类型为目录, 则通知遍历模块 122, 遍历该目录的子目录的子项文 件, 获取子目录下子项文件的文件类型; 若该目录下的子项文件类型是文 件,则进入通知信息提取模块 124获取本地资源文件的本地共享文件信息。
本实施例提供的资源共享设备, 通过循环遍历用于共享的本地文件路 径所指向的目录及子目录中的文件, 获取该目录及其子目录中的本地资源 文件, 获取到本地资源文件的本地共享文件信息, 从而实现了局域网设备 对本地资源的共享。 图 9为本发明资源共享设备另一实施例结构示意图, 如图 9所示, 该 资源共享设备包括: 目录管理模块 21、 信息获取模块 22、 文件访问模块 23以及数据传输模块 24, 其中:
目录管理模块 21和信息获取模块 22釆用上述资源共享设备实施例提 供的目录管理模块 11和信息获取模块 12。
文件访问模块 23 , 用于获取用户发送的读取请求, 根据读取请求判断 请求读取的资源文件是远程资源文件还是本地资源文件; 若请求读取的资 源文件是远程资源文件则遍历远程资源子目录, 获取远程资源文件的链接 地址, 根据链接地址建立网络连接, 调用超文本传输协议 http接口获取远 程资源文件, 并将获取到的远程资源文件发送至数据传输模块 24;
数据传输模块 24,用于返回用户请求读取的远程资源文件至所述用户 设备。
本实施例提供的资源共享设备, 除能够获得图 8所示实施例的技术效 果外, 还能够通过获取用户设备的读取请求, 根据该读取请求中携带的资 源文件的存储路径信息。 判断该资源文件属于远程资源文件还是本地资源 文件, 通过扩展文件读写接口, 获取用户设备请求的远程资源文件, 从而 实现对局域网设备中用于共享的网络资源的读取操作。
在另一实施例中, 若请求读取的资源文件是本地资源文件, 文件访问 模块 23还用于遍历本地资源子目录, 获取本地资源文件的文件路径, 根 据该文件路径调用本地资源读写接口获取本地资源文件, 并将获取到的本 地资源文件发送至数据传输模块 24;
数据传输模块 24,还用于返回用户请求读取的本地资源文件至所述用 户设备。
本实施例提供的资源共享设备, 通过本地文件读写接口获取用户进行 共享的本地资源文件, 从而实现了对局域网设备中用于共享的本地资源的 读取操作。
基于图 9所示实施例, 在另一实施例中, 资源共享设备还包括更新模 块 25 , 其中:
更新模块 25用于当远程共享文件信息发生变化时, 根据用于进行共 享的互联网链接地址, 重新获取符合预设文件格式的远程资源文件的远程 共享文件信息, 通知目录管理模块 21更新远程资源子目录; 当本地共享文件信息发生变化时, 根据用于进行共享的本地文件路 径, 重新获取本地资源文件的本地共享文件信息, 通知目录管理模块 21 更新本地资源子目录。
本实施例提供的资源共享设备, 当用户用于进行共享的互联网链接地 址所对应的网页所包含的远程资源文件发生变化时, 能够通过更新用户设 备上的远程共享资源子目录, 获取变化后的远程共享文件信息; 当用户用 于进行共享的本地文件路径所指向的本地资源文件发生变化时, 能够通过 更新用户设备上的本地资源子目录, 获取变化后的本地共享文件信息。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步 骤可以通过程序指令相关的硬件来完成, 即本发明实施例还提供一种资源 共享设备, 其包括存储器和处理器, 存储器用于存储程序指令; 处理器与 所述存储器耦合, 该处理器被配置为执行存储在所述存储器中的程序指 令, 且被配置为用于执行上述资源共享方法的各种实施方式。 此外, 本发 明实施例又提供一种机器可读介质, 其上存储有指令集合, 当该指令集合 被执行时, 使得该机器可执行上述资源共享方法的各种实施方式, 而前述 的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码 的介质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非 对其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的 普通技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进 行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或 者替换, 并不使相应技术方案的本质脱离本发明各实施例技术方案的范 围。

Claims

权 利 要 求 书
1、 一种资源共享方法, 其特征在于, 包括:
创建共享资源根目录;
获取用于进行共享的互联网链接地址, 根据预设文件格式, 遍历所述 互联网链接地址对应网页中所包括的远程资源文件, 获取符合所述预设文 件格式的远程资源文件的远程共享文件信息, 所述远程共享文件信息包括 对应所述远程资源文件的文件名、 文件大小、 文件格式、 链接地址;
在所述共享资源根目录下创建远程资源子目录, 所述远程资源子目录 中存储所述远程共享文件信息。
2、 根据权利要求 1所述的方法, 其特征在于, 所述方法还包括: 获取用于进行共享的本地文件路径, 访问所述本地文件路径所指向的 本地资源文件, 获取所述本地资源文件的本地共享文件信息, 所述本地共 享文件信息包括对应所述本地资源文件的文件名、 文件大小、 文件格式、 文件路径;
在所述共享资源根目录下创建本地资源子目录, 所述本地资源子目录 中存储所述本地共享文件信息。
3、 根据权利要求 2所述的方法, 其特征在于, 在所述共享资源根目 录下创建远程资源子目录, 所述远程资源子目录中存储所述远程共享文件 信息之后还包括:
获取用户设备发送的读取请求, 根据所述读取请求, 判断请求读取的 资源文件是所述远程资源文件还是所述本地资源文件;
若请求读取的资源文件是所述远程资源文件, 则遍历所述远程资源子 目录, 获取所述远程资源文件的链接地址, 根据所述链接地址建立网络连 接, 调用超文本传输协议 http接口获取所述远程资源文件;
返回用户请求读取的资源文件至所述用户设备。
4、 根据权利要求 3所述的方法, 其特征在于, 在所述获取用户发送 的读取请求, 根据所述读取请求, 判断请求读取的资源文件是所述远程资 源文件还是所述本地资源文件之后还包括:
若请求读取的资源文件是所述本地资源文件, 则遍历所述本地资源子 目录, 获取所述本地资源文件的文件路径, 根据所述文件路径调用本地资 源读写接口获取所述本地资源文件。
5、 根据权利要求 2至 4中任一项所述的方法, 其特征在于, 所述方 法还包括:
所述远程共享文件信息发生变化时, 根据用于进行共享的互联网链接 地址, 重新获取符合所述预设文件格式的所述远程资源文件的所述远程共 享文件信息, 更新所述远程资源子目录; 所述本地共享文件信息发生变化 时, 根据用于进行共享的本地文件路径, 重新获取所述本地资源文件的所 述本地共享文件信息, 更新所述本地资源子目录。
6、 一种资源共享设备, 其特征在于, 包括:
目录管理模块, 创建共享资源根目录;
信息获取模块, 获取用于进行共享的互联网链接地址, 根据预设文件 格式, 遍历所述互联网链接地址对应网页中所包括的远程资源文件, 获取 符合所述预设文件格式的远程共享文件信息, 所述远程共享文件信息包括 对应所述远程资源文件的文件名、 文件大小、 文件格式、 链接地址;
所述目录管理模块还用于在所述共享资源根目录下创建远程资源子 目录, 所述远程资源子目录中存储所述远程共享文件信息。
7、 根据权利要求 6所述的资源共享设备, 其特征在于, 所述信息获 取模块还用于获取用于进行共享的本地文件路径, 访问所述本地文件路径 所指向的本地资源文件, 获取所述本地资源文件的所述本地共享文件信 息, 所述本地共享文件信息包括对应本地资源文件的文件名、 文件大小、 文件格式、 文件路径;
所述目录管理模块还用于在所述共享资源根目录下创建本地资源子 目录, 所述本地资源子目录中存储所述本地共享文件信息。
8、 根据权利要求 7所述的资源共享设备, 其特征在于, 所述资源共 享设备还包括:
文件访问模块, 用于获取用户发送的读取请求, 根据所述读取请求, 判断请求读取的资源文件是所述远程资源文件还是所述本地资源文件; 若 请求读取的资源文件是所述远程资源文件则遍历所述远程资源子目录, 获 取所述远程资源文件的链接地址, 根据所述链接地址建立网络连接, 调用 超文本传输协议 http接口获取所述远程资源文件; 数据传输模块, 用于返回所述用户请求读取的资源文件至所述用户设 备。
9、 根据权利要求 8所述的资源共享设备, 其特征在于, 若请求读取 的资源文件是所述本地资源文件, 所述文件访问模块还用于遍历所述本地 资源子目录, 获取所述本地资源文件的文件路径, 根据所述文件路径调用 本地资源读写接口获取所述本地资源文件。
10、根据权利要求 7至 9中任一项所述的资源共享设备,其特征在于, 所述资源共享设备还包括:
更新模块, 用于所述远程共享文件信息发生变化时, 根据用于进行共 享的互联网链接地址, 重新获取符合所述预设文件格式的所述远程资源文 件的所述远程共享文件信息, 更新所述远程资源子目录; 所述本地共享文 件信息发生变化时, 根据用于进行共享的本地文件路径, 重新获取所述本 地资源文件的所述本地共享文件信息, 更新所述本地资源子目录。
1 1、 一种机器可读介质, 其上存储有指令集合, 当该指令集合被执行时, 使得该机器可执行权利要求 1至 5中任一项所述的资源共享方法。
PCT/CN2013/073482 2012-04-11 2013-03-29 资源共享方法及设备 WO2013152677A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2012101053295A CN102655506A (zh) 2012-04-11 2012-04-11 资源共享方法及设备
CN201210105329.5 2012-04-11

Publications (1)

Publication Number Publication Date
WO2013152677A1 true WO2013152677A1 (zh) 2013-10-17

Family

ID=46731029

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/073482 WO2013152677A1 (zh) 2012-04-11 2013-03-29 资源共享方法及设备

Country Status (2)

Country Link
CN (1) CN102655506A (zh)
WO (1) WO2013152677A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026455A (zh) * 2019-11-27 2020-04-17 掌阅科技股份有限公司 插件生成方法、电子设备及存储介质

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102655506A (zh) * 2012-04-11 2012-09-05 北京百纳威尔科技有限公司 资源共享方法及设备
CN103905479B (zh) * 2012-12-25 2018-04-27 联想(北京)有限公司 一种数据上传的方法、信息处理的方法及电子设备
CN103442044B (zh) * 2013-08-15 2018-11-23 广州三人行壹佰教育科技有限公司 文件共享方法、服务器、终端及系统
CN104426955B (zh) * 2013-08-28 2018-05-04 北大方正集团有限公司 共享文件的处理方法及云存储服务器
CN103618779B (zh) * 2013-11-21 2017-11-03 深圳Tcl新技术有限公司 资源共享的方法及系统
CN112269668A (zh) * 2020-10-26 2021-01-26 海信电子科技(深圳)有限公司 一种应用资源共享及显示设备
CN112435063A (zh) * 2020-11-27 2021-03-02 北京达佳互联信息技术有限公司 资源处理方法、装置、电子设备及存储介质

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459697A (zh) * 2009-01-07 2009-06-17 清华大学 一种共享文件的访问方法和装置
CN102118442A (zh) * 2011-02-21 2011-07-06 清华大学 一种访问Web资源的方法及装置
CN102655506A (zh) * 2012-04-11 2012-09-05 北京百纳威尔科技有限公司 资源共享方法及设备

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1237445C (zh) * 2002-12-20 2006-01-18 中国科学院计算技术研究所 分布式文件系统快速路径解析的方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101459697A (zh) * 2009-01-07 2009-06-17 清华大学 一种共享文件的访问方法和装置
CN102118442A (zh) * 2011-02-21 2011-07-06 清华大学 一种访问Web资源的方法及装置
CN102655506A (zh) * 2012-04-11 2012-09-05 北京百纳威尔科技有限公司 资源共享方法及设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111026455A (zh) * 2019-11-27 2020-04-17 掌阅科技股份有限公司 插件生成方法、电子设备及存储介质
CN111026455B (zh) * 2019-11-27 2023-02-24 掌阅科技股份有限公司 插件生成方法、电子设备及存储介质

Also Published As

Publication number Publication date
CN102655506A (zh) 2012-09-05

Similar Documents

Publication Publication Date Title
WO2013152677A1 (zh) 资源共享方法及设备
JP5658820B2 (ja) Httpストリーミングのためのメディアプレゼンテーション記述デルタファイル
WO2014101889A1 (zh) 数据同步方法及设备
US10334003B2 (en) Mobile terminal and method for achieving cloud streaming medium file sharing based on DLNA
WO2017114190A1 (zh) 一种文件上传处理方法及装置
US20120215882A1 (en) Content management method, management storage device, and non-transistory content management computer program product
WO2011088640A1 (zh) 一种移动终端浏览多媒体资源的方法、相应系统及通信系统
JP2008510244A (ja) ネットワーク上のマルチメディアデータ処理を制御するためのディレクトリサーバデータのキャッシング
WO2013078830A1 (zh) 一种处理移动终端的页面访问请求的方法、设备与系统
CN104503864A (zh) 一种基于局域网的文件备份方法和装置
WO2013177734A1 (zh) 局域网中媒体资源播放列表的处理方法、装置和系统
WO2013100969A1 (en) Method and apparatus for streaming metadata between devices using javascript and html5
WO2012147380A1 (ja) 端末装置、データ受信方法、データ受信プログラム及び記録媒体
WO2013044628A1 (zh) 在Nginx上实现云缓存的REST接口的方法和系统
CN101808182A (zh) 上传图片的方法、图片上传终端及系统
WO2012163122A1 (zh) 一种页面浏览方法、服务器和终端
WO2013013561A1 (zh) 网页内容下载方法及装置
CN108696523B (zh) 一种通话服务的响应方法及设备
WO2010130157A1 (zh) 一种数据的同步方法、widget终端及服务器
WO2010028571A1 (zh) 大数据对象的传输方法、传输系统及发送设备和接收设备
TW201526624A (zh) 顯示媒體檔案之方法及區域網路系統
WO2013174080A1 (zh) 适用于多种显示类型的家庭网关的界面显示方法和系统
WO2016086755A1 (zh) 一种报文处理的方法和透明代理服务器
CN103179190A (zh) 一种图片传输方法、装置和系统
WO2017114169A1 (zh) 链接请求的处理方法和装置

Legal Events

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

Ref document number: 13774949

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: 13774949

Country of ref document: EP

Kind code of ref document: A1