CN113645674A - Computer network communication method and computer software and hardware - Google Patents

Computer network communication method and computer software and hardware Download PDF

Info

Publication number
CN113645674A
CN113645674A CN202110884155.6A CN202110884155A CN113645674A CN 113645674 A CN113645674 A CN 113645674A CN 202110884155 A CN202110884155 A CN 202110884155A CN 113645674 A CN113645674 A CN 113645674A
Authority
CN
China
Prior art keywords
access point
signal strength
strength value
preset
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110884155.6A
Other languages
Chinese (zh)
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.)
Liaoning Railway Vocational and Technical College
Original Assignee
Liaoning Railway Vocational and Technical College
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 Liaoning Railway Vocational and Technical College filed Critical Liaoning Railway Vocational and Technical College
Priority to CN202110884155.6A priority Critical patent/CN113645674A/en
Publication of CN113645674A publication Critical patent/CN113645674A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0083Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
    • H04W36/0085Hand-off measurements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/32Reselection being triggered by specific parameters by location or mobility data, e.g. speed data

Abstract

The application relates to the technical field of communication, and the embodiment of the application discloses a computer network communication method, computer software and hardware, wherein the method comprises the following steps: detecting a change in position of the electronic device; when the electronic equipment is in a preset area, acquiring a first signal strength value of a first access point accessed by the electronic equipment, wherein the preset area is an edge area of the first access point; Wi-Fi scanning is carried out to obtain a second signal strength value of a second access point; and when the first signal strength value is smaller than the second signal strength value, automatically disconnecting the network connection with the first access point and accessing the second access point. By adopting the embodiment of the application, the user internet surfing experience can be improved.

Description

Computer network communication method and computer software and hardware
Technical Field
The present application relates to the field of communications technologies, and in particular, to a computer network communication method, computer software, and computer hardware.
Background
With the rapid development of network technologies and the rapid popularization of electronic devices (such as mobile phones and tablet computers), users use electronic devices to surf the internet to become a part of daily life, and in general, users encounter such a situation, and when a user crosses from one area to another area, a wireless fidelity (Wi-Fi) signal of the user becomes weak, so that the user experience of surfing the internet becomes worse, and therefore, a problem of how to improve the user experience of surfing the internet needs to be solved urgently.
Disclosure of Invention
The embodiment of the application provides a computer network communication method, computer software and hardware, and the user internet surfing experience can be improved.
In a first aspect, an embodiment of the present application provides a computer network communication method, where the method includes:
detecting a change in position of the electronic device;
when the electronic equipment is in a preset area, acquiring a first signal strength value of a first access point accessed by the electronic equipment, wherein the preset area is an edge area of the first access point;
Wi-Fi scanning is carried out to obtain a second signal strength value of a second access point;
and when the first signal strength value is smaller than the second signal strength value, automatically disconnecting the network connection with the first access point and accessing the second access point.
In a second aspect, an embodiment of the present application provides a computer network communication device, where the device includes: a detection unit, an acquisition unit, a scanning unit and a connection control unit, wherein,
the detection unit is used for detecting the position change of the electronic equipment;
the obtaining unit is configured to obtain a first signal strength value of a first access point accessed by the electronic device when the electronic device is located in a preset area, where the preset area is an edge area of the first access point;
the scanning unit is used for carrying out Wi-Fi scanning to obtain a second signal strength value of a second access point;
and the connection control unit is used for automatically disconnecting the network connection with the first access point and accessing the second access point when the first signal strength value is smaller than the second signal strength value.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, a communication interface, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the processor, and the program includes instructions for executing the steps in the first aspect of the embodiment of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program for electronic data exchange, where the computer program enables a computer to perform some or all of the steps described in the first aspect of the embodiment of the present application.
The embodiment of the application has the following beneficial effects:
it can be seen that the computer network communication method and computer software and hardware described in the embodiments of the present application, detect a change in the location of an electronic device, when the electronic equipment is in a preset area, acquiring a first signal intensity value of a first access point accessed by the electronic equipment, wherein the preset area is an edge area of the first access point, carrying out Wi-Fi scanning to obtain a second signal intensity value of a second access point, when the first signal strength value is smaller than the second signal strength value, the network connection with the first access point is automatically disconnected, the second access point is accessed, and furthermore, when the electronic equipment enters the marginal area of the first access point, when the current signal intensity value is smaller than that of the second access point, the connection between the first access point and the second access point is automatically disconnected to access the second access point, so that the network speed of the electronic equipment is guaranteed, and the internet experience of a user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a schematic flowchart of a computer network communication method according to an embodiment of the present application;
fig. 1B is an illustration of an edge area of an access point provided in an embodiment of the present application;
fig. 1C is a schematic view illustrating a scene of a computer network communication method according to an embodiment of the present application;
fig. 1D is a schematic view illustrating another scenario of a computer network communication method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram of another computer network communication method provided in the embodiments of the present application;
fig. 3 is a schematic structural diagram of a server provided in an embodiment of the present application;
fig. 4 is a block diagram illustrating functional units of a computer network communication device according to an embodiment of the present disclosure.
Detailed Description
In order to make the technical solutions of the present application better understood, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," and the like in the description and claims of the present application and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
In this embodiment, the electronic device may be any device having a communication function, for example, a mobile phone, a tablet computer, a bluetooth headset, and the like, which is not limited herein. The signal strength value is used to represent the signal strength of the detected access point, and may be, for example, a Received Signal Strength Indication (RSSI) value.
The following describes embodiments of the present application in detail.
Referring to fig. 1A, fig. 1A is a schematic flowchart of a computer network communication method according to an embodiment of the present disclosure, where as shown in the figure, the computer network communication method includes:
101. a change in position of the electronic device is detected.
Wherein, this application embodiment can be applied to thing networking environment or intelligent house environment, for example, under indoor environment, can set up a plurality of access points, and the access point can include following at least one: routers, set-top boxes, gateways, hotspots, etc., without limitation.
102. When the electronic equipment is located in a preset area, a first signal strength value of a first access point accessed by the electronic equipment is obtained, and the preset area is an edge area of the first access point.
The preset area may be preset or default to the system. For example, as shown in FIG. 1B, FIG. 1B shows the edge area of an access point. When the electronic device is located in an edge area, i.e., a preset area, of a signal coverage area of the first access point, a signal strength value of the electronic device is obviously weakened, and a situation that the electronic device cannot surf the internet may also occur, so that a first signal strength value of the first access point, to which the electronic device has access, may be obtained. The predetermined area may be an overlapping area between a signal coverage area of the first access point and a signal coverage area of the second access point, as shown in fig. 1C, where there is an overlapping area between the signal coverage area of the first access point and the signal coverage area of the second access point, and the user location may be in the overlapping area.
103. And carrying out Wi-Fi scanning to obtain a second signal strength value of the second access point.
The electronic device may start a Wi-Fi scanning function, and further may obtain at least one signal strength value, select an access point with a maximum value of the at least one signal strength value, and use the signal strength value of the second access point as a second signal strength value. The second access point may be an access point that was successfully connected, or the second access point may be an accessible access point.
104. And when the first signal strength value is smaller than the second signal strength value, automatically disconnecting the network connection with the first access point and accessing the second access point.
When the first signal intensity value is smaller than the second signal intensity value, the electronic equipment can automatically disconnect the network connection with the first access point, namely, the poorer network is disconnected, and then the electronic equipment has an opportunity to access the network with better signal quality, namely, the second access point, so that the problem that the network cannot be switched quickly at the moment of the poorer network in life is solved.
Optionally, the method may further include the following steps:
a1, determining the number of access users of the second access point;
a2, when the number of the access users is less than the preset number, executing the step of accessing the second access point.
The preset number may be set by the user in advance or default by the system, for example, the maximum number of users that can be accessed by an access point is certain.
Specifically, the number of access users of the second access point may be determined, and then, when the number of access users is smaller than the preset number, the second access point may be accessed, that is, when the number of interfaces of the second access point is also smaller, the electronic device may be allowed to access the second access point.
Optionally, the method may further include the following steps:
a3, when the number of the access users is equal to the preset number, determining the user rights of all the users accessing the second access point to obtain a plurality of user rights;
a4, determining at least one user right meeting preset requirements in the user rights;
a5, sending a forced offline instruction to the second access point, where the forced offline instruction is used to instruct the second access point to perform offline operation on at least one access device corresponding to the at least one user right;
a6, executing the step of accessing the second access point.
The preset requirement can be set by the user or the default of the system. For example, a white list may be preset, a device corresponding to the device identifier in the white list cannot be forced to go offline after accessing the second access point, a device outside the white list is a device that can be forced to go offline after accessing the second access point, and the preset requirement may be the device identifier outside the white list.
In a specific implementation, in the embodiment of the present application, the second access point may have a function of protecting the authority of the owner, that is, after the second access point is full or reaches the number of access users set by the user, when it is detected that the owner has an access requirement, some users that have accessed the second access point may be disconnected, so as to ensure that the owner can access the second access point quickly, or ensure the network speed of the owner.
Specifically, when the number of the access users is equal to the preset number, it indicates that the second access point has been full of users or the number of the access users specified by the user is reached, the user permissions of all the users accessing the second access point can be determined, a plurality of user permissions are obtained, at least one user permission meeting the preset requirement in the plurality of user permissions can be determined, the electronic device can send a forced offline instruction to the second access point, the forced offline instruction is used for instructing the second access point to perform offline operation on at least one access device corresponding to the at least one user permission, the offline operation is understood as breaking network connection with the second access point, the number or principle of forced offline can be preset by the electronic device and the second access point, and the number or principle of forced offline can be preset in the second access point, or, the number or the principle of forced offline may be carried in the forced offline instruction, for example, the number of forced offline is 1, 2, and the like, the principle may be that a device occupying more network resources preferentially offline, or the principle may be that a device close to the second access point preferentially offline, and the like. Furthermore, after the access device corresponding to the at least one user right and accessing the second access point is offline, part of the access ports can be vacated to allow the electronic device to access, and then the electronic device can access the second access point, so that the benefit of the owner can be preferentially ensured.
For example, if the user of the electronic device is the owner of the home, the user can trigger the second access point to be offline for some access users when approaching the second access point, and the owner can better and faster access the second access point.
Optionally, the method may further include the following steps:
and sending a network speed limiting instruction to the second access point, where the network speed limiting instruction is used to instruct the second access point to limit the network speed of another user accessing the second access point to a first preset range, or maintain the network rate of the electronic device to a second preset range.
The first preset range and the second preset range can be set by a user or defaulted by a system. In a specific implementation, the electronic device may send a network speed limiting instruction to the second access point, where the network speed limiting instruction is used to instruct the second access point to limit the network speed of other users accessing the second access point, that is, users other than the electronic device, to a first preset range, that is, to limit each network speed of the other users to the first preset range, or to limit the total network speed of the other users to the first range, or to maintain the network speed of the electronic device to a second preset range, that is, to maintain the network speed of the electronic device to a fixed range, so as to ensure the network requirement of the electronic device, and to help improve the internet surfing requirement of an owner or a user with a specific authority.
Optionally, the method may further include the following steps:
b1, acquiring a target difference value between the second signal strength value and the first signal strength value;
b2, when the target difference value is larger than a first preset threshold value, executing the step of automatically disconnecting the network connection with the first access point;
b3, when the target difference is smaller than or equal to the first preset threshold and larger than a second preset threshold, detecting a moving direction of the electronic device, where the first preset threshold is larger than the second preset threshold, and the second preset threshold is larger than or equal to 0;
b4, when the electronic equipment is close to the second access point, acquiring the target moving speed of the electronic equipment;
b5, determining a target disconnection time according to the target moving speed;
b6, when the target disconnection time is reached, executing the step of automatically disconnecting the network connection with the first access point.
The first preset threshold and the second preset threshold may be preset or default by the system.
Specifically, the electronic device may obtain a target difference between the second signal strength value and the first signal strength value, and when the target difference is greater than a first preset threshold, it indicates that the second signal strength value is sufficiently greater than the first signal strength value, and if the electronic device is connected to the second access point, the network quality of the electronic device may be obviously improved, and further, the step of automatically disconnecting the network connection with the first access point may be performed, so as to achieve a purpose of quickly improving the network quality.
Further, the first preset threshold is greater than a second preset threshold, the second preset threshold is greater than or equal to 0, when the target difference is less than or equal to the first preset threshold and greater than the second preset threshold, it indicates that the difference between the first signal strength value and the second signal strength value is not large, if the handover is performed at this time, the network quality may not be significantly improved, and the user may approach the first access point or the second access point during the moving process, and further, may detect the moving direction of the electronic device, and may obtain the target moving parameter of the electronic device when the electronic device approaches the second access point, where the moving parameter may include a moving direction and a moving rate, as shown in fig. 1D, if the moving direction of the user often does not directly move towards the second access point, and therefore, a certain included angle is generated between the directions in which the user position points to the second access point, a reference distance can be set, the reference distance is a distance for automatically disconnecting and accessing the network and the second access point when the distance between the electronic equipment and the second access point reaches the reference distance, based on the user position and the moving direction, a reference position point can be determined, the reference position point is a point on a circle where the reference distance is located, namely an intersection point of a line of the user position along the moving direction and the circle where the reference distance is located, the target distance between the user position and the reference position point can be determined based on the user distance and the reference position point, the required time consumption can be determined according to the target distance and the moving speed, the target disconnection time can be determined according to the required time consumption and the current time, the target disconnection time can be a time corresponding to the required time consumption after the current time, and when the target disconnection time arrives, the network connection with the first access point can be automatically disconnected, the network disconnection time can be predicted based on the mobile parameters of the user, so that the experience that a good network cannot be guaranteed even if the electronic equipment is connected to the second access point after the electronic equipment is disconnected is avoided, the network state is good after the electronic equipment is connected to the second access point, and the user experience is improved.
Optionally, the method may further include the following steps:
c1, determining a foreground application of the electronic equipment;
c2, determining a target demand signal intensity value corresponding to the foreground application according to a preset mapping relation between the application and the demand signal intensity value;
c3, when the target signal strength value is greater than the first signal strength value and the difference between the target signal strength value and the first signal strength value is greater than a third preset threshold, executing the Wi-Fi scanning step.
The third preset threshold may be preset or default to the system, a mapping relationship between a preset application and a demand signal strength value, that is, different applications, which have different requirements for network resources, may be stored in the electronic device in advance, specifically, the electronic device may determine a foreground application of the electronic device, determine a target demand signal strength value corresponding to the foreground application according to the mapping relationship between the preset application and the demand signal strength value, execute the step of Wi-Fi scanning when the target demand signal strength value is greater than the first signal strength value and a difference between the target demand signal strength value and the first signal strength value is greater than the third preset threshold, trigger an automatic network disconnection function based on a network requirement of the foreground application, and further have an opportunity to access the second access point.
For example, existing Wi-Fi all have the defect, and sometimes, after a user accesses a first access point, a coverage range where the first access point is located spans to a coverage range where a second access point is located, and at this time, a signal is very poor, but the user does not drop the network, so that the user cannot switch to the second access point.
It can be seen that, in the computer network communication method described in this embodiment of the application, a location change of the electronic device is detected, when the electronic device is in a preset area, a first signal strength value of a first access point to which the electronic device has access is obtained, the preset area is an edge area of the first access point, Wi-Fi scanning is performed to obtain a second signal strength value of a second access point, when the first signal strength value is smaller than the second signal strength value, network connection with the first access point is automatically disconnected, and the second access point is accessed.
Referring to fig. 2, fig. 2 is a schematic flow chart of a computer network communication method according to an embodiment of the present application, where as shown in the figure, the computer network communication method includes:
201. a change in position of the electronic device is detected.
202. When the electronic equipment is located in a preset area, a first signal strength value of a first access point accessed by the electronic equipment is obtained, and the preset area is an edge area of the first access point.
203. And carrying out Wi-Fi scanning to obtain a second signal strength value of the second access point.
204. And when the first signal strength value is smaller than the second signal strength value, determining the number of access users of the second access point.
205. And when the number of the access users is less than the preset number, automatically disconnecting the network connection with the first access point and accessing the second access point.
The detailed description of the steps 201 to 205 may refer to the corresponding steps of the computer network communication method described in the above fig. 1A, and will not be described herein again.
It can be seen that, in the computer network communication method, the computer software and the computer hardware described in the embodiments of the present application, a location change of an electronic device is detected, when the electronic device is in a preset area, a first signal strength value of a first access point that the electronic device has accessed is obtained, the preset area is an edge area of the first access point, Wi-Fi scanning is performed to obtain a second signal strength value of a second access point, when the first signal strength value is smaller than the second signal strength value, the number of access users of the second access point is determined, when the number of access users is smaller than the preset number, network connection with the first access point is automatically disconnected, the second access point is accessed, and further, when the electronic device enters the edge area of the first access point, when the current signal strength value is smaller than the signal strength value of the second access point, connection with the first access point is automatically disconnected to access the second access point, the network speed of the electronic equipment is guaranteed, and the internet surfing experience of a user is improved.
In accordance with the foregoing embodiments, please refer to fig. 3, fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application, and as shown in the drawing, the electronic device includes a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory and configured to be executed by the processor, and in an embodiment of the present application, the programs include instructions for performing the following steps:
detecting a change in position of the electronic device;
when the electronic equipment is in a preset area, acquiring a first signal strength value of a first access point accessed by the electronic equipment, wherein the preset area is an edge area of the first access point;
Wi-Fi scanning is carried out to obtain a second signal strength value of a second access point;
and when the first signal strength value is smaller than the second signal strength value, automatically disconnecting the network connection with the first access point and accessing the second access point.
Optionally, the program further includes instructions for performing the following steps:
determining the number of access users of the second access point;
and when the number of the access users is less than the preset number, executing the step of accessing the second access point.
Optionally, the program further includes instructions for performing the following steps:
when the number of the access users is equal to the preset number, determining user permissions of all users accessing the second access point to obtain a plurality of user permissions;
determining at least one user authority which meets preset requirements in the plurality of user authorities;
sending a forced offline instruction to the second access point, wherein the forced offline instruction is used for indicating the second access point to perform offline operation on at least one access device corresponding to the at least one user authority;
performing the step of accessing the second access point.
Optionally, the program further includes instructions for performing the following steps:
obtaining a target difference value between the second signal strength value and the first signal strength value;
when the target difference value is larger than a first preset threshold value, executing the step of automatically disconnecting the network connection with the first access point;
when the target difference value is smaller than or equal to the first preset threshold and larger than a second preset threshold, detecting the moving direction of the electronic equipment, wherein the first preset threshold is larger than the second preset threshold, and the second preset threshold is larger than or equal to 0;
when the electronic equipment approaches to the second access point, acquiring a target movement parameter of the electronic equipment;
determining a target disconnection time according to the target movement parameter;
and when the target disconnection time is reached, executing the step of automatically disconnecting the network connection with the first access point.
Optionally, the program further includes instructions for performing the following steps:
determining a foreground application of the electronic device;
determining a target demand signal intensity value corresponding to the foreground application according to a preset mapping relation between the application and the demand signal intensity value;
and when the target demand signal strength value is greater than the first signal strength value and the difference between the target demand signal strength value and the first signal strength value is greater than a third preset threshold value, executing the step of performing Wi-Fi scanning.
It can be seen that, the electronic device described in this embodiment of the present application detects a position change of the electronic device, and when the electronic device is located in a preset area, obtains a first signal strength value of a first access point to which the electronic device has access, where the preset area is an edge area of the first access point, performs Wi-Fi scanning to obtain a second signal strength value of a second access point, and when the first signal strength value is smaller than the second signal strength value, automatically disconnects a network connection with the first access point and accesses the second access point, so that when the electronic device enters the edge area of the first access point, and when the current signal strength value is smaller than the signal strength value of the second access point, the electronic device automatically disconnects the connection with the first access point and accesses the second access point, thereby ensuring a network rate of the electronic device and improving a user experience of surfing the internet.
Fig. 4 is a block diagram of functional units of a computer network communication apparatus 400 according to an embodiment of the present application. The computer network communication device 400, said device 400 comprising: a detection unit 401, an acquisition unit 402, a scanning unit 403, and a connection control unit 404, wherein,
the detection unit 401 is configured to detect a position change of the electronic device;
the obtaining unit 402 is configured to obtain a first signal strength value of a first access point accessed by the electronic device when the electronic device is located in a preset area, where the preset area is an edge area of the first access point;
the scanning unit 403 is configured to perform Wi-Fi scanning to obtain a second signal strength value of a second access point;
the connection control unit 404 is configured to automatically disconnect the network connection with the first access point and access the second access point when the first signal strength value is smaller than the second signal strength value.
Optionally, the apparatus 400 is further specifically configured to:
determining the number of access users of the second access point;
and when the number of the access users is less than the preset number, executing the step of accessing the second access point.
Optionally, the apparatus 400 is further specifically configured to:
when the number of the access users is equal to the preset number, determining user permissions of all users accessing the second access point to obtain a plurality of user permissions;
determining at least one user authority which meets preset requirements in the plurality of user authorities;
sending a forced offline instruction to the second access point, wherein the forced offline instruction is used for indicating the second access point to perform offline operation on at least one access device corresponding to the at least one user authority;
performing the step of accessing the second access point.
Optionally, the apparatus 400 is further specifically configured to:
obtaining a target difference value between the second signal strength value and the first signal strength value;
when the target difference value is larger than a first preset threshold value, executing the step of automatically disconnecting the network connection with the first access point;
when the target difference value is smaller than or equal to the first preset threshold and larger than a second preset threshold, detecting the moving direction of the electronic equipment, wherein the first preset threshold is larger than the second preset threshold, and the second preset threshold is larger than or equal to 0;
when the electronic equipment approaches to the second access point, acquiring a target movement parameter of the electronic equipment;
determining a target disconnection time according to the target movement parameter;
and when the target disconnection time is reached, executing the step of automatically disconnecting the network connection with the first access point.
Optionally, the apparatus 400 is further specifically configured to:
determining a foreground application of the electronic device;
determining a target demand signal intensity value corresponding to the foreground application according to a preset mapping relation between the application and the demand signal intensity value;
and when the target demand signal strength value is greater than the first signal strength value and the difference between the target demand signal strength value and the first signal strength value is greater than a third preset threshold value, executing the step of performing Wi-Fi scanning.
It can be seen that the computer network communication apparatus described in the embodiments of the present application, detects a change in the location of an electronic device, when the electronic equipment is in a preset area, acquiring a first signal intensity value of a first access point accessed by the electronic equipment, wherein the preset area is an edge area of the first access point, carrying out Wi-Fi scanning to obtain a second signal intensity value of a second access point, when the first signal strength value is smaller than the second signal strength value, the network connection with the first access point is automatically disconnected, the second access point is accessed, and furthermore, when the electronic equipment enters the marginal area of the first access point, when the current signal intensity value is smaller than that of the second access point, the connection between the first access point and the second access point is automatically disconnected to access the second access point, so that the network speed of the electronic equipment is guaranteed, and the internet experience of a user is improved.
It can be understood that the functions of each program module of the computer network communication device in this embodiment may be specifically implemented according to the method in the foregoing method embodiment, and the specific implementation process may refer to the related description of the foregoing method embodiment, which is not described herein again.
Embodiments of the present application also provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the methods as described in the above method embodiments.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The foregoing detailed description of the embodiments of the present application has been presented to illustrate the principles and implementations of the present application, and the above description of the embodiments is only provided to help understand the method and the core concept of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. A method of computer network communication, the method comprising:
detecting a change in position of the electronic device;
when the electronic equipment is in a preset area, acquiring a first signal strength value of a first access point accessed by the electronic equipment, wherein the preset area is an edge area of the first access point;
Wi-Fi scanning is carried out to obtain a second signal strength value of a second access point;
and when the first signal strength value is smaller than the second signal strength value, automatically disconnecting the network connection with the first access point and accessing the second access point.
2. The method of claim 1, further comprising:
determining the number of access users of the second access point;
and when the number of the access users is less than the preset number, executing the step of accessing the second access point.
3. The method of claim 2, further comprising:
when the number of the access users is equal to the preset number, determining user permissions of all users accessing the second access point to obtain a plurality of user permissions;
determining at least one user authority which meets preset requirements in the plurality of user authorities;
sending a forced offline instruction to the second access point, wherein the forced offline instruction is used for indicating the second access point to perform offline operation on at least one access device corresponding to the at least one user authority;
performing the step of accessing the second access point.
4. The method according to any one of claims 1-3, further comprising:
obtaining a target difference value between the second signal strength value and the first signal strength value;
when the target difference value is larger than a first preset threshold value, executing the step of automatically disconnecting the network connection with the first access point;
when the target difference value is smaller than or equal to the first preset threshold and larger than a second preset threshold, detecting the moving direction of the electronic equipment, wherein the first preset threshold is larger than the second preset threshold, and the second preset threshold is larger than or equal to 0;
when the electronic equipment approaches to the second access point, acquiring a target movement parameter of the electronic equipment;
determining a target disconnection time according to the target movement parameter;
and when the target disconnection time is reached, executing the step of automatically disconnecting the network connection with the first access point.
5. The method according to any one of claims 1-3, further comprising:
determining a foreground application of the electronic device;
determining a target demand signal intensity value corresponding to the foreground application according to a preset mapping relation between the application and the demand signal intensity value;
and when the target demand signal strength value is greater than the first signal strength value and the difference between the target demand signal strength value and the first signal strength value is greater than a third preset threshold value, executing the step of performing Wi-Fi scanning.
6. An apparatus for computer network communication, the apparatus comprising: a detection unit, an acquisition unit, a scanning unit and a connection control unit, wherein,
the detection unit is used for detecting the position change of the electronic equipment;
the obtaining unit is configured to obtain a first signal strength value of a first access point accessed by the electronic device when the electronic device is located in a preset area, where the preset area is an edge area of the first access point;
the scanning unit is used for carrying out Wi-Fi scanning to obtain a second signal strength value of a second access point;
and the connection control unit is used for automatically disconnecting the network connection with the first access point and accessing the second access point when the first signal strength value is smaller than the second signal strength value.
7. The apparatus of claim 6, wherein the apparatus is further specifically configured to:
determining the number of access users of the second access point;
and when the number of the access users is less than the preset number, executing the step of accessing the second access point.
8. The apparatus of claim 7, wherein the apparatus is further specifically configured to:
when the number of the access users is equal to the preset number, determining user permissions of all users accessing the second access point to obtain a plurality of user permissions;
determining at least one user authority which meets preset requirements in the plurality of user authorities;
sending a forced offline instruction to the second access point, wherein the forced offline instruction is used for indicating the second access point to perform offline operation on at least one access device corresponding to the at least one user authority;
performing the step of accessing the second access point.
9. An electronic device comprising a processor, a memory for storing one or more programs and configured for execution by the processor, the programs comprising instructions for performing the steps in the method of any of claims 1-5.
10. A computer-readable storage medium, characterized in that a computer program for electronic data exchange is stored, wherein the computer program causes a computer to perform the method according to any one of claims 1-5.
CN202110884155.6A 2021-08-03 2021-08-03 Computer network communication method and computer software and hardware Pending CN113645674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110884155.6A CN113645674A (en) 2021-08-03 2021-08-03 Computer network communication method and computer software and hardware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110884155.6A CN113645674A (en) 2021-08-03 2021-08-03 Computer network communication method and computer software and hardware

Publications (1)

Publication Number Publication Date
CN113645674A true CN113645674A (en) 2021-11-12

Family

ID=78419449

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110884155.6A Pending CN113645674A (en) 2021-08-03 2021-08-03 Computer network communication method and computer software and hardware

Country Status (1)

Country Link
CN (1) CN113645674A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067975A (en) * 2013-01-14 2013-04-24 福建星网锐捷网络有限公司 Method and device of load balancing in wireless local area network
CN106162775A (en) * 2016-07-19 2016-11-23 Tcl集团股份有限公司 A kind of method and device accessing wireless network
CN107241770A (en) * 2017-05-16 2017-10-10 北京小米移动软件有限公司 Method for connecting network and device
CN108770027A (en) * 2018-05-28 2018-11-06 深圳市零度智控科技有限公司 Switching method, mobile terminal and the computer readable storage medium of wireless access point
US20190281487A1 (en) * 2017-11-17 2019-09-12 Huawei Technologies Co., Ltd. System and Method for Channel Measurement and Interference Measurement in Wireless Network
CN111818599A (en) * 2020-07-08 2020-10-23 重庆无缝拼接智能科技有限公司 Network connection control method, device and storage medium
CN112584370A (en) * 2019-09-27 2021-03-30 瞻博网络公司 Wireless terminal roaming

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103067975A (en) * 2013-01-14 2013-04-24 福建星网锐捷网络有限公司 Method and device of load balancing in wireless local area network
CN106162775A (en) * 2016-07-19 2016-11-23 Tcl集团股份有限公司 A kind of method and device accessing wireless network
CN107241770A (en) * 2017-05-16 2017-10-10 北京小米移动软件有限公司 Method for connecting network and device
US20190281487A1 (en) * 2017-11-17 2019-09-12 Huawei Technologies Co., Ltd. System and Method for Channel Measurement and Interference Measurement in Wireless Network
CN108770027A (en) * 2018-05-28 2018-11-06 深圳市零度智控科技有限公司 Switching method, mobile terminal and the computer readable storage medium of wireless access point
CN112584370A (en) * 2019-09-27 2021-03-30 瞻博网络公司 Wireless terminal roaming
US20210099928A1 (en) * 2019-09-27 2021-04-01 Juniper Networks, Inc. Wireless terminal roaming
CN111818599A (en) * 2020-07-08 2020-10-23 重庆无缝拼接智能科技有限公司 Network connection control method, device and storage medium

Similar Documents

Publication Publication Date Title
CN104170460B (en) Network switching method and terminal
EP4080935A1 (en) Method for residing in cell, and related device and storage medium
EP3585099B1 (en) Vowifi call processing method of mobile terminal and mobile terminal
EP3136789A1 (en) Method and device for controlling network connection
CN105516960B (en) Non-perception authentication method and system, and management method and system based on method and system
CN105635084A (en) Apparatus and method for authenticating terminal
CN112738745B (en) Method for controlling network connection and related product
WO2017071262A1 (en) Network switching method, device and terminal equipment
CN110392393B (en) Service layered processing method and device for VoLTE voice service and data service
CN103857014A (en) Service establishment method and device and system for multimode user equipment
CN110191493A (en) A kind of network automatic switching method and device of mobile terminal device
CN111669799A (en) Network connection method and device and electronic equipment
CN114867075A (en) Wireless network switching method, device, equipment, storage medium and product
CN105722246B (en) Network speed superposition device and method
CN113645674A (en) Computer network communication method and computer software and hardware
WO2018019058A1 (en) Wireless access point switching method and apparatus, and terminal
CN109819482B (en) Data processing method and device
CN111050380A (en) Hotspot opening method and device, terminal equipment and storage medium
WO2020124388A1 (en) Cell interference detection method and device, mobile terminal and storage medium
CN114245432B (en) Network connection method, device, system, electronic equipment and storage medium
CN112673663A (en) Pseudo base station processing method, pseudo base station processing device, mobile terminal and storage medium
CN106488571B (en) Channel selection method and system
CN109246784B (en) Roaming control method and device
JP7189350B2 (en) WIFI network processing method, device, electronic equipment and storage medium
CN104219729B (en) connection processing method and electronic equipment

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