CN108076009A - A kind of resource share method, apparatus and system - Google Patents
A kind of resource share method, apparatus and system Download PDFInfo
- Publication number
- CN108076009A CN108076009A CN201610990624.1A CN201610990624A CN108076009A CN 108076009 A CN108076009 A CN 108076009A CN 201610990624 A CN201610990624 A CN 201610990624A CN 108076009 A CN108076009 A CN 108076009A
- Authority
- CN
- China
- Prior art keywords
- source device
- equipment
- sharing
- information
- identification information
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- 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/14—Session management
- H04L67/141—Setup of application sessions
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of resource share method, apparatus and system, management equipment shares source device at least one and establishes binding relationship;When the first equipment, which needs to access, shares the resource in source device, first equipment sends resource-sharing request to source device is shared, share source device and send resource-sharing prompt message to management equipment, management equipment is according to the identification information of the first equipment carried in prompt message, judge whether the first equipment is legal, if so, sending the first instruction to source device is shared, share source device and the permission for accessing own resource is authorized to the first equipment.It can be seen that administrator is not required to access in advance in individual device the configuration of permission in this programme, it is easy to operate not error-prone.
Description
Technical field
The present invention relates to technical field of electronic equipment, more particularly to a kind of resource share method, apparatus and system.
Background technology
Existing resource-sharing scenario approximately as:Administrator accesses the configuration of permission in individual device in advance;
When device A needs the resource in access equipment B, device A sends resource-sharing request to equipment B;Equipment B is according to administrator
Its permission configured judges whether the request is legal (namely judging whether device A has permission to access equipment B), if legal,
Equipment B and device A share some or all of resource of itself, and such device A can the resources shared of access equipment B.
The configuration of permission, it is necessary to which administrator manually accesses in individual device in said program is cumbersome easy
Error.
The content of the invention
The embodiment of the present invention is designed to provide a kind of resource share method, apparatus and system, easy to operate to be not easy
Error.
In order to achieve the above objectives, it is described applied to management equipment the embodiment of the invention discloses a kind of resource share method
Method includes:
Share source device at least one and establish binding relationship;
Resource-sharing prompt message is received, wherein, the prompt message is currently sharing source device receives the first equipment
It is sent after the resource-sharing request of transmission, the identification information of first equipment is carried in the prompt message;It is described to work as
Before to share source device be to share source device with what the management equipment established binding relationship;
According to the identification information of first equipment, judge whether first equipment is legal;
If so, send the first instruction to the current source device of sharing, so that the current source device of sharing is to described
First equipment authorizes the permission for accessing own resource.
Optionally, judging that first equipment is illegal, the method can also include:
The second instruction is sent to the current source device of sharing, so that the current source device of sharing disconnects and described first
The connection of equipment.
Optionally, it is described to share the step of source device establishes binding relationship at least one and include:
At least one pattern identification information for sharing source device transmission is received, the pattern identification information is to share source device
It is generated according to own net link information;
For received each pattern identification information, which is identified, obtains network connection
Information;
Judge whether the network connection information is legal;
If so, the corresponding source device of sharing of the pattern identification information is determined as legal sharing source device;
Store the legal identification information for sharing source device;
To it is described it is legal share source device and send store successful message legal share so that described described in source device storage
The identification information of management equipment, and according to the identification information stored, determine the management equipment with itself establishing binding relationship;To
Identified management equipment sends the resource-sharing prompt message.
Optionally, the current identification information for sharing source device is also carried in the resource-sharing prompt message;
After the step of reception resource-sharing prompt message, further include:
The current identification information for sharing source device is searched in the legal identification information for sharing source device of storage;
If found, the identification information according to first equipment is performed, judges whether first equipment closes
The step of method;
It is described current to share the step of source device sends the first instruction to described and include:
According to the identification information found, determine currently to share source device;
The first instruction is sent to identified current source device of sharing.
Optionally, the network connection information is the first information or the second information, wherein, the first information is shares
The account information of network where source device accesses it, second information is to share the address information of source device;
It is described to judge whether the network connection information is legal in the case where the network connection information is the first information
The step of can include:
Judge to share source device access network where it account information whether access its with the management equipment where net
The account information of network is identical, if so, the network connection information is legal;
It is described to judge whether the network connection information is legal in the case where the network connection information is the second information
The step of include:
Whether the address information for judging to share source device is in the legal network segment, if so, the network connection information is legal.
In order to achieve the above objectives, the embodiment of the invention also discloses a kind of resource share method, applied to sharing source device,
The described method includes:
Binding relationship is established with management equipment;
Receive the resource-sharing request of the first equipment transmission;
Resource-sharing prompt message is sent to the management equipment, first equipment is carried in the prompt message
Identification information;
After receiving the first instruction that the management equipment is sent, the power for accessing own resource is authorized to first equipment
Limit;Wherein, first instruction is the management equipment first equipment according to the identification information judgment of first equipment
In the case of legal, share what source device was sent to described.
Optionally, the method can also include:
After receiving the second instruction that the management equipment is sent, the connection with first equipment is disconnected;Wherein, it is described
Second instruction is the management equipment illegal situation of the first equipment according to the identification information judgment of first equipment
Under, share what source device was sent to described.
Optionally, the method can also include:
The money that first equipment is sent is received in the preset duration after disconnecting the connection with first equipment
During the sharing request of source, refusal is established with first equipment and connected.
Optionally, before described the step of sending resource-sharing prompt message to management equipment, further include:
According to own net link information, pattern identification information is generated;
The pattern identification information is sent to management equipment so that the management equipment to the pattern identification information into
Row identification, obtains the network connection information, judges whether the network connection information is legal, if legal, share described
Source device is determined as the legal identification information shared source device, and share source device described in storage;
Receive the successful message of storage that the management equipment is sent;Wherein, the successful message of storage is the pipe
Share what is sent after the identification information of source device described in reason equipment storage;
Store the identification information of the management equipment;
The step of transmission resource-sharing prompt message to management equipment, including:
According to the identification information stored, the management equipment with itself establishing binding relationship is determined;
The resource-sharing prompt message is sent to identified management equipment.
Optionally, described according to own net link information, the step of generating pattern identification information, can include:
The account information of network according to where accessing itself, generates pattern identification information;
Alternatively, according to Self address information, pattern identification information is generated.
In order to achieve the above objectives, the embodiment of the invention also discloses a kind of resource shared device, applied to management equipment, institute
Stating device includes:
First binding module establishes binding relationship for sharing source device at least one;
First receiving module, for receiving resource-sharing prompt message, wherein, the prompt message sets currently to share source
It is sent after the standby resource-sharing request for receiving the transmission of the first equipment, first equipment is carried in the prompt message
Identification information;The current source device of sharing is to share source device with what the management equipment established binding relationship;
Judgment module for the identification information according to first equipment, judges whether first equipment is legal;
First sending module, for when the judgment module judging result is to be, being sent out to the current source device of sharing
The first instruction is sent, so that the current source device of sharing authorizes the permission for accessing own resource to first equipment.
Optionally, described device can also include:
Second sending module, for when the judgment module judging result for it is no when, send the to the source device of sharing
Two instructions, so that described currently share source device disconnection and the connection of first equipment.
Optionally, first binding module, can include:
Receiving submodule, for receiving at least one pattern identification information for sharing source device transmission, the pattern identification
Information is to share source device to be generated according to own net link information;
It identifies submodule, for being directed to received each pattern identification information, which is known
Not, network connection information is obtained;
Judging submodule, for judging whether the network connection information is legal;
Determination sub-module, for when the judging submodule judging result for be when, the pattern identification information is corresponding
Share source device to be determined as legal sharing source device;
Sub-module stored, for storing the legal identification information for sharing source device;
Sending submodule, for sending the successful message of storage to the legal source device of sharing, so that described legal point
The identification information that source device stores the management equipment is enjoyed, and according to the identification information stored, determines to establish with itself and bind
The management equipment of relation;The resource-sharing prompt message is sent to identified management equipment.
Optionally, the current identification information for sharing source device is also carried in the resource-sharing prompt message;Institute
Stating device can also include:
Searching module described currently shares source device for being searched in the legal identification information for sharing source device of storage
Identification information;If found, the judgment module is triggered;
First sending module, is specifically used for:
According to the identification information found, determine currently to share source device;
The first instruction is sent to identified current source device of sharing.
Optionally, the network connection information is the first information or the second information, wherein, the first information is shares
The account information of network where source device accesses it, second information is to share the address information of source device;
In the case where the network connection information is the first information, the judging submodule is specifically used for:
Judge to share source device access network where it account information whether access its with the management equipment where net
The account information of network is identical, if so, the network connection information is legal;
In the case where the network connection information is the second information, the judging submodule is specifically used for:
Whether the address information for judging to share source device is in the legal network segment, if so, the network connection information is legal.
In order to achieve the above objectives, the embodiment of the invention also discloses a kind of resource shared device, applied to sharing source device,
Described device includes:
Second binding module, for establishing binding relationship with management equipment;
Second receiving module, for receiving the resource-sharing request that the first equipment is sent;
3rd sending module for sending resource-sharing prompt message to the management equipment, is taken in the prompt message
Identification information with first equipment;
After receiving the first instruction that the management equipment is sent, visit is authorized to first equipment for authorization module
Ask the permission of own resource;Wherein, first instruction is sentenced for the management equipment according to the identification information of first equipment
In the case that first equipment of breaking is legal, share what source device was sent to described.
Optionally, described device can also include:
Module is disconnected, after receiving the second instruction that the management equipment is sent, disconnection is set with described first
Standby connection;Wherein, second instruction is the management equipment the according to the identification information judgment of first equipment
In the case of one equipment is illegal, share what source device was sent to described.
Optionally, described device can also include:
Refuse link block, for default after the connection for disconnecting module disconnection with first equipment
When the resource-sharing request that first equipment is sent is received in duration, refusal is established with first equipment and connected.
Optionally, described device can also include:
Generation module, for according to own net link information, generating pattern identification information;
4th sending module, for the pattern identification information to be sent to management equipment, so that the management equipment pair
The pattern identification information is identified, and obtains the network connection information, judges whether the network connection information is legal, such as
Fruit is legal, and the source device of sharing is determined as the legal identification information shared source device, and share source device described in storage;
3rd receiving module, for receiving the successful message of storage that the management equipment is sent;Wherein, it is described storage into
The message of work(is shares what is sent after the identification information of source device described in management equipment storage;
Second memory module, for storing the identification information of the management equipment;
3rd sending module, is specifically used for:
According to the identification information stored, the management equipment with itself establishing binding relationship is determined;
The resource-sharing prompt message is sent to identified management equipment.
Optionally, the generation module, specifically can be used for:
The account information of network according to where accessing itself, generates pattern identification information;
Alternatively, according to Self address information, pattern identification information is generated.
In order to achieve the above objectives, the embodiment of the invention also discloses a kind of resource sharing system, including:Share source device,
First equipment, management equipment, wherein,
First equipment, for sending resource-sharing request to the source device of sharing;
It is described to share source device, for establishing binding relationship with the management equipment;Receive the resource-sharing request;To
The management equipment sends resource-sharing prompt message, and the identification information of first equipment is carried in the prompt message;
After receiving the first instruction that the management equipment is sent, the permission for accessing own resource is authorized to first equipment;
The management equipment establishes binding relationship for sharing source device at least one;Reception currently shares source device
The resource-sharing prompt message of transmission;According to the identification information of first equipment carried in the prompt message, institute is judged
Whether legal state the first equipment;If so, send the first instruction to the current source device of sharing.
Optionally, the management equipment can be also used for judging that first equipment is illegal, to current
Share source device and send the second instruction;
It is described to share source device, it can be also used for after receiving the second instruction that the management equipment is sent, disconnection and institute
State the connection of the first equipment.
Using illustrated embodiment of the present invention, management equipment shares source device at least one and establishes binding relationship;When first
When the resource in source device is shared in equipment needs access, the first equipment sends resource-sharing request to source device is shared, and shares source
Equipment sends resource-sharing prompt message to management equipment, and management equipment is according to the mark of the first equipment carried in prompt message
Information judges whether the first equipment is legal, if so, sending the first instruction to source device is shared, shares source device and is set to first
It is standby to authorize the permission for accessing own resource.It can be seen that in this programme administrator is not required to be visited in advance in individual device
Ask the configuration of permission, it is easy to operate not error-prone.
Certainly, implement any of the products of the present invention or method must be not necessarily required to reach all the above excellent simultaneously
Point.
Description of the drawings
It in order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention, for those of ordinary skill in the art, without creative efforts, can be with
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of structure diagram of resource sharing system provided in an embodiment of the present invention;
Fig. 2 is a kind of resource-sharing signaling diagram provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of resource share method applied to management equipment provided in an embodiment of the present invention;
Fig. 4 is a kind of flow signal of resource share method for being applied to share source device provided in an embodiment of the present invention
Figure;
Fig. 5 is a kind of structure diagram of resource shared device applied to management equipment provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of resource shared device for being applied to share source device provided in an embodiment of the present invention
Figure.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment belongs to the scope of protection of the invention.
It in order to solve the above-mentioned technical problem, should an embodiment of the present invention provides a kind of resource share method, apparatus and system
Method and device can be applied to the system.The system can be with as shown in Figure 1, including management equipment, the first equipment and share source
Equipment, one or more can be had by sharing source device, not limited herein.
Management equipment is the equipment that belongs under same user with source device is shared.Assuming that user X possesses multiple devices, such as
Mobile phone, PC, PAD etc., can will wherein one be arranged to management equipment, and by the armamentarium in this multiple devices or part
Equipment is arranged to share source device.For example, can mobile phone be arranged to management equipment, PC and PAD are arranged to share source device.
First equipment is to belong to the equipment of another user.Assuming that user Y needs to access the resource in the equipment of user X, then
The user Y equipment used is known as the first equipment.
In the system provided in illustrated embodiment of the present invention, resource-sharing signaling diagram can be as shown in Figure 2:
Management equipment establishes binding relationship with sharing source device;First equipment is to sharing source device (currently sharing source device)
Send resource-sharing request;Share source device (currently sharing source device) after resource-sharing request is received to management equipment
Send resource-sharing prompt message;Management equipment is believed according to the mark of the first equipment carried in the resource-sharing prompt message
Breath, judges whether the first equipment is legal, if so, sending the first instruction to source device (currently sharing source device) is shared;Share
Source device (currently sharing source device) authorizes the permission for accessing own resource to the first equipment after the first instruction is received.
In the present embodiment, share source device and the permission for accessing own resource is authorized to the first equipment, can include:Share
Source device allows the first equipment the content of itself memory space to be accessed, download, manages and allowed the first equipment to certainly
Body network traffics are shared, etc..
It can be seen that using illustrated embodiment of the present invention, administrator's power of accessing in individual device in advance is not required
The configuration of limit, it is easy to operate not error-prone.
Resource share method provided in an embodiment of the present invention is described in detail below.
Fig. 3 is a kind of flow diagram of resource share method applied to management equipment provided in an embodiment of the present invention,
Including:
S301:Share source device at least one and establish binding relationship.
As described above, sharing source device and management equipment belongs to same user, share source device can have more or
Can also there was only one.Management equipment establishes binding relationship with sharing source device in advance.Management equipment is established with sharing source device
Various ways may be employed in binding relationship, for example, configure the facility information of other side in source device in management equipment and sharing respectively,
Alternatively, in management equipment and share in source device operation with a software respectively, by the software inform respectively management equipment and
Share the identity information of source device, and establish binding relationship, etc., do not limit herein.
As a kind of embodiment, management equipment can include with sharing the step of source device establishes binding relationship:
At least one pattern identification information for sharing source device transmission is received, the pattern identification information is to share source device
It is generated according to own net link information;
For received each pattern identification information, which is identified, obtains network connection
Information;
Judge whether the network connection information is legal;
If so, the corresponding source device of sharing of the pattern identification information is determined as legal sharing source device;
Store the legal identification information for sharing source device;
To it is described it is legal share source device and send store successful message legal share so that described described in source device storage
The identification information of management equipment, and according to the identification information stored, determine the management equipment with itself establishing binding relationship;To
Identified management equipment sends the resource-sharing prompt message.
S302:Receive resource-sharing prompt message.Wherein, the prompt message is currently sharing source device receives first
It is sent after the resource-sharing request that equipment is sent, the identification information of first equipment is carried in the prompt message.When
Before to share source device be to share source device with what management equipment established binding relationship.
After sharing source device and establishing binding relationship with management equipment, share source device after resource-sharing request is received
Resource-sharing prompt message can be sent to management equipment.
In the above embodiment, during sharing source device and establishing binding relationship with management equipment, in management equipment
The identification information for sharing source device can be stored.Under preferably, hair can also be carried in resource-sharing prompt message
Give the current identification information for sharing source device of the resource-sharing prompt message.In this way, management equipment is receiving resource-sharing
After prompt message, the current mark letter for sharing source device can be searched in the legal identification information for sharing source device of storage
Breath if found, represents that this shares that source device is legal, and management equipment continues to execute subsequent step;If it on the contrary, does not search
It arrives, represents that this shares that source device is illegal, and management equipment can be without subsequent processing.
The identification information for sharing source device can be to share title, ID, address of source device etc. to be somebody's turn to do available for unique mark
Share the information of source device.
The detailed process of the above embodiment can include:
Share source device and pattern identification information is generated according to own net link information, and the pattern identification information is sent
To management equipment, which can be Quick Response Code;
Management equipment receives each pattern identification information for sharing source device transmission;For received each figure mark
Know information, which is identified, obtains network connection information;Whether network connection information closes obtained by judgement
Method;If so, the corresponding source device of sharing of the pattern identification information is determined as legal sharing source device;Store described legal point
Enjoy the identification information of source device;The successful message of storage is sent to the legal source device of sharing;
Share source device after the successful message of storage of management equipment transmission is received, store the mark of the management equipment
Know information;In this way, sharing source device after the resource-sharing request of the first equipment transmission is received, can be deposited according to itself
The identification information of storage determines the management equipment with itself establishing binding relationship;The resource is sent to identified management equipment
Shared prompt message.
In above process, network connection information can be the first information or the second information, wherein, the first information
To share the account information of network where source device accesses it, second information is to share the address information of source device.
The network can be WLAN (WLAN), it is assumed that application scenarios are in the home dwelling of user, in the house
A WLAN is provided only with, it may be considered that each account information for sharing source device access WLAN is identical.The address information can
Think the IP address for sharing source device, or physical address or other can access the address for sharing source device.
It is described to judge whether the network connection information is legal in the case where the network connection information is the first information
The step of can include:
Judge to share source device access network where it account information whether access its with the management equipment where net
The account information of network is identical, if so, the network connection information is legal.
It is understood that management equipment and share source device and belong to same user, management equipment and share source device should
Same WLAN is accessed, therefore, under normal circumstances, the account information for sharing network where source device accesses it should be with management equipment
Account information of network is identical where accessing it.
It is described to judge whether the network connection information is legal in the case where the network connection information is the second information
The step of include:
Whether the address information for judging to share source device is in the legal network segment, if so, the network connection information is legal.
It should be noted that the identification information that source device is shared in management equipment storage can also use other modes, for example,
Share source device and self identification information is directly sent to management equipment, etc., do not limit herein.
S303:According to the identification information of first equipment, judge whether first equipment is legal, if so, performing
S304。
As described above, the identification information of the first equipment is carried in resource-sharing prompt message, the mark letter of the first equipment
Breath can be the information that title, ID, address of the first equipment etc. can be used for unique mark first equipment.
Specifically, management equipment judges whether the first equipment is legal, the identification information of the first equipment can be showed pipe
Reason person, and receive the instruction for allowing to access of administrator's transmission or do not allow the instruction accessed.If the instruction received is
Allow the instruction accessed, then it represents that the first equipment is legal, if the instruction received is not allow the instruction accessed, then it represents that the
One equipment is illegal.
Alternatively, it can also judge whether the first equipment is legal using other modes, for example, prestoring conjunction in management equipment
The identification information of the first equipment of method, management equipment judge the mark of the first equipment carried in the resource-sharing prompt message received
Know whether information matches with the identification information of legal first equipment of storage, if so, representing that first equipment is legal.
S304:The first instruction is sent to the current source device of sharing, so that the source device of sharing is set to described first
It is standby to authorize the permission for accessing own resource.
If management equipment judges that the first equipment is legal, management equipment sends the first instruction to current source device of sharing;Such as
Fruit management equipment judges that the second equipment is illegal, and management equipment can not be dealt with, and can also be sent to current source device of sharing
Second instruction.
Currently share source device after the first instruction is received, the permission for accessing own resource is authorized to the first equipment.
If currently sharing source device into the preset duration after management equipment transmission resource-sharing prompt message, do not connect
The instruction of management equipment transmission is received, then currently sharing source device can refuse to authorize the power for accessing own resource to the first equipment
Limit, and disconnect the connection with the first equipment.
Currently share source device after the second instruction is received, refuse to authorize the power for accessing own resource to the first equipment
Limit, and disconnect the connection with the first equipment.
In the present embodiment, share source device and priority assignation is carried out to own resource, only make the Accessor Access having permission
Own resource (namely refusal and the first collaborative share own resource without permission).Priority assignation is the prior art, for example,
The prompt messages such as own resource or display " without permission " can be hidden for the visitor of no permission, are not limited specifically
It is fixed.
In addition, storing the legal identification information for sharing source device in the above-described embodiment, in management equipment, and depositing
The identification information for currently sharing source device is searched in the legal identification information for sharing source device of storage;In this way, management equipment to
When currently sharing the first instruction of source device transmission or the second instruction, it can be determined currently according to the identification information found
Share source device;The first instruction is sent to identified current source device of sharing.
Using embodiment illustrated in fig. 3 of the present invention, management equipment shares source device at least one and establishes binding relationship;When
When the resource in source device is shared in the needs access of one equipment, the first equipment sends resource-sharing request to source device is shared, and shares
Source device sends resource-sharing prompt message to management equipment, and management equipment is according to the mark of the first equipment carried in prompt message
Know information, judge whether the first equipment is legal, if so, sending the first instruction to source device is shared, share source device to first
Equipment authorizes the permission for accessing own resource.It can be seen that in this programme administrator is not required to be carried out in advance in individual device
The configuration of access rights, it is easy to operate not error-prone.
Fig. 4 is a kind of flow signal of resource share method for being applied to share source device provided in an embodiment of the present invention
Figure, including:
S401:Binding relationship is established with management equipment.
Management equipment establishes binding relationship with sharing source device in advance.Management equipment establishes binding relationship with sharing source device
Various ways may be employed, for example, configure the facility information of other side in source device in management equipment and sharing respectively, alternatively, point
Not in management equipment and share in source device operation with a software, management equipment is informed by the software respectively and shares source set
Standby identity information, and binding relationship, etc. is established, it does not limit herein.
S402:Receive the resource-sharing request of the first equipment transmission.
As a kind of embodiment, network where sharing source device can be not provided with cryptoguard, in this way, arbitrary first sets
It is standby to establish connection with sharing source device, and it is sent to resource-sharing request.
Using this embodiment, for the user (user for applying the first equipment) for asking resource-sharing, directly
Connection is established with sharing source device, it is very convenient;In addition, for administrator (user of application management equipment), first sets
It is standby to share source device after source device transmission resource-sharing request is shared and send resource-sharing prompt message to management equipment,
That is being authorized by administrator, the first equipment could access the resource shared in source device, and administrator can be according to actual feelings
Condition is authorized or not authorized, easy to operate.
Continue above-mentioned example, user Y needs to access the resource in the PAD of user X, the first equipment that user Y is used to
The PAD (sharing source device) of family X sends resource-sharing request.
S403:Resource-sharing prompt message is sent to management equipment, first equipment is carried in the prompt message
Identification information.
In the present embodiment, share source device and priority assignation is carried out to own resource, only make the Accessor Access having permission
Own resource (namely refusal and the first collaborative share own resource without permission).Priority assignation is the prior art, for example,
The prompt messages such as own resource or display " without permission " can be hidden for the visitor of no permission, are not limited specifically
It is fixed.
Therefore, although arbitrary first equipment can establish connection with sharing source device, establish connection and be not offered as
First equipment can access the resource shared in source device.Share source device and receive the resource-sharing of the first equipment transmission
After request, resource-sharing prompt message is sent to management equipment.
That is, the PAD of user X receive the first equipment transmission resource-sharing request after, to the mobile phone of user X
Resource-sharing prompt message is sent, the identification information of first equipment is carried in the prompt message.
After the mobile phone of user X receives the prompt message, according to the identification information of first equipment, first equipment is judged
Whether legal, if legal, which sends the first instruction to the PAD;If illegal, which can not deal with,
The second instruction can be sent to the PAD.
S404:After receiving the first instruction that the management equipment is sent, access itself money is authorized to first equipment
The permission in source.
Therefore, share source device (PAD of user X) after the first instruction is received, access itself is authorized to the first equipment
The permission of resource.
If sharing source device into the preset duration after management equipment transmission resource-sharing prompt message, do not receive
The instruction that management equipment is sent, then sharing source device can refuse to authorize the permission for accessing own resource to the first equipment, and break
Open the connection with the first equipment.
Share source device after the second instruction is received, refuse to authorize the permission for accessing own resource to the first equipment, and
Disconnect the connection with the first equipment.
As a kind of embodiment, share source device in the preset duration after disconnecting the connection with first equipment
When receiving the resource-sharing request that first equipment is sent, refusal is established with first equipment and connected.
That is, in the present embodiment, share source device after being disconnected with the first equipment, can by this first
Equipment pulls in blacklist.Also, it is not in the present embodiment, that arbitrary first equipment can establish company with sharing source device
It connects, shares source device before connection is established with the first equipment, first judge whether first equipment is located in blacklist, if
It is no, then establish and connect with first equipment.
In the present embodiment, can also be directed to the blacklist in the first equipment setting effective time, more than it is effective when
After length, which removes from the blacklist, that is to say, that first equipment can establish connection with sharing source device again.
It, can be with after sharing source device and establishing binding relationship with management equipment, in management equipment as a kind of embodiment
It is stored with the identification information for sharing source device.Also, it is also carried in resource-sharing prompt message and sends resource-sharing prompting
The current identification information for sharing source device of information.In this way, management equipment is after resource-sharing prompt message is received, Ke Yi
This is searched in the identification information stored and currently shares the identification information of source device, if found, represents that this shares source device
Legal, management equipment continues to execute subsequent step;If on the contrary, do not found, illegal, the management equipment that represents that this shares source device
It can be without subsequent processing.
In the present embodiment, management equipment storage is shared the process of the identification information of source device and can be included:
Share source device and pattern identification information is generated according to own net link information, and the pattern identification information is sent
To management equipment, which can be Quick Response Code;
Management equipment receives each pattern identification information for sharing source device transmission;For received each figure mark
Know information, which is identified, obtains network connection information;Whether network connection information closes obtained by judgement
Method;If so, the corresponding source device of sharing of the pattern identification information is determined as legal sharing source device;Store described legal point
Enjoy the identification information of source device;The successful message of storage is sent to the legal source device of sharing;
Share source device after the successful message of storage of management equipment transmission is received, store the mark of the management equipment
Know information;It, can be according to being stored in this way, share source device after the resource-sharing request of first equipment transmission is received
Identification information determines the management equipment with itself establishing binding relationship;The resource-sharing is sent to identified management equipment
Prompt message.
In above process, network connection information can be the first information or the second information, wherein, the first information
To share the account information of network where source device accesses it, second information is to share the address information of source device.Also
It is to say, pattern identification information can be generated according to the account information for accessing itself place network by sharing source device;Alternatively, also may be used
According to Self address information, to generate pattern identification information.
The network can be WLAN (WLAN), it is assumed that application scenarios are in the home dwelling of user, in the house
A WLAN is provided only with, it may be considered that each account information for sharing source device access WLAN is identical.The address information can
Think the IP address for sharing source device, or physical address or other can access the address for sharing source device.
It is described to judge whether the network connection information is legal in the case where the network connection information is the first information
The step of can include:
Judge to share source device access network where it account information whether access its with the management equipment where net
The account information of network is identical, if so, the network connection information is legal.
It is understood that management equipment and share source device and belong to same user, management equipment and share source device should
Same WLAN is accessed, therefore, under normal circumstances, the account information for sharing network where source device accesses it should be with management equipment
Account information of network is identical where accessing it.
It is described to judge whether the network connection information is legal in the case where the network connection information is the second information
The step of include:
Whether the address information for judging to share source device is in the legal network segment, if so, the network connection information is legal.
It should be noted that the identification information that source device is shared in management equipment storage can also use other modes, for example,
Share source device and self identification information is directly sent to management equipment, etc., do not limit herein.
Using embodiment illustrated in fig. 4 of the present invention, management equipment shares source device at least one and establishes binding relationship;When
When the resource in source device is shared in the needs access of one equipment, the first equipment sends resource-sharing request to source device is shared, and shares
Source device sends resource-sharing prompt message to management equipment, and management equipment is according to the mark of the first equipment carried in prompt message
Know information, judge whether the first equipment is legal, if so, sending the first instruction to source device is shared, share source device to first
Equipment authorizes the permission for accessing own resource.It can be seen that in this programme administrator is not required to be carried out in advance in individual device
The configuration of access rights, it is easy to operate not error-prone.
Corresponding with above method embodiment, the embodiment of the present invention also provides a kind of resource shared device.
Fig. 5 is a kind of resource shared device applied to management equipment provided in an embodiment of the present invention, including:
First binding module 501 establishes binding relationship for sharing source device at least one;
First receiving module 502, for receiving resource-sharing prompt message, wherein, the prompt message sets to share source
It is sent after the standby resource-sharing request for receiving the transmission of the first equipment, first equipment is carried in the prompt message
Identification information;The current source device of sharing is to share source device with what the management equipment established binding relationship;
Judgment module 503 for the identification information according to first equipment, judges whether first equipment is legal;
First sending module 504, for when 503 judging result of judgment module is to be, currently sharing source device to described
The first instruction is sent, so that the current source device of sharing authorizes the permission for accessing own resource to first equipment.
In the present embodiment, described device can also include:
Second sending module (not shown), for when 503 judging result of judgment module is no, currently dividing to described
It enjoys source device and sends the second instruction, so that described currently share source device disconnection and the connection of first equipment.
In the present embodiment, the first binding module 501 can include:Receiving submodule, identification submodule judge submodule
Block, determination sub-module, sub-module stored and sending submodule (not shown), wherein,
Receiving submodule, for receiving at least one pattern identification information for sharing source device transmission, the pattern identification
Information is to share source device to be generated according to own net link information;
It identifies submodule, for being directed to received each pattern identification information, which is known
Not, network connection information is obtained;
Judging submodule, for judging whether the network connection information is legal;
Determination sub-module, for when the judging submodule judging result for be when, the pattern identification information is corresponding
Share source device to be determined as legal sharing source device;
Sub-module stored, for storing the legal identification information for sharing source device;
Sending submodule, for sending the successful message of storage to the legal source device of sharing, so that described legal point
The identification information that source device stores the management equipment is enjoyed, and according to the identification information stored, determines to establish with itself and bind
The management equipment of relation;The resource-sharing prompt message is sent to identified management equipment.
In the present embodiment, the current mark letter for sharing source device is also carried in the resource-sharing prompt message
Breath;Described device can also include:
Searching module (not shown), for searching described work as in the legal identification information for sharing source device of storage
Before share the identification information of source device;If found, the judgment module is triggered;
First sending module 504, specifically can be used for:
According to the identification information found, determine currently to share source device;
The first instruction is sent to identified current source device of sharing.
In the present embodiment, the network connection information be the first information or the second information, wherein, the first information
To share the account information of network where source device accesses it, second information is to share the address information of source device;
In the case where the network connection information is the first information, the judging submodule is specifically used for:
Judge to share source device access network where it account information whether access its with the management equipment where net
The account information of network is identical, if so, the network connection information is legal;
In the case where the network connection information is the second information, the judging submodule is specifically used for:
Whether the address information for judging to share source device is in the legal network segment, if so, the network connection information is legal.
Using embodiment illustrated in fig. 5 of the present invention, management equipment shares source device at least one and establishes binding relationship;When
When the resource in source device is shared in the needs access of one equipment, the first equipment sends resource-sharing request to source device is shared, and shares
Source device sends resource-sharing prompt message to management equipment, and management equipment is according to the mark of the first equipment carried in prompt message
Know information, judge whether the first equipment is legal, if so, sending the first instruction to source device is shared, share source device to first
Equipment authorizes the permission for accessing own resource.It can be seen that in this programme administrator is not required to be carried out in advance in individual device
The configuration of access rights, it is easy to operate not error-prone.
Fig. 6 is a kind of resource shared device for being applied to share source device provided in an embodiment of the present invention, including:
Second binding module 601, for establishing binding relationship with management equipment;
Second receiving module 602, for receiving the resource-sharing request that the first equipment is sent;
3rd sending module 603, for sending resource-sharing prompt message to the management equipment, in the prompt message
Carry the identification information of first equipment;
Authorization module 604 after receiving the first instruction that the management equipment is sent, is authorized to first equipment
Access the permission of own resource;Wherein, first instruction is the management equipment according to the identification information of first equipment
In the case of judging that first equipment is legal, share what source device was sent to described.
In the present embodiment, described device can also include:
Module (not shown) is disconnected, after receiving the second instruction that the management equipment is sent, is disconnected
With the connection of first equipment;Wherein, second instruction is believed for the management equipment according to the mark of first equipment
In the case of breath judges that first equipment is illegal, share what source device was sent to described.
In the present embodiment, described device can also include:
Refuse link block (not shown), for disconnecting module disconnection and the company of first equipment described
When the resource-sharing request that first equipment is sent is received in the preset duration after connecing, refusal is built with first equipment
Vertical connection.
In the present embodiment, described device can also include:Generation module, the 4th sending module, the 3rd receiving module and
Second memory module (not shown), wherein,
Generation module, for according to own net link information, generating pattern identification information;
4th sending module, for the pattern identification information to be sent to management equipment, so that the management equipment pair
The pattern identification information is identified, and obtains the network connection information, judges whether the network connection information is legal, such as
Fruit is legal, and the source device of sharing is determined as the legal identification information shared source device, and share source device described in storage;
3rd receiving module, for receiving the successful message of storage that the management equipment is sent;Wherein, it is described storage into
The message of work(is shares what is sent after the identification information of source device described in management equipment storage;
Second memory module, for storing the identification information of the management equipment;
3rd sending module 603, specifically can be used for:
According to the identification information stored, the management equipment with itself establishing binding relationship is determined;
The resource-sharing prompt message is sent to identified management equipment.
In the present embodiment, generation module specifically can be used for:
The account information of network according to where accessing itself, generates pattern identification information;
Alternatively, according to Self address information, pattern identification information is generated.
Using embodiment illustrated in fig. 6 of the present invention, management equipment shares source device at least one and establishes binding relationship;When
When the resource in source device is shared in the needs access of one equipment, the first equipment sends resource-sharing request to source device is shared, and shares
Source device sends resource-sharing prompt message to management equipment, and management equipment is according to the mark of the first equipment carried in prompt message
Know information, judge whether the first equipment is legal, if so, sending the first instruction to source device is shared, share source device to first
Equipment authorizes the permission for accessing own resource.It can be seen that in this programme administrator is not required to be carried out in advance in individual device
The configuration of access rights, it is easy to operate not error-prone.
The embodiment of the present invention also provides a kind of resource sharing system, as shown in Figure 1, including:Management equipment, the first equipment and
Share source device, wherein,
First equipment, for sending resource-sharing request to the source device of sharing;
It is described to share source device, for establishing binding relationship with the management equipment;Receive the resource-sharing request;To
The management equipment sends resource-sharing prompt message, and the identification information of first equipment is carried in the prompt message;
After receiving the first instruction that the management equipment is sent, the permission for accessing own resource is authorized to first equipment;
The management equipment establishes binding relationship for sharing source device at least one;Reception currently shares source device
The resource-sharing prompt message of transmission;According to the identification information of first equipment carried in the prompt message, institute is judged
Whether legal state the first equipment;If so, send the first instruction to the current source device of sharing.
In the present embodiment, the management equipment can be also used for judging that first equipment is illegal,
The second instruction is sent to current source device of sharing;
It is described to share source device, it can be also used for after receiving the second instruction that the management equipment is sent, disconnection and institute
State the connection of the first equipment.
In the present embodiment, the management equipment can be also used for:
At least one pattern identification information for sharing source device transmission is received, the pattern identification information is to share source device
It is generated according to own net link information;
For received each pattern identification information, which is identified, obtains network connection
Information;
Judge whether the network connection information is legal;
If so, the corresponding source device of sharing of the pattern identification information is determined as legal sharing source device;
Store the legal identification information for sharing source device;
To it is described it is legal share source device and send store successful message legal share so that described described in source device storage
The identification information of management equipment, and according to the identification information stored, determine the management equipment with itself establishing binding relationship;To
Identified management equipment sends the resource-sharing prompt message.
In the present embodiment, the current mark letter for sharing source device is also carried in the resource-sharing prompt message
Breath;The management equipment can be also used for:
The current identification information for sharing source device is searched in the legal identification information for sharing source device of storage;
If found, the identification information according to first equipment is performed, judges whether first equipment closes
The step of method;
It is described current to share the step of source device sends the first instruction to described and include:
According to the identification information found, determine currently to share source device;
The first instruction is sent to identified current source device of sharing.
In the present embodiment, the network connection information be the first information or the second information, wherein, the first information
To share the account information of network where source device accesses it, second information is to share the address information of source device;
The management equipment can be also used for:
It is described to judge whether the network connection information is legal in the case where the network connection information is the first information
The step of include:
Judge to share source device access network where it account information whether access its with the management equipment where net
The account information of network is identical, if so, the network connection information is legal;
It is described to judge whether the network connection information is legal in the case where the network connection information is the second information
The step of include:
Whether the address information for judging to share source device is in the legal network segment, if so, the network connection information is legal.
In the present embodiment, the source device of sharing can be also used for:
After receiving the second instruction that the management equipment is sent, the connection with first equipment is disconnected;Wherein, it is described
Second instruction is the management equipment illegal situation of the first equipment according to the identification information judgment of first equipment
Under, share what source device was sent to described.
In the present embodiment, the source device of sharing can be also used for:
The money that first equipment is sent is received in the preset duration after disconnecting the connection with first equipment
During the sharing request of source, refusal is established with first equipment and connected.
In the present embodiment, the source device of sharing can be also used for:
According to own net link information, pattern identification information is generated;
The pattern identification information is sent to management equipment so that the management equipment to the pattern identification information into
Row identification, obtains the network connection information, judges whether the network connection information is legal, if legal, share described
Source device is determined as the legal identification information shared source device, and share source device described in storage;
Receive the successful message of storage that the management equipment is sent;Wherein, the successful message of storage is the pipe
Share what is sent after the identification information of source device described in reason equipment storage;
Store the identification information of the management equipment;
The source device of sharing can be also used for:
According to the identification information stored, the management equipment with itself establishing binding relationship is determined;
The resource-sharing prompt message is sent to identified management equipment.
In the present embodiment, the source device of sharing can be also used for:
The account information of network according to where accessing itself, generates pattern identification information;
Alternatively, according to Self address information, pattern identification information is generated.
Using illustrated embodiment of the present invention, management equipment shares source device at least one and establishes binding relationship;When first
When the resource in source device is shared in equipment needs access, the first equipment sends resource-sharing request to source device is shared, and shares source
Equipment sends resource-sharing prompt message to management equipment, and management equipment is according to the mark of the first equipment carried in prompt message
Information judges whether the first equipment is legal, if so, sending the first instruction to source device is shared, shares source device and is set to first
It is standby to authorize the permission for accessing own resource.It can be seen that in this programme administrator is not required to be visited in advance in individual device
Ask the configuration of permission, it is easy to operate not error-prone.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those
Element, but also including other elements that are not explicitly listed or further include as this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
Also there are other identical elements in process, method, article or equipment including the element.
Each embodiment in this specification is described using relevant mode, identical similar portion between each embodiment
Point just to refer each other, and the highlights of each of the examples are difference from other examples.It is real especially for device
For applying example, since it is substantially similar to embodiment of the method, so description is fairly simple, related part is referring to embodiment of the method
Part explanation.
One of ordinary skill in the art will appreciate that all or part of step in realization above method embodiment is can
Relevant hardware to be instructed to complete by program, the program can be stored in computer read/write memory medium,
The storage medium designated herein obtained, such as:ROM/RAM, magnetic disc, CD etc..
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the scope of the present invention.It is all
Any modifications, equivalent replacements and improvements are made within the spirit and principles in the present invention, are all contained in protection scope of the present invention
It is interior.
Claims (22)
1. a kind of resource share method, which is characterized in that applied to management equipment, the described method includes:
Share source device at least one and establish binding relationship;
Resource-sharing prompt message is received, wherein, the prompt message receives the transmission of the first equipment for current source device of sharing
Resource-sharing request after send, the identification information of first equipment is carried in the prompt message;Described current point
It is to share source device with what the management equipment established binding relationship to enjoy source device;
According to the identification information of first equipment, judge whether first equipment is legal;
If so, the first instruction is sent to the current source device of sharing, so that described currently share source device to described first
Equipment authorizes the permission for accessing own resource.
2. according to the method described in claim 1, it is characterized in that, judging that first equipment is illegal, institute
The method of stating further includes:
The second instruction is sent to the current source device of sharing, so that the current source device of sharing disconnects and first equipment
Connection.
3. according to the method described in claim 2, it is characterized in that, described share source device at least one and establish binding relationship
The step of include:
Receive at least one share source device transmission pattern identification information, the pattern identification information for share source device according to
The generation of own net link information;
For received each pattern identification information, which is identified, obtains network connection information;
Judge whether the network connection information is legal;
If so, the corresponding source device of sharing of the pattern identification information is determined as legal sharing source device;
Store the legal identification information for sharing source device;
The successful message of storage is sent to the legal source device of sharing, so that the legal source device of sharing stores the management
The identification information of equipment, and according to the identification information stored, determine the management equipment with itself establishing binding relationship;To really
Fixed management equipment sends the resource-sharing prompt message.
4. according to the method described in claim 3, it is characterized in that, described work as also is carried in the resource-sharing prompt message
Before share the identification information of source device;After the step of reception resource-sharing prompt message, further include:
The current identification information for sharing source device is searched in the legal identification information for sharing source device of storage;
If found, the identification information according to first equipment is performed, judges whether first equipment is legal
Step;
It is described current to share the step of source device sends the first instruction to described and include:
According to the identification information found, determine currently to share source device;
The first instruction is sent to identified current source device of sharing.
5. according to the method described in claim 3, it is characterized in that, the network connection information is the first information or the second letter
Breath, wherein, the first information is the account information for sharing network where source device accesses it, and second information is to share source
The address information of equipment;
In the case where the network connection information is the first information, the step for judging whether the network connection information is legal
Suddenly include:
Judge to share source device access network where it account information whether access it with the management equipment where network
Account information is identical, if so, the network connection information is legal;
In the case where the network connection information is the second information, the step for judging whether the network connection information is legal
Suddenly include:
Whether the address information for judging to share source device is in the legal network segment, if so, the network connection information is legal.
6. a kind of resource share method, which is characterized in that applied to sharing source device, the described method includes:
Binding relationship is established with management equipment;
Receive the resource-sharing request of the first equipment transmission;
Resource-sharing prompt message is sent to the management equipment, the mark of first equipment is carried in the prompt message
Information;
After receiving the first instruction that the management equipment is sent, the permission for accessing own resource is authorized to first equipment;
Wherein, first instruction is legal for the management equipment first equipment according to the identification information judgment of first equipment
In the case of, share what source device was sent to described.
7. according to the method described in claim 6, it is characterized in that, the method further includes:
After receiving the second instruction that the management equipment is sent, the connection with first equipment is disconnected;Wherein, described second
Instruct for the management equipment first equipment according to the identification information judgment of first equipment it is illegal in the case of, to
It is described to share what source device was sent.
8. the method according to the description of claim 7 is characterized in that the method further includes:
The resource that first equipment is sent is received in the preset duration after disconnecting the connection with first equipment to be total to
When enjoying request, refusal is established with first equipment and connected.
9. according to the method described in claim 6, it is characterized in that, resource-sharing prompt message is sent to management equipment described
The step of before, further include:
According to own net link information, pattern identification information is generated;
The pattern identification information is sent to management equipment, so that the management equipment knows the pattern identification information
Not, the network connection information is obtained, judges whether the network connection information is legal, if legal, the source of sharing is set
It is standby to be determined as the legal identification information shared source device, and share source device described in storage;
Receive the successful message of storage that the management equipment is sent;Wherein, the successful message of storage sets for the management
For what is sent after the identification information for sharing source device described in storage;
Store the identification information of the management equipment;
The step of transmission resource-sharing prompt message to management equipment, including:
According to the identification information stored, the management equipment with itself establishing binding relationship is determined;
The resource-sharing prompt message is sent to identified management equipment.
It is 10. according to the method described in claim 9, it is characterized in that, described according to own net link information, generation figure mark
The step of knowing information includes:
The account information of network according to where accessing itself, generates pattern identification information;
Alternatively, according to Self address information, pattern identification information is generated.
11. a kind of resource shared device, which is characterized in that applied to management equipment, described device includes:
First binding module establishes binding relationship for sharing source device at least one;
First receiving module, for receiving resource-sharing prompt message, wherein, the prompt message connects currently to share source device
It receives what is sent after the resource-sharing that the first equipment is sent is asked, the mark of first equipment is carried in the prompt message
Information;The current source device of sharing is to share source device with what the management equipment established binding relationship;
Judgment module for the identification information according to first equipment, judges whether first equipment is legal;
During for being when the judgment module judging result, the is sent to the current source device of sharing for first sending module
One instruction, so that the current source device of sharing authorizes the permission for accessing own resource to first equipment.
12. according to the devices described in claim 11, which is characterized in that described device further includes:
Second sending module, for when the judgment module judging result for it is no when, send the to the current source device of sharing
Two instructions, so that described currently share source device disconnection and the connection of first equipment.
13. device according to claim 12, which is characterized in that first binding module, including:
Receiving submodule, for receiving at least one pattern identification information for sharing source device transmission, the pattern identification information
It is generated to share source device according to own net link information;
It identifies submodule, for being directed to received each pattern identification information, which is identified, is obtained
To network connection information;
Judging submodule, for judging whether the network connection information is legal;
Determination sub-module during for being when the judging submodule judging result, is shared the pattern identification information is corresponding
Source device is determined as legal sharing source device;
Sub-module stored, for storing the legal identification information for sharing source device;
Sending submodule, for it is described it is legal share source device and send store successful message legal share source so that described
Equipment stores the identification information of the management equipment, and according to the identification information stored, determines to establish binding relationship with itself
Management equipment;The resource-sharing prompt message is sent to identified management equipment.
14. device according to claim 13, which is characterized in that also carried in the resource-sharing prompt message described
The current identification information for sharing source device;Described device further includes:
Searching module, for searching the current mark for sharing source device in the legal identification information for sharing source device of storage
Know information;If found, the judgment module is triggered;
First sending module, is specifically used for:
According to the identification information found, determine currently to share source device;
The first instruction is sent to identified current source device of sharing.
15. device according to claim 13, which is characterized in that the network connection information is the first information or second
Information, wherein, the first information is the account information for sharing network where source device accesses it, and second information is to share
The address information of source device;
In the case where the network connection information is the first information, the judging submodule is specifically used for:
Judge to share source device access network where it account information whether access it with the management equipment where network
Account information is identical, if so, the network connection information is legal;
In the case where the network connection information is the second information, the judging submodule is specifically used for:
Whether the address information for judging to share source device is in the legal network segment, if so, the network connection information is legal.
16. a kind of resource shared device, which is characterized in that applied to source device is shared, described device includes:
Second binding module, for establishing binding relationship with management equipment;
Second receiving module, for receiving the resource-sharing request that the first equipment is sent;
3rd sending module for sending resource-sharing prompt message to the management equipment, carries in the prompt message
The identification information of first equipment;
After receiving the first instruction that the management equipment is sent, access is authorized certainly to first equipment for authorization module
The permission of body resource;Wherein, first instruction is the management equipment according to the identification information judgment institute of first equipment
State the first equipment it is legal in the case of, to it is described share source device transmission.
17. device according to claim 16, which is characterized in that described device further includes:
Module is disconnected, after receiving the second instruction that the management equipment is sent, is disconnected and first equipment
Connection;Wherein, second instruction first sets for the management equipment according to the identification information judgment of first equipment
In the case of illegal, share what source device was sent to described.
18. device according to claim 17, which is characterized in that described device further includes:
Refuse link block, in the preset duration disconnected after module disconnects the connection with first equipment
When inside receiving the resource-sharing request that first equipment is sent, refusal is established with first equipment and connected.
19. device according to claim 16, which is characterized in that described device further includes:
Generation module, for according to own net link information, generating pattern identification information;
4th sending module, for the pattern identification information to be sent to management equipment, so that the management equipment is to described
Pattern identification information is identified, and obtains the network connection information, judges whether the network connection information is legal, if closed
The source device of sharing is determined as the legal identification information shared source device, and share source device described in storage by method;
3rd receiving module, for receiving the successful message of storage that the management equipment is sent;Wherein, the storage is successful
Message is shares what is sent after the identification information of source device described in management equipment storage;
Second memory module, for storing the identification information of the management equipment;
3rd sending module, is specifically used for:
According to the identification information stored, the management equipment with itself establishing binding relationship is determined;
The resource-sharing prompt message is sent to identified management equipment.
20. device according to claim 19, which is characterized in that the generation module is specifically used for:
The account information of network according to where accessing itself, generates pattern identification information;
Alternatively, according to Self address information, pattern identification information is generated.
21. a kind of resource sharing system, which is characterized in that including:Share source device, the first equipment, management equipment, wherein,
First equipment, for sending resource-sharing request to the source device of sharing;
It is described to share source device, for establishing binding relationship with the management equipment;Receive the resource-sharing request;To described
Management equipment sends resource-sharing prompt message, and the identification information of first equipment is carried in the prompt message;It receives
After the first instruction sent to the management equipment, the permission for accessing own resource is authorized to first equipment;
The management equipment establishes binding relationship for sharing source device at least one;It receives and currently shares source device transmission
Resource-sharing prompt message;According to the identification information of first equipment carried in the prompt message, described is judged
Whether one equipment is legal;If so, send the first instruction to the current source device of sharing.
22. system according to claim 21, which is characterized in that
The management equipment is additionally operable to judging that first equipment is illegal, is sent to current source device of sharing
Second instruction;
It is described to share source device, it is additionally operable to after receiving the second instruction that the management equipment is sent, disconnection is set with described first
Standby connection.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610990624.1A CN108076009B (en) | 2016-11-10 | 2016-11-10 | Resource sharing method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610990624.1A CN108076009B (en) | 2016-11-10 | 2016-11-10 | Resource sharing method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108076009A true CN108076009A (en) | 2018-05-25 |
CN108076009B CN108076009B (en) | 2021-03-19 |
Family
ID=62154553
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610990624.1A Active CN108076009B (en) | 2016-11-10 | 2016-11-10 | Resource sharing method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108076009B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115277273A (en) * | 2022-07-25 | 2022-11-01 | 维沃移动通信有限公司 | Resource sharing method and resource sharing device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101807944A (en) * | 2010-03-03 | 2010-08-18 | 中兴通讯股份有限公司 | Mobile terminal and data sharing method thereof |
CN102654906A (en) * | 2011-11-22 | 2012-09-05 | 上海华博信息服务有限公司 | Method and device for mobile equipment identity binding based on two-dimension code |
CN102724200A (en) * | 2012-06-21 | 2012-10-10 | 浙江宇视科技有限公司 | Monitoring front-end resource sharing method and monitoring front-end resource sharing device |
CN103945380A (en) * | 2014-04-10 | 2014-07-23 | 深圳市信锐网科技术有限公司 | Method and system for network login authentication based on graphic code |
CN104080150A (en) * | 2014-07-04 | 2014-10-01 | 广州杰赛科技股份有限公司 | WLAN access method for equipment sharing |
CN104333598A (en) * | 2014-11-06 | 2015-02-04 | 北京安奇智联科技有限公司 | Two-dimension code and network adaption based mobile terminal and web terminal interconnection method |
US20160308855A1 (en) * | 2015-04-16 | 2016-10-20 | Trunomi Ltd. | Systems and Methods for Electronically Sharing Private Documents Using Pointers |
-
2016
- 2016-11-10 CN CN201610990624.1A patent/CN108076009B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101807944A (en) * | 2010-03-03 | 2010-08-18 | 中兴通讯股份有限公司 | Mobile terminal and data sharing method thereof |
CN102654906A (en) * | 2011-11-22 | 2012-09-05 | 上海华博信息服务有限公司 | Method and device for mobile equipment identity binding based on two-dimension code |
CN102724200A (en) * | 2012-06-21 | 2012-10-10 | 浙江宇视科技有限公司 | Monitoring front-end resource sharing method and monitoring front-end resource sharing device |
CN103945380A (en) * | 2014-04-10 | 2014-07-23 | 深圳市信锐网科技术有限公司 | Method and system for network login authentication based on graphic code |
CN104080150A (en) * | 2014-07-04 | 2014-10-01 | 广州杰赛科技股份有限公司 | WLAN access method for equipment sharing |
CN104333598A (en) * | 2014-11-06 | 2015-02-04 | 北京安奇智联科技有限公司 | Two-dimension code and network adaption based mobile terminal and web terminal interconnection method |
US20160308855A1 (en) * | 2015-04-16 | 2016-10-20 | Trunomi Ltd. | Systems and Methods for Electronically Sharing Private Documents Using Pointers |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115277273A (en) * | 2022-07-25 | 2022-11-01 | 维沃移动通信有限公司 | Resource sharing method and resource sharing device |
CN115277273B (en) * | 2022-07-25 | 2024-03-22 | 维沃移动通信有限公司 | Resource sharing method and resource sharing device |
Also Published As
Publication number | Publication date |
---|---|
CN108076009B (en) | 2021-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112738805B (en) | Device control method and apparatus, storage medium, and electronic device | |
CN105357740B (en) | Wireless network access method and wireless access node | |
CN105049410B (en) | A kind of account login method, apparatus and system | |
CN103813473B (en) | A kind of communication means, terminal and system | |
CN102014459B (en) | Wireless access control method and device | |
US20090089353A1 (en) | Computer-readable medium storing relay program, relay device, and relay method | |
WO2015116593A1 (en) | Methods, devices and systems for dynamic network access administration | |
JP2001345819A (en) | Access point device and method of authentication processing therefor | |
CN104809369B (en) | Packet sets method, client, server and the system of equipment access rights | |
CN105635084A (en) | Apparatus and method for authenticating terminal | |
CN106130818A (en) | Network sharing, requesting terminal and network share flux monitoring method and system | |
CN102572832A (en) | Secure sharing method and mobile terminal | |
CN108293055A (en) | Method, apparatus and system for authenticating to mobile network and for by the server of device authentication to mobile network | |
CN112291787A (en) | Network connection method, device and system | |
CN111371817A (en) | Equipment control system, method and device, electronic equipment and storage medium | |
CN106559787A (en) | Method for network access, apparatus and system | |
CN106453349A (en) | An account number login method and apparatus | |
CN110138714A (en) | Method, apparatus, electronic equipment and the storage medium of access process | |
CN111901208A (en) | Intelligent equipment control method and device, intelligent control panel and storage medium | |
CN107659999A (en) | WIFI connection methods and equipment | |
CN110266674A (en) | A kind of Intranet access method and relevant apparatus | |
CN111132373B (en) | Network connection method, device and equipment | |
CN108810892A (en) | A kind of wireless network management method, smart machine and router | |
CN108076009A (en) | A kind of resource share method, apparatus and system | |
CN105743922B (en) | The method, apparatus and system of inter-domain communication |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |