CN111194027A - Network connection method, device and system - Google Patents

Network connection method, device and system Download PDF

Info

Publication number
CN111194027A
CN111194027A CN201811362073.XA CN201811362073A CN111194027A CN 111194027 A CN111194027 A CN 111194027A CN 201811362073 A CN201811362073 A CN 201811362073A CN 111194027 A CN111194027 A CN 111194027A
Authority
CN
China
Prior art keywords
network
electronic equipment
network environment
electronic device
historical
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
CN201811362073.XA
Other languages
Chinese (zh)
Other versions
CN111194027B (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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811362073.XA priority Critical patent/CN111194027B/en
Publication of CN111194027A publication Critical patent/CN111194027A/en
Application granted granted Critical
Publication of CN111194027B publication Critical patent/CN111194027B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/65Environment-dependent, e.g. using captured environmental data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication

Landscapes

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

Abstract

The application discloses a network connection method, a network connection device and a network connection system. The network connection method comprises the following steps: the method comprises the steps of obtaining current network environment characteristics of electronic equipment when the electronic equipment is connected with a network currently and historical network environment characteristics of the electronic equipment when the electronic equipment is connected with the network previously; obtaining a matching degree analysis result by analyzing the matching degree between the current network environment characteristic and the historical network environment characteristic; and judging whether the electronic equipment is allowed to access the network or not according to the matching degree analysis result. According to the network connection method, the identity of the user is identified by utilizing the characteristic that the network environment characteristic of the user is difficult to forge when the user is connected with the network, the safety of network connection is improved, the complex safety verification operation of the user in the network connection process is avoided, and therefore the use experience of the user is improved.

Description

Network connection method, device and system
Technical Field
The present application relates to the field of network security, and in particular, to a network connection method, device, and system. In addition, the invention also relates to a method and a device for accessing the wireless local area network, and a network connection service system.
Background
With the development of network technology, more and more intelligent electronic devices enter the daily life of people, generally, the intelligent electronic devices have a networking function, and users can connect the intelligent electronic devices into a network to enjoy more functions provided by the networking of the intelligent electronic devices. However, when the wifi network state of the intelligent electronic device or the network state of the connected network changes, the user often needs to perform a complicated security verification operation again to enable the intelligent electronic device to re-access the network. Meanwhile, the verification information has a risk of being stolen or cracked, so that data of a connected intranet is easily invaded by viruses, and the like, and the safety is reduced. Therefore, how to avoid the complicated operation of the user and ensure the data security of the connected intranet becomes a technical problem to be solved urgently.
In order to solve the above problems, the prior art mainly adopts a function of realizing automatic networking of a mobile terminal based on position and time characteristics. And when the position and time characteristics of the connected network are judged to accord with preset conditions, the network is automatically connected. Although this method can avoid the complicated security verification operation of the user to some extent, it has obvious defects, namely: only the position and time characteristics are considered, so that the safety is weak, and the data safety of the connected intranet is still not guaranteed.
Disclosure of Invention
The application provides a network connection method, a network connection device and a network connection system, which aim to solve the problems of low safety and complex operation of the network connection method in the prior art. The application also provides a method and a device for accessing the wireless local area network, and a network connection service system.
The application provides a network connection method, which comprises the following steps: acquiring current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with a network; obtaining historical network environment characteristics of the electronic equipment when the electronic equipment is connected with the network previously; analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result; and judging whether the electronic equipment is allowed to access the network or not according to the matching degree analysis result.
Optionally, the current network environment characteristic of the electronic device when currently connected to the network includes at least one of the following characteristics: information of a wireless access point detected by the electronic device when the electronic device is currently connected to the network; information of electronic devices that have accessed the network detected by the electronic device while currently connected to the network. The historical network environment characteristics of the electronic device when previously connected to the network include at least one of: information of wireless access points detected by the electronic device when previously connecting to the network; information of electronic devices that have accessed the network detected by the electronic device when previously connecting the network.
Optionally, the information of the wireless access point detected by the electronic device when the electronic device is currently connected to the network includes at least one of the following information: at least one of the number, type and identification information of the wireless local area network access points detected by the electronic equipment when the electronic equipment is currently connected with the network; at least one of the number, type, and identification information of wireless cellular network access points detected by the electronic device when currently connected to the network; the information of the electronic device having accessed to the network, which is detected by the electronic device when the electronic device is currently connected to the network, includes: at least one of the number, the type and the identification information of the electronic equipment which has accessed to the network and is detected by the electronic equipment when the electronic equipment is currently connected with the network; the information of the wireless access point detected by the electronic equipment when the electronic equipment is connected with the network previously comprises at least one of the following information: at least one of the number, type and identification information of the wireless local area network access points detected by the electronic equipment when the electronic equipment is connected with the network previously; at least one of a number, a type, and identification information of wireless cellular network access points detected by the electronic device when previously connecting to the network; the information of the electronic device having accessed to the network, which is detected by the electronic device when the electronic device previously connected to the network, includes: at least one of the number, type, and identification information of electronic devices that have been previously connected to the network, which are detected by the electronic devices when the electronic devices are previously connected to the network.
Optionally, the network connection method further includes: acquiring a history of wireless access points detected when the electronic equipment is connected with the network, and generating information of the wireless access points detected when the electronic equipment is connected with the network according to the history of the wireless access points detected when the electronic equipment is connected with the network; or obtaining a history of the electronic device which is detected when the electronic device is connected with the network and has accessed to the network, and generating information of the electronic device which is detected when the electronic device is connected with the network and has accessed to the network according to the history of the electronic device which is detected when the electronic device is connected with the network and has accessed to the network.
Optionally, the network connection method further includes: obtaining a historical network environment feature library comprising historical network environment features; the obtaining of the historical network environment characteristics of the electronic device when the electronic device is previously connected to the network includes: obtaining index information identifying the network; and according to the index information, obtaining the historical network environment characteristics matched with the index information from the historical network environment characteristic library.
Optionally, the analyzing the matching degree between the current network environment characteristic and the historical network environment characteristic to obtain a matching degree analysis result includes: calculating a distance difference between the current network environment characteristic and the historical network environment characteristic to obtain a distance difference calculation result; the determining whether to allow the electronic device to access the network according to the matching degree analysis result includes: and if the distance difference between the current network environment characteristic and the historical network environment characteristic is determined to be smaller than a preset distance threshold according to the distance difference calculation result, determining that the electronic equipment is allowed to access the network, otherwise, determining that the electronic equipment is not allowed to access the network.
Optionally, the network connection method further includes: if the historical network environment characteristics of the electronic equipment when the electronic equipment is connected with the network before are not obtained, obtaining a preset neural network model for predicting whether the electronic equipment is allowed to be connected into the network according to the network environment characteristics; and judging whether the electronic equipment is allowed to access the network or not by utilizing the neural network model according to the current network environment characteristic.
Optionally, the network connection method further includes: and if the electronic equipment is determined to be allowed to access the network, determining the current network environment characteristic as the historical network environment characteristic when the electronic equipment is allowed to be connected with the network.
Optionally, the network connection method further includes: and if the electronic equipment is determined not to be allowed to be connected with the network, outputting indication information for connecting the electronic equipment with the network in a manual connection mode.
Optionally, the network connection method further includes: if the electronic equipment is successfully connected with the network through the manual connection mode, determining the network environment characteristics of the electronic equipment when the electronic equipment is connected with the network through the manual connection mode as historical network environment characteristics of the electronic equipment when the electronic equipment is allowed to be connected with the network.
Optionally, the network connection method further includes: storing the current network environment characteristics to the historical network environment characteristics database; and if the historical network environment characteristics which are the same as the current network environment characteristics exist in the historical network environment characteristic database, updating the frequency statistical information and the time record information of the network connection based on the historical network environment characteristics.
Optionally, the network connection method further includes: obtaining the time information of the last time the electronic equipment is connected with the network, which is recorded in the historical network environment feature library; obtaining the statistical information of the times of connecting the electronic equipment with the network, which is recorded in the historical network environment feature library; and removing historical network environment characteristics corresponding to the time information of the latest connection to the network reaching or exceeding a preset time threshold and the frequency information reaching or exceeding a preset frequency threshold from the historical network environment characteristic library.
Optionally, the network connection method further includes: if the historical network environment characteristics which are the same as the current network environment characteristics do not exist in the historical network environment characteristic database, the current network environment characteristics are taken as new historical network environment characteristics to be stored in the historical network environment characteristic database; counting the number of times of connecting the network based on the new historical network environment characteristics, and recording the current time as the time record information of the electronic equipment connecting the network.
Correspondingly, the present application also provides a method for accessing a wireless local area network, comprising: acquiring wireless local area network connection state information of the electronic equipment; if the wireless local area network connection state of the electronic equipment is determined to be changed according to the wireless local area network connection state information, acquiring the information of the wireless local area network which the electronic equipment attempts to connect currently; according to the information of the wireless local area network, obtaining the current network environment characteristics of the electronic equipment when the electronic equipment attempts to connect the wireless local area network at present; obtaining historical network environment characteristics of the electronic equipment when the electronic equipment tries to connect the wireless local area network before according to the information of the wireless local area network; analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result; and judging whether the electronic equipment is allowed to access the wireless local area network or not according to the matching degree analysis result.
Correspondingly, the present application also provides a network connection service system, including: a client and a server; the client is used for: acquiring historical network environment characteristics of electronic equipment when the electronic equipment is connected with a network before and historical result information of whether the electronic equipment is connected with the network before, and sending the historical network environment characteristics and the historical result information to the server; according to the obtained current network environment characteristics of the electronic equipment when the electronic equipment is connected with the network at present, judging whether the electronic equipment is allowed to be connected with the network or not by utilizing a neural network model which is provided by the server and used for predicting whether the electronic equipment is allowed to be connected with the network or not according to the network environment characteristics; the server is used for: performing model training by using the historical network environment characteristics and the historical result information provided by the client as training samples to obtain a neural network model for predicting whether the electronic equipment is allowed to access the network according to the network environment characteristics; providing the neural network model to the client.
Correspondingly, the present application also provides a network connection device, including: the device comprises a first obtaining unit, a second obtaining unit and a processing unit, wherein the first obtaining unit is used for obtaining the current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with a network; a second obtaining unit, configured to obtain a historical network environment characteristic of the electronic device when the electronic device previously connects to the network; the analysis unit is used for analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result; and the first judgment unit is used for judging whether the electronic equipment is allowed to access the network or not according to the matching degree analysis result.
Optionally, the current network environment characteristic of the electronic device when currently connected to the network includes at least one of the following characteristics: information of a wireless access point detected by the electronic device when the electronic device is currently connected to the network; information of electronic devices that have accessed the network detected by the electronic device while currently connected to the network. The historical network environment characteristics of the electronic device when previously connected to the network include at least one of: information of wireless access points detected by the electronic device when previously connecting to the network; information of electronic devices that have accessed the network detected by the electronic device when previously connecting the network.
Optionally, the information of the wireless access point detected by the electronic device when the electronic device is currently connected to the network includes at least one of the following information: at least one of the number, type and identification information of the wireless local area network access points detected by the electronic equipment when the electronic equipment is currently connected with the network; at least one of the number, type, and identification information of wireless cellular network access points detected by the electronic device when currently connected to the network; the information of the electronic device having accessed to the network, which is detected by the electronic device when the electronic device is currently connected to the network, includes: at least one of the number, the type and the identification information of the electronic equipment which has accessed to the network and is detected by the electronic equipment when the electronic equipment is currently connected with the network; the information of the wireless access point detected by the electronic equipment when the electronic equipment is connected with the network previously comprises at least one of the following information: at least one of the number, type and identification information of the wireless local area network access points detected by the electronic equipment when the electronic equipment is connected with the network previously; at least one of a number, a type, and identification information of wireless cellular network access points detected by the electronic device when previously connecting to the network; the information of the electronic device having accessed to the network, which is detected by the electronic device when the electronic device previously connected to the network, includes: at least one of the number, type, and identification information of electronic devices that have been previously connected to the network, which are detected by the electronic devices when the electronic devices are previously connected to the network.
Optionally, the network connection device further includes: a third obtaining unit; the third obtaining unit is configured to obtain a history of the wireless access point detected when the electronic device connects to the network, and generate information of the wireless access point detected when the electronic device previously connects to the network according to the history of the wireless access point detected when the electronic device connects to the network; or, the information processing device is configured to obtain a history of the electronic device that has accessed to the network and is detected when the electronic device connects to the network, and generate information of the electronic device that has accessed to the network and is detected when the electronic device previously connects to the network according to the history of the electronic device that has accessed to the network and is detected when the electronic device connects to the network.
Optionally, the network connection device further includes: a fourth obtaining unit; the fourth obtaining unit is configured to obtain a historical network environment feature library including historical network environment features; the fourth obtaining unit is specifically configured to: obtaining index information identifying the network; and according to the index information, obtaining the historical network environment characteristics matched with the index information from the historical network environment characteristic library.
Optionally, the analysis unit is specifically configured to calculate a distance difference between the current network environment characteristic and the historical network environment characteristic, and obtain a distance difference calculation result; the first determining unit is specifically configured to determine that the electronic device is allowed to access the network if it is determined that the distance difference between the current network environment feature and the historical network environment feature is smaller than a preset distance threshold according to the distance difference calculation result, and otherwise, determine that the electronic device is not allowed to access the network.
Optionally, the network connection device further includes: a second judgment unit; the second obtaining unit is further configured to, if the historical network environment characteristics of the electronic device when the electronic device is connected to the network before are not obtained, obtain a preset neural network model for predicting whether to allow the electronic device to access the network according to the network environment characteristics; and the second judging unit is used for judging whether the electronic equipment is allowed to access the network or not according to the current network environment characteristic and by utilizing the neural network model.
Optionally, the network connection device further includes: a first determination unit; the first determining unit is configured to determine the current network environment characteristic as a historical network environment characteristic when the electronic device is allowed to connect to the network if it is determined that the electronic device is allowed to access the network.
Optionally, the network connection device further includes: an output unit; the output unit is used for outputting indication information for connecting the electronic equipment to the network in a manual connection mode if the electronic equipment is determined not to be allowed to be connected to the network.
Optionally, the network connection device further includes: a second determination unit; the second determining unit is configured to determine, if it is determined that the electronic device is successfully connected to the network by means of manual connection, a network environment characteristic when the electronic device is connected to the network by means of manual connection as a historical network environment characteristic when the electronic device is allowed to connect to the network.
Optionally, the network connection device further includes: an update unit; the update unit is configured to: storing the current network environment characteristics to the historical network environment characteristics database; and if the historical network environment characteristics which are the same as the current network environment characteristics exist in the historical network environment characteristic database, updating the frequency statistical information and the time record information of the network connection based on the historical network environment characteristics.
Optionally, the network connection device further includes: a removing unit; the removal unit is used for: obtaining the time information of the last time the electronic equipment is connected with the network, which is recorded in the historical network environment feature library; obtaining the statistical information of the times of connecting the electronic equipment with the network, which is recorded in the historical network environment feature library; and removing historical network environment characteristics corresponding to the time information of the latest connection to the network reaching or exceeding a preset time threshold and the frequency information reaching or exceeding a preset frequency threshold from the historical network environment characteristic library.
Optionally, the updating unit is further configured to: if the historical network environment characteristics which are the same as the current network environment characteristics do not exist in the historical network environment characteristic database, the current network environment characteristics are taken as new historical network environment characteristics to be stored in the historical network environment characteristic database; counting the number of times of connecting the network based on the new historical network environment characteristics, and recording the current time as the time record information of the electronic equipment connecting the network.
Correspondingly, the present application also provides an apparatus for accessing a wireless local area network, including: a first obtaining unit, configured to obtain wireless local area network connection state information of an electronic device; a second obtaining unit, configured to obtain information of a wireless local area network to which the electronic device currently attempts to connect if it is determined that a wireless local area network connection state of the electronic device changes according to the wireless local area network connection state information; a third obtaining unit, configured to obtain, according to the information of the wireless local area network, a current network environment characteristic of the electronic device when the electronic device currently attempts to connect to the wireless local area network; a fourth obtaining unit, configured to obtain, according to the information of the wireless local area network, a historical network environment characteristic of the electronic device when the electronic device attempts to connect to the wireless local area network before; the analysis unit is used for analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result; and the judging unit is used for judging whether the electronic equipment is allowed to access the wireless local area network or not according to the matching degree analysis result.
Correspondingly, the present application also provides an electronic device, comprising: a processor and a memory for storing a program of a network connection method, wherein the following steps are executed after the device is powered on and the program of the network connection method is run by the processor: acquiring current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with a network; obtaining historical network environment characteristics of the electronic equipment when the electronic equipment is connected with the network previously; analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result; and judging whether the electronic equipment is allowed to access the network or not according to the matching degree analysis result.
Accordingly, the present application also provides a storage device storing a program of a network connection method, the program being executed by a processor and performing the steps of: acquiring current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with a network; obtaining historical network environment characteristics of the electronic equipment when the electronic equipment is connected with the network previously; analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result; and judging whether the electronic equipment is allowed to access the network or not according to the matching degree analysis result.
Correspondingly, the application also provides a data processing method, which comprises the following steps: acquiring a device identifier of electronic equipment to be accessed into a network and current network environment characteristics; acquiring historical network environment characteristics corresponding to the electronic equipment according to the equipment identification; calculating the similarity between the current network environment characteristics and the historical network environment characteristics; and judging whether the electronic equipment is allowed to access the network or not according to the similarity and a preset threshold value.
Optionally, the processing method further includes: and displaying the similarity and the judgment result through the IO equipment of the electronic equipment.
Optionally, the processing method further includes: receiving input through an IO device of the electronic device, wherein the input is used for adjusting the preset threshold value to obtain an adjusted threshold value; and judging whether the electronic equipment is allowed to access the network or not according to the similarity and the adjusted threshold value.
Correspondingly, the present application also provides a data processing apparatus, comprising: the first obtaining unit is used for obtaining the equipment identification and the current network environment characteristic of the electronic equipment to be accessed into the network; a second obtaining unit, configured to obtain, according to the device identifier, a historical network environment feature corresponding to the electronic device; the calculating unit is used for calculating the similarity between the current network environment characteristics and the historical network environment characteristics; and the first judgment unit is used for judging whether the electronic equipment is allowed to access the network or not according to the similarity and a preset threshold value.
Optionally, the processing apparatus further includes: and the display unit is used for displaying the similarity and the judgment result through the IO equipment of the electronic equipment.
Optionally, the processing apparatus further includes: the adjusting unit is used for receiving input through IO (input/output) equipment of the electronic equipment, and adjusting the preset threshold value to obtain an adjusted threshold value; and the second judging unit is used for judging whether the electronic equipment is allowed to access the network or not according to the similarity and the adjusted threshold value.
Correspondingly, the present application also provides a network connection system, including: at least one of the network connection device of any preceding claim and the data processing device of any preceding claim. Compared with the prior art, the method has the following advantages:
by adopting the network connection method disclosed by the application, the user identity can be identified by utilizing the network environment characteristics which are difficult to forge when the user is connected with the network, the network connection safety is improved, and the complicated safety verification operation of the user in the network connection process is avoided, so that the use experience of the user is improved.
Drawings
Fig. 1 is a flowchart of a network connection method according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for accessing a wireless local area network according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a network connection service system according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a network connection device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an apparatus for accessing a wireless local area network according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a network-connected electronic device according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating an operation of a network connection service system according to an embodiment of the present invention;
FIG. 8 is a flow chart of a data processing method according to an embodiment of the present invention;
fig. 9 is a schematic diagram of a data processing apparatus according to an embodiment of the present invention.
Detailed Description
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present invention. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein, but rather construed as limited to the embodiments set forth herein.
The following describes an embodiment of the network connection method in detail based on the present invention. Fig. 1 is a flowchart illustrating a network connection method according to an embodiment of the present invention.
The network connection method provided by the embodiment of the invention specifically comprises the following steps:
step S101, obtaining the current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with the network.
The invention is mainly based on the characteristic that the network environment characteristics of the user are difficult to forge, and whether the network is connected or not is automatically determined by calculating the matching relation between the network environment characteristics when the network is connected, thereby achieving the purpose of avoiding complex safety verification operation under the condition of ensuring data safety.
In the embodiment of the present invention, the current network environment characteristics include information of a wireless access point detected by the electronic device when the electronic device is currently connected to the network and information of the electronic device that has accessed to the network.
The information of the wireless access point detected by the electronic equipment when the electronic equipment is currently connected with the network comprises at least one of the following information: the method comprises the following steps that at least one of information of the number of the wireless local area network access points, the type information of the wireless local area network access points and the identification information of the wireless local area network access points, which are detected by the electronic equipment when the electronic equipment is currently connected with the network, and at least one of information of the number of the wireless cellular network access points, the type information of the wireless cellular network access points and the identification information of the wireless cellular network access points, which are detected by the electronic equipment when the electronic equipment is currently connected with the network. The wireless local area network access point and the wireless cellular network access point comprise various wireless access points such as wifi hotspots and base stations. The information of the electronic device which has accessed to the network and is detected by the electronic device when the electronic device is currently connected to the network comprises the following steps: the electronic device detects at least one of information of the number of electronic devices that have accessed the network, type information of the electronic devices, and identification information of the electronic devices when the electronic devices are currently connected to the network.
If the network environment characteristics of the electronic equipment to be accessed into the network are changed, the network is automatically connected to the server side when the wifi state of the electronic equipment or the connected network state changes, so that the complex safety verification operation of a user is avoided, and the use experience of the user is improved. The invention provides a network connection method, which can regularly detect the wifi network state of an electronic device (a notebook or a mobile terminal device such as a mobile phone with a wifi connection function) or the change condition of the connected network state at a server. When the electronic device needs to reconnect to the network due to the change of the network state, step S101 is triggered to obtain the current network environment characteristic of the electronic device when the electronic device is currently connected to the network, that is: and triggering to obtain operations such as wifi hotspots, base stations and the number, types and identification information of the electronic equipment accessed to the network in the surrounding environment when the electronic equipment is currently connected to the network.
For example, the following are: the wireless access point is a wireless network access point, commonly called a "hot spot", and mainly includes two types, namely a wireless local area network access point and a wireless cellular network access point. The wireless access point is an access point for allowing an electronic device (a mobile device such as a mobile phone, or a wireless device such as a notebook computer) to access a wired network, and is mainly applicable to wireless network connection for users in local area networks such as schools, companies, and homes.
Step S102, obtaining historical network environment characteristics of the electronic equipment when the electronic equipment is connected with the network before.
In an embodiment of the present invention, the historical network environment characteristics include information of wireless access points detected by the electronic device when the electronic device previously connects to the network and information of electronic devices that have accessed the network. Wherein the information of the wireless access point detected by the electronic device when the electronic device is connected to the network previously comprises at least one of the following information: the method comprises the following steps that at least one of information of the number of wireless local area network access points, type information of the wireless local area network access points and identification information of the wireless local area network access points, which are detected by an electronic device when the electronic device is connected with a network previously, and at least one of information of the number of wireless cellular network access points, type information of the wireless cellular network access points and identification information of the wireless cellular network access points, which are detected by the electronic device when the electronic device is connected with the network previously. The information of the electronic device having accessed to the network, which is detected by the electronic device when the electronic device previously connected to the network, includes: the electronic device detects at least one of information of the number of electronic devices which have accessed to the network when the electronic device is connected to the network, type information of the electronic device and identification information of the electronic device.
After the current network environment characteristic of the electronic device when the electronic device is currently connected to the network is obtained in step S101, if it is to be implemented at the server side that the network environment characteristic of the electronic device is automatically connected to the network when the wifi state of the electronic device or the connected network state changes, the server needs to be continuously triggered to execute the operation of obtaining the historical network environment characteristic of the electronic device when the electronic device is previously connected to the network in step S102, that is: and triggering to obtain operations such as the number, the type and the identification information of the wifi hotspot, the base station and the electronic equipment which is accessed to the network when the electronic equipment is connected to the network before.
Step S103, analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result.
After the server executes steps S101 and S102 to obtain a current network environment characteristic when the electronic device is currently connected to the network and a historical network environment characteristic when the electronic device is previously connected to the network, a matching degree between the current network environment characteristic and the historical network environment characteristic needs to be further analyzed, so as to obtain a matching degree analysis result. Specifically, the matching degree between the current network environment characteristic and the historical network environment characteristic is judged through Euclidean distance calculation, the distance difference between the current network environment characteristic and the historical network environment characteristic is calculated, and a distance difference calculation result is obtained.
And step S104, judging whether the electronic equipment is allowed to access the network or not according to the matching degree analysis result.
If the distance difference calculation result obtained by the euclidean distance calculation in step S103 is smaller than the preset distance threshold, it is determined that the electronic device is allowed to automatically access the network, and if the distance difference calculation result is greater than or equal to the preset threshold, it is determined that the electronic device is not allowed to automatically connect the network. The euclidean distance is a euclidean metric, and is a commonly used distance definition, which refers to the true distance between two points in an M-dimensional space, or the natural length between vectors (i.e., the distance of the point from the origin).
In step S102, if the historical network environment characteristics of the electronic device when the electronic device was previously connected to the network are not obtained, namely: and if the obtained current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with the network do not have the matched historical network environment characteristics of the electronic equipment when the electronic equipment is previously connected with the network, the electronic equipment is not allowed to be connected with the network.
At this time, the embodiment of the present invention provides a preferred implementation manner, after passing through the above analysis process, when the electronic device is not allowed to connect to the network, the server may further obtain a preset neural network model for predicting whether to allow the electronic device to access to the network according to the network environment characteristics. And judging whether the electronic equipment is allowed to access the network or not through a Support Vector Machine (SVM) by utilizing the neural network model according to the current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with the network. If the probability exceeds a preset probability threshold HP, the electronic equipment is determined to be allowed to access the network. The current network environment characteristic is determined as a historical network environment characteristic when the electronic device is allowed to connect to the network. If the probability of the preset probability threshold HP is not exceeded, it is determined that the electronic device is not allowed to connect to the network. And outputting indication information for connecting the electronic equipment to the network in a manual connection mode. The user can determine whether to realize connection in a mode of manually inputting the verification information according to the indication information, and if the fact that the user determines that the electronic equipment is connected to the network in a manual connection mode is received, the network environment characteristics when the electronic equipment is connected to the network in the manual connection mode are determined as historical network environment characteristics when the electronic equipment is allowed to be connected to the network.
It should be noted that an embodiment of the present invention further provides a preferred implementation manner, that is, a historical network environment feature library including historical network environment features is established in advance, and the historical network environment features of the corresponding electronic device when the electronic device is connected to the network before are obtained from the historical network environment feature library by establishing index information. And determining the network environment characteristics when the electronic equipment is accessed to the network in a mode of a neural network model as historical network environment characteristics when the electronic equipment is allowed to be connected to the network, and storing the historical network environment characteristics into a historical network environment characteristic library. And determining the network environment characteristics when the electronic equipment is accessed to the network by means of manual connection as historical network environment characteristics when the electronic equipment is allowed to be connected to the network, and storing the historical network environment characteristics into a historical network environment characteristic library.
In addition, an embodiment of the present invention further provides a method for updating the historical network environment feature library, where: when the wifi state of the electronic device or the connected network state changes, the trigger server executes the operation of obtaining the current network environment characteristics of the electronic device when the electronic device is currently connected to the network in step S101, and stores the obtained current network environment characteristics in the historical network environment characteristic database. And if the historical network environment characteristics which are the same as the current network environment characteristics exist in the historical network environment characteristic database, updating the frequency statistical information and the time record information of the network connection based on the historical network environment characteristics in the historical network environment characteristic database. And if the historical network environment characteristics which are the same as the current network environment characteristics do not exist in the historical network environment characteristic database, storing the current network environment characteristics as new historical network environment characteristics in the historical network environment characteristic database. Counting the network connection times statistical information of the new historical network environment characteristics, recording the number as 1, and recording the current time as the network connection time record information of the electronic equipment. Meanwhile, the time information and the frequency statistical information of the latest network connection of the electronic equipment recorded in the historical network environment feature library are obtained regularly; and removing the historical network environment characteristics corresponding to the time difference between the latest network connection time and the current time reaching or exceeding a preset time threshold value and the time information being lower than the preset time threshold value from the historical network environment characteristic library.
For example: the characteristic expression that can define the historical network environment characteristics in the historical network environment characteristic library in the embodiment of the invention in the server is Cj={Sj,Countj,Timej}. Wherein SjRepresenting historical network environment characteristics; countjRepresenting the number of times the electronic device in the current network environment matched with the historical network environment characteristics is connected with the network; timejIs shown thereinAnd the electronic equipment in the current network environment matched with the historical network environment characteristics is connected with the network for the last time.
step 1: and when the electronic equipment of the user is connected with the network once, the server extracts the current network environment characteristics S once and matches the current network environment characteristics S with the historical network environment characteristics in the historical network environment characteristic library one by one. If the matched historical network environment characteristics exist, the Count of the historical network environment characteristics is increased once, the Time is updated to be the current Time, and if the historical network environment characteristics matched with the current network environment characteristics S do not exist in the historical network environment characteristic library, the step 2 is carried out.
step 2: the server puts the current network environment characteristic S into a historical network characteristic library, takes the current network environment characteristic as a new historical network characteristic, sets the Count to be 1, sets the Time to be the current Time, and turns to step 3.
step 3: and dividing the historical network feature library into a primary library and a secondary library, and preferentially matching the historical network environment features in the primary library during matching. And (3) putting the historical network environment characteristics of which the Count value reaches or exceeds a preset Time threshold value H and the Time is lower than a preset Time threshold value N (days) into a historical network environment characteristic main library, putting other historical network environment characteristics into a historical network environment characteristic secondary library, and removing the historical network environment characteristics corresponding to the historical network environment characteristic secondary library Time reaching or exceeding the preset Time threshold value N (days) and the Count being lower than the preset Time threshold value.
It should be noted that the execution subject of the network connection method described in the present invention may be a server, or may be an electronic device to be connected to a network, that is: and finishing the operation of each step of the network connection method at the electronic equipment end of the network to be connected.
By adopting the network connection method disclosed by the application, the identity of the user is identified by utilizing the characteristic that the network environment characteristic of the user is difficult to forge when the user is connected with the network, the security of network connection is improved, and the complicated security verification operation of the user in the network connection process is avoided, so that the use experience of the user is improved.
Corresponding to the network connection method, the invention also provides a method for accessing the wireless local area network. Since the method embodiment is similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the above method embodiment for partial description, and the method embodiment described below is only illustrative. Please refer to fig. 2, which is a flowchart illustrating a method for accessing a wireless local area network according to an embodiment of the present invention.
The method for accessing the wireless local area network provided by the embodiment of the invention comprises the following steps:
step S201, obtaining the wireless lan connection status information of the electronic device.
Step S202, if the wireless local area network connection state of the electronic equipment is determined to be changed according to the wireless local area network connection state information, the information of the wireless local area network which the electronic equipment attempts to connect currently is obtained.
Step S203, obtaining a current network environment characteristic of the electronic device when the electronic device currently attempts to connect to the wireless local area network according to the information of the wireless local area network.
Step S204, according to the information of the wireless local area network, obtaining historical network environment characteristics of the electronic equipment when the electronic equipment tries to connect the wireless local area network before.
Step S205, analyzing the matching degree between the current network environment characteristic and the historical network environment characteristic to obtain a matching degree analysis result.
Step S206, judging whether the electronic equipment is allowed to access the wireless local area network or not according to the matching degree analysis result.
Corresponding to the network connection method, the invention also provides a network connection service system. Since the embodiment of the present system is similar to the embodiment of the method described above, the description is relatively simple, and for the relevant points, reference may be made to the above embodiment of the method for partial description, and the embodiment of the present system described below is only illustrative. Fig. 3 is a schematic view of a network connection service system according to an embodiment of the present invention.
The network connection service system provided by the embodiment of the application comprises: client and server.
The client 301 includes: a data upload module 704, a data collection module 705, and a model predictive networking module 706. The data collection module 705 is configured to collect historical network environment characteristics of the electronic device when the electronic device is previously connected to the network and historical result information of whether the electronic device has been previously connected to the network. The data uploading module 704 is configured to send the historical network environment characteristics and the historical result information to the server. The model prediction networking module 706 is configured to determine whether to allow the electronic device to access the network according to the obtained current network environment characteristic of the electronic device when the electronic device is currently connected to the network, by using a neural network model provided by the server and used for predicting whether to allow the electronic device to access the network according to the network environment characteristic.
The server 302 includes: a data storage module 701, a model training module 702 and a model issuing module 703. The data storage module 701 is configured to receive and store data sent by a client. The model training module 702 is configured to perform model training using the historical network environment characteristics and the historical result information provided by the client as training samples, and obtain a neural network model for predicting whether to allow the electronic device to access the network according to the network environment characteristics. The model issuing module 703 is used to provide the neural network model to the client.
Corresponding to the network connection method, the invention also provides a network connection device. Since the embodiment of the apparatus is similar to the embodiment of the method described above, the description is relatively simple, and for the relevant points, reference may be made to the above embodiment of the method for description, and the embodiment of the apparatus described below is only illustrative. Fig. 4 is a schematic diagram of a network connection device according to an embodiment of the present invention.
The network connection device of the embodiment of the invention comprises the following parts:
a first obtaining unit 401, configured to obtain a current network environment characteristic of the electronic device when the electronic device is currently connected to a network.
In the embodiment of the present invention, the current network environment characteristics include information of a wireless access point detected by the electronic device when the electronic device is currently connected to the network and information of the electronic device that has accessed to the network.
The information of the wireless access point detected by the electronic equipment when the electronic equipment is currently connected with the network comprises at least one of the following information: the method comprises the following steps that at least one of information of the number of the wireless local area network access points, the type information of the wireless local area network access points and the identification information of the wireless local area network access points, which are detected by the electronic equipment when the electronic equipment is currently connected with the network, and at least one of information of the number of the wireless cellular network access points, the type information of the wireless cellular network access points and the identification information of the wireless cellular network access points, which are detected by the electronic equipment when the electronic equipment is currently connected with the network. The wireless local area network access point and the wireless cellular network access point comprise various wireless access points such as wifi hotspots and base stations. The information of the electronic device which has accessed to the network and is detected by the electronic device when the electronic device is currently connected to the network comprises the following steps: the electronic device detects at least one of information of the number of electronic devices that have accessed the network, type information of the electronic devices, and identification information of the electronic devices when the electronic devices are currently connected to the network.
A second obtaining unit 402, configured to obtain a historical network environment characteristic of the electronic device when the electronic device previously connects to the network.
In an embodiment of the present invention, the historical network environment characteristics include information of wireless access points detected by the electronic device when the electronic device previously connects to the network and information of electronic devices that have accessed the network. Wherein the information of the wireless access point detected by the electronic device when the electronic device is connected to the network previously comprises at least one of the following information: the method comprises the following steps that at least one of information of the number of wireless local area network access points, type information of the wireless local area network access points and identification information of the wireless local area network access points, which are detected by an electronic device when the electronic device is connected with a network previously, and at least one of information of the number of wireless cellular network access points, type information of the wireless cellular network access points and identification information of the wireless cellular network access points, which are detected by the electronic device when the electronic device is connected with the network previously. The information of the electronic device having accessed to the network, which is detected by the electronic device when the electronic device previously connected to the network, includes: the electronic device detects at least one of information of the number of electronic devices which have accessed to the network when the electronic device is connected to the network, type information of the electronic device and identification information of the electronic device.
An analyzing unit 403, configured to analyze a matching degree between the current network environment characteristic and the historical network environment characteristic, and obtain a matching degree analysis result.
In the embodiment provided by the invention, after the current network environment characteristics of the electronic device when the electronic device is currently connected to the network and the historical network environment characteristics of the electronic device when the electronic device is previously connected to the network are obtained, the matching degree between the current network environment characteristics and the historical network environment characteristics needs to be further analyzed, and a matching degree analysis result is obtained. Specifically, the matching degree between the current network environment characteristic and the historical network environment characteristic is judged through Euclidean distance calculation, the distance difference between the current network environment characteristic and the historical network environment characteristic is calculated, and a distance difference calculation result is obtained.
A first determining unit 404, configured to determine whether to allow the electronic device to access the network according to the matching degree analysis result.
And if the distance difference calculation result is greater than or equal to the preset threshold value, determining that the electronic equipment is not allowed to be automatically connected with the network.
If the historical network environment characteristics of the electronic equipment when the electronic equipment is connected to the network before are not obtained, namely: and if the obtained current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with the network do not have the matched historical network environment characteristics of the electronic equipment when the electronic equipment is previously connected with the network, the electronic equipment is not allowed to be connected with the network.
At this time, the embodiment of the present invention provides a preferred implementation manner, and after the analysis process is performed, when the electronic device is not allowed to connect to the network, a preset neural network model for predicting whether the electronic device is allowed to access to the network according to the network environment characteristics may also be obtained. And judging whether the electronic equipment is allowed to access the network or not through a Support Vector Machine (SVM) by utilizing the neural network model according to the current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with the network. If the probability exceeds a preset probability threshold HP, the electronic equipment is determined to be allowed to access the network. The current network environment characteristic is determined as a historical network environment characteristic when the electronic device is allowed to connect to the network. If the probability of the preset probability threshold HP is not exceeded, it is determined that the electronic device is not allowed to connect to the network. And outputting indication information for connecting the electronic equipment to the network in a manual connection mode. The user can determine whether to realize connection in a mode of manually inputting the verification information according to the indication information, and if the fact that the user determines that the electronic equipment is connected to the network in a manual connection mode is received, the network environment characteristics when the electronic equipment is connected to the network in the manual connection mode are determined as historical network environment characteristics when the electronic equipment is allowed to be connected to the network.
It should be noted that an embodiment of the present invention further provides a preferred implementation manner, that is, a historical network environment feature library including historical network environment features is established in advance, and the historical network environment features of the corresponding electronic device when the electronic device is connected to the network before are obtained from the historical network environment feature library by establishing index information. And determining the network environment characteristics when the electronic equipment is accessed to the network in a mode of a neural network model as historical network environment characteristics when the electronic equipment is allowed to be connected to the network, and storing the historical network environment characteristics into a historical network environment characteristic library. And determining the network environment characteristics when the electronic equipment is accessed to the network by means of manual connection as historical network environment characteristics when the electronic equipment is allowed to be connected to the network, and storing the historical network environment characteristics into a historical network environment characteristic library.
Corresponding to the method for accessing the wireless local area network, the invention also provides a device for accessing the wireless local area network. Fig. 5 is a schematic diagram of a network connection device according to an embodiment of the present invention. Since the embodiment of the apparatus is similar to the embodiment of the method, reference may be made to the description of the embodiment of the method for relevant points, and details are not repeated here.
Corresponding to the network connection method provided above, an embodiment of the present invention further provides a network-connected electronic device, please refer to fig. 6, which is a schematic diagram of the network-connected electronic device provided in the embodiment of the present invention.
The network-connected electronic equipment comprises the following parts: a processor 602 and a memory 601.
The memory 601 is configured to store a program of a network connection method, and after the electronic device is powered on and runs the program of the network connection method through the processor 602, the following steps are performed:
acquiring current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with a network;
obtaining historical network environment characteristics of the electronic equipment when the electronic equipment is connected with the network previously;
analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result;
and judging whether the electronic equipment is allowed to access the network or not according to the matching degree analysis result.
It should be noted that, for the detailed description of the network-connected electronic device provided in the embodiment of the present invention, reference may be made to the related description of the network connection method provided in the embodiment of the present invention, and details are not repeated here.
Corresponding to the network connection method provided above, the embodiment of the present invention further provides a storage device connected to a network. The storage device connected with the network comprises the following parts: a program storing a network connection method, the program being executed by a processor to perform the steps of:
acquiring current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with a network;
obtaining historical network environment characteristics of the electronic equipment when the electronic equipment is connected with the network previously;
analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result;
and judging whether the electronic equipment is allowed to access the network or not according to the matching degree analysis result.
It should be noted that, for the detailed description of the network connection storage device provided in the embodiment of the present invention, reference may be made to the related description of the network connection method provided in the embodiment of the present invention, and details are not described here again.
Corresponding to the network connection device, the invention also provides a network connection system. Fig. 7 is a flowchart illustrating an operation of a network connection service system according to an embodiment of the present invention. Since the embodiment of the system is similar to the embodiment of the network connection device, please refer to the description of the embodiment of the device, which is not repeated herein.
Corresponding to the network connection method, the invention also provides a data processing method based on the electronic equipment terminal to be accessed into the network. Since this embodiment corresponds to the above embodiment of the network connection method mainly based on the server side, the description is relatively simple, and the following embodiment of the method is only illustrative. Please refer to fig. 8, which is a flowchart illustrating a data processing method according to an embodiment of the present invention.
Step S801, obtain the device identifier of the electronic device to be accessed to the network and the current network environment characteristics.
Step S802, obtaining the historical network environment characteristics corresponding to the electronic equipment according to the equipment identification. Step S803, calculating a similarity between the current network environment characteristic and the historical network environment characteristic.
Step S804, determining whether to allow the electronic device to access a network according to the similarity and a preset threshold.
In the embodiment of the invention, the electronic equipment to be accessed into the network can obtain the equipment identification of the electronic equipment and the corresponding current network environment characteristic when the electronic equipment is connected with the network. According to the device identification, the historical network environment characteristics corresponding to the electronic device to be accessed into the network when the electronic device is connected with the network before can be obtained. And calculating the similarity between the current network environment characteristics and the historical network environment characteristics by using a similarity calculation method to obtain a similarity analysis result. And comparing the similarity analysis result with a preset threshold (namely, a preset similarity threshold) to judge whether the electronic equipment is allowed to access the network.
Corresponding to the data processing method of the electronic equipment terminal based on the network to be accessed, the invention also provides a data processing device. Fig. 9 is a schematic diagram of a data processing apparatus according to an embodiment of the present invention.
In the embodiment of the present invention, the data processing apparatus includes a first obtaining unit 901, a second obtaining unit 902, a calculating unit 903, and a first judging unit 904. The first obtaining unit 901 is configured to obtain a device identifier of an electronic device to be connected to a network and a current network environment characteristic corresponding to the electronic device when the electronic device is connected to the network. The second obtaining unit 902 is configured to obtain, according to the device identifier, a historical network environment characteristic corresponding to the electronic device to be connected to the network when the electronic device is connected to the network before. The calculating unit 903 is configured to calculate a similarity between the current network environment characteristic and the historical network environment characteristic by using a similarity calculation method, and obtain a similarity analysis result. The first determining unit 904 is configured to compare the similarity analysis result with a preset threshold (i.e., a preset similarity threshold), and determine whether to allow the electronic device to access the network.
Although the present invention has been described with reference to the preferred embodiments, it is not intended to limit the present invention, and those skilled in the art can make variations and modifications without departing from the spirit and scope of the present invention.
In a typical configuration, an electronic device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data.
Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by an electronic device. As defined herein, computer readable media does not include non-transitory computer readable media (transient media), such as modulated data signals and carrier waves.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, 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, 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.

Claims (38)

1. A network connection method, comprising:
acquiring current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with a network;
obtaining historical network environment characteristics of the electronic equipment when the electronic equipment is connected with the network previously;
analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result;
and judging whether the electronic equipment is allowed to access the network or not according to the matching degree analysis result.
2. The network connection method according to claim 1, wherein the current network environment feature of the electronic device when currently connected to the network comprises at least one of:
information of a wireless access point detected by the electronic device when the electronic device is currently connected to the network;
information of electronic devices that have accessed the network, detected by the electronic devices when currently connected to the network;
the historical network environment characteristics of the electronic device when previously connected to the network include at least one of:
information of wireless access points detected by the electronic device when previously connecting to the network;
information of electronic devices that have accessed the network detected by the electronic device when previously connecting the network.
3. The network connection method according to claim 2, wherein the information of the wireless access point detected by the electronic device when the electronic device is currently connected to the network comprises at least one of the following information: at least one of the number, type and identification information of the wireless local area network access points detected by the electronic equipment when the electronic equipment is currently connected with the network; at least one of the number, type, and identification information of wireless cellular network access points detected by the electronic device when currently connected to the network;
the information of the electronic device having accessed to the network, which is detected by the electronic device when the electronic device is currently connected to the network, includes: at least one of the number, the type and the identification information of the electronic equipment which has accessed to the network and is detected by the electronic equipment when the electronic equipment is currently connected with the network;
the information of the wireless access point detected by the electronic equipment when the electronic equipment is connected with the network previously comprises at least one of the following information: at least one of the number, type and identification information of the wireless local area network access points detected by the electronic equipment when the electronic equipment is connected with the network previously; at least one of a number, a type, and identification information of wireless cellular network access points detected by the electronic device when previously connecting to the network;
the information of the electronic device having accessed to the network, which is detected by the electronic device when the electronic device previously connected to the network, includes: at least one of the number, type, and identification information of electronic devices that have been previously connected to the network, which are detected by the electronic devices when the electronic devices are previously connected to the network.
4. The network connection method according to claim 2 or 3, further comprising: acquiring a history of wireless access points detected when the electronic equipment is connected with the network, and generating information of the wireless access points detected when the electronic equipment is connected with the network according to the history of the wireless access points detected when the electronic equipment is connected with the network;
or obtaining a history of the electronic device which is detected when the electronic device is connected with the network and has accessed to the network, and generating information of the electronic device which is detected when the electronic device is connected with the network and has accessed to the network according to the history of the electronic device which is detected when the electronic device is connected with the network and has accessed to the network.
5. The network connection method according to claim 1, further comprising: obtaining a historical network environment feature library comprising historical network environment features;
the obtaining of the historical network environment characteristics of the electronic device when the electronic device is previously connected to the network includes:
obtaining index information identifying the network;
and according to the index information, obtaining the historical network environment characteristics matched with the index information from the historical network environment characteristic library.
6. The network connection method according to claim 1, wherein the analyzing the matching degree between the current network environment feature and the historical network environment feature to obtain a matching degree analysis result comprises: calculating a distance difference between the current network environment characteristic and the historical network environment characteristic to obtain a distance difference calculation result;
the determining whether to allow the electronic device to access the network according to the matching degree analysis result includes: and if the distance difference between the current network environment characteristic and the historical network environment characteristic is determined to be smaller than a preset distance threshold according to the distance difference calculation result, determining that the electronic equipment is allowed to access the network, otherwise, determining that the electronic equipment is not allowed to access the network.
7. The network connection method according to claim 1, further comprising:
if the historical network environment characteristics of the electronic equipment when the electronic equipment is connected with the network before are not obtained, obtaining a preset neural network model for predicting whether the electronic equipment is allowed to be connected into the network according to the network environment characteristics;
and judging whether the electronic equipment is allowed to access the network or not by utilizing the neural network model according to the current network environment characteristic.
8. The network connection method according to claim 1 or 7, wherein the method further comprises:
and if the electronic equipment is determined to be allowed to access the network, determining the current network environment characteristic as the historical network environment characteristic when the electronic equipment is allowed to be connected with the network.
9. The network connection method according to claim 1 or 7, wherein the method further comprises:
and if the electronic equipment is determined not to be allowed to be connected with the network, outputting indication information for connecting the electronic equipment with the network in a manual connection mode.
10. The network connection method according to claim 9, further comprising:
if the electronic equipment is successfully connected with the network through the manual connection mode, determining the network environment characteristics of the electronic equipment when the electronic equipment is connected with the network through the manual connection mode as historical network environment characteristics of the electronic equipment when the electronic equipment is allowed to be connected with the network.
11. The network connection method according to claim 5, further comprising:
storing the current network environment characteristics to the historical network environment characteristics database;
and if the historical network environment characteristics which are the same as the current network environment characteristics exist in the historical network environment characteristic database, updating the frequency statistical information and the time record information of the network connection based on the historical network environment characteristics.
12. The network connection method according to claim 11, further comprising:
obtaining the time information of the last time the electronic equipment is connected with the network, which is recorded in the historical network environment feature library;
obtaining the statistical information of the times of connecting the electronic equipment with the network, which is recorded in the historical network environment feature library;
and removing historical network environment characteristics corresponding to the time information of the latest connection to the network reaching or exceeding a preset time threshold and the frequency information reaching or exceeding a preset frequency threshold from the historical network environment characteristic library.
13. The network connection method according to claim 11, further comprising:
if the historical network environment characteristics which are the same as the current network environment characteristics do not exist in the historical network environment characteristic database, the current network environment characteristics are taken as new historical network environment characteristics to be stored in the historical network environment characteristic database;
counting the number of times of connecting the network based on the new historical network environment characteristics, and recording the current time as the time record information of the electronic equipment connecting the network.
14. A method for accessing a wireless local area network, comprising:
acquiring wireless local area network connection state information of the electronic equipment;
if the wireless local area network connection state of the electronic equipment is determined to be changed according to the wireless local area network connection state information, acquiring the information of the wireless local area network which the electronic equipment attempts to connect currently;
according to the information of the wireless local area network, obtaining the current network environment characteristics of the electronic equipment when the electronic equipment attempts to connect the wireless local area network at present;
obtaining historical network environment characteristics of the electronic equipment when the electronic equipment tries to connect the wireless local area network before according to the information of the wireless local area network;
analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result;
and judging whether the electronic equipment is allowed to access the wireless local area network or not according to the matching degree analysis result.
15. A network connection service system, comprising: a client and a server;
the client is used for: acquiring historical network environment characteristics of electronic equipment when the electronic equipment is connected with a network before and historical result information of whether the electronic equipment is connected with the network before, and sending the historical network environment characteristics and the historical result information to the server;
according to the obtained current network environment characteristics of the electronic equipment when the electronic equipment is connected with the network at present, judging whether the electronic equipment is allowed to be connected with the network or not by utilizing a neural network model which is provided by the server and used for predicting whether the electronic equipment is allowed to be connected with the network or not according to the network environment characteristics;
the server is used for: performing model training by using the historical network environment characteristics and the historical result information provided by the client as training samples to obtain a neural network model for predicting whether the electronic equipment is allowed to access the network according to the network environment characteristics;
providing the neural network model to the client.
16. A network connection device, comprising:
the device comprises a first obtaining unit, a second obtaining unit and a processing unit, wherein the first obtaining unit is used for obtaining the current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with a network;
a second obtaining unit, configured to obtain a historical network environment characteristic of the electronic device when the electronic device previously connects to the network;
the analysis unit is used for analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result;
and the first judgment unit is used for judging whether the electronic equipment is allowed to access the network or not according to the matching degree analysis result.
17. The network connection apparatus according to claim 16, wherein the current network environment feature of the electronic device when currently connected to the network comprises at least one of:
information of a wireless access point detected by the electronic device when the electronic device is currently connected to the network;
information of electronic devices that have accessed the network, detected by the electronic devices when currently connected to the network;
the historical network environment characteristics of the electronic device when previously connected to the network include at least one of:
information of wireless access points detected by the electronic device when previously connecting to the network;
information of electronic devices that have accessed the network detected by the electronic device when previously connecting the network.
18. The network connection apparatus according to claim 17, wherein the information of the wireless access point detected by the electronic device when currently connecting to the network comprises at least one of the following information: at least one of the number, type and identification information of the wireless local area network access points detected by the electronic equipment when the electronic equipment is currently connected with the network; at least one of the number, type, and identification information of wireless cellular network access points detected by the electronic device when currently connected to the network;
the information of the electronic device having accessed to the network, which is detected by the electronic device when the electronic device is currently connected to the network, includes: at least one of the number, the type and the identification information of the electronic equipment which has accessed to the network and is detected by the electronic equipment when the electronic equipment is currently connected with the network;
the information of the wireless access point detected by the electronic equipment when the electronic equipment is connected with the network previously comprises at least one of the following information: at least one of the number, type and identification information of the wireless local area network access points detected by the electronic equipment when the electronic equipment is connected with the network previously; at least one of a number, a type, and identification information of wireless cellular network access points detected by the electronic device when previously connecting to the network;
the information of the electronic device having accessed to the network, which is detected by the electronic device when the electronic device previously connected to the network, includes: at least one of the number, type, and identification information of electronic devices that have been previously connected to the network, which are detected by the electronic devices when the electronic devices are previously connected to the network.
19. The network connection device according to claim 17 or 18, further comprising: a third obtaining unit;
the third obtaining unit is configured to obtain a history of the wireless access point detected when the electronic device connects to the network, and generate information of the wireless access point detected when the electronic device previously connects to the network according to the history of the wireless access point detected when the electronic device connects to the network;
or, the information processing device is configured to obtain a history of the electronic device that has accessed to the network and is detected when the electronic device connects to the network, and generate information of the electronic device that has accessed to the network and is detected when the electronic device previously connects to the network according to the history of the electronic device that has accessed to the network and is detected when the electronic device connects to the network.
20. The network connection device of claim 16, wherein the device further comprises: a fourth obtaining unit;
the fourth obtaining unit is configured to obtain a historical network environment feature library including historical network environment features;
the fourth obtaining unit is specifically configured to: obtaining index information identifying the network;
and according to the index information, obtaining the historical network environment characteristics matched with the index information from the historical network environment characteristic library.
21. The network connection device according to claim 16, wherein the analysis unit is specifically configured to calculate a distance difference between the current network environment feature and the historical network environment feature, and obtain a distance difference calculation result;
the first determining unit is specifically configured to determine that the electronic device is allowed to access the network if it is determined that the distance difference between the current network environment feature and the historical network environment feature is smaller than a preset distance threshold according to the distance difference calculation result, and otherwise, determine that the electronic device is not allowed to access the network.
22. The network connection device of claim 16, wherein the device further comprises: a second judgment unit;
the second obtaining unit is further configured to, if the historical network environment characteristics of the electronic device when the electronic device is connected to the network before are not obtained, obtain a preset neural network model for predicting whether to allow the electronic device to access the network according to the network environment characteristics;
and the second judging unit is used for judging whether the electronic equipment is allowed to access the network or not according to the current network environment characteristic and by utilizing the neural network model.
23. The network connection device according to claim 16 or 22, wherein the device further comprises: a first determination unit;
the first determining unit is configured to determine the current network environment characteristic as a historical network environment characteristic when the electronic device is allowed to connect to the network if it is determined that the electronic device is allowed to access the network.
24. The network connection device according to claim 16 or 22, wherein the device further comprises: an output unit;
the output unit is used for outputting indication information for connecting the electronic equipment to the network in a manual connection mode if the electronic equipment is determined not to be allowed to be connected to the network.
25. The network connection device of claim 23, wherein the device further comprises: a second determination unit;
the second determining unit is configured to determine, if it is determined that the electronic device is successfully connected to the network by means of manual connection, a network environment characteristic when the electronic device is connected to the network by means of manual connection as a historical network environment characteristic when the electronic device is allowed to connect to the network.
26. The network connection device of claim 20, wherein the device further comprises: an update unit;
the update unit is configured to: storing the current network environment characteristics to the historical network environment characteristics database;
and if the historical network environment characteristics which are the same as the current network environment characteristics exist in the historical network environment characteristic database, updating the frequency statistical information and the time record information of the network connection based on the historical network environment characteristics.
27. The network connection device of claim 26, wherein the device further comprises: a removing unit;
the removal unit is used for: obtaining the time information of the last time the electronic equipment is connected with the network, which is recorded in the historical network environment feature library;
obtaining the statistical information of the times of connecting the electronic equipment with the network, which is recorded in the historical network environment feature library;
and removing historical network environment characteristics corresponding to the time information of the latest connection to the network reaching or exceeding a preset time threshold and the frequency information reaching or exceeding a preset frequency threshold from the historical network environment characteristic library.
28. The network connection device of claim 26, wherein the updating unit is further configured to:
if the historical network environment characteristics which are the same as the current network environment characteristics do not exist in the historical network environment characteristic database, the current network environment characteristics are taken as new historical network environment characteristics to be stored in the historical network environment characteristic database;
counting the number of times of connecting the network based on the new historical network environment characteristics, and recording the current time as the time record information of the electronic equipment connecting the network.
29. An apparatus for accessing a wireless local area network, comprising:
a first obtaining unit, configured to obtain wireless local area network connection state information of an electronic device;
a second obtaining unit, configured to obtain information of a wireless local area network to which the electronic device currently attempts to connect if it is determined that a wireless local area network connection state of the electronic device changes according to the wireless local area network connection state information;
a third obtaining unit, configured to obtain, according to the information of the wireless local area network, a current network environment characteristic of the electronic device when the electronic device currently attempts to connect to the wireless local area network;
a fourth obtaining unit, configured to obtain, according to the information of the wireless local area network, a historical network environment characteristic of the electronic device when the electronic device attempts to connect to the wireless local area network before;
the analysis unit is used for analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result;
and the judging unit is used for judging whether the electronic equipment is allowed to access the wireless local area network or not according to the matching degree analysis result.
30. An electronic device, comprising:
a processor; and
a memory for storing a program of a network connection method, the apparatus performing the following steps after being powered on and running the program of the network connection method through the processor:
acquiring current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with a network;
obtaining historical network environment characteristics of the electronic equipment when the electronic equipment is connected with the network previously;
analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result;
and judging whether the electronic equipment is allowed to access the network or not according to the matching degree analysis result.
31. A storage device, storing a program of a network connection method, the program being executed by a processor to perform the steps of:
acquiring current network environment characteristics of the electronic equipment when the electronic equipment is currently connected with a network;
obtaining historical network environment characteristics of the electronic equipment when the electronic equipment is connected with the network previously;
analyzing the matching degree between the current network environment characteristics and the historical network environment characteristics to obtain a matching degree analysis result;
and judging whether the electronic equipment is allowed to access the network or not according to the matching degree analysis result.
32. A data processing method, comprising:
acquiring a device identifier of electronic equipment to be accessed into a network and current network environment characteristics;
acquiring historical network environment characteristics corresponding to the electronic equipment according to the equipment identification;
calculating the similarity between the current network environment characteristics and the historical network environment characteristics;
and judging whether the electronic equipment is allowed to access the network or not according to the similarity and a preset threshold value.
33. The process of claim 32, further comprising:
and displaying the similarity and the judgment result through the IO equipment of the electronic equipment.
34. The process of claim 33, further comprising:
receiving input through an IO device of the electronic device, wherein the input is used for adjusting the preset threshold value to obtain an adjusted threshold value;
and judging whether the electronic equipment is allowed to access the network or not according to the similarity and the adjusted threshold value.
35. A data processing apparatus, comprising:
the first obtaining unit is used for obtaining the equipment identification and the current network environment characteristic of the electronic equipment to be accessed into the network;
a second obtaining unit, configured to obtain, according to the device identifier, a historical network environment feature corresponding to the electronic device;
the calculating unit is used for calculating the similarity between the current network environment characteristics and the historical network environment characteristics;
and the first judgment unit is used for judging whether the electronic equipment is allowed to access the network or not according to the similarity and a preset threshold value.
36. The processing apparatus as in claim 35, further comprising:
and the display unit is used for displaying the similarity and the judgment result through the IO equipment of the electronic equipment.
37. The processing apparatus as in claim 36, further comprising:
the adjusting unit is used for receiving input through IO (input/output) equipment of the electronic equipment, and adjusting the preset threshold value to obtain an adjusted threshold value;
and the second judging unit is used for judging whether the electronic equipment is allowed to access the network or not according to the similarity and the adjusted threshold value.
38. A network connection system, comprising: at least one of the network connection device of any of the preceding claims 15-28 and the data processing device of any of the claims 35-37.
CN201811362073.XA 2018-11-15 2018-11-15 Network connection method, device and system Active CN111194027B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811362073.XA CN111194027B (en) 2018-11-15 2018-11-15 Network connection method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811362073.XA CN111194027B (en) 2018-11-15 2018-11-15 Network connection method, device and system

Publications (2)

Publication Number Publication Date
CN111194027A true CN111194027A (en) 2020-05-22
CN111194027B CN111194027B (en) 2023-09-05

Family

ID=70708878

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811362073.XA Active CN111194027B (en) 2018-11-15 2018-11-15 Network connection method, device and system

Country Status (1)

Country Link
CN (1) CN111194027B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835741A (en) * 2020-07-03 2020-10-27 南京普建维思信息技术有限公司 Internet of things equipment safety access system and method based on consensus mechanism and intelligent contract
CN113194299A (en) * 2021-07-01 2021-07-30 深圳市修远文化创意有限公司 Oral treatment real-time picture sharing method under intelligent medical scene
CN113709665A (en) * 2021-08-30 2021-11-26 Oppo广东移动通信有限公司 Network connection method, device, storage medium and electronic equipment
CN115277134A (en) * 2022-07-13 2022-11-01 深圳铸泰科技有限公司 Pre-access management system and method based on Internet of things security platform

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104837215A (en) * 2015-04-14 2015-08-12 广东欧珀移动通信有限公司 Wireless access point connecting method and device
CN105307241A (en) * 2015-11-06 2016-02-03 小米科技有限责任公司 Network connection method and device
CN106954248A (en) * 2017-03-31 2017-07-14 宇龙计算机通信科技(深圳)有限公司 A kind of method for network access and device
CN107333235A (en) * 2017-06-14 2017-11-07 珠海市魅族科技有限公司 WiFi connections probability forecasting method, device, terminal and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104837215A (en) * 2015-04-14 2015-08-12 广东欧珀移动通信有限公司 Wireless access point connecting method and device
CN105307241A (en) * 2015-11-06 2016-02-03 小米科技有限责任公司 Network connection method and device
CN106954248A (en) * 2017-03-31 2017-07-14 宇龙计算机通信科技(深圳)有限公司 A kind of method for network access and device
CN107333235A (en) * 2017-06-14 2017-11-07 珠海市魅族科技有限公司 WiFi connections probability forecasting method, device, terminal and storage medium

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111835741A (en) * 2020-07-03 2020-10-27 南京普建维思信息技术有限公司 Internet of things equipment safety access system and method based on consensus mechanism and intelligent contract
CN111835741B (en) * 2020-07-03 2022-06-07 南京普建维思信息技术有限公司 Internet of things equipment safety access system and method based on consensus mechanism and intelligent contract
CN113194299A (en) * 2021-07-01 2021-07-30 深圳市修远文化创意有限公司 Oral treatment real-time picture sharing method under intelligent medical scene
CN113709665A (en) * 2021-08-30 2021-11-26 Oppo广东移动通信有限公司 Network connection method, device, storage medium and electronic equipment
CN115277134A (en) * 2022-07-13 2022-11-01 深圳铸泰科技有限公司 Pre-access management system and method based on Internet of things security platform

Also Published As

Publication number Publication date
CN111194027B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
CN111194027B (en) Network connection method, device and system
US9769190B2 (en) Methods and apparatus to identify malicious activity in a network
US20190034937A1 (en) Problem Prediction Method and System
US20200334638A1 (en) Method and apparatus for processing loss assessment data for car insurance and processing device
CN108108743B (en) Abnormal user identification method and device for identifying abnormal user
EP3582127A1 (en) Feature information-based user authentication method and device
CN109063433B (en) False user identification method and device and readable storage medium
CN109905292B (en) Terminal equipment identification method, system and storage medium
CN106973379B (en) Network re-entry recognition methods and device
CN110647894A (en) Fault diagnosis method and system of electrical equipment, cloud server and storage medium
CN109412832B (en) User service providing method and system
CN103744974A (en) Method and device for selecting local interest points
CN110969261B (en) Encryption algorithm-based model construction method and related equipment
CN113705650B (en) Face picture set processing method, device, medium and computing equipment
CN115904883B (en) RPA flow execution visual abnormity monitoring method, device and medium
CN113591079A (en) Method and device for acquiring abnormal application installation package and electronic equipment
CN113297583B (en) Vulnerability risk analysis method, device, equipment and storage medium
CN108509560B (en) User similarity obtaining method and device, equipment and storage medium
CN113515993A (en) Video anomaly detection method, video anomaly model training method, video anomaly detection equipment, video anomaly model and storage medium
WO2018096024A1 (en) Determining coverage efficiency of an access point in a wireless network
CN111798237A (en) Abnormal transaction diagnosis method and system based on application log
CN111415191A (en) User classification method and device, electronic equipment and storage medium
CN112742026A (en) Game control method, device, storage medium and electronic equipment
CN111835541A (en) Model aging detection method, device, equipment and system
EP4242881A1 (en) Online detection of anomalous subsequences in time series

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