CN105516324B - A kind of resource share method, system and terminal device - Google Patents
A kind of resource share method, system and terminal device Download PDFInfo
- Publication number
- CN105516324B CN105516324B CN201510944433.7A CN201510944433A CN105516324B CN 105516324 B CN105516324 B CN 105516324B CN 201510944433 A CN201510944433 A CN 201510944433A CN 105516324 B CN105516324 B CN 105516324B
- Authority
- CN
- China
- Prior art keywords
- terminal equipment
- information
- network
- file
- terminal
- 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.)
- Expired - Fee Related
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000003860 storage Methods 0.000 claims description 20
- 230000005540 biological transmission Effects 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims 2
- 241001062009 Indigofera Species 0.000 claims 1
- 238000005516 engineering process Methods 0.000 abstract description 5
- 238000004891 communication Methods 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 29
- 238000010295 mobile communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 235000013399 edible fruits Nutrition 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000002085 persistent effect Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
-
- 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
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
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)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses resource share method, system and terminal devices, are applied to field of communication technology.In the method for the embodiment of the present invention, first terminal equipment can be by the WLAN established between second terminal equipment, the resource information of another terminal device is shared to each terminal device of second terminal exchanged between equipment, and the second shared resource information that the shared resource information that stores another terminal device (i.e. second terminal equipment) is i.e. above-mentioned, to facilitate the resource information for sharing other side between first terminal equipment and second terminal equipment by the WLAN established.In this way if a certain terminal device is connecting network using mobile data flow, and when sharing to the function of another terminal device connection network, the resource that can be shared on each terminal device by the WLAN of foundation between two terminal devices includes file, and do not have to occupy mobile data flow to server remove downloading file, mobile data flow can be saved.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of resource share method, system and terminal device.
Background technique
With the rapid development of mobile communication technology especially 4G technology, mobile communication terminal has become everyone mark
Quasi- configuration, and mobile communication terminal is getting faster by the speed that mobile data is surfed the Internet, hot spot shares network function also more next
It is used on more mobile communication terminals.Specifically, mobile communication terminal can open hot spot, in this way the mobile communication terminal with
Outer other terminal devices are connected to the mobile communication terminal, and share the network function of the mobile communication terminal, then
Other terminal devices will use the mobile data flow of the mobile communication terminal when surfing the Internet by the mobile communication equipment, and
Mobile data flow can be used unlike broadband network without limitation again.As it can be seen that the movement for opening hot spot in the prior art is logical
Believe that terminal needs enough mobile data flows that could share network function for other terminal devices.
Summary of the invention
The embodiment of the present invention provides a kind of resource share method, system and terminal device, realizes and is set by two terminals
The WLAN established between standby shares the resource of distant terminal equipment.
The embodiment of the present invention provides a kind of resource share method, comprising:
Establish the WLAN between second terminal equipment, wherein second terminal described in first terminal collaborative share
The connection network function of first terminal equipment described in the connection network function of equipment or the second terminal collaborative share;
The first shared resource information of first terminal equipment is sent to the second terminal by the WLAN
Equipment, so that the second terminal equipment is according to the first shared resource of the first shared resource information sharing;
The second shared resource information of the second terminal equipment transmission is received by the WLAN and stores institute
The second shared resource information is stated, according to the second shared resource of the second shared resource information sharing.
The embodiment of the present invention also provides a kind of terminal device, comprising:
Network establishes unit, the WLAN for establishing between second terminal equipment, wherein the terminal device
Share the connection net of terminal device described in the connection network function or the second terminal collaborative share of the second terminal equipment
Network function;
Information transmitting unit, for establishing the WLAN of unit foundation by the network for the terminal device
First shared resource information is sent to the second terminal equipment, so that the second terminal equipment is shared according to described first
Resource information shares the first shared resource;
Information receives storage element, and the WLAN for establishing unit foundation by the network receives described second
Second shared resource information of terminal device transmission simultaneously stores the second shared resource information, according to the described second shared money
Source information shares the second shared resource.
The embodiment of the present invention also provides a kind of resource sharing system, including first terminal equipment and second terminal equipment, institute
It states described in the connection network function or the second terminal collaborative share of second terminal equipment described in first terminal collaborative share
The connection network function of one terminal device;
The first terminal equipment includes:
Network establishes unit, the WLAN for establishing between second terminal equipment;
Information transmitting unit, the WLAN for establishing unit foundation by the network set the first terminal
The first standby shared resource information is sent to the second terminal equipment, so that the second terminal equipment is according to described first
The first shared resource of shared resource information sharing;
Information receives storage element, and the WLAN for establishing unit foundation by the network receives described second
Second shared resource information of terminal device transmission simultaneously stores the second shared resource information, according to the described second shared money
Source information shares the second shared resource.
As it can be seen that first terminal equipment can be by between second terminal equipment in the resource share method of the present embodiment
The WLAN of foundation shares to the resource of another terminal device with each terminal device of second terminal exchanged between equipment
Information, and the second shared resource letter that the shared resource information that stores another terminal device (i.e. second terminal equipment) is i.e. above-mentioned
Breath, to facilitate the resource for sharing other side between first terminal equipment and second terminal equipment by the WLAN established
Information.In this way if a certain terminal device is connecting network using mobile data flow, and share to another terminal device connection
The resource on each terminal device can be shared when the function of network, between two terminal devices by the WLAN of foundation
Including file, and do not have to occupy mobile data flow to server remove downloading file, mobile data flow can be saved.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without any creative labor, may be used also for those of ordinary skill in the art
To obtain other drawings based on these drawings.
Fig. 1 is a kind of flow chart of resource share method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another resource share method provided in an embodiment of the present invention;
Fig. 3 is the flow chart of another resource share method provided in an embodiment of the present invention;
Fig. 4 is a kind of structural schematic diagram of terminal device provided in an embodiment of the present invention;
Fig. 5 is the structural schematic diagram of another terminal device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another terminal device provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first ", " second ", " third " " in above-mentioned attached drawing
The (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manage
The data that solution uses in this way are interchangeable under appropriate circumstances, so that the embodiment of the present invention described herein for example can be to remove
Sequence other than those of illustrating or describe herein is implemented.In addition, term " includes " and " having " and theirs is any
Deformation, it is intended that cover not exclusively include, for example, containing the process, method of a series of steps or units, system, production
Product or equipment those of are not necessarily limited to be clearly listed step or unit, but may include be not clearly listed or for this
A little process, methods, the other step or units of product or equipment inherently.
The embodiment of the present invention provides a kind of resource share method, mainly method performed by first terminal equipment, process
Figure is as shown in Figure 1, comprising:
Step 101, first terminal equipment establishes the WLAN between second terminal equipment, wherein first terminal
The connection network function of collaborative share second terminal equipment or the connection network function of second terminal collaborative share first terminal equipment
Energy.
It is appreciated that first terminal equipment or second terminal equipment have the function of shared connection network, for example open nothing
Line hot spot, specifically, by taking the function of the shared connection network of first terminal equipment as an example, when first terminal equipment connects network simultaneously
After the function of opening shared connection network, other terminal devices may be coupled to first terminal equipment, share first terminal equipment
Connection network function.In this case, the information for being connected to the network of first terminal equipment can be arranged in first terminal equipment,
Including network identity and password, and when second terminal equipment searches wireless network consistent with the network identity, can pass through
The network identity establishes the WLAN between first terminal equipment to first terminal device request with corresponding password, such as
Fruit first terminal equipment in request network identity and password be verified, then allow the second terminal equipment to be linked into first
Terminal device, to establish the WLAN between first terminal equipment and second terminal equipment.
Step 102, first terminal equipment is total to by the WLAN that step 101 is established by the first of first terminal equipment
It enjoys resource information and is sent to second terminal equipment, so that second terminal equipment can be total according to the first shared resource information sharing first
Enjoy resource.
Here the first shared resource information is to describe the information of the first shared resource, can specifically include first terminal equipment
In the listed files that has stored, for example apply, the title of the files such as video or music, the information such as version and store path are convenient
Give the file-sharing stored to second terminal equipment;It can also be including first terminal equipment in the first shared resource information
Wireless network list through being successfully connected, such as the mark of wireless network connect the cipher mode and password of wireless network, and
Store path etc. facilitates second terminal equipment to be directly connected to corresponding wireless network;Further, the first shared resource information
In can also include first terminal equipment Bluetooth information, such as bluetooth title and connection password etc. facilitate second terminal equipment
Pass through bluetooth connection first terminal equipment.
Step 103, first terminal equipment receives the second shared resource that second terminal equipment is sent by WLAN
Information, and the second shared resource information is stored, according to second the second shared resource of shared resource information sharing.Here second is total
It is similar with above-mentioned first shared resource information to enjoy resource information, the difference is that the first shared resource information is first terminal equipment
Information, and the second shared resource information is the information of second terminal equipment, herein without repeating.
As it can be seen that first terminal equipment can be by between second terminal equipment in the resource share method of the present embodiment
The WLAN of foundation shares to the resource of another terminal device with each terminal device of second terminal exchanged between equipment
Information, and the second shared resource letter that the shared resource information that stores another terminal device (i.e. second terminal equipment) is i.e. above-mentioned
Breath, to facilitate the resource for sharing other side between first terminal equipment and second terminal equipment by the WLAN established
Information.In this way if a certain terminal device is connecting network using mobile data flow, and share to another terminal device connection
The resource on each terminal device can be shared when the function of network, between two terminal devices by the WLAN of foundation
Including file, and do not have to occupy mobile data flow to server remove downloading file, mobile data flow can be saved.
Refering to what is shown in Fig. 2, in a specific embodiment, when first terminal equipment through the above steps 101 to 103,
The second shared resource information is stored, if in the second shared resource information including the file stored in second terminal equipment
List, then first terminal equipment can realize the resource of shared second terminal equipment with as follows 201 to 204, specifically
Include:
Step 201, the information of file to be downloaded, such as the title of file to be downloaded, the information such as type and version are obtained.
Step 202, by the file in listed files included by the information of file to be downloaded and the second shared resource information
Information compares, if matched, illustrates to have stored the file to be downloaded in second terminal equipment, thens follow the steps 203;Such as
Fruit does not match that, illustrates not storing the file to be downloaded in second terminal equipment, thens follow the steps 204.
Step 203, file to be downloaded is obtained to second terminal equipment.Specifically, first terminal equipment can be by above-mentioned
The WLAN established in step 101 directly obtains file to be downloaded to second terminal equipment.
In another case, if in the second shared resource information further including the Bluetooth information of second terminal equipment,
First terminal equipment, can be first according to Bluetooth information and second terminal equipment when obtaining file to be downloaded to second terminal equipment
Between establish bluetooth connection, then by bluetooth connection to second terminal equipment obtain file to be downloaded.
In this way if the connection network function of first terminal collaborative share second terminal equipment, and second terminal equipment uses
Mobile data flow connect network, then first terminal equipment when obtaining file to be downloaded, can by with second terminal equipment
Direct-connected mode obtains file to be downloaded, and is not take up the mobile data flow of second terminal equipment.Similarly, in another feelings
Under condition, if the connection network function of second terminal collaborative share first terminal equipment, first terminal equipment is being obtained under
When published article part, the mobile data flow of first terminal equipment will not be occupied.
Step 204, file to be downloaded is downloaded, and the information of file to be downloaded is sent to second eventually by WLAN
End equipment allows second terminal equipment to share the file to be downloaded.
Further, if in the first shared resource information including the listed files stored in first terminal equipment,
File-sharing indicated by this document list can be given second terminal equipment by first terminal equipment, that is, is sent to second terminal and is set
It is standby.Specifically, first terminal equipment can directly send the file to second terminal by the WLAN of above-mentioned foundation and set
It is standby;Or bluetooth connection is established between line and second terminal equipment, file is then sent by second terminal equipment by bluetooth connection.
Refering to what is shown in Fig. 3, in another specific embodiment, when first terminal equipment 101 arrives through the above steps
103, the second shared resource information is stored, if including successfully having connected in the second shared resource information in second terminal equipment
The wireless network list taken over, then first terminal equipment can share the radio network information stored in second terminal equipment, specifically
Include:
Step 301, first terminal equipment can search for available wireless network, search the information of wireless network to be connected,
Such as mark of wireless network to be connected etc..
Step 302, by wireless network list included by the information of wireless network to be connected and the second shared resource information
In radio network information compare, if matched, can be used in the second shared resource information should wireless network be connected
Information, specifically using access the wireless network to be connected password, then follow the steps 303;If they do not match then first
Terminal device continues in current network, or can also be switched to wireless network to be connected.
Step 303, the wireless network list according to included by the second shared resource information is connected to wireless network to be connected
In.In this case, if the connection network function of first terminal collaborative share second terminal equipment, in order to save second eventually
Step 304 further can also be performed in the data traffic of end equipment, first terminal equipment.
Step 304, it is that first terminal collaborative share connects network that first terminal equipment notice second terminal equipment, which is closed,
Function.First terminal equipment can be searched for further, if not searching available wireless network, second terminal equipment can be with
The function of continuing starting shared connection network, allows first terminal equipment to continue the connection network of shared second terminal equipment
Function.
As it can be seen that through the above steps 301 to 304, first terminal equipment can be in available wireless network to be connected and
Switch between the network of two terminal devices.
The embodiment of the present invention also provides a kind of terminal device, i.e., above-mentioned first terminal equipment, structural schematic diagram such as Fig. 4
It is shown, it can specifically include:
Network establishes unit 10, the WLAN for establishing between second terminal equipment, wherein the terminal is set
The standby connection for sharing terminal device described in the connection network function or the second terminal collaborative share of the second terminal equipment
Network function.
Illustrate by taking the connection network function of the terminal device of second terminal collaborative share the present embodiment as an example, which establishes
The information for being connected to the network of terminal device, including network identity and password can be arranged in unit 10, and when second terminal equipment is searched
It, can be by the network identity and corresponding password to the network of terminal device when rope is to wireless network consistent with the network identity
It establishes unit 10 and requests the WLAN established between terminal device, if network establishes the network in 10 pairs of unit requests
Mark and password are verified, then allow second terminal equipment to be linked into terminal device, set to establish with second terminal
WLAN between standby.
Information transmitting unit 11, the WLAN for establishing the foundation of unit 10 by the network set the terminal
The first standby shared resource information is sent to the second terminal equipment, so that the second terminal equipment is according to described first
The first shared resource of shared resource information sharing.Here the first shared resource information is to describe the information of the first shared resource, tool
Body may include the listed files stored in terminal device, and can also be successfully connected including terminal device wireless
Network list and the Bluetooth information of terminal device etc..
Information receives storage element 12, for being established described in the WLAN reception of the foundation of unit 10 by the network
Second shared resource information of second terminal equipment transmission simultaneously stores the second shared resource information, with total according to described second
It enjoys resource information and shares the second shared resource.Here the second shared resource information is similar with above-mentioned first shared resource information, no
Be the first shared resource information be the present embodiment terminal device information, and the second shared resource information is second terminal
The information of equipment, herein without repeating.
In the terminal device of the present embodiment, information transmitting unit 11 and information receive storage element 12 can be by with second
The WLAN established between terminal device shares to another end with each terminal device of second terminal exchanged between equipment
The resource information of end equipment, and the shared resource information that stores another terminal device (i.e. second terminal equipment) it is i.e. above-mentioned second
Shared resource information, to facilitate the wireless local area between the terminal device of the present embodiment and second terminal equipment by establishing
Net the resource information of shared other side.In this way if a certain terminal device is connecting network using mobile data flow, and share to
When the function of another terminal device connection network, it can be shared by the WLAN of foundation between two terminal devices each
Resource on terminal device includes file, and does not have to occupy mobile data flow to server remove downloading file, can save shifting
Dynamic data traffic.
Refering to what is shown in Fig. 5, in a specific embodiment, terminal device is in addition to may include structure as shown in Figure 4
It outside, can also include the file information acquiring unit 13, file obtaining unit 14, file download shared cell 15, switch unit 16
And shared offer unit 17, specifically:
The file information acquiring unit 13, for obtaining the information of file to be downloaded;
File obtaining unit 14, if for the file information acquiring unit 13 obtain file to be downloaded information with
The file information in listed files included by second shared resource information matches, described in the acquisition of Xiang Suoshu second terminal equipment
File to be downloaded.Wherein, it includes described second whole that the information, which receives in the second shared resource information that storage element 12 stores,
The listed files stored in end equipment.
Specifically, file obtaining unit 14, specifically for being obtained by the WLAN to the second terminal equipment
Take the file to be downloaded;Or, the file obtaining unit 14, stores if being specifically used for the information and receiving storage element 12
The second shared resource information in further include the second terminal equipment Bluetooth information, according to the Bluetooth information and described the
Bluetooth connection is established between two terminal devices, the text to be downloaded is obtained to the second terminal equipment by the bluetooth connection
Part.
File download shared cell 15, if the letter of the file to be downloaded obtained for the file information acquiring unit 13
Breath is not matched that with the file information in listed files included by the second shared resource information, downloads the file to be downloaded,
And the information of the file to be downloaded is sent to the second terminal equipment by the WLAN.
Switch unit 16, if including in the second shared resource information stored for information reception storage element 12
The wireless network list being successfully connected in the second terminal equipment, searches for the information of wireless network to be connected;If institute
State the radio network information in wireless network list included by the information and the second shared resource information of wireless network to be connected
Match, according to wireless network list included by the second shared resource information be connected to described in wireless network to be connected
In.
It is shared that unit 17 is provided, if including in the first shared resource information sent for the information transmitting unit 11
File indicated by the listed files is sent to the second terminal and set by the listed files stored in the terminal device
It is standby.
The embodiment of the present invention also provides a kind of terminal device, and structural schematic diagram is as shown in fig. 6, the terminal device can be because matching
It sets or performance is different and generate bigger difference, may include one or more central processing units (central
Processing units, CPU) 20 (for example, one or more processors) and memory 21, one or more are deposited
Store up the storage medium 22 (such as one or more mass memory units) of application program 221 or data 222.Wherein, it stores
Device 21 and storage medium 22 can be of short duration storage or persistent storage.Be stored in storage medium 22 program may include one or
More than one module (diagram does not mark), each module may include to the series of instructions operation in terminal device.More into one
Step ground, central processing unit 30 can be set to communicate with storage medium 22, execute one in storage medium 22 on the terminal device
Series of instructions operation.
Terminal device can also include one or more power supplys 23, one or more wired or wireless networks connect
Mouth 24, one or more input/output interfaces 25, and/or, one or more operating systems 223, such as Windows
ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
The step as performed by first terminal equipment described in above method embodiment can be based on the end shown in fig. 6
The structure of end equipment.
The embodiment of the present invention also provides a kind of resource sharing system, mainly includes that first terminal equipment and second terminal are set
It is standby, wherein first described in the connection network function or second terminal collaborative share of first terminal collaborative share second terminal equipment
The connection network function of terminal device.
The structure of the first terminal equipment and second terminal equipment can be set such as above-mentioned terminal as described in the examples
Standby structure, herein without repeating.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: read-only memory (ROM), random access memory ram), disk or CD etc..
Resource share method, system and terminal device is provided for the embodiments of the invention above to be described in detail,
Used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only used
In facilitating the understanding of the method and its core concept of the invention;At the same time, for those skilled in the art, according to the present invention
Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as
Limitation of the present invention.
Claims (12)
1. a kind of resource share method characterized by comprising
Establish the WLAN between first terminal equipment and second terminal equipment, wherein described in first terminal collaborative share
The connection network function of second terminal equipment;
The first shared resource information of first terminal equipment is sent to the second terminal equipment by the WLAN,
So that the second terminal equipment is according to the first shared resource of the first shared resource information sharing;
First terminal equipment receives the second shared resource information that the second terminal equipment is sent by the WLAN
And the second shared resource information is stored, according to the second shared resource of the second shared resource information sharing;
First terminal equipment searches for the information of wireless network to be connected, wherein the second shared resource information includes described second
The wireless network list being successfully connected in terminal device;The information of the wireless network to be connected includes wireless network to be connected
The network identity of network;It include the network for the wireless network being successfully connected in the wireless network list being successfully connected
Mark and password;
If in wireless network list included by the network identity of the wireless network to be connected and the second shared resource information
The network identity of the wireless network being successfully connected match, it is wireless according to included by the second shared resource information
The network identity and corresponding password of the wireless network being successfully connected in network list are connected to described wireless wait connect
In network;
The first terminal equipment notice second terminal equipment closes the function that network is connected for first terminal collaborative share;
First terminal equipment is further searched for, if not searching available wireless network, second terminal equipment continues out
The function of opening shared connection network, allows first terminal equipment to continue the connection network function of shared second terminal equipment,
So that first terminal equipment switches between available wireless network to be connected and the network of second terminal equipment.
2. the method as described in claim 1, which is characterized in that include the second terminal in the second shared resource information
The listed files stored in equipment, then the method also includes:
Obtain the information of file to be downloaded;
If the information of the file to be downloaded and the file information phase in listed files included by the second shared resource information
Matching, Xiang Suoshu second terminal equipment obtain the file to be downloaded.
3. method according to claim 2, which is characterized in that described to obtain the text to be downloaded to the second terminal equipment
Part specifically includes: obtaining the file to be downloaded to the second terminal equipment by the WLAN;
Or, if in the second shared resource information further including the Bluetooth information of the second terminal equipment, it is described to described
Second terminal equipment obtains the file to be downloaded, specifically includes: according to the Bluetooth information and the second terminal equipment it
Between establish bluetooth connection, the file to be downloaded is obtained to the second terminal equipment by the bluetooth connection.
4. method as claimed in claim 2 or claim 3, which is characterized in that the method also includes:
If the file information in listed files included by the information of the file to be downloaded and the second shared resource information is not
Match, downloads the file to be downloaded, and the information of the file to be downloaded is sent to institute by the WLAN
State second terminal equipment.
5. such as the described in any item methods of Claims 2 or 3, which is characterized in that include institute in the first shared resource information
State the listed files stored in first terminal equipment, then the method also includes:
File indicated by the listed files is sent to the second terminal equipment.
6. a kind of terminal device characterized by comprising
Network establishes unit, the WLAN for establishing between second terminal equipment, wherein the terminal device is shared
The connection network function of the second terminal equipment;
Information transmitting unit, for establishing the WLAN of unit foundation by the network for the first of the terminal device
Shared resource information is sent to the second terminal equipment, so that the second terminal equipment is according to first shared resource
The first shared resource of information sharing;
Information receives storage element, and the WLAN for establishing unit foundation by the network receives the second terminal
Second shared resource information of equipment transmission simultaneously stores the second shared resource information, to be believed according to second shared resource
Cease shared second shared resource;
Switch unit, if for including being successfully connected in the second terminal equipment in the second shared resource information
Wireless network list, search for the information of wireless network to be connected;The information of the wireless network to be connected includes nothing to be connected
The network identity of gauze network;It include the wireless network being successfully connected in the wireless network list being successfully connected
Network identity and password;If the network identity of the wireless network to be connected with it is wireless included by the second shared resource information
The network identity of the wireless network being successfully connected in network list matches, according to the second shared resource information institute
Including wireless network list in the wireless network being successfully connected network identity and corresponding password be connected to it is described
Wait connect in wireless network, and notifying second terminal equipment to close is the function of the shared connection network of terminal device;First terminal
Equipment is further searched for, if not searching available wireless network, second terminal equipment continues starting shared connection net
The function of network allows first terminal equipment to continue the connection network function of shared second terminal equipment, so that first terminal
Equipment switches between available wireless network to be connected and the network of second terminal equipment.
7. terminal device as claimed in claim 6, which is characterized in that if the information receives the second of storage element storage
It include the listed files that has stored in the second terminal equipment in shared resource information, then the terminal device further include:
The file information acquiring unit, for obtaining the information of file to be downloaded;
File obtaining unit, if the information of the file to be downloaded for the file information acquiring unit acquisition is shared with second
The file information in listed files included by resource information matches, and Xiang Suoshu second terminal equipment obtains the text to be downloaded
Part.
8. terminal device as claimed in claim 7, which is characterized in that the file obtaining unit is specifically used for by described
WLAN obtains the file to be downloaded to the second terminal equipment;
Or, the file obtaining unit, if specifically for further including the second terminal in the second shared resource information
The Bluetooth information of equipment establishes bluetooth connection according between the Bluetooth information and the second terminal equipment, passes through the indigo plant
Tooth connects to the second terminal equipment and obtains the file to be downloaded.
9. terminal device as claimed in claim 7 or 8, which is characterized in that further include:
File download shared cell, if the information for the file to be downloaded and text included by the second shared resource information
The file information in part list does not match that, downloads the file to be downloaded, and the information of the file to be downloaded is passed through institute
It states WLAN and is sent to the second terminal equipment.
10. terminal device as claimed in claim 7 or 8, which is characterized in that further include: it is shared that unit is provided, if being used for institute
Stating includes the listed files stored in the terminal device in the first shared resource information, will be indicated by the listed files
File is sent to the second terminal equipment.
11. a kind of resource sharing system, which is characterized in that including first terminal equipment and second terminal equipment, described first eventually
End equipment is shared first terminal described in the connection network function or the second terminal collaborative share of the second terminal equipment and is set
Standby connection network function;
The first terminal equipment is the terminal device as described in any one of claim 6 to 10.
12. a kind of storage medium, is stored with computer program, wherein the computer program executes computer as weighed
Benefit require 1 described in method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510944433.7A CN105516324B (en) | 2015-12-16 | 2015-12-16 | A kind of resource share method, system and terminal device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510944433.7A CN105516324B (en) | 2015-12-16 | 2015-12-16 | A kind of resource share method, system and terminal device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105516324A CN105516324A (en) | 2016-04-20 |
CN105516324B true CN105516324B (en) | 2019-12-03 |
Family
ID=55723954
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510944433.7A Expired - Fee Related CN105516324B (en) | 2015-12-16 | 2015-12-16 | A kind of resource share method, system and terminal device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105516324B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106412055A (en) * | 2016-09-27 | 2017-02-15 | 武汉启目科技有限公司 | Method for multiple terminal devices to share file resources mutually |
CN110049531B (en) * | 2019-04-22 | 2021-05-04 | Oppo广东移动通信有限公司 | Network resource sharing method and related device |
CN112804671A (en) * | 2021-01-05 | 2021-05-14 | 深圳创维-Rgb电子有限公司 | Network connection method, device and readable storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103096506A (en) * | 2013-01-07 | 2013-05-08 | 东莞宇龙通信科技有限公司 | Terminal devices, wireless fidelity (WIFI) connection method and system |
CN104023055A (en) * | 2014-05-30 | 2014-09-03 | 北京金山网络科技有限公司 | Video sharing method and system, and terminal device |
CN104660624A (en) * | 2013-11-18 | 2015-05-27 | 珠海金山网络游戏科技有限公司 | File sharing method, file sharing device and mobile equipment |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20130035603A (en) * | 2011-09-30 | 2013-04-09 | 삼성전자주식회사 | Apparus and method for synchronizing at least application data |
CN103036597B (en) * | 2012-12-12 | 2015-05-27 | 华为终端有限公司 | Method and device of sharing resources among devices in close range |
US9215005B2 (en) * | 2013-11-26 | 2015-12-15 | Cisco Technology, Inc. | Social cloud application-mediated mobile data hotspot sharing |
CN103648180A (en) * | 2013-12-04 | 2014-03-19 | 北京奇虎科技有限公司 | Method and device for sharing files between terminal devices |
-
2015
- 2015-12-16 CN CN201510944433.7A patent/CN105516324B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103096506A (en) * | 2013-01-07 | 2013-05-08 | 东莞宇龙通信科技有限公司 | Terminal devices, wireless fidelity (WIFI) connection method and system |
CN104660624A (en) * | 2013-11-18 | 2015-05-27 | 珠海金山网络游戏科技有限公司 | File sharing method, file sharing device and mobile equipment |
CN104023055A (en) * | 2014-05-30 | 2014-09-03 | 北京金山网络科技有限公司 | Video sharing method and system, and terminal device |
Also Published As
Publication number | Publication date |
---|---|
CN105516324A (en) | 2016-04-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110263936B (en) | Horizontal federal learning method, device, equipment and computer storage medium | |
CN105917725B (en) | The device and method that enabled Wi-Fi direct is served by service platform capability negotiation | |
CN109981751B (en) | File transmission method and system, computer equipment and storage medium | |
US11601436B2 (en) | Internet of things (IoT) network domain resource model | |
CN105516324B (en) | A kind of resource share method, system and terminal device | |
CN110324303A (en) | The data slot of internet of things equipment recombinates | |
HUE031814T2 (en) | Wireless subscriber station for short range ad-hoc data communication | |
CN106030560A (en) | Automatic internet sharing | |
Luzuriaga et al. | Improving mqtt data delivery in mobile scenarios: Results from a realistic testbed | |
CN105898841A (en) | Smart terminal and method for sharing WLAN (Wireless Local Area Network) resources by terminal | |
Shahin et al. | A framework for P2P networking of smart devices using Wi-Fi direct | |
WO2016093847A1 (en) | Discovery mechanism for service server connection | |
Al-Absi et al. | A state of the art: future possibility of 5G with IoT and other challenges | |
CN103491153A (en) | Method, equipment and peer-to-peer network system for data sharing | |
CN105530673B (en) | A kind of method for connecting network and user equipment | |
CN109089299A (en) | It is a kind of to allow facility registration to cloud with network method based on SmartConfig mode | |
CN109962834B (en) | Information processing method, system, terminal and computer storage medium | |
CN109347666B (en) | Automatic network access configuration method and system for wifi Internet of things equipment | |
Dinesh et al. | Conforming test of blockchain for 5G enabled IoT | |
Franke et al. | Leveraging human mobility in smartphone based ad-hoc information distribution in crowd management scenarios | |
Chandra et al. | 5G: The next-generation technology for edge communication | |
CN108370384A (en) | Method and system from mobile client end station to the access of internet is established by using local area computer network's wireless communication protocol | |
CN106102056A (en) | High in the clouds WiFi communication system and message identifying thereof and roaming messages recognition methods | |
CN110418430A (en) | Sending, receiving method and device, storage medium, the electronic device of application | |
Mali et al. | Group-Based Framework for Large Files Downloading |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20191203 |