[go: up one dir, main page]

CN102801778A - Device for realizing resource sharing and resource sharing method - Google Patents

Device for realizing resource sharing and resource sharing method Download PDF

Info

Publication number
CN102801778A
CN102801778A CN201210207836XA CN201210207836A CN102801778A CN 102801778 A CN102801778 A CN 102801778A CN 201210207836X A CN201210207836X A CN 201210207836XA CN 201210207836 A CN201210207836 A CN 201210207836A CN 102801778 A CN102801778 A CN 102801778A
Authority
CN
China
Prior art keywords
resource sharing
interface module
module
access
network interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210207836XA
Other languages
Chinese (zh)
Inventor
郭法永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201210207836XA priority Critical patent/CN102801778A/en
Publication of CN102801778A publication Critical patent/CN102801778A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种实现资源共享的装置及资源共享方法。其装置包括:设备管理模块,存储模块,共享管理模块,至少一种类型的网络接口模块,和至少一种类型的设备接口模块。设备管理模块用于,识别资源通过设备接口模块接入的资源共享设备,获取资源共享设备的信息保存到存储模块中。共享管理模块用于,通过网络接口模块将存储模块中保存的资源共享设备的信息发送给访问设备,并在访问设备与访问设备选择的资源共享设备之间进行数据转发。本发明实施例提供的技术方案,通过实现资源共享的装置实现对各个资源共享设备的统一管理。实现了对资源共享设备的统一管理,进而使得资源得到更大程度的共享利用。

Figure 201210207836

The invention discloses a resource sharing device and a resource sharing method. The device includes: a device management module, a storage module, a shared management module, at least one type of network interface module, and at least one type of device interface module. The device management module is used to identify the resource sharing device whose resources are accessed through the device interface module, obtain information about the resource sharing device and store it in the storage module. The sharing management module is used for sending the information of the resource sharing device stored in the storage module to the access device through the network interface module, and forwarding data between the access device and the resource sharing device selected by the access device. In the technical solution provided by the embodiment of the present invention, the unified management of each resource sharing device is realized through the device for realizing resource sharing. Realize the unified management of resource sharing equipment, and then make resources be shared and utilized to a greater extent.

Figure 201210207836

Description

一种实现资源共享的装置及资源共享方法A device and method for realizing resource sharing

技术领域 technical field

本发明涉及通信技术领域,尤其涉及一种实现资源共享的装置及资源共享方法。The present invention relates to the field of communication technology, in particular to a resource sharing device and a resource sharing method.

背景技术 Background technique

现有技术中,资源共享设备较为分散,没有对资源共享设备的统一管理。例如,如果需要共享网络中的打印机资源,需要直接连接打印机,或者将直接连接打印机的电脑作为打印服务器,通过连接到该打印服务器上共享打印机资源。又例如,如果需要共享USB(Universal Serial BUS,通用串行总线)存储介质中的资源,需要将该USB存储介质连接到电脑上,在这台连接的电脑上访问USB存储介质中的资源。打印机、USB存储介质等等设备的资源共享管理较为分散。In the prior art, resource sharing devices are scattered, and there is no unified management of resource sharing devices. For example, if you need to share the printer resources in the network, you need to directly connect the printer, or use the computer directly connected to the printer as a print server, and share the printer resources by connecting to the print server. For another example, if you need to share resources in a USB (Universal Serial BUS, Universal Serial Bus) storage medium, you need to connect the USB storage medium to a computer, and access the resources in the USB storage medium on this connected computer. Resource sharing management of devices such as printers and USB storage media is relatively decentralized.

发明内容 Contents of the invention

本发明的目的是提供一种实现资源共享的装置及资源共享方法。The object of the present invention is to provide a resource sharing device and a resource sharing method.

本发明的目的是通过以下技术方案实现的:The purpose of the present invention is achieved through the following technical solutions:

一种实现资源共享的装置,包括:A device for realizing resource sharing, comprising:

设备管理模块,存储模块,共享管理模块,至少一种类型的网络接口模块,和至少一种类型的设备接口模块;a device management module, a storage module, a shared management module, at least one type of network interface module, and at least one type of device interface module;

所述设备管理模块用于,识别通过所述设备接口模块接入的资源共享设备,获取所述资源共享设备的信息,并将所述资源共享设备的信息保存到所述存储模块中;The device management module is configured to identify a resource sharing device accessed through the device interface module, obtain information about the resource sharing device, and save the information about the resource sharing device into the storage module;

所述共享管理模块用于,通过所述网络接口模块将所述存储模块中保存的资源共享设备的信息发送给访问设备,并在所述访问设备与访问设备选择的资源共享设备之间进行数据转发。The sharing management module is configured to send the information of the resource sharing device stored in the storage module to the access device through the network interface module, and perform data transfer between the access device and the resource sharing device selected by the access device. Forward.

一种通过上述装置实现资源共享的方法,包括:A method for realizing resource sharing through the above-mentioned device, comprising:

设备管理模块识别通过设备接口模块接入的资源共享设备,获取资源共享设备的信息,并将资源共享设备的信息保存到存储模块中;The device management module identifies the resource sharing device accessed through the device interface module, obtains the information of the resource sharing device, and saves the information of the resource sharing device in the storage module;

共享管理模块通过网络接口模块将所述存储模块中保存的资源共享设备的信息发送给访问设备,并在所述访问设备与访问设备选择的资源共享设备之间进行数据转发。The sharing management module sends the resource sharing device information stored in the storage module to the access device through the network interface module, and forwards data between the access device and the resource sharing device selected by the access device.

本发明实施例提供的技术方案,通过实现资源共享的装置实现对各个资源共享设备的统一管理。用户通过访问设备登录该装置,即可获取各个资源共享设备的信息。实现了对资源共享设备的统一管理,进而使得资源得到更大程度的共享利用。In the technical solution provided by the embodiment of the present invention, the unified management of each resource sharing device is realized through the device for realizing resource sharing. The user can obtain the information of each resource sharing device by logging into the device by accessing the device. Realize the unified management of resource sharing equipment, and then make resources be shared and utilized to a greater extent.

附图说明 Description of drawings

图1为本发明实施例提供的第一个装置结构示意图;Fig. 1 is a schematic structural diagram of the first device provided by the embodiment of the present invention;

图2为本发明实施例提供的第二个装置结构示意图;FIG. 2 is a schematic structural diagram of a second device provided by an embodiment of the present invention;

图3为本发明实施例提供的第一个方法流程图;Fig. 3 is the flow chart of the first method provided by the embodiment of the present invention;

图4为本发明实施例提供的第二个方法流程图;FIG. 4 is a flow chart of a second method provided by an embodiment of the present invention;

图5为本发明实施例提供的一种资源共享系统示意图;FIG. 5 is a schematic diagram of a resource sharing system provided by an embodiment of the present invention;

图6为本发明实施例提供的另一种资源共享系统示意图。FIG. 6 is a schematic diagram of another resource sharing system provided by an embodiment of the present invention.

具体实施方式 Detailed ways

本发明实施例提供了一种实现资源共享的装置,其结构如图1所示,具体实现结构如下:The embodiment of the present invention provides a device for realizing resource sharing, its structure is shown in Figure 1, and the specific implementation structure is as follows:

设备管理模块1001,存储模块1002,共享管理模块1003,至少一种类型的网络接口模块1004,和至少一种类型的设备接口模块1005。A device management module 1001 , a storage module 1002 , a shared management module 1003 , at least one type of network interface module 1004 , and at least one type of device interface module 1005 .

其中,网络接口模块1004可以但不仅限于包括以下至少一种:有线通信网络接口模块,如以太网接口模块,电话线接口模块等等,无线通信网络接口模块,如WI-FI接口模块等等。本发明提供的装置可以通过网络接口模块1004接入相应的网络。Wherein, the network interface module 1004 may include, but is not limited to, at least one of the following: a wired communication network interface module, such as an Ethernet interface module, a telephone line interface module, etc., a wireless communication network interface module, such as a WI-FI interface module, and the like. The device provided by the present invention can access a corresponding network through the network interface module 1004 .

设备接口模块1005可以但不仅限于包括以下至少一种:有线通信网络接口模块、无线通信网络接口模块、USB接口模块、蓝牙接口模块、红外接口模块、音频接口模块、视频接口模块等等。本发明提供的装置可以通过设备接口模块1005与资源共享设备连接。The device interface module 1005 may include, but is not limited to, at least one of the following: a wired communication network interface module, a wireless communication network interface module, a USB interface module, a Bluetooth interface module, an infrared interface module, an audio interface module, a video interface module, and the like. The device provided by the present invention can be connected with the resource sharing device through the device interface module 1005 .

本发明实施例提供的实现资源共享的装置中,设备管理模块1001用于,识别通过设备接口模块1005接入的资源共享设备,获取所述资源共享设备的信息,并将所述资源共享设备的信息保存到存储模块1002中。其中,资源共享设备的信息可以但不仅限于包括以下至少一种:资源共享设备的设备类型、资源共享设备的设备名称、资源共享设备中的共享资源信息等。In the device for realizing resource sharing provided by the embodiment of the present invention, the device management module 1001 is configured to identify the resource sharing device accessed through the device interface module 1005, obtain information about the resource sharing device, and store the information of the resource sharing device The information is stored in the storage module 1002. Wherein, the information of the resource sharing device may include, but is not limited to, at least one of the following: device type of the resource sharing device, device name of the resource sharing device, shared resource information in the resource sharing device, and the like.

共享管理模块1003用于,通过网络接口模块1004将存储模块1002中保存的资源共享设备的信息发送给访问设备,并在所述访问设备与访问设备选择的资源共享设备之间进行数据转发。The sharing management module 1003 is configured to send the resource sharing device information stored in the storage module 1002 to the access device through the network interface module 1004, and perform data forwarding between the access device and the resource sharing device selected by the access device.

上述本发明实施例提供的实现资源共享的装置中,设备管理模块1001识别通过设备接口模块1005接入的资源共享设备可以参照现有的实现方式,例如,可以基于DLNA(Digital Living NetworkAlliance,数字生活网络联盟)所规定的识别方式实现。优选的,本发明实施例提供一种识别的具体实现方式可以是:设备管理模块1001在发现有设备与设备接口模块1005连接后,加载连接的设备的驱动程序,通过安装该驱动程序识别并加载该设备。具体的,可以在安装该驱动程序的过程中获取连接到设备接口模块1005的设备的设备属性信息,设备属性信息可以但不仅限于包括以下至少一种:设备类型、设备名称;根据获取的设备属性信息,识别所述资源共享设备。具体的,本发明实施例提供的装置中预先保存了资源共享设备的属性信息,如果获取的属性信息与预先保存的属性信息相同,则说明接入的设备是资源共享设备。In the device for implementing resource sharing provided by the above-mentioned embodiments of the present invention, the device management module 1001 can refer to the existing implementation method for identifying the resource sharing device accessed through the device interface module 1005, for example, it can be based on DLNA (Digital Living Network Alliance, digital life The identification method stipulated by the network alliance) is realized. Preferably, the embodiment of the present invention provides a specific implementation manner of identification that may be as follows: after the device management module 1001 finds that a device is connected to the device interface module 1005, it loads the driver program of the connected device, and identifies and loads the device by installing the driver program. the device. Specifically, the device attribute information of the device connected to the device interface module 1005 can be obtained during the process of installing the driver, and the device attribute information can include, but is not limited to, at least one of the following: device type, device name; information identifying the resource sharing device. Specifically, the device provided by the embodiment of the present invention pre-saves the attribute information of the resource sharing device. If the acquired attribute information is the same as the pre-saved attribute information, it means that the accessed device is a resource sharing device.

本发明实施例提供的装置,可以实现支持的网络类型的扩展,具体可以通过网络类型扩展模块实现。该网络类型扩展模块支持扩展的网络通信协议,用于本发明提供的装置接入支持扩展的网络通信协议的通信网络。具体的,本发明实施例提供的网络接口模块1004还可以包括以下至少一种模块:USB接口的网络类型扩展模块、蓝牙接口的网络类型扩展模块、红外接口的网络类型扩展模块。USB接口的网络类型扩展模块具体是指,通过USB接口连接到该装置的网络类型扩展模块。蓝牙接口的网络类型扩展模块具体是指,通过蓝牙接口连接到该装置的网络类型扩展模块。红外接口的网络类型扩展模块具体是指,通过红外接口连接到该装置的网络类型扩展模块。The device provided by the embodiment of the present invention can realize the expansion of the supported network type, specifically, it can be realized through the network type expansion module. The network type expansion module supports extended network communication protocols, and is used for the device provided by the present invention to access a communication network supporting extended network communication protocols. Specifically, the network interface module 1004 provided by the embodiment of the present invention may further include at least one of the following modules: a network type expansion module of a USB interface, a network type expansion module of a Bluetooth interface, and a network type expansion module of an infrared interface. The network type expansion module of the USB interface specifically refers to the network type expansion module connected to the device through the USB interface. The network type expansion module of the Bluetooth interface specifically refers to the network type expansion module connected to the device through the Bluetooth interface. The network type expansion module of the infrared interface specifically refers to the network type expansion module connected to the device through the infrared interface.

对于有些资源共享设备,在任意时刻,其仅支持与一个访问设备进行数据交互。针对这种情况,本发明实施例提供的装置中,如果有多个访问设备选择同一个资源共享设备,共享管理模块1003在所述访问设备与访问设备选择的资源共享设备之间进行数据转发时,具体可以用于:对多个访问设备进行时分复用,每个时刻仅对所述多个访问设备中的一个访问设备与选择的资源共享设备之间进行数据转发。For some resource sharing devices, at any time, it only supports data interaction with one access device. In view of this situation, in the apparatus provided by the embodiment of the present invention, if multiple access devices select the same resource sharing device, when the sharing management module 1003 performs data forwarding between the access device and the resource sharing device selected by the access device , specifically can be used for: performing time-division multiplexing on multiple access devices, and performing data forwarding between only one access device among the multiple access devices and the selected resource sharing device at each moment.

如果多个访问设备选择通过音频接口模块的同一个资源共享设备,可以实现音频资源的定点传输。所谓定点传输,就是多个访问设备采用时分复用的方式获取资源共享设备中的音频资源。具体的,上述共享管理模块1003在访问设备与访问设备选择的资源共享设备之间进行数据转发时,具体用于:在接收到所述多个访问设备中的一个访问设备的资源共享请求后,判断该资源共享设备当前是否处于空闲状态,如果是,则在发送资源共享请求的访问设备与访问设备选择的资源共享设备之间进行数据转发。If multiple access devices choose to use the same resource sharing device of the audio interface module, fixed-point transmission of audio resources can be realized. The so-called fixed-point transmission means that multiple access devices use time division multiplexing to obtain audio resources in the resource sharing device. Specifically, when the sharing management module 1003 performs data forwarding between the access device and the resource sharing device selected by the access device, it is specifically configured to: after receiving a resource sharing request from one of the multiple access devices, It is judged whether the resource sharing device is currently in an idle state, and if so, data forwarding is performed between the access device sending the resource sharing request and the resource sharing device selected by the access device.

下面将结合附图,对本发明实施例提供的实现资源共享的装置的实现结构进行详细说明。The implementation structure of the device for realizing resource sharing provided by the embodiment of the present invention will be described in detail below with reference to the accompanying drawings.

如图2所示,一种优选的实现资源共享的装置,其具体实现结构包括:As shown in Figure 2, a preferred device for realizing resource sharing, its specific implementation structure includes:

主处理器2001、电源模块2002、以太网接口模块2003、WI-FI接口模块2004、USB接口模块2005、音频接口模块2006和信息存储模块2007。Main processor 2001, power supply module 2002, Ethernet interface module 2003, WI-FI interface module 2004, USB interface module 2005, audio interface module 2006 and information storage module 2007.

其中,电源模块2002用于向实现资源共享的装置供电,维持装置的正常工作。作为举例而非限定,电源模块2002可以由电池实现,也可以由直流电接口模块实现,优选的,还可以由交流-直流转换电路实现。如果由交流-直流转换电路实现,具体如图2所示,由交流电源插座、交流转直流电路、直流电源分配电路三部分组成,实现家用交流电源转换为直流为整个装置供电,采用桥式整流技术,将220V AC(交流),50Hz交流电源转换为5V DC(直流)电源,然后再通过DC/DC转换实现各电压等级电源的分配。Wherein, the power supply module 2002 is used for supplying power to devices realizing resource sharing and maintaining normal operation of the devices. As an example and not limitation, the power supply module 2002 may be implemented by a battery, or by a DC interface module, preferably, it may also be implemented by an AC-DC conversion circuit. If it is implemented by an AC-DC conversion circuit, as shown in Figure 2, it consists of three parts: an AC power socket, an AC-to-DC circuit, and a DC power distribution circuit. Technology, converts 220V AC (alternating current), 50Hz AC power to 5V DC (direct current) power, and then realizes the distribution of power at various voltage levels through DC/DC conversion.

以太网接口模块2003,用于接入以太网,或者为资源共享设备提供与实现资源共享的装置连接的接口,其具体实现结构包括以太网接口电路和RJ45插座两部分。通过以太网接口模块2003接入的资源共享设备具体是通过以太网线接入,具体可以是提供共享资源的服务器、个人电脑等等设备。The Ethernet interface module 2003 is used for accessing the Ethernet, or providing an interface for the resource sharing device to connect with the resource sharing device, and its specific implementation structure includes two parts: an Ethernet interface circuit and an RJ45 socket. The resource sharing device accessed through the Ethernet interface module 2003 is specifically connected through an Ethernet cable, and may specifically be a server, a personal computer, and the like that provide shared resources.

WI-FI接口模块2004,用于接入WI-FI网络,或者为资源共享设备提供与实现资源共享的装置连接的接口,其具体实现结构包括无线通信电路模块和射频天线。通过WI-FI接口模块2004接入的资源共享设备具体可以是,将本发明提供的设备作为WI-FI接入点接入的设备,如提供共享资源的服务器、个人电脑、移动终端等等。The WI-FI interface module 2004 is used to access the WI-FI network, or provide an interface for the resource sharing device to connect with the resource sharing device, and its specific implementation structure includes a wireless communication circuit module and a radio frequency antenna. The resource sharing device accessed through the WI-FI interface module 2004 may specifically be a device that accesses the device provided by the present invention as a WI-FI access point, such as a server providing shared resources, a personal computer, a mobile terminal, and the like.

USB接口模块2005,用于为资源共享设备提供与实现资源共享的装置连接的接口,其具体实现结构包括USB接口电路和USB插座。如果将支持可扩展网络类型接入的USB接口数据卡插入USB接口模块2005,还可以实现网络类型的扩展。通过USB接口模块2005接入的资源共享设备具体可以是USB接口的设备,例如USB接口打印机、USB接口的移动终端、USB接口的数据卡等等。The USB interface module 2005 is used to provide an interface for the resource sharing device to connect with the resource sharing device, and its specific implementation structure includes a USB interface circuit and a USB socket. If a USB interface data card supporting scalable network type access is inserted into the USB interface module 2005, network type expansion can also be realized. The resource sharing device accessed through the USB interface module 2005 may specifically be a device with a USB interface, such as a printer with a USB interface, a mobile terminal with a USB interface, a data card with a USB interface, and the like.

音频接口模块2006,用于为资源共享设备提供与实现资源共享的装置连接的接口,其具体实现结构包括音频编解码电路和3.5mm音频插座。通过音频接口模块2006接入的资源共享设备具体可以是音频播放设备、音频录制设备等等。The audio interface module 2006 is used to provide an interface for the resource sharing device to connect with the resource sharing device, and its specific implementation structure includes an audio codec circuit and a 3.5mm audio socket. The resource sharing device accessed through the audio interface module 2006 may specifically be an audio playback device, an audio recording device, and the like.

信息存储模块2007,用于存储实现资源共享的各个应用程序及相关数据,并提供程序运行所需的内存资源。例如,用于存储资源共享设备的信息。The information storage module 2007 is used to store various application programs and related data for resource sharing, and provide memory resources required for program operation. For example, to store information about resource sharing devices.

主处理器2001主要用于实现上述上述设备管理模块1001和共享管理模块1003的功能。The main processor 2001 is mainly used to realize the functions of the above-mentioned device management module 1001 and the shared management module 1003 .

本发明还提供了一种通过上述任一实现资源共享的装置实现资源共享方法,其实现方式如图3所示,具体实现方式如下:The present invention also provides a method for realizing resource sharing through any of the above-mentioned devices for realizing resource sharing, and its realization method is shown in FIG. 3 , and the specific realization method is as follows:

步骤100、设备管理模块识别通过设备接口模块接入的资源共享设备,获取资源共享设备的信息,并将资源共享设备的信息保存到存储模块中;Step 100, the device management module identifies the resource sharing device accessed through the device interface module, acquires the information of the resource sharing device, and saves the information of the resource sharing device into the storage module;

步骤110、共享管理模块通过网络接口模块将所述存储模块中保存的资源共享设备的信息发送给访问设备,并在所述访问设备与访问设备选择的资源共享设备之间进行数据转发。Step 110, the sharing management module sends the resource sharing device information stored in the storage module to the access device through the network interface module, and forwards data between the access device and the resource sharing device selected by the access device.

本发明实施例提供的方法,如果有多个访问设备选择同一个资源共享设备,所述共享管理模块在所述访问设备与访问设备选择的资源共享设备之间进行数据转发时,具体可以包括:对多个访问设备进行时分复用,每个时刻仅对所述多个访问设备中的一个访问设备与选择的资源共享设备之间进行数据转发。In the method provided by the embodiment of the present invention, if multiple access devices select the same resource sharing device, when the sharing management module performs data forwarding between the access device and the resource sharing device selected by the access device, it may specifically include: Time-division multiplexing is performed on multiple access devices, and data forwarding is only performed between one of the multiple access devices and the selected resource sharing device at each moment.

本发明实施例提供的方法,还可以实现音频资源的定点传输。具体的,如果多个访问设备选择通过音频接口模块的同一个资源共享设备,所述共享管理模块在所述访问设备与访问设备选择的资源共享设备之间进行数据转发时,具体包括:在接收到所述多个访问设备中的一个访问设备的资源共享请求后,判断所述资源共享设备当前是否处于空闲状态,如果是,则在发送资源共享请求的所述访问设备与访问设备选择的资源共享设备之间进行数据转发。The method provided by the embodiment of the present invention can also realize fixed-point transmission of audio resources. Specifically, if multiple access devices select the same resource sharing device through the audio interface module, when the sharing management module forwards data between the access device and the resource sharing device selected by the access device, it specifically includes: receiving After receiving a resource sharing request from one of the multiple access devices, it is judged whether the resource sharing device is currently idle, and if so, the resource shared by the access device that sent the resource sharing request and the resource selected by the access device Data forwarding between shared devices.

下面将以图2所示的装置为例,对本发明实施例提供的方法进行详细说明。The method provided by the embodiment of the present invention will be described in detail below by taking the device shown in FIG. 2 as an example.

假设有USB接口的打印机插入图2所示的装置中的USB接口模块2005,则主处理器2001通过安装该打印机的驱动程序,识别该打印机,并加载该打印机。在这一过程中,获取并保存该打印机的属性信息。Assuming that a printer with a USB interface is inserted into the USB interface module 2005 of the device shown in FIG. 2 , the main processor 2001 recognizes the printer by installing the printer driver, and loads the printer. During this process, the attribute information of the printer is acquired and saved.

假设有音频播放设备或音频录制设备插入图2所示的装置中的音频接口模块2006,则主处理器2001通过安装该音频播放设备或音频录制设备的驱动程序,识别该音频播放设备或音频录制设备,并加载该音频播放设备或音频录制设备。在这一过程中,获取并保存音频播放设备或音频录制设备的属性信息。Assuming that an audio playback device or an audio recording device is inserted into the audio interface module 2006 in the device shown in Figure 2, then the main processor 2001 recognizes the audio playback device or audio recording device, and load the audio playback device or audio recording device. In this process, the attribute information of the audio playback device or the audio recording device is acquired and saved.

相应的,存储模块2007中至少保存了加载的打印机的属性信息,以及加载的音频播放设备或音频录制设备的属性信息。具体的可以列表的形式保存。Correspondingly, at least the attribute information of the loaded printer and the attribute information of the loaded audio playback device or audio recording device are stored in the storage module 2007 . The specific ones can be saved in the form of a list.

本发明实施例提供的装置被分配了一个IP地址。访问设备可以通过该IP地址访问该装置。假设本发明实施例提供的装置通过WI-FI接口模块2004接入到WI-FI网络。The device provided by the embodiment of the present invention is assigned an IP address. The access device can access the device through the IP address. It is assumed that the device provided by the embodiment of the present invention is connected to the WI-FI network through the WI-FI interface module 2004 .

在一个优选的实施例中,访问设备共享加载到该装置的打印机资源的具体实现方式如图4所示,具体包括如下操作:In a preferred embodiment, the specific implementation manner of the access device sharing the printer resources loaded to the device is shown in Figure 4, which specifically includes the following operations:

步骤200、图2所示的装置接收到访问设备的IP访问请求后,对该访问设备进行身份验证。具体可以通过用户名和密码的方式进行身份验证。In step 200, the apparatus shown in FIG. 2 performs identity verification on the access device after receiving the IP access request from the access device. Specifically, identity verification can be performed by means of user name and password.

步骤210、在身份验证通过后,上述装置建立与访问设备之间的通信链接。Step 210, after the identity verification is passed, the above device establishes a communication link with the access device.

步骤220、上述装置将保存的资源共享设备的属性信息通过建立的通信链接发送给访问设备。Step 220, the above device sends the saved attribute information of the resource sharing device to the access device through the established communication link.

在访问设备侧,其具体的体现形式可以是:在一个界面上显示加载到上述设备中的各个资源共享装置。On the side of the access device, its specific embodiment may be: displaying each resource sharing device loaded in the above-mentioned device on an interface.

步骤230、访问设备选择加载到上述装置中的打印机,并将选择结果信息发送给上述装置。Step 230, the access device selects the printer loaded in the above-mentioned device, and sends the selection result information to the above-mentioned device.

具体的,还将待打印文件的信息发送给上述装置。Specifically, the information of the file to be printed is also sent to the above-mentioned device.

步骤240、上述装置转发访问设备与打印机之间的数据,实现资源共享。Step 240, the above device forwards the data between the access device and the printer to realize resource sharing.

其中,如图5所示,访问设备可以是WI-FI网络中的设备,如图6所示,也可以是远程访问设备,具体的,实现资源共享的装置接入的WI-FI网络通过路由器连接到广域网,那么广域网中的访问设备就可以访问该装置中的资源共享装置。Wherein, as shown in FIG. 5, the access device may be a device in the WI-FI network, as shown in FIG. 6, or a remote access device. Specifically, the WI-FI network accessed by the resource sharing device passes through a router If it is connected to the WAN, then the access device in the WAN can access the resource sharing device in the device.

上述本发明实施例提供的方法,具体可以基于DLNA规范实现。The method provided by the above-mentioned embodiments of the present invention may be specifically implemented based on the DLNA specification.

本发明实施例提供的技术方案,通过实现资源共享的装置实现对各个资源共享设备的统一管理。用户通过访问设备登录该装置,即可获取各个资源共享设备的信息。实现了对资源共享设备的统一管理,进而使得资源得到更大程度的共享利用。In the technical solution provided by the embodiment of the present invention, the unified management of each resource sharing device is realized through the device for realizing resource sharing. The user can obtain the information of each resource sharing device by logging into the device by accessing the device. Realize the unified management of resource sharing equipment, and then make resources be shared and utilized to a greater extent.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.

Claims (10)

1.一种实现资源共享的装置,其特征在于,包括:1. A device for realizing resource sharing, comprising: 设备管理模块,存储模块,共享管理模块,至少一种类型的网络接口模块,和至少一种类型的设备接口模块;a device management module, a storage module, a shared management module, at least one type of network interface module, and at least one type of device interface module; 所述设备管理模块用于,识别通过所述设备接口模块接入的资源共享设备,获取所述资源共享设备的信息,并将所述资源共享设备的信息保存到所述存储模块中;The device management module is configured to identify a resource sharing device accessed through the device interface module, obtain information about the resource sharing device, and save the information about the resource sharing device into the storage module; 所述共享管理模块用于,通过所述网络接口模块将所述存储模块中保存的资源共享设备的信息发送给访问设备,并在所述访问设备与访问设备选择的资源共享设备之间进行数据转发。The sharing management module is configured to send the information of the resource sharing device stored in the storage module to the access device through the network interface module, and perform data transfer between the access device and the resource sharing device selected by the access device. Forward. 2.根据权利要求1所述的实现资源共享的装置,其特征在于,所述网络接口模块包括以下至少一种:有线通信网络接口模块、无线通信网络接口模块。2. The device for realizing resource sharing according to claim 1, wherein the network interface module comprises at least one of the following: a wired communication network interface module and a wireless communication network interface module. 3.根据权利要求1所述的实现资源共享的装置,其特征在于,所述设备接口模块包括以下至少一种:有线通信网络接口模块、无线通信网络接口模块、通用串行总线USB接口模块、蓝牙接口模块、红外接口模块、音频接口模块、视频接口模块。3. The device for realizing resource sharing according to claim 1, wherein the device interface module comprises at least one of the following: a wired communication network interface module, a wireless communication network interface module, a universal serial bus USB interface module, Bluetooth interface module, infrared interface module, audio interface module, video interface module. 4.根据权利要求1所述的实现资源共享的装置,其特征在于,所述网络接口模块包括以下至少一种模块:USB接口的网络类型扩展模块、蓝牙接口的网络类型扩展模块、红外接口的网络类型扩展模块,所述网络类型扩展模块支持扩展的网络通信协议。4. The device for realizing resource sharing according to claim 1, wherein the network interface module comprises at least one of the following modules: a network type extension module of a USB interface, a network type extension module of a Bluetooth interface, an infrared interface A network type expansion module, the network type expansion module supports extended network communication protocols. 5.根据权利要求3所述的实现资源共享的装置,其特征在于,如果有多个访问设备选择同一个资源共享设备,所述共享管理模块在所述访问设备与访问设备选择的资源共享设备之间进行数据转发时,具体用于:对多个访问设备进行时分复用,每个时刻仅对所述多个访问设备中的一个访问设备与选择的资源共享设备之间进行数据转发。5. The device for realizing resource sharing according to claim 3, characterized in that, if multiple access devices select the same resource sharing device, the sharing management module compares between the access device and the resource sharing device selected by the access device When performing data forwarding, it is specifically used for: performing time-division multiplexing on multiple access devices, and only performing data forwarding between one of the multiple access devices and the selected resource sharing device at each moment. 6.一种通过权利要求1~5任意一项所述的装置实现资源共享方法,其特征在于,包括:6. A method for realizing resource sharing through the device according to any one of claims 1 to 5, characterized in that, comprising: 设备管理模块识别通过设备接口模块接入的资源共享设备,获取资源共享设备的信息,并将资源共享设备的信息保存到存储模块中;The device management module identifies the resource sharing device accessed through the device interface module, obtains the information of the resource sharing device, and saves the information of the resource sharing device in the storage module; 共享管理模块通过网络接口模块将所述存储模块中保存的资源共享设备的信息发送给访问设备,并在所述访问设备与访问设备选择的资源共享设备之间进行数据转发。The sharing management module sends the resource sharing device information stored in the storage module to the access device through the network interface module, and forwards data between the access device and the resource sharing device selected by the access device. 7.根据权利要求6所述的方法,其特征在于,所述网络接口模块包括以下至少一种:有线通信网络接口模块、无线通信网络接口模块。7. The method according to claim 6, wherein the network interface module comprises at least one of the following: a wired communication network interface module and a wireless communication network interface module. 8.根据权利要求6所述的方法,其特征在于,所述设备接口模块包括以下至少一种:有线通信网络接口模块、无线通信网络接口模块、通用串行总线USB接口模块、蓝牙接口模块、红外接口模块、音频接口模块、视频接口模块。8. The method according to claim 6, wherein the device interface module comprises at least one of the following: a wired communication network interface module, a wireless communication network interface module, a Universal Serial Bus USB interface module, a Bluetooth interface module, Infrared interface module, audio interface module, video interface module. 9.根据权利要求6所述的方法,其特征在于,如果有多个访问设备选择同一个资源共享设备,所述共享管理模块在所述访问设备与访问设备选择的资源共享设备之间进行数据转发时,具体包括:对多个访问设备进行时分复用,每个时刻仅对所述多个访问设备中的一个访问设备与选择的资源共享设备之间进行数据转发。9. The method according to claim 6, wherein if multiple access devices select the same resource sharing device, the sharing management module performs data sharing between the access device and the resource sharing device selected by the access device. Forwarding specifically includes: performing time-division multiplexing on multiple access devices, and only performing data forwarding between one of the multiple access devices and the selected resource sharing device at each moment. 10.根据权利要求9所述的方法,其特征在于,如果多个访问设备选择通过音频接口模块的同一个资源共享设备,所述共享管理模块在所述访问设备与访问设备选择的资源共享设备之间进行数据转发时,具体包括:在接收到所述多个访问设备中的一个访问设备的资源共享请求后,判断所述资源共享设备当前是否处于空闲状态,如果是,则在发送资源共享请求的访问设备与访问设备选择的资源共享设备之间进行数据转发。10. The method according to claim 9, wherein if a plurality of access devices select the same resource sharing device through the audio interface module, the sharing management module selects between the access device and the resource sharing device selected by the access device When data is forwarded, it specifically includes: after receiving a resource sharing request from one of the multiple access devices, judging whether the resource sharing device is currently idle, and if so, sending the resource sharing request. Data forwarding is performed between the requested access device and the resource sharing device selected by the access device.
CN201210207836XA 2012-06-21 2012-06-21 Device for realizing resource sharing and resource sharing method Pending CN102801778A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210207836XA CN102801778A (en) 2012-06-21 2012-06-21 Device for realizing resource sharing and resource sharing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210207836XA CN102801778A (en) 2012-06-21 2012-06-21 Device for realizing resource sharing and resource sharing method

Publications (1)

Publication Number Publication Date
CN102801778A true CN102801778A (en) 2012-11-28

Family

ID=47200738

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210207836XA Pending CN102801778A (en) 2012-06-21 2012-06-21 Device for realizing resource sharing and resource sharing method

Country Status (1)

Country Link
CN (1) CN102801778A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023896A (en) * 2012-11-29 2013-04-03 Tcl集团股份有限公司 Method and device for marking and obtaining type of digital living network alliance (DLNA) device and DLNA device
CN105794178A (en) * 2013-12-05 2016-07-20 高通股份有限公司 Wireless media sharing from multiple sources to a single sink
CN107544917A (en) * 2016-06-24 2018-01-05 中兴通讯股份有限公司 A kind of storage resource sharing method and device
CN111625107A (en) * 2020-05-29 2020-09-04 山东超越数控电子股份有限公司 Method and device for sharing USB input equipment
CN113748661A (en) * 2019-04-23 2021-12-03 微软技术许可有限责任公司 Resource access based on audio signals

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002039246A2 (en) * 2000-11-07 2002-05-16 Hewlett-Packard Company Systems and method for remote management of printing devices
CN1458597A (en) * 2002-05-17 2003-11-26 联想(北京)有限公司 Method for realizing resource share of dynamic group net
CN1729442A (en) * 2002-10-28 2006-02-01 德夫拉布斯公司 Method and arrangement for use of shared resources in a network
CN101674310A (en) * 2009-09-23 2010-03-17 华南理工大学 Playback system of multisource information intelligent home and method thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002039246A2 (en) * 2000-11-07 2002-05-16 Hewlett-Packard Company Systems and method for remote management of printing devices
CN1458597A (en) * 2002-05-17 2003-11-26 联想(北京)有限公司 Method for realizing resource share of dynamic group net
CN1729442A (en) * 2002-10-28 2006-02-01 德夫拉布斯公司 Method and arrangement for use of shared resources in a network
CN101674310A (en) * 2009-09-23 2010-03-17 华南理工大学 Playback system of multisource information intelligent home and method thereof

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103023896A (en) * 2012-11-29 2013-04-03 Tcl集团股份有限公司 Method and device for marking and obtaining type of digital living network alliance (DLNA) device and DLNA device
CN105794178A (en) * 2013-12-05 2016-07-20 高通股份有限公司 Wireless media sharing from multiple sources to a single sink
CN107544917A (en) * 2016-06-24 2018-01-05 中兴通讯股份有限公司 A kind of storage resource sharing method and device
CN113748661A (en) * 2019-04-23 2021-12-03 微软技术许可有限责任公司 Resource access based on audio signals
US11949677B2 (en) 2019-04-23 2024-04-02 Microsoft Technology Licensing, Llc Resource access based on audio signal
CN111625107A (en) * 2020-05-29 2020-09-04 山东超越数控电子股份有限公司 Method and device for sharing USB input equipment

Similar Documents

Publication Publication Date Title
CN104639522B (en) Method and device for network access control
CN103298072A (en) Method, system and mobile communication terminal for automatically connecting to WiFi access point
WO2014051552A1 (en) Limiting data usage of a device connected to the internet via tethering
CN103298147B (en) Realize the methods, devices and systems at computing equipment side radio management mobile terminal
CN102801778A (en) Device for realizing resource sharing and resource sharing method
WO2015007245A1 (en) Cross-terminal downloading method, system, cloud server and terminal
CN109274777B (en) A method, device, equipment and readable storage medium for exporting configuration files
CN102932949B (en) Data communication device and data communication method
CN104660445B (en) Power line carrier system and its network-building method based on path cognition
CN104641722B (en) Apparatus and method for performing machine-to-machine communication
CN103888907A (en) Cross-terminal file transmission method, terminal equipment, and system
JP2013232894A (en) Router equipment, method therefor and system
CN102566950B (en) A kind of shared Method of printing using wireless router as printing server
CN207490950U (en) A kind of PoE turns USB power supply units
US9930538B1 (en) Methods and apparatus for a wireless access point converter
CN102647802A (en) Wireless data sharing method and terminals for realizing sharing
CN105657711A (en) Network connection method and electronic device
WO2014015743A1 (en) Method for downloading application program, user equipment and application server
CN106027294A (en) Firmware loading method and system for terminal network access
TWI488530B (en) Method for handling network connection and electrical apparatus using the same
CN106411534A (en) Embedded device and system with functions of interface recognition and wireless sharing
CN105005374B (en) Control device and communication system
CN108112052A (en) Network share method, apparatus, air regulator and the storage medium of terminal
CN102625293B (en) Method, device and system for notifying and acquiring address information invalidation
CN204442710U (en) A kind of WIFI network information server

Legal Events

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

Application publication date: 20121128