CN108391281A - A kind of bridging method of wireless network, terminal device and storage medium - Google Patents

A kind of bridging method of wireless network, terminal device and storage medium Download PDF

Info

Publication number
CN108391281A
CN108391281A CN201810114228.1A CN201810114228A CN108391281A CN 108391281 A CN108391281 A CN 108391281A CN 201810114228 A CN201810114228 A CN 201810114228A CN 108391281 A CN108391281 A CN 108391281A
Authority
CN
China
Prior art keywords
wireless network
terminal device
network
state
bridging
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810114228.1A
Other languages
Chinese (zh)
Other versions
CN108391281B (en
Inventor
候祥
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201810114228.1A priority Critical patent/CN108391281B/en
Publication of CN108391281A publication Critical patent/CN108391281A/en
Application granted granted Critical
Publication of CN108391281B publication Critical patent/CN108391281B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/14Backbone network devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/16Gateway arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/02Inter-networking arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The application is suitable for radio network technique field, provides a kind of bridging method of wireless network, terminal device and storage medium, including:When detecting terminal device connection above wireless network, obtain the network state of the wireless network currently connected, if the network state of the wireless network is preset network state, then the bridging functionality of the terminal device is positioned to allow for operating, in the state that the bridging functionality of the terminal device is to allow operation, if detecting, user opens the bridging functionality, hot spot is then created by the wireless network that the terminal device currently connects, the stability that the wireless network of bridge joint is improved by the application improves the Experience Degree of user.

Description

A kind of bridging method of wireless network, terminal device and storage medium
Technical field
The application belong to radio network technique field more particularly to a kind of bridging method of wireless network, terminal device and Storage medium.
Background technology
With the development of information technology, the application of terminal device is more and more extensive, and terminal device can be wireless by connecting Network is surfed the Internet, to realize the functions such as shopping, consumption, Query Information.WLAN become compare mainstream network access it One.
Currently, providing the function of " wireless network bridge joint " in some terminal devices, the function of wireless network bridge joint refers to Terminal device shares to it after being connected to wireless network, by the wireless network currently connected by way of creating personal hot spot Its terminal device.However, the mode that this wireless network bridges at present is surfed the Internet, stability is poor, and user experience is bad.
Invention content
In view of this, the embodiment of the present application provides a kind of bridging method of wireless network, terminal device and storage medium, Stability of being surfed the Internet in a manner of solving the problems, such as current wireless network bridge joint is poor.
The first aspect of the embodiment of the present application provides a kind of bridging method of wireless network, including:
When detecting terminal device connection above wireless network, the network state of the wireless network currently connected is obtained;
If the network state of the wireless network is preset network state, the bridging functionality of the terminal device is set Being set to allows to operate;
In the state that the bridging functionality of the terminal device is to allow operation, if detecting, user opens the bridge joint work( Can, then hot spot is created by the wireless network that the terminal device currently connects.
The second aspect of the embodiment of the present application provides a kind of terminal device, including:
Acquisition module, for when detecting terminal device connection above wireless network, obtaining the wireless network currently connected Network state;
First processing module, if the network state for the wireless network is preset network state, by the end The bridging functionality of end equipment is positioned to allow for operating;
Hot spot creation module, in the state of for allowing operation in the bridging functionality of the terminal device, if detecting User opens the bridging functionality, then creates hot spot by the wireless network that the terminal device currently connects.
The third aspect of the embodiment of the present application provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer program that can run on the processor, when the processor executes the computer program The step of realizing the method that the embodiment of the present application first aspect provides.
The fourth aspect of the embodiment of the present application provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, the computer program to realize the embodiment of the present application when being executed by one or more processors On the one hand the step of the method provided.
5th aspect of the embodiment of the present application provides a kind of computer program product, and the computer program product includes Computer program, the computer program realize that the embodiment of the present application first aspect provides when being executed by one or more processors The method the step of.
The embodiment of the present application obtains the wireless network currently connected when detecting terminal device connection above wireless network Network state, if the network state of the wireless network is preset network state, by the bridging functionality of the terminal device It is positioned to allow for operating, in the state that the bridging functionality of the terminal device is to allow operation, if detecting, user opens institute Bridging functionality is stated, then hot spot is created by the wireless network that the terminal device currently connects, due to being provided with only current When the network state of the wireless network of connection is preset network state, it can just allow to create hot spot by the wireless network, this Sample avoids after creating hot spot by the wireless network for not meeting default network state, and other terminal devices have been successfully connected this Hot spot however, other terminal devices are low by the wireless network online efficiency of bridge joint, or even be cannot get online, and it is invalid to cause Wireless network bridges, and the Experience Degree of user is also bad, and the stability of the wireless network of bridge joint can be improved by this method, is improved The Experience Degree of user.
Description of the drawings
It in order to more clearly explain the technical solutions in the embodiments of the present application, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only some of the application Embodiment for those of ordinary skill in the art without having to pay creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation process schematic diagram of the bridging method for wireless network that one embodiment of the application provides;
Fig. 2 is a kind of implementation process schematic diagram of the bridging method for wireless network that the another embodiment of the application provides;
Fig. 3 is the schematic block diagram for the terminal device that one embodiment of the application provides;
Fig. 4 is the schematic block diagram for the terminal device that the another embodiment of the application provides.
Specific implementation mode
In being described below, for illustration and not for limitation, it is proposed that such as tool of particular system structure, technology etc Body details, so as to provide a thorough understanding of the present application embodiment.However, it will be clear to one skilled in the art that there is no these specific The application can also be realized in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, so as not to obscure the description of the present application with unnecessary details.
It should be appreciated that ought use in this specification and in the appended claims, the instruction of term " comprising " is described special Sign, entirety, step, operation, the presence of element and/or component, but be not precluded one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition gathered.
It is also understood that the term used in this present specification is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the application.As present specification and it is used in the attached claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and the appended claims is Refer to any combinations and all possible combinations of one or more of associated item listed, and includes these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determination " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical solution described herein, illustrated below by specific embodiment.
Fig. 1 is the implementation process schematic diagram of the bridging method for the wireless network that one embodiment of the application provides, as shown in the figure This method may comprise steps of:
Step S101 obtains the net of the wireless network currently connected when detecting terminal device connection above wireless network Network state.
In the embodiment of the present application, the wireless network can be the network access for not connecting Wireline offer, example Such as, WLAN, GPRS surfing Internets with cell phone etc..When terminal device connects upper Wi-Fi, it can first determine that the terminal is current The communication port used also establishes communication connection for example, mobile phone opens GPRS services on net simultaneously with WLAN, But since the priority for being usually provided with WLAN in mobile phone is higher than the GPRS services on net, so, mobile phone is current The communication port used is WLAN, it is necessary to the network state of WLAN currently connected is obtained, it specifically can be with By the server of the WLAN access preset currently connected, and obtains and access as a result, for example, nothing by currently connecting Line LAN accesses a pre-set network address, and obtains the access result of this time.In practical application, it can also obtain current The network speed of the wireless network of connection.
As another embodiment of the application, the wireless network is WLAN.
Step S102, if the network state of the wireless network is preset network state, by the terminal device Bridging functionality is positioned to allow for operating.
In the embodiment of the present application, if by the preset server of the wireless network access currently connected, and access is obtained As a result as the mode for obtaining the network state of wireless network currently connected, if correspondingly, the then network of the wireless network State is that preset network state is:If the access result is to access successfully, if the network state of the wireless network is not Preset network state is:If the access result is to access to fail;If obtaining the network state of the wireless network currently connected For:The network speed for obtaining the wireless network currently connected, if correspondingly, then the network state of the wireless network is preset Network state is:If the network speed of the wireless network currently connected is more than network speed threshold value, if the wireless network is network-like State is not that preset network state is:If the network speed of the wireless network currently connected is less than or equal to network speed threshold value.It is described Network speed threshold value can be it is arbitrarily large in or equal to 0 value.In other words, the network state of wireless network currently connected is obtained also Be obtain the wireless network currently connected whether can surf the Internet or how is network speed.When on the wireless network energy currently connected When net or network speed are more than network speed threshold value, just allow the wireless network currently connected creating hot spot, i.e., by the terminal device Bridging functionality be positioned to allow for operating, can for example, operable state can be set the button bridged in visualization interface to Operation indicates to allow to open also to allow to close.
When the network speed threshold value is numerical value more than 0, be in order to ensure that current terminal device can normally surf the Internet, For example, the setting of the network speed threshold value can be the value that can ensure the terminal device and can normally surf the Internet.When current connection Network speed it is very low when, even if being surfed the Internet by the hot spot of establishment by terminal device, then the efficiency surfed the Internet may be very It is low.In practical application, it can also can be connected by the hot spot of establishment according to the network speed setting of the wireless network currently connected Other terminal devices number.Other terminal devices are the terminal device except the terminal device for creating hot spot.When connection institute When stating the number of other terminal devices of hot spot more than number threshold value, other terminal devices is forbidden to connect the hot spot.
Step S103, in the state that the bridging functionality of the terminal device is to allow operation, if detecting, user opens The bridging functionality then creates hot spot by the wireless network that the terminal device currently connects.
In the embodiment of the present application, if the bridging functionality of the terminal device is to allow to operate, user can be by can Bridging functionality is opened depending on changing interface, if detecting, user opens the bridging functionality, can be worked as by the terminal device The wireless network of preceding connection creates hot spot.Meanwhile user can also be closed bridging functionality by visualization interface, if detecting User closes the bridging functionality, then can close the hot spot currently created.Other terminal devices can be built with the hot spot of establishment Vertical communication connection, to be surfed the Internet by the wireless network.
It is preset network state in the network state of the wireless network currently connected that the embodiment of the present application, which is provided with only, When, it can just allow to create hot spot by the wireless network, in this way, avoiding the wireless network by not meeting default network state After creating hot spot, other terminal devices have been successfully connected the hot spot, however, the wireless network that other terminal devices pass through bridge joint Efficiency of surfing the Internet is low, or even cannot get online, and causes invalid wireless network to bridge, the Experience Degree of user is also bad.
Fig. 2 is the flow diagram of the bridging method for the wireless network that the another embodiment of the application provides, and as shown in the figure should Method may comprise steps of:
Step S201 passes through the wireless network access currently connected when detecting terminal device connection above wireless network Preset server, and obtain access result.
In the embodiment of the present application, the preset server can be the pre-set network address of user, such as: http://www.*****.com.If the network address can be logged in, successfully accessed as a result, the net can not be logged in if generating access Location then generates the access for accessing failure as a result, in order to avoid because of the wireless network that network address is not present and reality is caused currently to connect Network can surf the Internet, but generate the access for accessing failure as a result, so user can be by the number of site logged in when can surf the Internet Homepage is set as preset server.Certainly, following situations can also be avoided by the server of actual access preset:Although In the network state detected network speed be more than network speed threshold value, however, due to setting or and other reasons can not also surf the Internet.
The bridging functionality of the terminal device is set as fair by step S202 if the access result is to access successfully Perhaps it operates.
Step S203, in the state that the bridging functionality of the terminal device is to allow operation, at predetermined intervals Detect the network state for the wireless network that the terminal device currently connects.
In the embodiment of the present application, no matter described in the state that the bridging functionality of the terminal device is to allow operation Whether the bridging functionality of terminal device is opened, if creates hot spot by the wireless network currently connected, is required to preset The network state for the wireless network that terminal device described in interval detection currently connects, this avoid:If newly connection is wireless When network, wireless network is available, then is positioned to allow for operating by bridging functionality, however, after certain time, the wireless network When the network state on road is not preset network state, bridging functionality is still the state for allowing operation, even if user is by working as The wireless network of preceding connection creates hot spot, and the user for the other terminal devices that may be surfed the Internet by the hot spot can not also obtain Obtain good online experience.
So in the state that the bridging functionality of the terminal device is to allow operation, still set in the monitoring terminal The network state of the standby wireless network currently connected.
Step S204, if it is non-default network-like to detect that wireless network that the terminal device currently connects is switched to The bridging functionality then is set as disabling by state.
In the embodiment of the present application, the non-default network state is network-like except the preset network state State, for example, the access failure (state except accessing successfully) of the example above, can also be that the network speed of the example above is less than Or (it is more than except network speed threshold value) equal to network speed threshold value.The bridging functionality is disabled, can be by the visualization interface In bridge joint button be set as grey, the state that user can not operate, i.e. user can not open the bridging functionality.
The bridging functionality of the terminal device is set as prohibiting by step S205 if the access result is to access to fail With.
In the embodiment of the present application, when detecting terminal device connection above wireless network, the network currently connected is obtained State is not just preset network state, then is set as disabling by the bridging functionality of the terminal device.
Step S206 is detected at predetermined intervals in the state that the bridging functionality of the terminal device is disabling The network state for the wireless network that the terminal device currently connects.
Step S207, if detecting, the wireless network that the terminal device currently connects is switched to preset network state, Then the bridging functionality is positioned to allow for operating.
In the embodiment of the present application, in the state that the bridging functionality of the terminal device disables, it is also desirable to preset The network state for the wireless network that terminal device described in interval detection currently connects, in order to the wireless network currently connected Network state when being switched to preset network state, in time bridging functionality is positioned to allow for operating, user can be by can Bridge joint button depending on changing interface creates hot spot.
Step S208, when detecting that the terminal device is disconnected with the wireless network, by the bridging functionality It is set as disabling.
It as the another embodiment of the application, can also be arranged when being only used as Internet channel by WLAN, just create Hot spot cannot create hot spot, this is because usual mobile data network when using other networks (for example, mobile data network) Network is that user needs the network used of paying, if in the case where mobile data network is current Internet channel, passes through mobile data Network creation hot spot is used for other-end equipment, due to being unable to control the browsing content of other-end equipment, may be will produce A large amount of expense.Therefore, can be arranged when detecting that the terminal device is disconnected with the wireless network, by the bridge Connection function is set as disabling.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present application constitutes any limit It is fixed.
Fig. 3 is that the schematic block diagram for the terminal device that one embodiment of the application provides only is shown and this Shen for convenience of description It please the relevant part of embodiment.
The terminal device 3 can be the software unit being built in the existing terminal device such as mobile phone, notebook, hard Part unit or the unit of soft or hard combination can also be used as independent pendant and be integrated into the existing such as mobile phone, notebook In equal terminal devices, it is also used as independent terminal device and exists.
The terminal device 3 includes:
Acquisition module 31, for when detecting terminal device connection above wireless network, obtaining the wireless network currently connected The network state of network;
First processing module 32 will be described if the network state for the wireless network is preset network state The bridging functionality of terminal device is positioned to allow for operating;
Hot spot creation module 33, in the state of for allowing operation in the bridging functionality of the terminal device, if detection The bridging functionality is opened to user, then hot spot is created by the wireless network that the terminal device currently connects.
Optionally, the terminal device 3 further includes:
First disabled module 34, for after the network state of wireless network that detection currently connects, if described wireless The network state of network is not preset network state, then is set as disabling by the bridging functionality of the terminal device.
Optionally, the terminal device 3 further includes:
First detection module 35, in the state of for allowing operation in the bridging functionality of the terminal device, with default Interval detection described in the network state of wireless network that currently connects of terminal device;
Second disabled module 36, if for detecting that it is non-default that wireless network that the terminal device currently connects is switched to Network state, then the bridging functionality is set as disabling;
Optionally, the terminal device 3 further includes:
Second detection module 37, for the bridging functionality of the terminal device be disabling in the state of, with it is preset when Between interval detect the network state of the wireless network that the terminal device currently connects;
Second processing module 38, if for detecting that it is preset that wireless network that the terminal device currently connects is switched to The bridging functionality then is positioned to allow for operating by network state.
Optionally, the terminal device 3 further includes:
Third disabled module 39, for when detecting that the terminal device and the wireless network disconnect, by institute Bridging functionality is stated to be set as disabling.
Optionally, the acquisition module 31 is additionally operable to:
By the preset server of the wireless network access currently connected, and obtain access result;
Correspondingly, the first processing module 32 is additionally operable to:
If the access result is to access successfully, the bridging functionality of the terminal device is positioned to allow for operating.
Optionally, the acquisition module 31 is additionally operable to:
Obtain the network speed of the wireless network currently connected;
Correspondingly, the first processing module 32 is additionally operable to:
If the network speed of the wireless network currently connected is more than network speed threshold value, by the bridging functionality of the terminal device It is positioned to allow for operating.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of the terminal device are divided into different functional units or module, to complete All or part of function described above.Each functional unit, module in embodiment can be integrated in a processing unit, Can also be that each unit physically exists alone, can also be during two or more units be integrated in one unit, above-mentioned collection At unit both may be used hardware form realize, can also be realized in the form of SFU software functional unit.In addition, each function Unit, module specific name also only to facilitate mutually distinguish, the protection domain being not intended to limit this application.Above-mentioned dress Set middle unit, module specific work process, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Fig. 4 is the schematic block diagram for the terminal device that the another embodiment of the application provides.As shown in figure 4, the end of the embodiment End equipment 4 includes:It one or more processors 40, memory 41 and is stored in the memory 41 and can be in the processing The computer program 42 run on device 40.The processor 40 realizes above-mentioned each wireless network when executing the computer program 42 Step in the bridging method embodiment of network, such as step S101 to S103 shown in FIG. 1.Alternatively, the processor 40 executes The function of each module/unit in above-mentioned terminal device embodiment, such as module 31 shown in Fig. 3 are realized when the computer program 42 To 33 function.
Illustratively, the computer program 42 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 41, and are executed by the processor 40, to complete the application.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 42 in the terminal device 4 is described.For example, the computer program 42 can be divided It is cut into acquisition module, first processing module, hot spot creation module.
The acquisition module, for when detecting terminal device connection above wireless network, acquisition currently to connect wireless The network state of network;
The first processing module, if the network state for the wireless network is preset network state, by institute The bridging functionality for stating terminal device is positioned to allow for operating;
The hot spot creation module, in the state of for allowing operation in the bridging functionality of the terminal device, if inspection It measures user and opens the bridging functionality, then hot spot is created by the wireless network that the terminal device currently connects.
Other modules or unit can refer to the description in embodiment shown in Fig. 3, and details are not described herein.
The terminal device includes but are not limited to processor 40, memory 41.It will be understood by those skilled in the art that figure 4 be only an example of terminal device 4, does not constitute the restriction to terminal device 4, may include more more or less than illustrating Component, either combine certain components or different components, for example, the terminal device can also include input equipment, it is defeated Go out equipment, network access equipment, bus etc..
The processor 40 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor can also be any conventional processor Deng.
The memory 41 can be the internal storage unit of the terminal device 4, such as the hard disk of terminal device 4 or interior It deposits.The memory 41 can also be to be equipped on the External memory equipment of the terminal device 4, such as the terminal device 4 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 41 can also both include the storage inside list of the terminal device 4 Member also includes External memory equipment.The memory 41 is for storing needed for the computer program and the terminal device Other programs and data.The memory 41 can be also used for temporarily storing the data that has exported or will export.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in detail or remembers in some embodiment The part of load may refer to the associated description of other embodiments.
Those of ordinary skill in the art may realize that lists described in conjunction with the examples disclosed in the embodiments of the present disclosure Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually It is implemented in hardware or software, depends on the specific application and design constraint of technical solution.Professional technician Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed terminal device and method can pass through it Its mode is realized.For example, terminal device embodiment described above is only schematical, for example, the module or list Member division, only a kind of division of logic function, formula that in actual implementation, there may be another division manner, such as multiple units or Component can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point is shown The mutual coupling or direct-coupling or communication connection shown or discussed can be by some interfaces, between device or unit Coupling or communication connection are connect, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, you can be located at a place, or may be distributed over multiple In network element.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the application can be integrated in a processing unit, it can also It is that each unit physically exists alone, it can also be during two or more units be integrated in one unit.Above-mentioned integrated list The form that hardware had both may be used in member is realized, can also be realized in the form of SFU software functional unit.
If the integrated module/unit be realized in the form of SFU software functional unit and as independent product sale or In use, can be stored in a computer read/write memory medium.Based on this understanding, the application realizes above-mentioned implementation All or part of flow in example method, can also instruct relevant hardware to complete, the meter by computer program Calculation machine program can be stored in a computer readable storage medium, the computer program when being executed by processor, it can be achieved that on The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or certain intermediate forms etc..The computer-readable medium May include:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic of the computer program code can be carried Dish, CD, computer storage, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that described The content that computer-readable medium includes can carry out increasing appropriate according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in certain jurisdictions, according to legislation and patent practice, computer-readable medium do not include be electric carrier signal and Telecommunication signal.
Embodiment described above is only to illustrate the technical solution of the application, rather than its limitations;Although with reference to aforementioned reality Example is applied the application is described in detail, it will be understood by those of ordinary skill in the art that:It still can be to aforementioned each Technical solution recorded in embodiment is modified or equivalent replacement of some of the technical features;And these are changed Or replace, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution should all Within the protection domain of the application.

Claims (10)

1. a kind of bridging method of wireless network, which is characterized in that including:
When detecting terminal device connection above wireless network, the network state of the wireless network currently connected is obtained;
If the network state of the wireless network is preset network state, set the bridging functionality of the terminal device to Allow to operate;
In the state that the bridging functionality of the terminal device is to allow operation, if detecting, user opens the bridging functionality, Hot spot is then created by the wireless network that the terminal device currently connects.
2. the bridging method of wireless network as described in claim 1, which is characterized in that in the wireless network that detection currently connects Network state after, further include:
If the network state of the wireless network is not preset network state, the bridging functionality of the terminal device is arranged For disabling.
3. the bridging method of wireless network as described in claim 1, which is characterized in that in the bridging functionality of the terminal device In the state of allowing operation, further include:
The network state for the wireless network that the terminal device currently connects is detected at predetermined intervals;
If detecting, the wireless network that the terminal device currently connects is switched to non-default network state, by the bridge joint Function setting is disabling.
4. the bridging method of wireless network as claimed in claim 2, which is characterized in that in the bridging functionality of the terminal device In the state of disabling, further include:
The network state for the wireless network that the terminal device currently connects is detected at predetermined intervals;
If detecting, the wireless network that the terminal device currently connects is switched to preset network state, by the bridge joint work( It can be positioned to allow for operating.
5. the bridging method of wireless network as described in claim 1, which is characterized in that further include:
When detecting that the terminal device is disconnected with the wireless network, the bridging functionality is set as disabling.
6. such as the bridging method of wireless network described in any one of claim 1 to 5, which is characterized in that the acquisition currently connects The network state of the wireless network connect includes:
By the preset server of the wireless network access currently connected, and obtain access result;
If correspondingly, the network state of the wireless network is preset network state, by the bridge of the terminal device Connection function is positioned to allow for operation:
If the access result is to access successfully, the bridging functionality of the terminal device is positioned to allow for operating.
7. such as the bridging method of wireless network described in any one of claim 1 to 5, which is characterized in that the acquisition currently connects The network state of the wireless network connect includes:
Obtain the network speed of the wireless network currently connected;
If correspondingly, the network state of the wireless network is preset network state, by the bridge of the terminal device Connection function is positioned to allow for operation:
If the network speed of the wireless network currently connected is more than network speed threshold value, the bridging functionality of the terminal device is arranged To allow to operate.
8. a kind of terminal device, which is characterized in that including:
Acquisition module, for when detecting terminal device connection above wireless network, obtaining the net of the wireless network currently connected Network state;
First processing module sets the terminal if the network state for the wireless network is preset network state Standby bridging functionality is positioned to allow for operating;
Hot spot creation module, in the state of for allowing operation in the bridging functionality of the terminal device, if detecting user The bridging functionality is opened, then hot spot is created by the wireless network that the terminal device currently connects.
9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, which is characterized in that the processor realizes such as claim 1 to 7 when executing the computer program The step of any one the method.
10. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence realizes the step such as any one of claim 1 to 7 the method when the computer program is executed by one or more processors Suddenly.
CN201810114228.1A 2018-02-05 2018-02-05 Bridging method of wireless network, terminal equipment and storage medium Active CN108391281B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810114228.1A CN108391281B (en) 2018-02-05 2018-02-05 Bridging method of wireless network, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810114228.1A CN108391281B (en) 2018-02-05 2018-02-05 Bridging method of wireless network, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN108391281A true CN108391281A (en) 2018-08-10
CN108391281B CN108391281B (en) 2022-01-07

Family

ID=63075107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810114228.1A Active CN108391281B (en) 2018-02-05 2018-02-05 Bridging method of wireless network, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN108391281B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225543A (en) * 2019-05-30 2019-09-10 上海交通大学 Mobile terminal software quality Situation Awareness System and method based on network request packet
CN114846901A (en) * 2020-02-18 2022-08-02 Oppo广东移动通信有限公司 Communication method, device, equipment and storage medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140179312A1 (en) * 2006-09-06 2014-06-26 Devicescape Software, Inc. Systems and methods for network curation
CN104486819A (en) * 2014-12-31 2015-04-01 广州视源电子科技股份有限公司 Wireless network access method and system
CN105338550A (en) * 2015-09-22 2016-02-17 网易传媒科技(北京)有限公司 Method and device for managing connection of wireless network
CN105828395A (en) * 2015-07-28 2016-08-03 维沃移动通信有限公司 Method and device of WiFi adaptive selection and connection
CN106100865A (en) * 2016-05-24 2016-11-09 中国联合网络通信集团有限公司 Authorization method, server and the terminal device that focus is shared
CN106559789A (en) * 2016-11-15 2017-04-05 努比亚技术有限公司 Focus sharing means, method and system
CN107040927A (en) * 2017-05-27 2017-08-11 珠海市魅族科技有限公司 Wireless network focus sharing method and device, computer installation and storage medium
CN107370646A (en) * 2017-07-19 2017-11-21 深圳Tcl数字技术有限公司 Network share method, TV and computer-readable recording medium
CN107453945A (en) * 2017-07-14 2017-12-08 上海斐讯数据通信技术有限公司 Because router netting twine disconnects the solution method and system for causing network not connect
CN107529204A (en) * 2017-08-21 2017-12-29 奇酷互联网络科技(深圳)有限公司 Data sharing method, device and storage medium
CN107580359A (en) * 2017-09-29 2018-01-12 努比亚技术有限公司 Hotspot sharing method, mobile terminal and computer-readable recording medium
CN107635232A (en) * 2017-09-29 2018-01-26 努比亚技术有限公司 A kind of network share method, terminal and computer-readable recording medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140179312A1 (en) * 2006-09-06 2014-06-26 Devicescape Software, Inc. Systems and methods for network curation
CN104486819A (en) * 2014-12-31 2015-04-01 广州视源电子科技股份有限公司 Wireless network access method and system
CN105828395A (en) * 2015-07-28 2016-08-03 维沃移动通信有限公司 Method and device of WiFi adaptive selection and connection
CN105338550A (en) * 2015-09-22 2016-02-17 网易传媒科技(北京)有限公司 Method and device for managing connection of wireless network
CN106100865A (en) * 2016-05-24 2016-11-09 中国联合网络通信集团有限公司 Authorization method, server and the terminal device that focus is shared
CN106559789A (en) * 2016-11-15 2017-04-05 努比亚技术有限公司 Focus sharing means, method and system
CN107040927A (en) * 2017-05-27 2017-08-11 珠海市魅族科技有限公司 Wireless network focus sharing method and device, computer installation and storage medium
CN107453945A (en) * 2017-07-14 2017-12-08 上海斐讯数据通信技术有限公司 Because router netting twine disconnects the solution method and system for causing network not connect
CN107370646A (en) * 2017-07-19 2017-11-21 深圳Tcl数字技术有限公司 Network share method, TV and computer-readable recording medium
CN107529204A (en) * 2017-08-21 2017-12-29 奇酷互联网络科技(深圳)有限公司 Data sharing method, device and storage medium
CN107580359A (en) * 2017-09-29 2018-01-12 努比亚技术有限公司 Hotspot sharing method, mobile terminal and computer-readable recording medium
CN107635232A (en) * 2017-09-29 2018-01-26 努比亚技术有限公司 A kind of network share method, terminal and computer-readable recording medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110225543A (en) * 2019-05-30 2019-09-10 上海交通大学 Mobile terminal software quality Situation Awareness System and method based on network request packet
CN110225543B (en) * 2019-05-30 2021-11-30 上海交通大学 Mobile terminal software quality situation perception system and method based on network request data
CN114846901A (en) * 2020-02-18 2022-08-02 Oppo广东移动通信有限公司 Communication method, device, equipment and storage medium
CN114846901B (en) * 2020-02-18 2024-05-31 Oppo广东移动通信有限公司 Communication method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN108391281B (en) 2022-01-07

Similar Documents

Publication Publication Date Title
CN105302274B (en) A kind of sensor control method and device
CN109298771A (en) Charging/discharging thereof and its system and non-transient computer readable storage medium
CN107404740B (en) Method for switching network, device and the terminal device of safety
CN103942898A (en) Method, mobile terminal and POS machine for realizing security element selection in near field communication
CN105791560A (en) Data network access control method and user terminal
CN105260004B (en) The screen rotation method and system of Android system terminal
CN107484190B (en) Method for connecting network, mobile terminal and computer readable storage medium
CN108196458A (en) Intelligent home equipment control method, device and terminal device
CN106096450A (en) A kind of application program freezing method and mobile terminal
CN107277896B (en) Wifi hotspot management method, device and terminal device
CN108391281A (en) A kind of bridging method of wireless network, terminal device and storage medium
CN107197489A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN109032062A (en) A kind of PCIE switching chip
CN104484595A (en) Information processing method and electronic device
CN104869619A (en) Single card dual standby long term evolution (LTE) terminal network control method and device
CN107943570A (en) application management method, device, storage medium and electronic equipment
CN104809046A (en) Application program networking control method and application program networking control device
CN106209918A (en) The method of a kind of internet security management and terminal
CN102467400B (en) Control method on multiport network interface card
CN108337706A (en) A kind of switching method of wireless network, mobile terminal and storage medium
CN106302519A (en) The method of a kind of internet security management and terminal
CN107783633A (en) A kind of method, terminal and computer-readable recording medium for managing application program
CN103533563A (en) Restoring method and terminal for wireless local area network account number
CN106233271B (en) A kind of identifying system and device of USB OTG equipment
CN108234687A (en) A kind of smart IP address configuration method, device and terminal device

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
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