WO2016011748A1 - 资源共享方法及装置 - Google Patents
资源共享方法及装置 Download PDFInfo
- Publication number
- WO2016011748A1 WO2016011748A1 PCT/CN2014/091751 CN2014091751W WO2016011748A1 WO 2016011748 A1 WO2016011748 A1 WO 2016011748A1 CN 2014091751 W CN2014091751 W CN 2014091751W WO 2016011748 A1 WO2016011748 A1 WO 2016011748A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resource
- list
- file
- shared
- information
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 50
- 238000012544 monitoring process Methods 0.000 claims description 10
- 230000000694 effects Effects 0.000 abstract description 10
- 238000005516 engineering process Methods 0.000 abstract description 9
- 238000010586 diagram Methods 0.000 description 19
- 238000004891 communication Methods 0.000 description 14
- 238000012545 processing Methods 0.000 description 11
- 238000009434 installation Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 238000007726 management method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F15/00—Digital computers in general; Data processing equipment in general
- G06F15/16—Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
- G06F15/163—Interprocessor communication
- G06F15/167—Interprocessor communication using a common memory, e.g. mailbox
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/953—Querying, e.g. by the use of web search engines
- G06F16/9535—Search customisation based on user profiles and personalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/60—Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/13—File access structures, e.g. distributed indices
- G06F16/137—Hash-based
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/18—File system types
- G06F16/188—Virtual file systems
- G06F16/192—Implementing virtual folder structures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/248—Presentation of query results
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
Definitions
- the present disclosure relates to the field of network technologies, and in particular, to a resource sharing method and apparatus.
- devices for network sharing can implement network sharing between multiple terminals. For example, if you plug in a Wi-Fi (Widely Fidelity) on your computer to share the network connected to your computer, the phone can also access the network.
- Wi-Fi Widely Fidelity
- the computer can share resources with the mobile phone through the network shared by the WiFi, and the computer copies the resources to the shared folder in the computer in advance, and the shared network client installed in the computer passes the FTP (File Transfer Protocol) to the computer.
- the resources are shared; the mobile phone starts a shared network client installed in the mobile phone, and the shared network client establishes a connection with the shared network client installed in the computer through the FTP protocol to access the shared folder and obtain resources from the shared folder.
- the mobile phone needs to install a shared network client, and the shared network client can establish a connection with the shared network client installed in the computer to obtain resources, and Installing a shared network client takes up storage space on your phone.
- the present disclosure provides a resource sharing method and apparatus.
- a resource sharing method for a resource requesting device, where the resource requesting device and the resource providing device are connected to the same local area network, including:
- the service port returns a shared resource list to the resource requesting device;
- the presenting the shared resource list in the browser including:
- the information of each shared resource included in the shared resource list is arranged as an entry, and the information of each shared resource includes a resource name, a resource type, and a resource path of the shared resource;
- the arranged shared resource list is displayed in the browser.
- the accessing the target resource according to the information about the target resource includes:
- the accessing the target resource according to the information of the target resource includes:
- a resource sharing method where the resource providing device and the resource requesting device are connected to the same local area network, including:
- the resource requesting device accesses the service address by using the browser, acquiring a shared resource list, where the shared resource list includes information of at least one shared resource;
- the obtaining a shared resource list includes:
- the resource name, resource type, and resource path of all shared resources are determined as the shared resource list.
- the method further includes:
- the method further includes:
- a resource sharing device is provided in a resource requesting device, where the resource requesting device and the resource providing device are connected to the same local area network, including:
- An address access module configured to access, by using a browser, a predetermined service address for resource sharing, where the service address points to a network web service port preset for resource sharing in the resource providing device, so that the The resource providing device returns a shared resource list to the resource requesting device through the web service port;
- a list receiving module configured to receive the shared resource list sent by the resource providing device, where the shared resource list includes information of at least one shared resource
- a list presentation module configured to present, in the browser, the shared resource list received by the list receiving module, so that a user selects a target resource to be accessed from the user;
- a resource access module configured to access the target resource according to the information of the target resource presented by the list presentation module.
- the list presentation module includes:
- a list arranging sub-module configured to arrange information of each shared resource included in the shared resource list as one entry, where information of each shared resource includes a resource name, a resource type, and a resource path of the shared resource ;
- the list display submodule is configured to display, in the browser, the shared resource list after the list arrangement submodule is arranged.
- the resource access module includes:
- a first sending submodule configured to send, by the browser, information of the folder to the resource providing device, so that the resource providing device returns the information to the resource requesting device by using the web service port a list of file directories for the folder;
- a directory receiving submodule configured to receive the file directory list sent by the resource requesting device, where the file directory list includes information of at least one file included in the folder;
- a directory presentation submodule configured to present, in the browser, the list of file directories received by the directory receiving submodule, so that a user selects a target file to be accessed from the user;
- a file access sub-module configured to access the target file based on information of the target file presented by the directory presentation sub-module.
- the resource access module includes:
- a second sending submodule configured to send, by the browser, information of the file to the resource providing device, so that the resource providing device returns the file to the resource requesting device by using the web service port ;
- a file receiving submodule configured to receive the file sent by the resource requesting device.
- a resource sharing apparatus in a resource providing apparatus, The resource providing device and the resource requesting device are connected to the same local area network, including:
- An access monitoring module configured to listen to the resource requesting device accessing a predetermined service address for resource sharing by a browser, the service address being directed to a network preset for resource sharing in the resource providing device Web service port;
- a list obtaining module configured to acquire a shared resource list, where the shared resource list includes at least one share, when the access monitoring module monitors that the resource requesting device accesses the service address by using the browser Information on resources;
- a list sending module configured to send, by the web service port, the shared resource list obtained by the list obtaining module to the resource requesting device, so that the resource requesting device presents the The resource list is shared, so that the user selects the target resource that needs to be accessed, and accesses the target resource according to the information of the target resource.
- the list obtaining module includes:
- An information acquisition submodule configured to acquire a resource name, a resource type, and a resource path of each shared resource in the resource providing device;
- the list determining submodule is configured to determine a resource name, a resource type, and a resource path of all shared resources acquired by the information obtaining submodule as the shared resource list.
- the device further includes:
- a first receiving module configured to receive information of the folder that is sent by the resource requesting device by using the browser
- a directory obtaining module configured to acquire, according to the information of the folder received by the first receiving module, a file directory list of the folder, where the file directory list includes at least one file included in the folder information;
- a directory sending module configured to send the file directory list obtained by the directory obtaining module to the resource requesting device, so that the resource requesting device presents the file directory list in the browser, so that the user Selecting a target file to be accessed from; accessing the target file according to the information of the target file.
- the device further includes:
- a second receiving module configured to receive information about the file sent by the resource requesting device by using the browser
- a file sending module configured to send the file acquired according to the information about the file received by the second receiving module to the resource requesting device.
- a resource sharing device where the resource requesting device and the resource providing device are connected to the same local area network, including:
- a memory for storing processor executable instructions
- processor is configured to:
- the service port returns a shared resource list to the resource requesting device;
- a resource sharing device where the resource providing device and the resource requesting device are connected to the same local area network, including:
- a memory for storing processor executable instructions
- processor is configured to:
- the resource requesting device accesses the service address by using the browser, acquiring a shared resource list, where the shared resource list includes information of at least one shared resource;
- the web service port in the communication communicates to obtain the shared resource, and solves the problem that the shared network client is installed in the resource requesting device to obtain the shared resource, thereby achieving the effect of saving the storage space occupied by the shared network client.
- FIG. 1 is a schematic diagram of an implementation environment involved in a resource sharing method, according to some exemplary embodiments.
- FIG. 2 is a flowchart of a resource sharing method according to an exemplary embodiment.
- FIG. 3 is a flowchart of a resource sharing method according to another exemplary embodiment.
- FIG. 4 is a schematic diagram of a resource display according to the present exemplary embodiment.
- FIG. 5 is a block diagram of a resource sharing apparatus according to an exemplary embodiment.
- FIG. 6 is a block diagram of a resource sharing apparatus according to an exemplary embodiment.
- FIG. 7 is a block diagram of a resource sharing apparatus according to an exemplary embodiment.
- FIG. 8 is a block diagram of a resource sharing apparatus according to an exemplary embodiment.
- FIG. 9 is a block diagram of an apparatus for resource sharing, according to an exemplary embodiment.
- FIG. 10 is a block diagram of an apparatus for resource sharing, according to an exemplary embodiment.
- FIG. 1 is a schematic structural diagram of an implementation environment involved in various embodiments of the present disclosure.
- the implementation environment includes a resource requesting device 110, a router 120, and a resource providing device 130.
- the resource requesting device 110 includes a communication component for communicating with other devices by wire or wirelessly.
- the resource requesting device 110 may be a telephone, a mobile phone, or a tablet.
- the resource requesting device 110 is connected to the router 120 in a wireless manner.
- the router 120 is configured to establish a communication connection between the resource requesting device 110 and the resource providing device 130, and implement information exchange between the resource requesting device 110 and the resource providing device 130.
- the router 120 and the resource providing device 130 may be connected by wire or wirelessly, or the router 120 may be inserted into the resource providing device 130 through a USB (Universal Serial Bus) interface provided by the resource providing device 130. .
- USB Universal Serial Bus
- the resource providing device 130 includes a communication component for communicating with other devices by wire or wirelessly.
- the resource providing device 130 has access to the network, and the network is shared by the router 120 to the resource requesting device 110.
- the resource providing device 130 may be a telephone, a mobile phone, or a tablet.
- FIG. 2 is a flowchart of a resource sharing method according to an exemplary embodiment. As shown in FIG. 2, the resource sharing method includes the following steps.
- the resource providing device monitors the resource requesting device to access the predetermined service address for resource sharing through the browser, and the service address points to a web service port preset for resource sharing in the resource providing device.
- the service address may be a pre-agreed address pointing to a web service port in the resource providing device for sharing resources in the resource providing device.
- the browser and web service port use the same network protocol.
- step 202 the resource requesting device accesses a predetermined service address for resource sharing through a browser, and the service address points to a web service port preset for resource sharing in the resource providing device.
- step 203 if the resource requesting device accesses the service address through the browser, the resource providing device acquires a shared resource list, where the shared resource list includes information of at least one shared resource.
- step 204 the resource providing device transmits a shared resource list to the resource requesting device through the web service port.
- the resource providing device can request the resource through the web service port that uses the same network protocol as the browser.
- the device sends a list of shared resources.
- the resource requesting device receives the shared resource list sent by the resource providing device, where the shared resource list includes information of at least one shared resource.
- the resource requesting device presents a list of shared resources in the browser for the user to select a target resource for which to access.
- step 207 the resource requesting device accesses the target resource according to the information of the target resource.
- the resource requesting device can access the web service port in the resource providing device through the browser, and does not need to additionally install the shared network client for resource sharing in the resource requesting device, thereby saving installation in the resource requesting device.
- the steps 202, 205, 206, and 207 can be separately implemented as the resource sharing method on the resource requesting device side, and the steps 201, 203, and 204 can be separately implemented as the resource sharing method on the resource providing device side.
- the resource sharing method accesses a predetermined service address for resource sharing by a browser, and the service address points to a web service port preset for resource sharing in the resource providing device, so that The resource providing device returns a shared resource list to the resource requesting device through the web service port; receiving the shared resource list sent by the resource providing device; presenting the shared resource list in the browser, so that the user selects the target resource to be accessed from the target resource;
- the information access target resource can be obtained by the browser and the web service port in the resource providing device to obtain the shared resource, and the problem that the shared network client is installed in the resource requesting device to obtain the shared resource is solved, and the installation and sharing network is saved. The effect of the storage space occupied by the client.
- FIG. 3 is a flowchart of a resource sharing method according to another exemplary embodiment. As shown in FIG. 3, the resource sharing method includes the following steps.
- the resource providing device listens to the resource requesting device to access the predetermined service address for resource sharing through the browser, and the service address points to a web service port preset for resource sharing in the resource providing device.
- the service address may be pre-agreed by the user or the manufacturer, and then the service address is notified to the resource requesting device and the resource providing device; or the service address may be agreed between the resource requesting device and the resource providing device; or the service address is It may be notified to the resource requesting device after the resource providing device is allocated.
- This embodiment does not limit the manner in which the service address is obtained.
- the service address may be a web address that the browser can recognize.
- the resource requesting device After the resource requesting device accesses the local area network shared by the resource providing device, the resource requesting device cannot access the service address through the shared network client because the shared network client for acquiring the shared resource is not installed in the resource requesting device.
- a browser is installed in the resource requesting device, so the resource providing device can provide a web service port that uses the same protocol as the browser, so that the resource requesting device that does not have the shared network client installed can access the web service port through the browser, thereby Access to shared resources expands the sharing of shared resources.
- the web service port can be set to 192.168.123.1:80.
- the resource providing device Since the resource providing device does not determine when the resource requesting device will access the service address, the resource providing device needs to always listen to the web service port so as to be able to respond to the resource requesting device access to the shared resource in time.
- the resource providing device can monitor the web service port through the web service provided by the installed shared network client.
- step 302 the resource requesting device accesses a predetermined service address for resource sharing through a browser, and the service address points to a web service port preset for resource sharing in the resource providing device.
- the shared network client is not installed in the resource requesting device, and the browser is installed. Therefore, the resource requesting device can access the service address through the browser to obtain the shared resource in the resource providing device.
- step 303 if the resource requesting device accesses the service address through the browser, the resource providing device acquires the resource name, the resource type, and the resource path of each shared resource in the resource providing device; and the resource name of all the shared resources.
- the resource type and resource path are determined as a shared resource list.
- the resource providing device can monitor the web service port.
- the router can obtain the service address, and the router accesses the web service port corresponding to the service address.
- the resource providing device monitors the access event, it is determined that the resource requesting device needs to acquire the shared resource in the resource providing device.
- the resource providing device monitors the access event, information about each shared resource can be obtained, and a shared resource list is obtained. That is, the shared resource list contains information on at least one shared resource.
- the information of the shared resource includes a resource name, a resource type, and a resource path of the shared resource.
- the resource name is used to identify the shared resource
- the resource type is used to indicate the data type of the shared resource
- the resource path is used to indicate the storage address of the shared resource.
- the resource name of a shared resource is "image”
- the resource type is an image
- the resource path is "C: ⁇ Documents and Settings”.
- step 304 the resource providing device transmits a shared resource list to the resource requesting device through the web service port.
- the resource providing device can request the resource through the web service port that uses the same network protocol as the browser.
- the device sends a list of shared resources.
- the resource requesting device receives the shared resource list sent by the resource providing device, where the shared resource list includes information of at least one shared resource.
- the resource requesting device receives a list of shared resources sent by the web service port through the browser.
- the resource requesting device uses the information of each shared resource included in the shared resource list as one.
- the table items are arranged, and the information of each shared resource includes a resource name, a resource type, and a resource path of the shared resource; and the arranged shared resource list is displayed in the browser, so that the user selects the target resource to be accessed from the user.
- the resource requesting device After receiving the shared resource list, the resource requesting device also needs to display the shared resource list in the browser, so that the user selects the information of the target resource to be acquired from the displayed shared resource list.
- the shared resource list When the shared resource list is displayed, since the shared resource list includes the resource name, resource type, and resource path of each shared resource, if the resource requesting device randomly displays all resource names, resource types, and resource paths in the browser. It is easy to cause the displayed information to be confusing, and the user needs to find the information one by one, resulting in low efficiency of information search.
- the resource requesting device may display the shared list according to the shared resource. That is, the resource requesting device may use the information of each shared resource as an entry, and the entry includes a resource name, a resource type, and a resource path of the shared resource.
- FIG. 4 is a schematic diagram showing a resource display according to the present exemplary embodiment, and each row in FIG. 4 is an entry. For example, “image”, “temp”, “cup.png”, “abstract.png”, “landscape.png”, “nature.png”, and “people.png” in Figure 4 are separate entries. .
- the resource may be selected by clicking the method, and the resource requesting device determines the resource selected by the user as the target resource, and obtains the target resource.
- the information of the target resource includes a resource name, a resource type, and a resource path of the target resource.
- the target resource selected by the user may be a file or a folder
- the folder may include at least one of a folder and a file.
- the files in the folder are obtained by classifying the files according to a predetermined classification rule. Since the file can be searched in a small range of the folder, the problem of finding inefficiency caused by finding a certain file in all the files after all the files are gathered together is avoided, and the search efficiency of the file is improved. effect.
- step 307 the resource requesting device accesses the target resource according to the information of the target resource.
- the resource requesting device needs to acquire the target resource according to the type of the target resource.
- the target resource is accessed according to the information of the target resource, including:
- the resource requesting device When the target resource is a folder, the resource requesting device needs to send the information of the folder to the resource providing device through the browser to acquire the shared resource related to the folder. If the resource providing device can provide downloading of all the files in one folder at a time, the resource providing device can send all the files included in the folder to the resource requesting device through the web service port. If the resource providing device provides downloading of one file in one folder at a time, then The source providing device may send the file directory list of all the files included in the folder to the resource requesting device through the web service port, and the resource requesting device displays the file directory list in the browser, and the user selects the access from the file directory list.
- the file requesting device determines the file selected by the user as the target file, obtains the information of the target file, and accesses the target file according to the information of the target file.
- the file directory list includes information of at least one file, and the file information includes a file name, a file type, and a file path, and the method for the resource requesting device to display the file directory list in the browser and the method for displaying the shared resource list in the browser.
- the resource providing device sends the information of the image folder, the information of the temp folder, and the information of the cup.png file to the browser, and the browser generates a shared resource list for display, referring to the left side diagram in FIG. .
- the image folder may be selected, the resource requesting device determines the image folder as the target resource, sends the information of the image folder to the resource providing device, and the resource providing device obtains the image folder.
- the information of the included file is sent to the resource requesting device.
- the information of the file is displayed in the browser, the information of each file can be displayed as an entry, and a list of file directories including at least one entry can be obtained. Please refer to the schematic diagram on the right in FIG.
- the resource requesting device may continue to send the information of the folder to the resource providing device to obtain a file directory list of the folder, and the resource requesting device is in the file directory list.
- the file is accessed, or the resource requesting device continues to obtain a list of file directories included in the folder in the file directory list until the access process is completed after accessing the file.
- the resource providing device may send the information of the folder together with the information of the file to the resource requesting device, and the file directory structure presented in the browser includes both the folder and the file.
- the file directory structure shown in the left side diagram in FIG. 4 is the file directory structure of the shared disk, and FIG. 4 includes both the image folder and the temp folder, and also the file of cup.png.
- the resource sharing method further includes:
- the resource providing device After receiving the information of the folder, the resource providing device sends all the files in the folder to the resource requesting device, or the resource providing device obtains a file directory list of the folder, and sends the file directory list to the resource requesting device, the resource. The requesting device then accesses the file according to the file directory list.
- the target resource is a file
- the target resource is accessed according to the information of the target resource, including:
- the resource requesting device may send the information of the file to the resource request setting through the browser.
- the resource providing device sends the file obtained according to the information of the file to the resource requesting device through the web service port, and the resource requesting device receives the file.
- the resource sharing method provided in this embodiment further includes:
- the resource providing device After receiving the information of the file, the resource providing device acquires the file according to the information of the file, and sends the obtained file to the resource requesting device through the web service port.
- the resource requesting device can access the web service port in the resource providing device through the browser, and does not need to additionally install the shared network client for resource sharing in the resource requesting device, thereby saving installation in the resource requesting device.
- the steps 302, 305, 306, and 307 can be separately implemented as the resource sharing method on the resource requesting device side, and the steps 301, 303, and 304 can be separately implemented as the resource sharing method on the resource providing device side.
- the resource sharing method accesses a predetermined service address for resource sharing by a browser, and the service address points to a web service port preset for resource sharing in the resource providing device, so that The resource providing device returns a shared resource list to the resource requesting device through the web service port; receiving the shared resource list sent by the resource providing device; presenting the shared resource list in the browser, so that the user selects the target resource to be accessed from the target resource;
- the information access target resource can be obtained by the browser and the web service port in the resource providing device to obtain the shared resource, and the problem that the shared network client is installed in the resource requesting device to obtain the shared resource is solved, and the installation and sharing network is saved. The effect of the storage space occupied by the client.
- the information of the folder is sent to the resource providing device by the browser, so that the resource providing device returns a file directory list of the folder to the resource requesting device through the web service port; receiving the file directory list sent by the resource requesting device; in the browser A list of file directories is presented so that the user can select the target file to be accessed; the target file can be accessed according to the information of the target file, and the files can be classified according to the folder, so that all the files in all the folders are gathered together after all Finding a file in the file is inefficiently searched, and the effect of improving the search efficiency of the file is achieved.
- FIG. 5 is a block diagram of a resource sharing device, where the resource sharing device is connected to a resource providing device, and the resource providing device is connected to the same local area network, as shown in FIG. 5, according to an exemplary embodiment.
- the resource sharing device includes an address access module 501, a list receiving module 502, a list presenting module 503, and a resource accessing module 504.
- the address accessing module 501 is configured to access, by using a browser, a predetermined service address for resource sharing, where the service address points to a network web service port preset for resource sharing in the resource providing device, so that the resource providing device passes The web service port returns a list of shared resources to the resource requesting device;
- the list receiving module 502 is configured to receive a shared resource list sent by the resource providing device, where the shared resource list includes at least one piece of shared resource information;
- the list presentation module 503 is configured to present a list of shared resources received by the list receiving module 502 in a browser, so that the user selects a target resource to be accessed from the user;
- the resource access module 504 is configured to access the target resource according to the information of the target resource presented by the list presentation module 503.
- the resource sharing apparatus accesses a predetermined service address for resource sharing by a browser, and the service address points to a web service port preset for resource sharing in the resource providing device, so that The resource providing device returns a shared resource list to the resource requesting device through the web service port; receiving the shared resource list sent by the resource providing device; presenting the shared resource list in the browser, so that the user selects the target resource to be accessed from the target resource;
- the information access target resource can be obtained by the browser and the web service port in the resource providing device to obtain the shared resource, and the problem that the shared network client is installed in the resource requesting device to obtain the shared resource is solved, and the installation and sharing network is saved. The effect of the storage space occupied by the client.
- FIG. 6 is a block diagram of a resource sharing device, where the resource sharing device is connected to a resource providing device and connected to a same local area network, as shown in FIG. 6 , according to an exemplary embodiment.
- the resource sharing device includes an address access module 501, a list receiving module 502, a list presenting module 503, and a resource accessing module 504.
- the address accessing module 501 is configured to access, by using a browser, a predetermined service address for resource sharing, where the service address points to a network web service port preset for resource sharing in the resource providing device, so that the resource providing device passes The web service port returns a list of shared resources to the resource requesting device;
- the list receiving module 502 is configured to receive a shared resource list sent by the resource providing device, where the shared resource list includes at least one piece of shared resource information;
- the list presentation module 503 is configured to present a list of shared resources received by the list receiving module 502 in a browser, so that the user selects a target resource to be accessed from the user;
- the resource access module 504 is configured to access the target resource according to the information of the target resource presented by the list presentation module 503.
- the list presentation module 503 includes: a list arrangement submodule 5031 and a list display submodule 5032;
- the list arrangement sub-module 5031 is configured to arrange information of each shared resource included in the shared resource list as one entry, and the information of each shared resource includes a resource name, a resource type, and a resource path of the shared resource;
- the list display sub-module 5032 is configured to display a list of shared resources after the list arrangement sub-module 5031 is arranged in the browser.
- the resource access module 504 includes: a first sending submodule 5041, a directory receiving submodule 5042, a directory presenting submodule 5043, and a file accessing submodule 5044;
- the first sending submodule 5041 is configured to send information of the folder to the resource providing device through the browser, so that the resource providing device returns a file directory list of the folder to the resource requesting device through the web service port;
- the directory receiving submodule 5042 is configured to receive a file directory list and a file directory sent by the resource requesting device.
- the list contains information of at least one file included in the folder;
- the directory presentation sub-module 5043 is configured to present, in the browser, a list of file directories received by the directory receiving sub-module 5042, so that the user selects a target file to be accessed from the user;
- the file access sub-module 5044 is configured to access the target file based on information of the target file presented by the directory presentation sub-module 5043.
- the resource access module 504 includes: a second sending submodule 5045 and a file receiving submodule 5046;
- the second sending submodule 5045 is configured to send information of the file to the resource providing device through the browser, so that the resource providing device returns the file to the resource requesting device through the web service port;
- the file receiving submodule 5046 is configured to receive a file sent by the resource requesting device.
- the resource sharing apparatus accesses a predetermined service address for resource sharing by a browser, and the service address points to a web service port preset for resource sharing in the resource providing device, so that The resource providing device returns a shared resource list to the resource requesting device through the web service port; receiving the shared resource list sent by the resource providing device; presenting the shared resource list in the browser, so that the user selects the target resource to be accessed from the target resource;
- the information access target resource can be obtained by the browser and the web service port in the resource providing device to obtain the shared resource, and the problem that the shared network client is installed in the resource requesting device to obtain the shared resource is solved, and the installation and sharing network is saved. The effect of the storage space occupied by the client.
- the information of the folder is sent to the resource providing device by the browser, so that the resource providing device returns a file directory list of the folder to the resource requesting device through the web service port; receiving the file directory list sent by the resource requesting device; in the browser A list of file directories is presented so that the user can select the target file to be accessed; the target file can be accessed according to the information of the target file, and the files can be classified according to the folder, so that all the files in all the folders are gathered together after all Finding a file in the file is inefficiently searched, and the effect of improving the search efficiency of the file is achieved.
- FIG. 7 is a block diagram of a resource sharing device, in which a resource providing device and a resource requesting device are connected to the same local area network, as shown in FIG. 7, according to an exemplary embodiment.
- the sharing device includes an access monitoring module 701, a list obtaining module 702, and a list sending module 703.
- the access monitoring module 701 is configured to listen to the resource requesting device accessing the predetermined service address for resource sharing by using a browser, and the service address is directed to a network web service port preset for resource sharing in the resource providing device;
- the list obtaining module 702 is configured to: when the access monitoring module 701 monitors that the resource requesting device accesses the service address through the browser, acquires a shared resource list, where the shared resource list includes at least one piece of shared resource information;
- the list sending module 703 is configured to send the shared resource list acquired by the list obtaining module 702 to the resource requesting device through the web service port, so that the resource requesting device presents the shared resource list in the browser, so that the user selects the required access from the user.
- the target resource accessing the target resource based on the information of the target resource.
- the resource sharing apparatus intercepts a resource requesting device by a browser to access a predetermined service address for resource sharing, and the service address points to a preset resource sharing device in the resource providing device. a web service port; if the resource requesting device accesses the service address through the browser, acquiring the shared resource list; and sending the shared resource list to the resource requesting device through the web service port, so that the resource requesting device presents the shared resource in the browser a list, so that the user selects the target resource to be accessed from, and accesses the target resource according to the information of the target resource, and can communicate with the browser in the resource requesting device through the web service port to provide the shared resource, and solves the problem of installing in the resource requesting device.
- the problem of sharing the shared resources can be achieved by sharing the network client, which saves the storage space occupied by the shared network client.
- FIG. 8 is a block diagram of a resource sharing device in which a resource providing device and a resource requesting device are connected to the same local area network, as shown in FIG. 8 , according to an exemplary embodiment.
- the sharing device includes an access monitoring module 701, a list obtaining module 702, and a list sending module 703.
- the access monitoring module 701 is configured to listen to the resource requesting device accessing the predetermined service address for resource sharing by using a browser, and the service address is directed to a network web service port preset for resource sharing in the resource providing device;
- the list obtaining module 702 is configured to: when the access monitoring module 701 monitors that the resource requesting device accesses the service address through the browser, acquires a shared resource list, where the shared resource list includes at least one piece of shared resource information;
- the list sending module 703 is configured to send the shared resource list acquired by the list obtaining module 702 to the resource requesting device through the web service port, so that the resource requesting device presents the shared resource list in the browser, so that the user selects the required access from the user.
- the target resource accessing the target resource based on the information of the target resource.
- the list obtaining module 702 includes: an information obtaining submodule 7021 and a list determining submodule 7022;
- the information obtaining sub-module 7021 is configured to acquire a resource name, a resource type, and a resource path of each shared resource in the resource providing device.
- the list determining sub-module 7022 is configured to determine a resource name, a resource type, and a resource path of all shared resources acquired by the information obtaining sub-module 7021 as a shared resource list.
- the resource sharing device provided by the embodiment further includes: a first receiving module 704, a directory obtaining module 705, and a directory sending module 706;
- the first receiving module 704 is configured to receive information of a folder that the resource requesting device sends through the browser;
- the directory obtaining module 705 is configured to acquire a file directory list of the folder according to the information of the folder received by the first receiving module 704, where the file directory list includes information of at least one file included in the folder;
- the directory sending module 706 is configured to send the file directory list obtained by the directory obtaining module 705 to the resource requesting device, so that the resource requesting device presents the file directory list in the browser, so that the user selects the target file to be accessed from the user; Access the target file based on the information of the target file.
- the resource sharing apparatus further includes: a second receiving module 707 and a file sending module 708;
- the second receiving module 707 is configured to receive information of a file that the resource requesting device sends through the browser;
- the file sending module 708 is configured to send the file acquired according to the information of the file received by the second receiving module 707 to the resource requesting device.
- the resource sharing apparatus intercepts a resource requesting device by a browser to access a predetermined service address for resource sharing, and the service address points to a preset resource sharing device in the resource providing device. a web service port; if the resource requesting device accesses the service address through the browser, acquiring the shared resource list; and sending the shared resource list to the resource requesting device through the web service port, so that the resource requesting device presents the shared resource in the browser a list, so that the user selects the target resource to be accessed from, and accesses the target resource according to the information of the target resource, and can communicate with the browser in the resource requesting device through the web service port to provide the shared resource, and solves the problem of installing in the resource requesting device.
- the problem of sharing the shared resources can be achieved by sharing the network client, which saves the storage space occupied by the shared network client.
- receiving the information of the folder that the resource requesting device sends through the browser acquiring the file directory list of the folder according to the information of the folder; and sending the file directory list to the resource requesting device, so that the resource requesting device presents the file directory in the browser List, so that the user can select the target file to be accessed; access the target file according to the information of the target file, the files can be classified according to the folder, avoiding the files in all the folders being gathered together, searching in all the files
- the problem of inefficient search by a file achieves the effect of improving the efficiency of file search.
- FIG. 9 is a block diagram of a resource sharing device 900, according to an exemplary embodiment.
- device 900 can be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a gaming console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
- device 900 can include one or more of the following components: processing component 902, memory 904, power component 906, multimedia component 908, audio component 910, input/output (I/O) interface 912, sensor component 914, And a communication component 916.
- Processing component 902 typically controls the overall operation of device 900, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
- Processing component 902 can include one or more processors 918 to execute instructions to perform all or part of the steps of the above described methods.
- processing component 902 can include one or more modules to facilitate interaction between component 902 and other components.
- processing component 902 can include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
- Memory 904 is configured to store various types of data to support operation at device 900. Examples of such data include instructions for any application or method operating on device 900, contact data, phone book data, messages, pictures, videos, and the like.
- the memory 904 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Disk or Optical Disk.
- SRAM static random access memory
- EEPROM electrically erasable programmable read only memory
- EPROM Erasable Programmable Read Only Memory
- PROM Programmable Read Only Memory
- ROM Read Only Memory
- Magnetic Memory Flash Memory
- Disk Disk or Optical Disk.
- Power component 906 provides power to various components of device 900.
- Power component 906 can include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 900.
- the multimedia component 908 includes a screen between the device 900 and the user that provides an output interface.
- the screen can include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen can be implemented as a touch screen to receive input signals from the user.
- the touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor may sense not only the boundary of the touch or sliding action, but also the duration and pressure associated with the touch or slide operation.
- the multimedia component 908 includes a front camera and/or a rear camera. When the device 900 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
- the audio component 910 is configured to output and/or input an audio signal.
- audio component 910 includes a microphone (MIC) that is configured to receive an external audio signal when device 900 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode.
- the received audio signal may be further stored in memory 904 or transmitted via communication component 916.
- the audio component 910 also includes a speaker for outputting an audio signal.
- the I/O interface 912 provides an interface between the processing component 902 and the peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to, a home button, a volume button, a start button, and a lock button.
- Sensor assembly 914 includes one or more sensors for providing device 900 with various aspects of status assessment.
- sensor component 914 can detect an open/closed state of device 900, a relative positioning of components, such as the display and keypad of device 900, and sensor component 914 can also detect a change in position of one component of device 900 or device 900. The presence or absence of user contact with device 900, device 900 orientation or acceleration/deceleration, and temperature variation of device 900.
- Sensor assembly 914 can include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
- Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications.
- the sensor component 914 can also include an acceleration sensor, a gyro sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
- Communication component 916 is configured to facilitate wired or wireless communication between device 900 and other devices.
- the device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof.
- communication component 916 receives broadcast signals or broadcast associated information from an external broadcast management system via a broadcast channel.
- the communication component 916 also includes a near field communication (NFC) module to facilitate short range communication.
- NFC near field communication
- the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
- RFID radio frequency identification
- IrDA infrared data association
- UWB ultra-wideband
- Bluetooth Bluetooth
- device 900 may be implemented by one or more application specific integrated circuits (ASICs), digital Signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation for Perform the above method.
- ASICs application specific integrated circuits
- DSP digital Signal processor
- DSPD digital signal processing device
- PLD programmable logic device
- FPGA field programmable gate array
- controller microcontroller, microprocessor or other electronic component implementation for Perform the above method.
- non-transitory computer readable storage medium comprising instructions, such as a memory 904 comprising instructions executable by processor 918 of apparatus 900 to perform the above method.
- the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
- FIG. 10 is a block diagram of an apparatus 1000 for resource sharing, according to an exemplary embodiment.
- device 1000 can be provided as a server.
- apparatus 1000 includes a processing component 1022 that further includes one or more processors, and memory resources represented by memory 1032 for storing instructions executable by processing component 1022, such as an application.
- An application stored in memory 1032 can include one or more modules each corresponding to a set of instructions.
- the processing component 1022 is configured to execute instructions to perform the resource sharing method described above.
- Apparatus 1000 can also include a power supply component 1026 configured to perform power management of apparatus 1000, a wired or wireless network interface 1050 configured to connect apparatus 1000 to the network, and an input/output (I/O) interface 1058.
- the device 1000 can operate based on an operating system stored in the memory 1032, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Signal Processing (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computational Linguistics (AREA)
- Computer Hardware Design (AREA)
- Multimedia (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
Claims (18)
- 一种资源共享方法,其特征在于,用于资源请求设备中,所述资源请求设备与资源提供设备连接到同一局域网络,所述方法包括:通过浏览器访问预定的用于资源共享的服务地址,所述服务地址指向所述资源提供设备中预先设定的用于资源共享的网络web服务端口,以使得所述资源提供设备通过所述web服务端口向所述资源请求设备返回共享资源列表;接收所述资源提供设备发送的所述共享资源列表,所述共享资源列表中包含至少一项共享资源的信息;在所述浏览器中呈现所述共享资源列表,以便用户从中选择所需访问的目标资源;根据所述目标资源的信息访问所述目标资源。
- 根据权利要求1所述的方法,其特征在于,所述在所述浏览器中呈现所述共享资源列表,包括:将所述共享资源列表所包括的每个共享资源的信息作为一个表项进行排列,每个共享资源的信息包括所述共享资源的资源名称、资源类型和资源路径;在所述浏览器中显示排列后的所述共享资源列表。
- 根据权利要求1或2所述的方法,其特征在于,若所述目标资源是文件夹,则所述根据所述目标资源的信息访问所述目标资源,包括:通过所述浏览器向所述资源提供设备发送所述文件夹的信息,以使得所述资源提供设备通过所述web服务端口向所述资源请求设备返回所述文件夹的文件目录列表;接收所述资源请求设备发送的所述文件目录列表,所述文件目录列表包含所述文件夹所包括的至少一个文件的信息;在所述浏览器中呈现所述文件目录列表,以便用户从中选择所需访问的目标文件;根据所述目标文件的信息访问所述目标文件。
- 根据权利要求1或2所述的方法,其特征在于,若所述目标资源是文件,则所述根据所述目标资源的信息访问所述目标资源,包括:通过所述浏览器向所述资源提供设备发送所述文件的信息,以使得所述资源提供设备通过所述web服务端口向所述资源请求设备返回所述文件;接收所述资源请求设备发送的所述文件。
- 一种资源共享方法,其特征在于,用于资源提供设备中,所述资源提供设备与资源请求设备连接到同一局域网,包括:监听所述资源请求设备通过浏览器对预定的用于资源共享的服务地址的访问,所述服 务地址指向所述资源提供设备中预先设定的用于资源共享的网络web服务端口;若监控到所述资源请求设备通过所述浏览器对所述服务地址的访问,则获取共享资源列表,所述共享资源列表中包含至少一项共享资源的信息;通过所述web服务端口向所述资源请求设备发送所述共享资源列表,以使得所述资源请求设备在所述浏览器中呈现所述共享资源列表,以便用户从中选择所需访问的目标资源,根据所述目标资源的信息访问所述目标资源。
- 根据权利要求5所述的方法,其特征在于,所述获取共享资源列表,包括:获取所述资源提供设备中每项共享资源的资源名称、资源类型和资源路径;将所有共享资源的资源名称、资源类型和资源路径确定为所述共享资源列表。
- 根据权利要求5或6所述的方法,其特征在于,若所述目标资源是文件夹,则所述方法,还包括:接收所述资源请求设备通过所述浏览器发送的所述文件夹的信息;根据所述文件夹的信息获取所述文件夹的文件目录列表,所述文件目录列表包含所述文件夹所包括的至少一个文件的信息;将所述文件目录列表发送给所述资源请求设备,以便所述资源请求设备在所述浏览器中呈现所述文件目录列表,以便用户从中选择所需访问的目标文件;根据所述目标文件的信息访问所述目标文件。
- 根据权利要求5或6所述的方法,其特征在于,若所述目标资源是文件,则所述方法,还包括:接收所述资源请求设备通过所述浏览器发送的所述文件的信息;将根据所述文件的信息获取到的所述文件发送给所述资源请求设备。
- 一种资源共享装置,其特征在于,用于资源请求设备中,所述资源请求设备与资源提供设备连接到同一局域网络,包括:地址访问模块,被配置为通过浏览器访问预定的用于资源共享的服务地址,所述服务地址指向所述资源提供设备中预先设定的用于资源共享的网络web服务端口,以使得所述资源提供设备通过所述web服务端口向所述资源请求设备返回共享资源列表;列表接收模块,被配置为接收所述资源提供设备发送的所述共享资源列表,所述共享资源列表中包含至少一项共享资源的信息;列表呈现模块,被配置为在所述浏览器中呈现所述列表接收模块接收到的所述共享资源列表,以便用户从中选择所需访问的目标资源;资源访问模块,被配置为根据所述列表呈现模块呈现的所述目标资源的信息访问所述 目标资源。
- 根据权利要求9所述的装置,其特征在于,所述列表呈现模块,包括:列表排列子模块,被配置为将所述共享资源列表所包括的每个共享资源的信息作为一个表项进行排列,每个共享资源的信息包括所述共享资源的资源名称、资源类型和资源路径;列表显示子模块,被配置为在所述浏览器中显示所述列表排列子模块排列后的所述共享资源列表。
- 根据权利要求9或10所述的装置,其特征在于,若所述目标资源是文件夹,则所述资源访问模块,包括:第一发送子模块,被配置为通过所述浏览器向所述资源提供设备发送所述文件夹的信息,以使得所述资源提供设备通过所述web服务端口向所述资源请求设备返回所述文件夹的文件目录列表;目录接收子模块,被配置为接收所述资源请求设备发送的所述文件目录列表,所述文件目录列表包含所述文件夹所包括的至少一个文件的信息;目录呈现子模块,被配置为在所述浏览器中呈现所述目录接收子模块接收到的所述文件目录列表,以便用户从中选择所需访问的目标文件;文件访问子模块,被配置为根据所述目录呈现子模块呈现的所述目标文件的信息访问所述目标文件。
- 根据权利要求9或10所述的装置,其特征在于,若所述目标资源是文件,则所述资源访问模块,包括:第二发送子模块,被配置为通过所述浏览器向所述资源提供设备发送所述文件的信息,以使得所述资源提供设备通过所述web服务端口向所述资源请求设备返回所述文件;文件接收子模块,被配置为接收所述资源请求设备发送的所述文件。
- 一种资源共享装置,其特征在于,用于资源提供设备中,所述资源提供设备与资源请求设备连接到同一局域网,包括:访问监听模块,被配置为监听所述资源请求设备通过浏览器对预定的用于资源共享的服务地址的访问,所述服务地址指向所述资源提供设备中预先设定的用于资源共享的网络web服务端口;列表获取模块,被配置为在所述访问监听模块监控到所述资源请求设备通过所述浏览器对所述服务地址的访问时,获取共享资源列表,所述共享资源列表中包含至少一项共享资源的信息;列表发送模块,被配置为通过所述web服务端口向所述资源请求设备发送所述列表获取模块获取到的所述共享资源列表,以使得所述资源请求设备在所述浏览器中呈现所述共享资源列表,以便用户从中选择所需访问的目标资源,根据所述目标资源的信息访问所述目标资源。
- 根据权利要求13所述的装置,其特征在于,所述列表获取模块,包括:信息获取子模块,被配置为获取所述资源提供设备中每项共享资源的资源名称、资源类型和资源路径;列表确定子模块,被配置为将所述信息获取子模块获取到的所有共享资源的资源名称、资源类型和资源路径确定为所述共享资源列表。
- 根据权利要求13或14所述的装置,其特征在于,若所述目标资源是文件夹,则所述装置,还包括:第一接收模块,被配置为接收所述资源请求设备通过所述浏览器发送的所述文件夹的信息;目录获取模块,被配置为根据所述第一接收模块接收到的所述文件夹的信息获取所述文件夹的文件目录列表,所述文件目录列表包含所述文件夹所包括的至少一个文件的信息;目录发送模块,被配置为将所述目录获取模块获取到的所述文件目录列表发送给所述资源请求设备,以便所述资源请求设备在所述浏览器中呈现所述文件目录列表,以便用户从中选择所需访问的目标文件;根据所述目标文件的信息访问所述目标文件。
- 根据权利要求13或14所述的装置,其特征在于,若所述目标资源是文件,则所述装置,还包括:第二接收模块,被配置为接收所述资源请求设备通过所述浏览器发送的所述文件的信息;文件发送模块,被配置为将根据所述第二接收模块接收到的所述文件的信息获取到的所述文件发送给所述资源请求设备。
- 一种资源共享装置,其特征在于,用于资源请求设备中,所述资源请求设备与资源提供设备连接到同一局域网络,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:通过浏览器访问预定的用于资源共享的服务地址,所述服务地址指向所述资源提供设 备中预先设定的用于资源共享的网络web服务端口,以使得所述资源提供设备通过所述web服务端口向所述资源请求设备返回共享资源列表;接收所述资源提供设备发送的所述共享资源列表,所述共享资源列表中包含至少一项共享资源的信息;在所述浏览器中呈现所述共享资源列表,以便用户从中选择所需访问的目标资源;根据所述目标资源的信息访问所述目标资源。
- 一种资源共享装置,其特征在于,用于资源提供设备中,所述资源提供设备与资源请求设备连接到同一局域网,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:监听所述资源请求设备通过浏览器对预定的用于资源共享的服务地址的访问,所述服务地址指向所述资源提供设备中预先设定的用于资源共享的网络web服务端口;若监控到所述资源请求设备通过所述浏览器对所述服务地址的访问,则获取共享资源列表,所述共享资源列表中包含至少一项共享资源的信息;通过所述web服务端口向所述资源请求设备发送所述共享资源列表,以使得所述资源请求设备在所述浏览器中呈现所述共享资源列表,以便用户从中选择所需访问的目标资源,根据所述目标资源的信息访问所述目标资源。
Priority Applications (6)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020157001312A KR101714939B1 (ko) | 2014-07-23 | 2014-11-20 | 리소스 공유 방법, 장치, 프로그램 및 기록매체 |
RU2015103897A RU2606305C2 (ru) | 2014-07-23 | 2014-11-20 | Способ и устройство для совместного использования ресурсов |
MX2015000846A MX357350B (es) | 2014-07-23 | 2014-11-20 | Metodo y aparato para compartir recursos. |
JP2016535339A JP6118469B2 (ja) | 2014-07-23 | 2014-11-20 | リソース共有方法、装置、プログラム、及び記録媒体 |
BR112015002715A BR112015002715A2 (pt) | 2014-07-23 | 2014-11-20 | método e aparelho para compartilhar recursos |
US14/724,777 US20160026719A1 (en) | 2014-07-23 | 2015-05-28 | Methods and devices for sharing resources |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410353008.6A CN104158854B (zh) | 2014-07-23 | 2014-07-23 | 资源共享方法及装置 |
CN201410353008.6 | 2014-07-23 |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US14/724,777 Continuation US20160026719A1 (en) | 2014-07-23 | 2015-05-28 | Methods and devices for sharing resources |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2016011748A1 true WO2016011748A1 (zh) | 2016-01-28 |
Family
ID=51884259
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2014/091751 WO2016011748A1 (zh) | 2014-07-23 | 2014-11-20 | 资源共享方法及装置 |
Country Status (8)
Country | Link |
---|---|
US (1) | US20160026719A1 (zh) |
JP (1) | JP6118469B2 (zh) |
KR (1) | KR101714939B1 (zh) |
CN (1) | CN104158854B (zh) |
BR (1) | BR112015002715A2 (zh) |
MX (1) | MX357350B (zh) |
RU (1) | RU2606305C2 (zh) |
WO (1) | WO2016011748A1 (zh) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104158854B (zh) * | 2014-07-23 | 2015-11-11 | 小米科技有限责任公司 | 资源共享方法及装置 |
CN106055995A (zh) * | 2016-05-13 | 2016-10-26 | 潍坊北大青鸟华光照排有限公司 | 一种数据资源提供、接收方法及装置 |
CN106254572A (zh) * | 2016-09-05 | 2016-12-21 | 深圳Tcl新技术有限公司 | 资源共享方法、装置及系统 |
CN106850734A (zh) * | 2016-12-11 | 2017-06-13 | 乐视控股(北京)有限公司 | 共享资源的推送方法、装置以及电子设备 |
US10862998B2 (en) | 2018-11-06 | 2020-12-08 | Citrtix Systems, Inc. | Systems and methods for managing downloads from an embedded browser |
CN112269668B (zh) * | 2020-10-26 | 2024-11-26 | Vidaa(荷兰)国际控股有限公司 | 一种应用资源共享及显示设备 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101316275A (zh) * | 2008-07-01 | 2008-12-03 | 中兴通讯股份有限公司 | 一种移动终端与家电终端远程共享多媒体资料的方法 |
CN101510794A (zh) * | 2009-01-12 | 2009-08-19 | 北京翰龙潮网络科技有限公司 | 一种手持移动设备从蓝牙内容服务器获取内容与服务的方法及浏览器 |
CN102387249A (zh) * | 2011-09-21 | 2012-03-21 | 李志鹏 | 在局域网内用智能手机控制pc程序的方法与装置 |
CN102938943A (zh) * | 2012-09-19 | 2013-02-20 | 河南智游网络技术有限公司 | 基于iPhone的WiFi无线数据传输方法 |
CN104158854A (zh) * | 2014-07-23 | 2014-11-19 | 小米科技有限责任公司 | 资源共享方法及装置 |
Family Cites Families (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001282727A (ja) * | 2000-03-29 | 2001-10-12 | Toshiba Corp | コンピュータ、サービス提供システム、データ出力方法、サービス提供方法、記憶媒体 |
US7555543B2 (en) * | 2003-12-19 | 2009-06-30 | Microsoft Corporation | Server architecture for network resource information routing |
US7613703B2 (en) * | 2004-09-30 | 2009-11-03 | Microsoft Corporation | Organizing resources into collections to facilitate more efficient and reliable resource access |
US8732182B2 (en) * | 2004-12-02 | 2014-05-20 | Desktopsites Inc. | System and method for launching a resource in a network |
JP2007081688A (ja) * | 2005-09-13 | 2007-03-29 | Canon Inc | 文書登録システム |
WO2007121490A2 (en) * | 2006-04-19 | 2007-10-25 | Deepdive Technologies, Inc. | System and method of identifying shared resources on a network |
CN101155177B (zh) * | 2006-09-30 | 2012-05-30 | 深圳Tcl工业研究院有限公司 | 基于共用协议的数据通道共享系统及方法 |
CN101166211A (zh) * | 2006-10-16 | 2008-04-23 | 琥珀媒体有限公司 | 一种提供网络资源信息以及对应服务的方法和系统 |
JP2009018543A (ja) * | 2007-07-13 | 2009-01-29 | Canon Inc | 画像形成装置 |
EP2031911B1 (en) * | 2007-07-27 | 2017-03-01 | BlackBerry Limited | Method and system for resource sharing |
US20090282130A1 (en) * | 2008-05-12 | 2009-11-12 | Nokia Corporation | Resource sharing via close-proximity wireless communication |
JP5399114B2 (ja) * | 2009-03-30 | 2014-01-29 | 株式会社日立ソリューションズ | ファイルサーバ運用支援装置、方法、プログラム及び記録媒体 |
US8825597B1 (en) * | 2009-08-13 | 2014-09-02 | Dropbox, Inc. | Network folder synchronization |
US20120246226A1 (en) * | 2011-03-23 | 2012-09-27 | Tappin Inc. | System and method for sharing data from a local network to a remote device |
RU2453916C1 (ru) * | 2011-05-05 | 2012-06-20 | Игорь Викторович Лебедев | Способ поиска информационных ресурсов с использованием переадресаций |
US9049176B2 (en) * | 2011-06-22 | 2015-06-02 | Dropbox, Inc. | File sharing via link generation |
US20140067865A1 (en) * | 2012-08-28 | 2014-03-06 | Dropbox, Inc. | Global link providing modification rights to a shared folder |
-
2014
- 2014-07-23 CN CN201410353008.6A patent/CN104158854B/zh active Active
- 2014-11-20 KR KR1020157001312A patent/KR101714939B1/ko active Active
- 2014-11-20 JP JP2016535339A patent/JP6118469B2/ja active Active
- 2014-11-20 WO PCT/CN2014/091751 patent/WO2016011748A1/zh active Application Filing
- 2014-11-20 RU RU2015103897A patent/RU2606305C2/ru active
- 2014-11-20 MX MX2015000846A patent/MX357350B/es active IP Right Grant
- 2014-11-20 BR BR112015002715A patent/BR112015002715A2/pt not_active IP Right Cessation
-
2015
- 2015-05-28 US US14/724,777 patent/US20160026719A1/en not_active Abandoned
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101316275A (zh) * | 2008-07-01 | 2008-12-03 | 中兴通讯股份有限公司 | 一种移动终端与家电终端远程共享多媒体资料的方法 |
CN101510794A (zh) * | 2009-01-12 | 2009-08-19 | 北京翰龙潮网络科技有限公司 | 一种手持移动设备从蓝牙内容服务器获取内容与服务的方法及浏览器 |
CN102387249A (zh) * | 2011-09-21 | 2012-03-21 | 李志鹏 | 在局域网内用智能手机控制pc程序的方法与装置 |
CN102938943A (zh) * | 2012-09-19 | 2013-02-20 | 河南智游网络技术有限公司 | 基于iPhone的WiFi无线数据传输方法 |
CN104158854A (zh) * | 2014-07-23 | 2014-11-19 | 小米科技有限责任公司 | 资源共享方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
KR20160021739A (ko) | 2016-02-26 |
MX357350B (es) | 2018-07-05 |
JP6118469B2 (ja) | 2017-04-19 |
CN104158854A (zh) | 2014-11-19 |
RU2015103897A (ru) | 2016-08-27 |
RU2606305C2 (ru) | 2017-01-10 |
KR101714939B1 (ko) | 2017-03-09 |
CN104158854B (zh) | 2015-11-11 |
MX2015000846A (es) | 2016-03-31 |
JP2016532966A (ja) | 2016-10-20 |
BR112015002715A2 (pt) | 2017-07-04 |
US20160026719A1 (en) | 2016-01-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2647493C2 (ru) | Способ и устройство для отображения списка wifi | |
JP6427203B2 (ja) | 無線アクセスポイントのアクセス方法、装置、プログラム及び記録媒体 | |
JP6186508B2 (ja) | ネットワーク接続方法及び端末 | |
KR101780637B1 (ko) | 연결 상태 프롬프팅 방법 및 장치 | |
WO2016183992A1 (zh) | 对账户与设备的控制关系进行管理的方法、装置和系统 | |
WO2016095448A1 (zh) | 设备联网方法及装置 | |
US10608988B2 (en) | Method and apparatus for bluetooth-based identity recognition | |
WO2016011748A1 (zh) | 资源共享方法及装置 | |
WO2017084269A1 (zh) | 控制智能设备的方法和装置 | |
WO2017016148A1 (zh) | 基于图像的通信方法及装置 | |
WO2019084879A1 (zh) | 剩余关键系统信息的公共资源集合的查找方法及装置 | |
WO2017088374A1 (zh) | 网络状态信息展示方法及装置 | |
CN104660685A (zh) | 设备信息获取方法及装置 | |
WO2017020413A1 (zh) | 网络接入方法、设备及系统 | |
WO2017020410A1 (zh) | 目标功能的开启方法、装置及系统 | |
WO2019095109A1 (zh) | 剩余关键系统信息的公共控制资源集合的频域信息指示方法 | |
WO2016058334A1 (zh) | 一种升级方法、装置及设备 | |
WO2019047143A1 (zh) | 寻呼消息接收方法及装置和寻呼配置方法及装置 | |
WO2017096973A1 (zh) | 设备显示方法及装置 | |
WO2018120778A1 (zh) | 区域配置的方法及装置 | |
WO2017148120A1 (zh) | 获取图像的方法、装置及系统 | |
JP2017514428A (ja) | ネットワーク接続方法、装置、プログラム及び記録媒体 | |
WO2017166761A1 (zh) | 终端之间的媒体数据共享方法及装置 | |
WO2016173246A1 (zh) | 基于云名片的电话呼叫方法及装置 | |
JP2016532966A5 (zh) |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENP | Entry into the national phase |
Ref document number: 2016535339 Country of ref document: JP Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 20157001312 Country of ref document: KR Kind code of ref document: A |
|
WWE | Wipo information: entry into national phase |
Ref document number: MX/A/2015/000846 Country of ref document: MX |
|
ENP | Entry into the national phase |
Ref document number: 2015103897 Country of ref document: RU Kind code of ref document: A |
|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 14898055 Country of ref document: EP Kind code of ref document: A1 |
|
REG | Reference to national code |
Ref country code: BR Ref legal event code: B01A Ref document number: 112015002715 Country of ref document: BR |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
ENP | Entry into the national phase |
Ref document number: 112015002715 Country of ref document: BR Kind code of ref document: A2 Effective date: 20150206 |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 14898055 Country of ref document: EP Kind code of ref document: A1 |