CN108076427B - Method and device for connecting network and network adapter - Google Patents

Method and device for connecting network and network adapter Download PDF

Info

Publication number
CN108076427B
CN108076427B CN201711312249.6A CN201711312249A CN108076427B CN 108076427 B CN108076427 B CN 108076427B CN 201711312249 A CN201711312249 A CN 201711312249A CN 108076427 B CN108076427 B CN 108076427B
Authority
CN
China
Prior art keywords
account information
network account
network
information
specific
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.)
Active
Application number
CN201711312249.6A
Other languages
Chinese (zh)
Other versions
CN108076427A (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.)
Luoyang Kawen Automation Equipment Co.,Ltd.
Original Assignee
Luoyang Institute of Science and Technology
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 Luoyang Institute of Science and Technology filed Critical Luoyang Institute of Science and Technology
Priority to CN201711312249.6A priority Critical patent/CN108076427B/en
Publication of CN108076427A publication Critical patent/CN108076427A/en
Application granted granted Critical
Publication of CN108076427B publication Critical patent/CN108076427B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service

Landscapes

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

Abstract

The embodiment of the invention provides a method, a device and a network adapter for connecting a network, which are applied to mobile equipment, wherein the mobile equipment comprises the network adapter, the network adapter comprises a storage device, and the method comprises the following steps: acquiring position information of a user; searching specific network account information according to the position information; when the specific network account information is acquired, storing the specific network account information to a storage device of the network adapter; connecting a network according to the specific network account information in the storage device; the function of automatically connecting the network of the mobile equipment is realized, namely the function of adaptively connecting the network of the network adapter is realized, the steps of user operation are reduced, and the use convenience of the mobile equipment is improved.

Description

Method and device for connecting network and network adapter
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and a device for connecting a network, and a network adapter.
Background
The network adapter is also called a network card or a Network Interface Card (NIC), and has the english name of network interface card. It is a device that networks computers. The network card is a network adapter for connecting a personal computer with a local area network. The network card (NIC) is inserted into a slot of a computer mainboard and is responsible for converting data to be transmitted by a user into a format which can be recognized by other equipment on a network and transmitting the data through a network medium.
The existing mobile device is generally connected to the internet through a network adapter, the mobile device generally needs account information when being connected to the internet, and for a user who needs to work in different places, the user needs to obtain account information (such as a free account number and a password) when connecting to the network each time, and then inputs the account information into the mobile device, so that the mobile device can be connected to the network, and the steps of connecting to the network are very complicated, which is not beneficial to improving the use experience of the user for the mobile device.
Disclosure of Invention
Embodiments of the present invention provide a method for connecting a network, a corresponding device for connecting a network, and a network adapter, so as to solve the above problem that a mobile device has complicated network connection steps.
In order to solve the above problem, an embodiment of the present invention discloses a method for connecting a network, which is applied to a mobile device, where the mobile device includes a network adapter, and the network adapter includes a storage apparatus, and the method includes:
acquiring position information of a user;
searching specific network account information according to the position information;
when the specific network account information is acquired, storing the specific network account information to a storage device of the network adapter;
and connecting the network according to the specific network account information in the storage device.
Preferably, the mobile device includes a global positioning system GPS module, and the step of acquiring the location information of the user includes:
and acquiring the position information of the user through the GPS module.
Preferably, the step of searching for specific network account information according to the location information includes:
searching a plurality of network account information on the geographic position corresponding to the position information;
judging whether the signal intensity of the network account information is greater than a preset signal intensity threshold value or not;
when the signal intensity of the network account information is greater than a preset signal intensity threshold value, determining the network account information as selected network account information;
and when the selected network account information contains the password information, determining that the selected network account information is the specific network account information.
Preferably, the storage device further includes a network account information list, and the step of saving the specific network account information to the storage device of the network adapter when the specific network account information is obtained includes:
and when the specific network account information is acquired, storing the specific network account information into the network account information list.
Preferably, the step of connecting to a network according to the specific network account information in the storage device includes:
selecting specific network account information with the maximum signal intensity;
and connecting the network by adopting the specific network account information with the maximum signal intensity.
The embodiment of the invention also discloses a device for connecting a network, which is applied to mobile equipment, wherein the mobile equipment comprises a network adapter, the network adapter comprises a storage device, and the device comprises:
the position information acquisition module is used for acquiring the position information of the user;
the searching module is used for searching specific network account information according to the position information;
the storage module is used for storing the specific network account information to a storage device of the network adapter when the specific network account information is acquired;
and the network connection module is used for connecting a network according to the specific network account information in the storage device.
Preferably, the mobile device includes a global positioning system GPS module, and the location information acquiring module includes:
and the position information acquisition submodule is used for acquiring the position information of the user through the GPS module.
Preferably, the search module comprises:
the searching submodule is used for searching a plurality of network account information on the geographic position corresponding to the position information;
the judging submodule is used for judging whether the signal intensity of the network account information is greater than a preset signal intensity threshold value or not;
the first determining submodule is used for determining the network account information as the selected network account information when the signal intensity of the network account information is greater than a preset signal intensity threshold value;
and the second determining submodule is used for determining that the selected network account information is the specific network account information when the selected network account information contains the password information.
Preferably, the storage device further includes a network account information list, and the saving module includes:
and the storage sub-module is used for storing the specific network account information into the network account information list when the specific network account information is acquired.
The embodiment of the invention also discloses a network adapter, which comprises a storage device and a processor, wherein the storage device stores a network account information list, and the network account information list comprises specific network account information; the processor is configured to perform the steps of connecting the network according to any one of claims 1 to 5.
The embodiment of the invention has the following advantages:
in the embodiment of the invention, the mobile equipment comprises a network adapter, wherein the network adapter comprises a storage device and is used for acquiring the position information of a user; searching specific network account information according to the position information;
when the specific network account information is acquired, storing the specific network account information to a storage device of the network adapter; connecting a network according to the specific network account information in the storage device; in the embodiment of the invention, the network account information can be stored in the network adapter, so that the function of automatically connecting the network of the mobile equipment is realized, namely the function of adaptively connecting the network of the network adapter is realized, the steps of user operation are reduced, and the use convenience of the mobile equipment is improved.
Drawings
FIG. 1 is a flowchart illustrating steps of a first embodiment of a method for connecting to a network according to the present invention;
FIG. 2 is a flowchart illustrating the steps of a second embodiment of a method for connecting to a network;
fig. 3 is a block diagram of an embodiment of a network connection device according to the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
One of the core concepts of the embodiments of the present invention is that a storage device of a network adapter records a network account information list, where the network account information list includes specific network account information, and a mobile device can automatically connect to a network by using the specific network account information, and when the network adapter is a movable network adapter (such as a wireless network card), the network account information list can be transferred according to the requirements of a user, thereby achieving the effect of the network adapter in adaptively connecting to the network.
Referring to fig. 1, a flowchart illustrating steps of a first embodiment of a network connection method according to the present invention is shown, and is applied to a mobile device, where the mobile device includes a network adapter, and the network adapter includes a storage device, and the method specifically includes the following steps:
step 101, acquiring position information of a user;
the embodiment of the invention can be applied to mobile equipment, such as a mobile phone, a tablet computer, a personal digital assistant, wearable equipment (such as glasses, a watch and the like) and the like.
In the embodiment of the present invention, the operating system of the mobile device may include Android (Android), IOS, Windows Phone, Windows, and the like.
The network adapter can comprise components such as a storage device, a processor and the like, and the embodiment of the invention does not specifically limit the components, and the network adapter is mainly installed in a main board slot and has the main functions of parallel-to-serial data conversion, data packet assembly and disassembly, network access control, data caching and network signals; the storage device may further include a network account information list including a plurality of specific network account information.
Further, the mobile device may include a GPS (Global Positioning System) module, and the GPS module may acquire location information of the user, where the location information may include latitude and longitude information.
In a preferred embodiment of the present invention, the location may be performed in one or more of the following location manners, so as to obtain the current location information (represented by the geographical location information) of the mobile terminal:
satellite positioning mode, wireless fidelity positioning mode, base station positioning mode, cell identification code positioning mode and advanced forward link triangular positioning mode.
The satellite positioning mode can send the position signal of the terminal to the positioning background for positioning. Currently available satellite positioning systems include GPS, GLONASS (GLONASS), beidou system, Galileo (Galileo) system, and the like.
A wireless fidelity (Wi-Fi) location mode may perform location according to signal strength and a globally unique MAC Address (Media Access Control Address, or referred to as a hardware Address, used to define a location of a network device) sent by a Wi-Fi hotspot deployed in various places.
The base station location method may be to determine the location of the terminal by using a distance measured by a base station of an operator (e.g., a mobile operator, a universal operator, a telecommunication operator, etc.) to a distance of the terminal.
The Cell identification code (Cell ID) location mode may report the Cell number (which may be estimated from the serving base station) where the terminal is located through a wireless network (e.g., a cellular network), and the location service platform translates the Cell number into latitude and longitude coordinates.
In the Advanced Forward Link Triangulation (AFLT) method, when performing positioning operations, a terminal simultaneously monitors pilot information of a plurality of base stations (at least 3 base stations), determines the distance from the terminal to a nearby base station by using chip delay, and finally calculates the position of the terminal by using a triangulation method.
In specific implementation, positioning can be performed in a satellite positioning mode, a base station positioning mode, a wireless fidelity positioning mode, and the like, in combination with other positioning modes, such as a cell identification code positioning mode, an advanced forward link triangulation positioning mode, and the like. For example, a hybrid positioning method combining a satellite positioning method, a base station positioning method, and a wireless fidelity positioning method may be used for positioning on a mobile phone.
Of course, the above positioning manner is only an example, and when implementing the embodiment of the present invention, other positioning manners may be set according to actual situations, and the embodiment of the present invention is not limited thereto. In addition, besides the above positioning manners, a person skilled in the art may also adopt other positioning manners according to actual needs, and the embodiment of the present invention is not limited thereto.
Step 102, searching specific network account information according to the position information;
as a specific example of the embodiment of the present invention, the mobile device may search for specific network account information according to the location information; specifically, first, a plurality of pieces of network account information may be searched for in a geographic location corresponding to the location information, but the signal strength of each piece of network account information is different, and each piece of network account information does not have enough signal strength to support data transmission, so that the mobile device may determine whether the signal strength of the piece of network account information is greater than a preset signal strength threshold.
It should be noted that the preset signal strength threshold is any value set by a person skilled in the art according to practical situations, and the embodiment of the present invention does not specifically limit this value.
Further, when the signal intensity of the network account information is greater than a preset signal intensity threshold value, determining the network account information as the selected network account information; therefore, the network account information with the signal intensity larger than a certain threshold value can be screened out, so that the quality of network connection is ensured.
Specifically, when the selected network account information includes password information, the mobile device may determine that the selected network account information is specific network account information; that is, when the selected network account information contains password information, the mobile device may determine it as specific network account information; for example, the specific network account information may include public wireless network of certain stores, such as wireless network account information of starbucks, wireless network account information of mcdonald's, and so on.
103, when the specific network account information is acquired, storing the specific network account information to a storage device of the network adapter;
in practical application, when the mobile device obtains the specific network account information, the specific network account information may be stored in a storage device of the network adapter, where the storage device includes a network account information list, and the network account information list includes a plurality of pieces of specific network account information, that is, the specific network account information is stored in a list form, and further, password information and location information corresponding to the stored specific network account information may also be stored.
In a preferred embodiment of the present invention, a corresponding relationship between the specific network account information and the location information may also be established, so that an automatic search function may be implemented, and convenience is provided for a user to use.
And 104, connecting a network according to the specific network account information in the storage device.
In the embodiment of the invention, the mobile equipment can select the specific network account information with the maximum signal intensity from the network account information list and adopt the specific network account information with the maximum signal intensity to connect the network.
In the embodiment of the invention, the mobile equipment comprises a network adapter, wherein the network adapter comprises a storage device and is used for acquiring the position information of a user; searching specific network account information according to the position information;
when the specific network account information is acquired, storing the specific network account information to a storage device of the network adapter; connecting a network according to the specific network account information in the storage device; in the embodiment of the invention, the network account information can be stored in the network adapter, so that the function of automatically connecting the network of the mobile equipment is realized, namely the function of adaptively connecting the network of the network adapter is realized, the steps of user operation are reduced, and the use convenience of the mobile equipment is improved.
Referring to fig. 2, a flowchart illustrating steps of a second embodiment of a network connection method according to the present invention is shown, and is applied to a mobile device, where the mobile device includes a network adapter, and the network adapter includes a storage device, and the method specifically includes the following steps:
step 201, acquiring the position information of a user through the GPS module;
in the embodiment of the present invention, the network adapter may include components such as a storage device, a processor, and the like; the storage device may further include a network account information list including a plurality of specific network account information.
Further, the mobile device may include a GPS module, and the location information of the user may include latitude and longitude information through the GPS module; of course, the location information of the user may also be obtained through wifi positioning, a base station positioning manner, a cell identification code positioning manner, and an advanced forward link triangulation positioning manner, which is not specifically limited in the embodiments of the present invention.
Step 202, searching a plurality of network account information on the geographic position corresponding to the position information;
specifically, the mobile device may search for multiple pieces of network account information at a geographic location corresponding to the location information, for example, if the user searches for a network in mcdonald, multiple pieces of network account information may be obtained.
Step 203, judging whether the signal intensity of the network account information is greater than a preset signal intensity threshold value;
further, the mobile device may determine whether the signal strength of the network account information is greater than a preset signal strength threshold, where it should be noted that the preset signal strength threshold is any value set by a person skilled in the art according to an actual situation, and the embodiment of the present invention does not specifically limit this.
Step 204, when the signal intensity of the network account information is greater than a preset signal intensity threshold value, determining the network account information as selected network account information;
specifically, when the signal strength of the network account information is greater than a preset signal strength threshold, the mobile device determines the network account information as the selected network account information; therefore, the network account information with the signal intensity larger than a certain threshold value can be screened out, so that the quality of network connection is ensured.
Step 205, when the selected network account information includes password information, determining that the selected network account information is specific network account information;
specifically, when the selected network account information includes password information, the mobile device may determine that the selected network account information is specific network account information; that is, when the selected network account information contains password information, the mobile device may determine it as specific network account information; for example, the specific network account information may include public wireless network of certain stores, such as wireless network account information of starbucks, wireless network account information of mcdonald's, and so on.
Step 206, when the specific network account information is acquired, storing the specific network account information to a storage device of the network adapter;
in a preferred embodiment of the present invention, the storage device further includes a network account information list, and the step of saving the specific network account information to the storage device of the network adapter when the specific network account information is acquired includes the following substeps:
in the substep S2061, when the specific network account information is acquired, the specific network account information is stored in the network account information list.
In practical application, the specific network account information can be stored in the network account information list, so that the mobile device can call the specific network account information to automatically connect to the network; when the network adapter is a movable wireless network card, the network account information list can be used on different devices, so that the use performance of the network adapter is greatly improved, and the self-adaptive function of the network adapter is realized.
Step 207, connecting the network according to the specific network account information in the storage device.
In a preferred embodiment of the present invention, the step of connecting to a network according to the specific network account information in the storage device includes the following sub-steps:
substep S2071, selecting the specific network account information with the maximum signal intensity;
and a substep S2072 of connecting to the network using the specific network account information with the maximum signal strength.
Further, the mobile device may select the specific network account information with the maximum signal strength, and connect to the network using the specific network account information with the maximum signal strength.
In the embodiment of the invention, the position information of the user is acquired through the GPS module; searching a plurality of network account information on the geographic position corresponding to the position information; judging whether the signal intensity of the network account information is greater than a preset signal intensity threshold value or not; when the signal intensity of the network account information is greater than a preset signal intensity threshold value, determining the network account information as selected network account information; when the selected network account information contains password information, determining that the selected network account information is specific network account information; when the specific network account information is acquired, storing the network account information to a storage device of the network adapter; connecting a network according to the specific network account information in the storage device; the network account information list on the network adapter can also be used on different devices, so that the use performance of the network adapter is greatly improved, and the self-adaptive function of the network adapter is realized.
It should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 3, a block diagram of a network connection apparatus according to an embodiment of the present invention is shown, and is applied to a mobile device, where the mobile device includes a network adapter, and the network adapter includes a storage apparatus, and specifically may include the following modules:
a location information obtaining module 301, configured to obtain location information of a user;
a searching module 302, configured to search for specific network account information according to the location information;
a saving module 303, configured to, when the specific network account information is obtained, save the specific network account information to a storage device of the network adapter;
a network connection module 304, configured to connect to a network according to the specific network account information in the storage device.
Preferably, the mobile device includes a global positioning system GPS module, and the location information acquiring module includes:
and the position information acquisition submodule is used for acquiring the position information of the user through the GPS module.
Preferably, the search module comprises:
the searching submodule is used for searching a plurality of network account information on the geographic position corresponding to the position information;
the judging submodule is used for judging whether the signal intensity of the network account information is greater than a preset signal intensity threshold value or not;
the first determining submodule is used for determining the network account information as the selected network account information when the signal intensity of the network account information is greater than a preset signal intensity threshold value;
and the second determining submodule is used for determining that the selected network account information is the specific network account information when the selected network account information contains the password information.
Preferably, the storage device further includes a network account information list, and the saving module includes:
and the storage sub-module is used for storing the specific network account information into the network account information list when the specific network account information is acquired.
Preferably, the network connection module includes:
the selection submodule is used for selecting the specific network account information with the maximum signal intensity;
and the network connection sub-module is used for connecting a network by adopting the specific network account information with the maximum signal intensity.
The embodiment of the invention also discloses a network adapter, which comprises a storage device and a processor, wherein the storage device stores a network account information list, and the network account information list comprises specific network account information; the processor is configured to perform any of the above network connecting steps;
the memory devices in embodiments of the present invention may include memory, which may be volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM ), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory of the systems and methods described in connection with the embodiments of the invention is intended to comprise, without being limited to, these and any other suitable types of memory.
The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The processor may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method, the apparatus and the network adapter for connecting a network provided by the present invention are described in detail above, and a specific example is applied in the present disclosure to explain the principle and the implementation of the present invention, and the description of the above embodiment is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (3)

1. A method for connecting to a network, the method being applied to a mobile device, the mobile device comprising a network adapter, the network adapter comprising a storage device, the method comprising:
acquiring position information of a user;
searching specific network account information according to the position information;
when the specific network account information is acquired, storing the specific network account information to a storage device of the network adapter;
connecting a network according to the specific network account information in the storage device;
the storage device further comprises a network account information list, and the step of saving the specific network account information to the storage device of the network adapter when the specific network account information is obtained comprises the following steps:
when the specific network account information is acquired, storing the specific network account information into the network account information list;
the mobile device comprises a Global Positioning System (GPS) module, and the step of acquiring the position information of the user comprises the following steps:
acquiring the position information of a user through the GPS module;
the step of searching for specific network account information according to the location information includes:
searching a plurality of network account information on the geographic position corresponding to the position information;
judging whether the signal intensity of the network account information is greater than a preset signal intensity threshold value or not;
when the signal intensity of the network account information is greater than a preset signal intensity threshold value, determining the network account information as selected network account information;
when the selected network account information contains password information, determining that the selected network account information is specific network account information;
selecting specific network account information with the maximum signal intensity;
and connecting the network by adopting the specific network account information with the maximum signal intensity.
2. An apparatus for connecting a network, applied to a mobile device, wherein the mobile device comprises a network adapter, and the network adapter comprises a storage device, the apparatus comprising:
the position information acquisition module is used for acquiring the position information of the user;
the searching module is used for searching specific network account information according to the position information;
the storage module is used for storing the specific network account information to a storage device of the network adapter when the specific network account information is acquired;
the network connection module is used for connecting a network according to the specific network account information in the storage device;
the mobile device includes a Global Positioning System (GPS) module, and the location information acquisition module includes:
the position information acquisition submodule is used for acquiring the position information of the user through the GPS module;
the search module comprises:
the searching submodule is used for searching a plurality of network account information on the geographic position corresponding to the position information;
the judging submodule is used for judging whether the signal intensity of the network account information is greater than a preset signal intensity threshold value or not;
the first determining submodule is used for determining the network account information as the selected network account information when the signal intensity of the network account information is greater than a preset signal intensity threshold value;
the second determining submodule is used for determining that the selected network account information is the specific network account information when the selected network account information contains the password information;
the storage device further comprises a network account information list, and the saving module comprises:
and the storage sub-module is used for storing the specific network account information into the network account information list when the specific network account information is acquired.
3. A network adapter is characterized in that the network adapter comprises a storage device and a processor, wherein the storage device stores a network account information list, and the network account information list comprises specific network account information; the processor is configured to perform the steps of connecting a network as recited in claim 1.
CN201711312249.6A 2017-12-12 2017-12-12 Method and device for connecting network and network adapter Active CN108076427B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711312249.6A CN108076427B (en) 2017-12-12 2017-12-12 Method and device for connecting network and network adapter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711312249.6A CN108076427B (en) 2017-12-12 2017-12-12 Method and device for connecting network and network adapter

Publications (2)

Publication Number Publication Date
CN108076427A CN108076427A (en) 2018-05-25
CN108076427B true CN108076427B (en) 2021-04-27

Family

ID=62158164

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711312249.6A Active CN108076427B (en) 2017-12-12 2017-12-12 Method and device for connecting network and network adapter

Country Status (1)

Country Link
CN (1) CN108076427B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113873682A (en) 2020-06-12 2021-12-31 奥图码科技股份有限公司 Automatic connection and disconnection system and automatic connection and disconnection method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1842042A (en) * 2005-04-01 2006-10-04 国际商业机器公司 Method and apparatus for searching a network connection
CN103024929A (en) * 2012-12-20 2013-04-03 惠州Tcl移动通信有限公司 Mobile terminal and method for connecting wireless network based on mobile terminal
CN103874018A (en) * 2014-02-21 2014-06-18 小米科技有限责任公司 Access point information sharing method and device
CN106714277A (en) * 2016-12-07 2017-05-24 广东欧珀移动通信有限公司 Network connection method and terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1842042A (en) * 2005-04-01 2006-10-04 国际商业机器公司 Method and apparatus for searching a network connection
CN103024929A (en) * 2012-12-20 2013-04-03 惠州Tcl移动通信有限公司 Mobile terminal and method for connecting wireless network based on mobile terminal
CN103874018A (en) * 2014-02-21 2014-06-18 小米科技有限责任公司 Access point information sharing method and device
CN106714277A (en) * 2016-12-07 2017-05-24 广东欧珀移动通信有限公司 Network connection method and terminal

Also Published As

Publication number Publication date
CN108076427A (en) 2018-05-25

Similar Documents

Publication Publication Date Title
US9148772B2 (en) Volte device preference for E911
EP3197213B1 (en) Network access method and mobile communication terminal
CN108471627B (en) Network quality determination method and device
US10652892B2 (en) System and method for improved band-channel scanning and network switching
US11051264B2 (en) Synchronization method, synchronization device and synchronization source
EP4167660A1 (en) Positioning method, relay device, internet of things device, and network device
CN106465325B (en) Mobile terminal positioning method and mobile terminal
US20150195775A1 (en) Wlan radiomap with access points uniquely identified by combination of bssid and mcc
WO2010071518A1 (en) Method and arrangement for improved positioning
CN108076427B (en) Method and device for connecting network and network adapter
CN109451823B (en) Drive test information reporting method and device and network performance detecting method and device
US8472917B1 (en) Position determination for emergency call from multi-mode mobile station
US10848916B2 (en) Service provision device, service provision method, and program storage medium
RU2590907C1 (en) Method and device for obtaining information of neighbouring cells
JP2020518180A (en) Method and apparatus for signal processing
JP4876140B2 (en) Wireless communication terminal and cell list creation method
CN104683464A (en) Method, device and system for positioning computer
CN107247280B (en) Positioning authentication and processing method and device
CN110708665B (en) Method and device for determining home area of access network equipment
US20180206109A1 (en) Intelligent subscription selection for positioning
CN111052805A (en) Wireless communication method and apparatus
CN104105055A (en) Communication processing method and device
CN109936590B (en) Information transmission method and device, computer storage medium and communication system
CN106535318B (en) Mobile terminal and positioning method thereof
US20140274162A1 (en) Method and system to reduce harmonic interference of broadband wireless devices to gps receiver

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20221031

Address after: Room 407, building 3-2, science and Technology Park, Luoyang National University, No.2, Penglai Road, Jianxi District, Luoyang area, China (Henan) pilot Free Trade Zone, Luoyang, Henan 471000

Patentee after: Luoyang Kawen Automation Equipment Co.,Ltd.

Address before: 471000 Building 1, Yin Kun science and Technology Park, 8 Fenghua Road, hi tech Zone, Luoyang, Henan

Patentee before: LUOYANG INSTITUTE OF SCIENCE AND TECHNOLOGY