CN106686525A - Network sharing method and device - Google Patents
Network sharing method and device Download PDFInfo
- Publication number
- CN106686525A CN106686525A CN201611153473.0A CN201611153473A CN106686525A CN 106686525 A CN106686525 A CN 106686525A CN 201611153473 A CN201611153473 A CN 201611153473A CN 106686525 A CN106686525 A CN 106686525A
- Authority
- CN
- China
- Prior art keywords
- network
- mobile terminal
- link
- request
- bluetooth
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 74
- 238000012790 confirmation Methods 0.000 claims abstract description 22
- 230000005540 biological transmission Effects 0.000 claims description 25
- 238000012545 processing Methods 0.000 claims description 7
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000005516 engineering process Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 19
- 238000010586 diagram Methods 0.000 description 10
- 230000015654 memory Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 5
- 230000006855 networking Effects 0.000 description 4
- 238000013461 design Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000013468 resource allocation Methods 0.000 description 2
- 239000007787 solid Substances 0.000 description 2
- 241001062009 Indigofera Species 0.000 description 1
- 230000004913 activation Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/04—Terminal devices adapted for relaying to or from another terminal or user
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The present invention relates to the field of network technologies, and in particular, to a network sharing method and apparatus. The method comprises the following steps: starting a Bluetooth function and broadcasting a link request data packet for searching a network link; receiving a confirmation packet returned according to the link request data packet; the acknowledgement packet contains an identification of the second mobile terminal capable of providing the network link; according to the confirmation packet, sending a Bluetooth connection request to the second mobile terminal; receiving a connection message returned according to the Bluetooth connection request so as to establish a Bluetooth link with the second mobile terminal; sending a network request to the second mobile terminal over the bluetooth link; and receiving the network data returned according to the network request. This embodiment can solve the problem that devices cannot access each other's network.
Description
【Technical field】
The present invention relates to networking technology area, more particularly to a kind of network share method and device.
【Background technology】
Mobile terminal (such as mobile phone, panel computer) has become one of necessary article in people's life, and people's custom passes through
Various mobile terminals are accessing the Internet to obtain information, but mobile terminal will access the Internet and must just connect network,
In the case of without WIFI or when data on flows is not enough, mobile phone users tend not to access the Internet.
Buy except for an additional outside flow bag or connection WIFI, also solving mobile phone users without suitable method can not
Access the problem of the Internet.
【The content of the invention】
The technical problem to be solved in the present invention is to provide a kind of network share method and device, solves to be moved in correlation technique
Terminal use can not access the problem of the Internet.
A kind of one side of the embodiment of the present invention, there is provided network share method, including:
Open Bluetooth function and broadcast link request data bag for finding network link;
Receive the confirmation bag returned according to the link request data bag;The confirmation bag is included and can provide network link
The second mobile terminal mark;
Confirm bag according to described, to second mobile terminal Bluetooth connection request is sent;
The connection message returned according to the Bluetooth connection request is received, to set up the bluetooth with second mobile terminal
Link;
Network request is sent to second mobile terminal by the Bluetooth link;
Receive the network data returned according to the network request.
Wherein, the network link is:
The link of the second mobile terminal connection outside WIFI network;Or,
By blueteeth network and the 3rd mobile terminal between second mobile terminal and the 3rd mobile terminal
The link of the outside WIFI network composition of connection.
A kind of another aspect of the embodiment of the present invention, there is provided network share method, including:
Open Bluetooth function and reception from the first mobile terminal link request data bag;
According to the link request data bag, it is determined whether the network link with connection external network;
If so, then to first mobile terminal confirmation bag of the transmission comprising self identification;
Receive the Bluetooth connection request that first mobile terminal sends;
According to the Bluetooth connection request, the Bluetooth link with first mobile terminal is set up, and moved to described first
Dynamic terminal feedback connection message;
Receive the network request that first mobile terminal is sent by the Bluetooth link;
The network request is sent to the external network by the network link;
Receive the network data that the external network is returned according to the network request, and by the Bluetooth link to
First mobile terminal sends the network data.
Wherein, the network link is:The link of the outside WIFI network of connection;Or, by with the 3rd mobile terminal set up
Blueteeth network and the outside WIFI network composition of the 3rd mobile terminal connection link.
In certain embodiments, it is described by the network link to the external network send the network request it
Afterwards, methods described also includes:
The bandwidth of the first mobile terminal transmission data is set.
In certain embodiments, it is described to receive the network request that first mobile terminal is sent by the Bluetooth link
Afterwards, methods described also includes:
Monitor the network request that first mobile terminal sends;
When listening to the network request and asking for unauthorized access, interrupt send the network to the external network please
The operation asked.
A kind of another aspect of the embodiment of the present invention, there is provided network sharing device, including:
Broadcast module, for opening Bluetooth function and broadcasting link request data bag for finding network link;
First receiver module, for receiving the confirmation bag returned according to the link request data bag;It is described to confirm bag bag
Mark containing the second mobile terminal that can provide network link;
First sending module, for confirming bag according to described, to second mobile terminal Bluetooth connection request is sent;
First link block, for receive according to the Bluetooth connection request return connection message, with set up with it is described
The Bluetooth link of the second mobile terminal;
Second sending module, for sending network request to second mobile terminal by the Bluetooth link;
Second receiver module, for receiving the network data returned according to the network request.
Wherein, the network link is:The link of the second mobile terminal connection outside WIFI network;Or, by institute
State the outside WIFI of blueteeth network and the 3rd mobile terminal connection between the second mobile terminal and the 3rd mobile terminal
The link of network composition.
A kind of another further aspect of the embodiment of the present invention, there is provided network sharing device, including:
3rd receiver module, for open Bluetooth function and receive from the first mobile terminal link request data bag;
Determining module, for according to the link request data bag, it is determined whether the lattice chain with connection external network
Road;
3rd sending module, for if so, then to first mobile terminal confirmation bag of the transmission comprising self identification;
4th receiver module, for receiving the Bluetooth connection request that first mobile terminal sends;
Second link block, for according to the Bluetooth connection request, setting up the bluetooth chain with first mobile terminal
Road, and to the first mobile terminal feedback link message;
5th receiver module, for receiving the network request that first mobile terminal is sent by the Bluetooth link;
4th sending module, for sending the network request to the external network by the network link;
Processing module, for receiving the network data that the external network is returned according to the network request, and passes through
The Bluetooth link to first mobile terminal sends the network data.
Wherein, the network link is:The link of the outside WIFI network of connection;Or, by with the 3rd mobile terminal set up
Blueteeth network and the outside WIFI network composition of the 3rd mobile terminal connection link.
In certain embodiments, described device also includes:
Setup module, for arranging the bandwidth of the first mobile terminal transmission data.
In certain embodiments, described device also includes:
Module is monitored, for monitoring the network request that first mobile terminal sends;
Interrupt module, for when listening to the network request and asking for unauthorized access, interrupting to the external network
Send the operation of the network request.
In embodiments of the present invention, there is provided a kind of network share method and device, please by active broadcast network link
Asking can provide the equipment of network share whether to have around confirming, if having, with the equipment Bluetooth link be set up, by setting up
Bluetooth link send network request, and network data is obtained according to the Bluetooth link.The embodiment can be to network
Equipment the network data shared of other equipment is provided, so as to solve the problems, such as that equipment can not access networking mutually, additionally, also
The inadequate mobile phone users of flow are made no longer to worry the problem that flow is overspend.
【Description of the drawings】
One or more embodiments are illustrative by the picture in corresponding accompanying drawing, these exemplary theorys
Bright not constitute the restriction to embodiment, the element with same reference numbers label is expressed as similar element in accompanying drawing, removes
Non- to have especially statement, composition is not limited the figure in accompanying drawing.
Fig. 1 is a kind of schematic diagram of network share system provided in an embodiment of the present invention;
Fig. 2 is that the flow process interacted between the first mobile terminal provided in an embodiment of the present invention and the second mobile terminal is illustrated
Figure;
Fig. 3 is a kind of method flow schematic diagram of network share provided in an embodiment of the present invention;
Fig. 4 is a kind of method flow schematic diagram of network share that another embodiment of the present invention is provided;
Fig. 5 is a kind of structural representation of network sharing device provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of network sharing device that another embodiment of the present invention is provided;
Fig. 7 is the hardware architecture diagram of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 8 is the hardware architecture diagram of a kind of electronic equipment that another embodiment of the present invention is provided.
【Specific embodiment】
In order that the objects, technical solutions and advantages of the present invention become more apparent, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only to explain the present invention, not
For limiting the present invention.
Fig. 1 is refer to, Fig. 1 is a kind of schematic diagram of network share system provided in an embodiment of the present invention.As shown in figure 1,
The network share system 20 includes that the first mobile terminal 21, second moves the 22, the 3rd mobile terminal 23 and the Internet 24 eventually.The
One mobile terminal 21 and the second mobile terminal 22 set up bluetooth connection, and the second mobile terminal 22 accesses the Internet by WIFI, the
Two mobile terminals 22 and the 3rd mobile terminal 23 set up bluetooth connection, and the 3rd mobile terminal 23 accesses the Internet by WIFI.
Wherein, the network share system includes two network share links, and first network share chain route first is moved
The Bluetooth link that 21 and second mobile terminal of terminal 22 is set up, and the second mobile terminal 22 is by the net of WIFI access the Internet
Network link is collectively constituted;Article 2 network share chain route the bluetooth chain that the first mobile terminal 21 and the second mobile terminal 22 are set up
The Bluetooth link that road, the second mobile terminal 22 and the 3rd mobile terminal 23 are set up, and the 3rd mobile terminal 23 is by WIFI visits
The network link for asking the Internet is collectively constituted.By this two network share links, the first mobile terminal 21 can be respectively
Share network data, make the first mobile terminal 21 that cannot get online be able to access that the Internet.
Specifically, refer to Fig. 2, Fig. 2 be the first mobile terminal provided in an embodiment of the present invention and the second mobile terminal it
Between interaction schematic flow sheet.As shown in Fig. 2 wherein, first mobile terminal is to receive the network that the second mobile terminal is shared
The terminal of data, first mobile terminal is connected with second mobile terminal by the Bluetooth link set up.By the bluetooth chain
Road, first mobile terminal can send network request to the second mobile terminal, and receive the net of the second mobile terminal return
Network asks corresponding network data.Second mobile terminal is to provide the terminal of network sharing, and second mobile terminal has company
Connect the network link of external network.The network link of the connection external network includes:The link of the outside WIFI network of connection;Or
Person, the blueteeth network and other mobile terminals set up with other mobile terminals by second mobile terminal is connected outside WIFI
The link of network composition.Wherein, the blueteeth network is that the lattice chain formed after bluetooth connection is set up between two mobile terminals
Road, can pass through the blueteeth network transmission data.
In the present embodiment, first mobile terminal and second mobile terminal may each comprise:Mobile phone, panel computer,
Music player, intelligent television etc..First mobile terminal and second mobile terminal are provided with Bluetooth function.
Refer to Fig. 3, Fig. 3 is a kind of method flow schematic diagram of network share provided in an embodiment of the present invention, the method
Performed by above-mentioned first mobile terminal, as shown in figure 3, the method includes:
Step 101, open Bluetooth function and broadcast link request data bag for finding network link;
First mobile terminal opens Bluetooth function, and peripherad equipment sends searching network by way of Bluetooth broadcast
The link request data bag of link, to be desirable to get the network data that other equipment is shared.The scope of the Bluetooth broadcast
By first mobile terminal, the Bluetooth function of itself is determined.
The confirmation bag that step 102, reception are returned according to the link request data bag;It is described to confirm to include and provide
The mark of the second mobile terminal of network link;
The confirmation bag is that the equipment around first mobile terminal is received after the packet of broadcast, the expression of return
The message of network link can be shared, the mark of second mobile terminal that can share network link is contained in the confirmation bag
Know.It should be noted that it can also be multiple mobile terminals that second mobile terminal can be a mobile terminal.When the first shifting
When dynamic terminal receives the mark comprising multiple second mobile terminals, one of them can be according to circumstances selected to set up connection,
For example, can be determined according to the power of the two transmission data signal, it is also possible to selected according to the distance of the two, here is not
Limit.
The network link includes the link of the outside WIFI network of the second mobile terminal connection;The network link also include by
Blueteeth network between second mobile terminal and other mobile terminals, and other outside WIFI nets of mobile terminal connection
The link of network composition.It should be noted that other mobile terminals can be that a mobile terminal, or multiple movements are whole
End, when being multiple mobile terminals, by bluetooth connection between multiple mobile terminals, builds blueteeth network.For example, the lattice chain
Lu Wei, by the blueteeth network between the second mobile terminal and the 3rd mobile terminal, the 3rd mobile terminal and the 4th mobile terminal it
Between blueteeth network, the link of the outside WIFI network composition of the 4th mobile terminal connection.
Step 103, according to it is described confirm bag, to second mobile terminal send Bluetooth connection request;
First mobile terminal is received after the confirmation bag, according to the mark of the second mobile terminal for confirming to be included in bag to the
Two mobile terminals send Bluetooth connection request.
The connection message that step 104, reception are returned according to the Bluetooth connection request, to set up with the described second movement eventually
The Bluetooth link at end;
Step 105, by the Bluetooth link to second mobile terminal send network request;
The network data that step 106, reception are returned according to the network request.
After first mobile terminal and the second mobile terminal bluetooth connection success, Bluetooth link is constructed therebetween, namely
It is to define blueteeth network, by the Bluetooth link, first mobile terminal can send network request to the second mobile terminal,
The network request is the request of the first mobile terminal accessing external network, is existed with hyperlink format based on http, the network
Reference address is contained in request, for example, the network request is the network address of a certain video website.Second mobile terminal receives this
The corresponding network data of the network request is obtained by external network after network request, and the network data for getting is returned on former road
Return.
In embodiments of the present invention, there is provided a kind of network share method, the method please by active broadcast network link
Asking can provide the equipment of network share whether to have around confirming, if having, with the equipment Bluetooth link be set up, by setting up
Bluetooth link send network request, and network data is obtained according to the Bluetooth link.The present embodiment can network
Equipment provides the network data that other equipment is shared, so as to solve the problems, such as that equipment can not access networking mutually.
Fig. 4 is refer to, Fig. 4 is a kind of method flow schematic diagram of network share that another embodiment of the present invention is provided, should
Method is performed by above-mentioned second mobile terminal, as shown in figure 4, the method includes:
The link request data bag of step 201, unlatching Bluetooth function and reception from the first mobile terminal;
The link request data bag is the packet for finding network link of the first mobile terminal broadcast.Perform we
Second mobile terminal of method can receive the packet after Bluetooth function is opened.
Step 202, according to the link request data bag, it is determined whether with connection external network network link;
Step 203, if so, then to first mobile terminal send comprising self identification confirmation bag;
After receiving link request data bag, second mobile terminal first determines whether whether itself has connection external network
Network link, if having to the first mobile terminal send comprising self identification confirmation bag, if not having, do not return message.
Wherein, the network link is the link of the outside WIFI network of connection;Or, by the blueteeth network set up with the 3rd mobile terminal with
And the link of the 3rd mobile terminal connection outside WIFI network composition.
Step 204, the Bluetooth connection request for receiving the first mobile terminal transmission;
The Bluetooth connection request is mark of first mobile terminal in above-mentioned confirmation bag, is sent to the second mobile terminal
Request.
Step 205, according to the Bluetooth connection request, set up the Bluetooth link with first mobile terminal, and to institute
State the first mobile terminal feedback link message;
By the connection message of the feedback, determine the first mobile terminal and set up Bluetooth link success therebetween, namely
It is to be successfully established blueteeth network, so that the first mobile terminal can be according to the blueteeth network transmission message.
The network request that step 206, reception first mobile terminal are sent by the Bluetooth link;
The network request is the request of the first mobile terminal accessing external network, and for example, the first mobile terminal wishes to obtain
Data of a certain website etc..
Step 207, the network request is sent to the external network by the network link;
Second mobile terminal is received after the network request of the first mobile terminal, according to self-contained network link, to
External network sends the network request, can directly send the network request by WIFI external networks, it is also possible to pass through
Network request is sent to the 3rd mobile terminal by blueteeth network, then should by the transmission of WIFI external networks by the 3rd mobile terminal
Network request.
The network data that step 208, the reception external network are returned according to the network request, and by the indigo plant
First mobile terminal described in tooth chain road direction sends the network data.
External network obtains corresponding network data according to network request, and former road sends back the network data, until
First mobile terminal receives the corresponding network data of the network request.
It should be noted that the first mobile terminal and the second mobile terminal pass through blueteeth network transmission data, and second
When mobile terminal and the 3rd mobile terminal pass through blueteeth network transmission data, two blueteeth networks use different transmitting-receiving frequencies,
To ensure, the second mobile terminal can just go out data is activation after data are received, and the second mobile terminal is reached to a certain extent
Receiving data and transmission data effect simultaneously.
In embodiments of the present invention, there is provided a kind of network share method, the method is according to self-contained network link
Situation, returns network link and asks corresponding confirmation message to the first mobile terminal, so as to set up and the first mobile terminal
Between Bluetooth link, according to the Bluetooth link, receive network request and simultaneously return the corresponding network data of the network request, so as to
Solve the problems, such as that the first mobile terminal be cannot get online, improve the Consumer's Experience of the first mobile phone users.
In certain embodiments, the difference part of a kind of network share method, the method and above-described embodiment is additionally provided
It is that the method also includes:The bandwidth of the first mobile terminal transmission data is set.
When second mobile terminal provides network share for multiple mobile terminals simultaneously, it is necessary to which the first movement end was set
The bandwidth of end transmission data, can be effective between the mobile terminal of network so as to ensure that the second mobile terminal can be shared with each
Transmission data, rather than occur in which some or certain several situations about waiting always, the network is ensure that on the whole
The bandwidth resource allocation of shared system is balanced, improves the practicality of system.
In certain embodiments, the difference part of a kind of network share method, the method and above-described embodiment is additionally provided
It is that the method also includes:Monitor the network request that first mobile terminal sends;It is non-when the network request is listened to
During method access request, interrupt the operation that the network request is sent to the external network.
In this embodiment, the second mobile terminal is monitored the network request of the first mobile terminal, to determine
Whether the network request is legal, if illegal, interrupts the transmission of the network request, prevents the first mobile terminal from getting
The corresponding network data of the network request, now, the first mobile terminal can receive an access errors or access non-existent
Remind.Wherein, the whether legal key word that can be in request of network request is judged whether comprising sensitive word judging, specifically
Be described in the related, here is not limited.
By the way so that the network share method is safer during transmission data, it is ensured that network share
Process is effectively carried out.
Fig. 5 is refer to, Fig. 5 is a kind of structural representation of network sharing device provided in an embodiment of the present invention.Such as Fig. 5 institutes
Show, the device 30 includes:Broadcast module 31, the first receiver module 32, the first sending module 33, the first link block 34, second
The receiver module 36 of sending module 35 and second.
Wherein, broadcast module 31, for opening Bluetooth function and broadcasting link request for finding network link
Packet.First receiver module 32, for receiving the confirmation bag returned according to the link request data bag;It is described to confirm bag
Mark comprising the second mobile terminal that can provide network link.First sending module 33, for confirming bag according to described,
Bluetooth connection request is sent to second mobile terminal.First link block 34, for receiving according to the bluetooth connection
The connection message that request is returned, to set up the Bluetooth link with second mobile terminal.Second sending module 35, for leading to
Cross the Bluetooth link and send network request to second mobile terminal.Second receiver module 36, for receiving according to institute
State the network data of network request return.
Wherein, the network link is:The link of the second mobile terminal connection outside WIFI network;Or, by institute
State the outside WIFI of blueteeth network and the 3rd mobile terminal connection between the second mobile terminal and the 3rd mobile terminal
The link of network composition.
What deserves to be explained is, the content such as the information exchange between module, implementation procedure in said apparatus, due to this
Bright embodiment of the method is based on same design, and particular content can be found in the narration in the inventive method embodiment, no longer go to live in the household of one's in-laws on getting married herein
State.
In embodiments of the present invention, there is provided a kind of network sharing device, the device please by active broadcast network link
Asking can provide the equipment of network share whether to have around confirming, if having, with the equipment Bluetooth link be set up, by setting up
Bluetooth link send network request, and network data is obtained according to the Bluetooth link.The present embodiment can network
Equipment provides the network data that other equipment is shared, so as to solve the problems, such as that equipment can not access networking mutually.
Fig. 6 is refer to, Fig. 6 is a kind of structural representation of network sharing device that another embodiment of the present invention is provided.Such as
Shown in Fig. 6, the device 40 includes:3rd receiver module 41, determining module 42, the 3rd sending module 43, the 4th receive mould 44, the
Two connection modes 45, the 5th receiver module 46, the 4th sending module 47 and processing module 48.
Wherein, the 3rd receiver module 41, for open Bluetooth function and receive from the first mobile terminal link please
Seek packet.Determining module 42, for according to the link request data bag, it is determined whether the net with connection external network
Network link.3rd sending module 43, for if so, then to first mobile terminal confirmation of the transmission comprising self identification
Bag.4th receiver module 44, for receiving the Bluetooth connection request that first mobile terminal sends.Second link block
45, for according to the Bluetooth connection request, setting up the Bluetooth link with first mobile terminal, and to the described first movement
Terminal feedback connection message.5th receiver module 46, is sent out for receiving first mobile terminal by the Bluetooth link
The network request for sending.4th sending module 47, for sending the network to the external network by the network link
Request.The processing module 48, for receiving the network data that the external network is returned according to the network request, and passes through
The Bluetooth link to first mobile terminal sends the network data.
Wherein, the network link is:The link of the outside WIFI network of connection;Or, by with the 3rd mobile terminal set up
Blueteeth network and the outside WIFI network composition of the 3rd mobile terminal connection link.
In some alternative embodiments of the present invention, described device also includes:Setup module, moves for arranging described first
The bandwidth of dynamic terminal transmission data.Can between the mobile terminal of network so as to ensure that the second mobile terminal can be shared with each
Effective transmission data, rather than some or certain several situations about waiting always are occurred in which, this is ensure that on the whole
The bandwidth resource allocation of network share system is balanced, improves the practicality of system.
In some alternative embodiments of the present invention, described device also includes:Module is monitored, is moved for monitoring described first
The network request that dynamic terminal sends;Interrupt module, for when listening to the network request and asking for unauthorized access, interrupt to
The external network sends the operation of the network request.So that the network share method during transmission data more
Safety, it is ensured that network share process is effectively carried out.
What deserves to be explained is, the content such as the information exchange between module, implementation procedure in said apparatus, due to this
Bright embodiment of the method is based on same design, and particular content can be found in the narration in the inventive method embodiment, no longer go to live in the household of one's in-laws on getting married herein
State.
In embodiments of the present invention, there is provided a kind of network sharing device, the device is according to self-contained network link
Situation, to returning the corresponding confirmation message of the first mobile terminal network link request, so as to set up and the first mobile terminal
Between Bluetooth link, according to the Bluetooth link, receive network request and simultaneously return the corresponding network data of the network request, so as to
Solve the problems, such as that the first mobile terminal be cannot get online, improve the Consumer's Experience of the first mobile phone users.
Fig. 7 is refer to, Fig. 7 is the hardware architecture diagram of a kind of electronic equipment provided in an embodiment of the present invention.The electronics
Equipment is used to perform network share method as above.As shown in fig. 7, the equipment 50 includes:One or more processors 51,
Memorizer 52 and bluetooth module 53, in Fig. 7 by taking a processor 51 as an example.
Processor 51, memorizer 52 and bluetooth module 53 can be connected by bus or other modes, with logical in Fig. 7
As a example by crossing bus connection.
Memorizer 52 can be used to store non-volatile software journey as a kind of non-volatile computer readable storage medium storing program for executing
Sequence, non-volatile computer executable program and module, the corresponding program of network share method such as in the embodiment of the present invention
Instruction/module (broadcast module 31 for example, shown in accompanying drawing 5, the first receiver module 32, the first sending module 33, the first connection mode
Block 34, the second sending module 35 and the second receiver module 36).Processor 51 is stored in non-easy in memorizer 52 by operation
The property lost software program, instruction and module, the various function application and data processing so as to execute server, that is, realize above-mentioned
Embodiment of the method network share method.
Memorizer 52 can include storing program area and storage data field, wherein, storing program area can storage program area,
Application program required at least one function;Storage data field can be stored and use created number according to network sharing device
According to etc..Additionally, memorizer 52 can include high-speed random access memory, nonvolatile memory can also be included, for example extremely
Few disk memory, flush memory device or other non-volatile solid state memory parts.In certain embodiments, memorizer
52 is optional including relative to the remotely located memorizer of processor 51, and these remote memories can be by network connection to network
Sharing means.The example of above-mentioned network includes but is not limited to the Internet, intranet, LAN, mobile radio communication and its group
Close.
One or more of module stores in the memorizer 52, when by one or more of processors 51
During execution, the network share method in said method embodiment is performed.
The method that the executable embodiment of the present invention of the said goods is provided, possesses the corresponding functional module of execution method and has
Beneficial effect.Ins and outs of detailed description in the present embodiment, not can be found in the method that the embodiment of the present invention is provided.
Fig. 8 is refer to, Fig. 8 is the hardware architecture diagram of a kind of electronic equipment that another embodiment of the present invention is provided.Should
Electronic equipment is used to perform network share method as above.As shown in figure 8, the equipment 60 includes:One or more process
Device 61, memorizer 62 and bluetooth module 63, in Fig. 8 by taking a processor 61 as an example.
In certain embodiments, the electronic equipment also includes WIFI module 64.
The electronic equipment can be connected to access external network by bluetooth module 63 with other electronic equipments, it is also possible to straight
Connect the WIFI module 64 and access external network.
Processor 61, memorizer 62, bluetooth module 63 and WIFI module 64 can be connected by bus or other modes
Connect, in Fig. 8 as a example by being connected by bus.
Memorizer 62 can be used to store non-volatile software journey as a kind of non-volatile computer readable storage medium storing program for executing
Sequence, non-volatile computer executable program and module, the corresponding program of network share method such as in the embodiment of the present invention
(the 3rd receiver module 41 for example, shown in accompanying drawing 6, determining module 42, the 3rd sending module the 43, the 4th receive mould to instruction/module
44th, the second connection mode 45, the 5th receiver module 46, the 4th sending module 47 and processing module 48).Processor 61 is by operation
Non-volatile software program in memorizer 62, instruction and module are stored in, so as to the various function application of execute server
And data processing, that is, realize said method embodiment network share method.
Memorizer 62 can include storing program area and storage data field, wherein, storing program area can storage program area,
Application program required at least one function;Storage data field can be stored and use created number according to network sharing device
According to etc..Additionally, memorizer 62 can include high-speed random access memory, nonvolatile memory can also be included, for example extremely
Few disk memory, flush memory device or other non-volatile solid state memory parts.In certain embodiments, memorizer
62 is optional including relative to the remotely located memorizer of processor 61, and these remote memories can be by network connection to network
Sharing means.The example of above-mentioned network includes but is not limited to the Internet, intranet, LAN, mobile radio communication and its group
Close.
One or more of module stores in the memorizer 62, when by one or more of processors 61
During execution, the network share method in said method embodiment is performed.
The method that the executable embodiment of the present invention of the said goods is provided, possesses the corresponding functional module of execution method and has
Beneficial effect.Ins and outs of detailed description in the present embodiment, not can be found in the method that the embodiment of the present invention is provided.
Professional should further appreciate that, with reference to each example of the embodiments described herein description
Unit and algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, it is hard in order to clearly demonstrate
The interchangeability of part and software, according to function has generally described the composition and step of each example in the above description.
These functions are performed with hardware or software mode actually, depending on the application-specific and design constraint of technical scheme.
Professional and technical personnel can use different methods to realize described function to each specific application, but this realization
It is not considered that beyond the scope of this invention.Described computer software can be stored in computer read/write memory medium, the journey
Sequence is upon execution, it may include such as the flow process of the embodiment of above-mentioned each method.Wherein, described storage medium can for magnetic disc, CD,
Read-only memory or random access memory etc..
Embodiments of the present invention are the foregoing is only, the scope of the claims of the present invention is not thereby limited, it is every using this
Equivalent structure or equivalent flow conversion that description of the invention and accompanying drawing content are made, or directly or indirectly it is used in other correlations
Technical field, is included within the scope of the present invention.
Claims (12)
1. a kind of network share method, it is characterised in that include:
Open Bluetooth function and broadcast link request data bag for finding network link;
Receive the confirmation bag returned according to the link request data bag;It is described to confirm bag comprising the of network link provided
The mark of two mobile terminals;
Confirm bag according to described, to second mobile terminal Bluetooth connection request is sent;
The connection message returned according to the Bluetooth connection request is received, to set up the bluetooth chain with second mobile terminal
Road;
Network request is sent to second mobile terminal by the Bluetooth link;
Receive the network data returned according to the network request.
2. method according to claim 1, it is characterised in that the network link is:
The link of the second mobile terminal connection outside WIFI network;Or,
Connected by the blueteeth network between second mobile terminal and the 3rd mobile terminal and the 3rd mobile terminal
The link of outside WIFI network composition.
3. a kind of network share method, it is characterised in that include:
Open Bluetooth function and reception from the first mobile terminal link request data bag;
According to the link request data bag, it is determined whether the network link with connection external network;
If so, then to first mobile terminal confirmation bag of the transmission comprising self identification;
Receive the Bluetooth connection request that first mobile terminal sends;
According to the Bluetooth connection request, the Bluetooth link with first mobile terminal is set up, and it is whole to the described first movement
End feedback link message;
Receive the network request that first mobile terminal is sent by the Bluetooth link;
The network request is sent to the external network by the network link;
Receive the network data that the external network is returned according to the network request, and by the Bluetooth link to described
First mobile terminal sends the network data.
4. method according to claim 3, it is characterised in that the network link is:
The link of the outside WIFI network of connection;Or,
It is connected what outside WIFI network was constituted by the blueteeth network and the 3rd mobile terminal set up with the 3rd mobile terminal
Link.
5. the method according to claim 3 or 4, it is characterised in that it is described by the network link to the extranets
Network is sent after the network request, and methods described also includes:
The bandwidth of the first mobile terminal transmission data is set.
6. method according to claim 3, it is characterised in that the reception first mobile terminal is by the bluetooth
After the network request that link sends, methods described also includes:
Monitor the network request that first mobile terminal sends;
When listening to the network request and asking for unauthorized access, interrupt to the external network and send the network request
Operation.
7. a kind of network sharing device, it is characterised in that include:
Broadcast module, for opening Bluetooth function and broadcasting link request data bag for finding network link;
First receiver module, for receiving the confirmation bag returned according to the link request data bag;It is described to confirm that bag includes energy
The mark of the second mobile terminal of network link is enough provided;
First sending module, for confirming bag according to described, to second mobile terminal Bluetooth connection request is sent;
First link block, for receiving the connection message returned according to the Bluetooth connection request, to set up and described second
The Bluetooth link of mobile terminal;
Second sending module, for sending network request to second mobile terminal by the Bluetooth link;
Second receiver module, for receiving the network data returned according to the network request.
8. device according to claim 7, it is characterised in that the network link is:
The link of the second mobile terminal connection outside WIFI network;Or,
Connected by the blueteeth network between second mobile terminal and the 3rd mobile terminal and the 3rd mobile terminal
The link of outside WIFI network composition.
9. a kind of network sharing device, it is characterised in that include:
3rd receiver module, for open Bluetooth function and receive from the first mobile terminal link request data bag;
Determining module, for according to the link request data bag, it is determined whether the network link with connection external network;
3rd sending module, for if so, then to first mobile terminal confirmation bag of the transmission comprising self identification;
4th receiver module, for receiving the Bluetooth connection request that first mobile terminal sends;
Second link block, for according to the Bluetooth connection request, setting up the Bluetooth link with first mobile terminal, and
To the first mobile terminal feedback link message;
5th receiver module, for receiving the network request that first mobile terminal is sent by the Bluetooth link;
4th sending module, for sending the network request to the external network by the network link;
Processing module, for receiving the network data that the external network is returned according to the network request, and by described
Bluetooth link to first mobile terminal sends the network data.
10. device according to claim 9, it is characterised in that the network link is:
The link of the outside WIFI network of connection;Or,
It is connected what outside WIFI network was constituted by the blueteeth network and the 3rd mobile terminal set up with the 3rd mobile terminal
Link.
11. devices according to claim 9 or 10, it is characterised in that described device also includes:
Setup module, for arranging the bandwidth of the first mobile terminal transmission data.
12. devices according to claim 9, it is characterised in that described device also includes:
Module is monitored, for monitoring the network request that first mobile terminal sends;
Interrupt module, for when listening to the network request and asking for unauthorized access, interrupting and being sent to the external network
The operation of the network request.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611153473.0A CN106686525A (en) | 2016-12-14 | 2016-12-14 | Network sharing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611153473.0A CN106686525A (en) | 2016-12-14 | 2016-12-14 | Network sharing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106686525A true CN106686525A (en) | 2017-05-17 |
Family
ID=58869581
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611153473.0A Pending CN106686525A (en) | 2016-12-14 | 2016-12-14 | Network sharing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106686525A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109041261A (en) * | 2018-08-13 | 2018-12-18 | 珠海格力电器股份有限公司 | Equipment access method, device and network equipment |
CN112653878A (en) * | 2020-12-19 | 2021-04-13 | 李燕玲 | Smart community monitoring method based on big data technology |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130003660A1 (en) * | 2006-07-25 | 2013-01-03 | Huawei Technologies Co., Ltd. | Method, apparatus and system for information transmission |
CN104052682A (en) * | 2013-03-13 | 2014-09-17 | 华为终端有限公司 | Network access method, device and system |
CN105025430A (en) * | 2014-04-23 | 2015-11-04 | 中国科学院深圳先进技术研究院 | Network sharing method and system |
CN105025551A (en) * | 2014-04-23 | 2015-11-04 | 中国科学院深圳先进技术研究院 | Wireless network transmission range expansion method and system |
-
2016
- 2016-12-14 CN CN201611153473.0A patent/CN106686525A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130003660A1 (en) * | 2006-07-25 | 2013-01-03 | Huawei Technologies Co., Ltd. | Method, apparatus and system for information transmission |
CN104052682A (en) * | 2013-03-13 | 2014-09-17 | 华为终端有限公司 | Network access method, device and system |
CN105025430A (en) * | 2014-04-23 | 2015-11-04 | 中国科学院深圳先进技术研究院 | Network sharing method and system |
CN105025551A (en) * | 2014-04-23 | 2015-11-04 | 中国科学院深圳先进技术研究院 | Wireless network transmission range expansion method and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109041261A (en) * | 2018-08-13 | 2018-12-18 | 珠海格力电器股份有限公司 | Equipment access method, device and network equipment |
CN109041261B (en) * | 2018-08-13 | 2021-01-15 | 珠海格力电器股份有限公司 | Equipment access method, device and network equipment |
CN112653878A (en) * | 2020-12-19 | 2021-04-13 | 李燕玲 | Smart community monitoring method based on big data technology |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10492048B2 (en) | Service layer resource propagation across domains | |
CN106844137A (en) | The monitoring method and device of server | |
CN109395372A (en) | Realize method, system and the electronic equipment of game paddle remote control computer game | |
CN104243210A (en) | Method and system for remotely having access to administrative web pages of routers | |
US20220150990A1 (en) | Device binding method and apparatus, and electronic device | |
CN108512821A (en) | Data transmission method, device and system and gateway and transaction data storage method | |
CN109088799A (en) | A kind of user end inserting method, device, terminal and storage medium | |
CN104904241A (en) | Systems, methods and articles for providing communications and services involving automobile head units | |
CN107182053B (en) | It is a kind of for connecting the method and apparatus of hiding wireless access point | |
CN108293023A (en) | The system and method for the content requests of the context-aware in network centered on support information | |
CN107948193A (en) | Suitable for the vehicle shared server means of communication of multiple terminals type access | |
CN104903863A (en) | Inversion-of-control component service models for virtual environments | |
CN110177010B (en) | Link switching method and device | |
US20230300209A1 (en) | Cross-domain discovery between service layer systems and web of things systems | |
CN103685426A (en) | An information processing method and an information processing apparatus used for an electronic device | |
CN106686525A (en) | Network sharing method and device | |
CN104219336B (en) | Realize the method for data cube computation, Apparatus and system | |
CN109890024B (en) | Method and equipment for determining rescue group information | |
CN103916331A (en) | Connection method for analyzing data packet to select connection path | |
CN110430478B (en) | Networking communication method, device, terminal equipment and storage medium | |
US20130124715A1 (en) | Applet synchronization across multiple routers | |
CN110191203A (en) | Realize the method and electronic equipment of server dynamic access | |
Cai et al. | Physical control framework and protocol design for cyber-physical control system | |
CN105103523B (en) | The transmission of high efficiency socket | |
CN108990039A (en) | Data transmission method and relevant apparatus |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170517 |
|
RJ01 | Rejection of invention patent application after publication |