CN114339912A - Network connection method, device, equipment and storage medium - Google Patents

Network connection method, device, equipment and storage medium Download PDF

Info

Publication number
CN114339912A
CN114339912A CN202111627035.4A CN202111627035A CN114339912A CN 114339912 A CN114339912 A CN 114339912A CN 202111627035 A CN202111627035 A CN 202111627035A CN 114339912 A CN114339912 A CN 114339912A
Authority
CN
China
Prior art keywords
signal
network signal
type
type network
network
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
CN202111627035.4A
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.)
Cloudminds Robotics Co Ltd
Original Assignee
Cloudminds Robotics Co 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 Cloudminds Robotics Co Ltd filed Critical Cloudminds Robotics Co Ltd
Priority to CN202111627035.4A priority Critical patent/CN114339912A/en
Publication of CN114339912A publication Critical patent/CN114339912A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a network connection method, a device, equipment and a storage medium, wherein the method comprises the following steps: determining a first location area where the intelligent device is currently located in the target physical environment and a first type network signal connected to the intelligent device in the first location area; predicting a second position area to be reached next by the intelligent equipment according to the first traveling direction of the intelligent equipment; determining first signal strength of a first type network signal in a second location area according to a corresponding relation between a preset location area and signal strengths of different types of network signals; and if the first signal strength meets the preset signal switching condition, switching from the first type network signal to be connected to the second type network signal. By adopting the method and the device, the stability of the network connected with the intelligent equipment can be ensured, and the reliability of network data transmission is further improved.

Description

Network connection method, device, equipment and storage medium
Technical Field
The present invention relates to the field of artificial intelligence technologies, and in particular, to a network connection method, apparatus, device, and storage medium.
Background
With the development of science and technology, more and more tasks can be completed by intelligent equipment instead of manual work. The intelligent device can be a robot or other devices. The intelligent equipment is provided with various sensors and image acquisition devices, and diversified data such as images, depths, sounds and the like of the physical environment where the intelligent equipment is located can be acquired through the sensors and the image acquisition devices. Based on this, a mode of realizing intelligent equipment control does:
the intelligent device can send the collected diversified data to the cloud server, and the cloud server performs control logic operation on the basis of the received diversified data to obtain a control instruction for the intelligent device. The cloud server sends the control instruction to the intelligent equipment, and the intelligent equipment executes corresponding action according to the control instruction.
The mode that the cloud server is used for controlling the intelligent device is adopted, the cloud server needs to interact with the intelligent device, and the interaction processes need to be based on network data transmission. Therefore, it is necessary to ensure that the intelligent device can reliably perform network data transmission, so that the intelligent device can be well controlled.
Disclosure of Invention
The embodiment of the invention provides a network connection method, a network connection device, network connection equipment and a storage medium, which are used for ensuring the reliability of network data transmission.
In a first aspect, an embodiment of the present invention provides a network connection method, where the method includes:
determining a first location area where the intelligent device is currently located in a target physical environment and a first type network signal connected in the first location area by the intelligent device;
predicting a second location area to be reached next by the smart device according to the first traveling direction of the smart device;
determining first signal strength of the first type network signals in the second location area according to a corresponding relation between preset location areas and signal strengths of different types of network signals;
and if the first signal strength meets a preset signal switching condition, switching from the first type network signal to a second type network signal.
Optionally, the switching connection from the first type network signal to the second type network signal if the first signal strength meets a preset signal switching condition includes:
if the first signal strength is smaller than a first preset threshold value, switching from the first type network signal to be connected to a second type network signal; or,
and determining second signal strength of the second type network signal in the second location area according to the corresponding relation, and switching to connect the first type network signal to the second type network signal if the difference value between the second signal strength and the first signal strength is greater than a second preset threshold value.
Optionally, the first type network signal is a network signal preferentially used, and after switching connection from the first type network signal to a second type network signal, the method further includes:
switching connection back from the second type network signal to the first type network signal when the smart device is detected to leave the second location area.
Optionally, said switching connection back from said second type network signal to said first type network signal comprises:
predicting a third location area to be reached next after the smart device leaves the second location area according to a second direction of travel of the smart device in the second location area;
determining a third signal strength of the first type network signal in the third location area according to the corresponding relation;
and if the third signal strength is greater than the first preset threshold value, switching to connect back the first type network signal from the second type network signal.
Optionally, the method further comprises:
if the third signal strength is less than the first preset threshold, maintaining the connection with the second type network signal in the third location area.
Optionally, the corresponding relationship is expressed as a map layer of the target physical environment, the map layer includes all location areas partitioned from the target physical environment, and each location area is correspondingly marked with signal strength of different types of network signals covered.
Optionally, the map layer is established and obtained by the intelligent device in a process of executing a scanning task in the target physical environment, where the scanning task is to collect an image that needs to be used when the target physical environment is mapped to a virtual twin environment.
Optionally, after the map layer is established in the process of executing the map sweeping task, the method further includes:
for a target position area in all position areas, detecting whether the signal intensity of different types of network signals covered by the target position area is smaller than a third preset threshold value or not based on the map layer, wherein the target position area is any one of the all position areas;
if the signal intensity of different types of network signals covered by the target position area is smaller than a third preset threshold, outputting prompt information, wherein the prompt information is used for prompting maintenance personnel to deploy any type of network signals in the target position area so as to improve the signal intensity of any type of network signals in the target position area;
when the signal intensity of any type of network signal in the target position area is detected to be changed, the signal intensity of any type of network signal in the target position area is correspondingly modified in the map layer.
Optionally, the network signal comprises a base station network signal or a Wi-Fi network signal.
In a second aspect, an embodiment of the present invention provides a network connection device, including:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a first position area where the intelligent device is located in a target physical environment currently and a first type network signal connected in the first position area by the intelligent device;
a prediction module configured to predict a second location area to be reached next by the smart device according to a first direction of travel of the smart device;
the determining module is configured to determine a first signal strength of the first type network signal in the second location area according to a correspondence between a preset location area and signal strengths of different types of network signals;
and the switching module is used for switching and connecting the first type network signal to a second type network signal if the first signal strength meets a preset signal switching condition.
Optionally, the switching module is configured to:
if the first signal strength is smaller than a first preset threshold value, switching from the first type network signal to be connected to a second type network signal; or,
and determining second signal strength of the second type network signal in the second location area according to the corresponding relation, and switching to connect the first type network signal to the second type network signal if the difference value between the second signal strength and the first signal strength is greater than a second preset threshold value.
Optionally, the first type network signal is a network signal preferentially used, and the switching module is further configured to:
switching connection back from the second type network signal to the first type network signal when the smart device is detected to leave the second location area.
Optionally, the switching module is configured to:
predicting a third location area to be reached next after the smart device leaves the second location area according to a second direction of travel of the smart device in the second location area;
determining a third signal strength of the first type network signal in the third location area according to the corresponding relation;
and if the third signal strength is greater than the first preset threshold value, switching to connect back the first type network signal from the second type network signal.
Optionally, the switching module is further configured to:
if the third signal strength is less than the first preset threshold, maintaining the connection with the second type network signal in the third location area.
Optionally, the corresponding relationship is expressed as a map layer of the target physical environment, the map layer includes all location areas partitioned from the target physical environment, and each location area is correspondingly marked with signal strength of different types of network signals covered.
Optionally, the map layer is established and obtained by the intelligent device in a process of executing a scanning task in the target physical environment, where the scanning task is to collect an image that needs to be used when the target physical environment is mapped to a virtual twin environment.
Optionally, the apparatus further includes a prompt module, where the prompt module is configured to:
for a target position area in all position areas, detecting whether the signal intensity of different types of network signals covered by the target position area is smaller than a third preset threshold value or not based on the map layer, wherein the target position area is any one of the all position areas;
if the signal intensity of different types of network signals covered by the target position area is smaller than a third preset threshold, outputting prompt information, wherein the prompt information is used for prompting maintenance personnel to deploy any type of network signals in the target position area so as to improve the signal intensity of any type of network signals in the target position area;
when the signal intensity of any type of network signal in the target position area is detected to be changed, the signal intensity of any type of network signal in the target position area is correspondingly modified in the map layer.
Optionally, the network signal comprises a base station network signal or a Wi-Fi network signal.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a processor and a memory, where the memory stores executable code, and when the executable code is executed by the processor, the processor is enabled to implement at least the network connection method in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a non-transitory machine-readable storage medium having executable code stored thereon, which when executed by a processor of an electronic device, causes the processor to implement at least the network connection method of the first aspect.
By adopting the method and the device, the signal intensity of the first type network signal of the next position area can be pre-judged according to the next position area to which the intelligent equipment is about to enter. If the signal strength of the first type network signal is weak, the network connection can be switched from the first type network signal to the second type network signal in advance before entering the next location area. Therefore, the stability of the network connected with the intelligent equipment can be ensured, and the reliability of network data transmission is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts.
Fig. 1 is a schematic flowchart of a network connection method according to an embodiment of the present invention;
fig. 2 is a schematic diagram illustrating division of an indoor location area according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating coverage of indoor signal strength according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a map layer according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a network connection device according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. 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 invention.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise, and "a plurality" typically includes at least two.
The words "if", as used herein, may be interpreted as "at … …" or "at … …" or "in response to a determination" or "in response to a detection", depending on the context. Similarly, the phrases "if determined" or "if detected (a stated condition or event)" may be interpreted as "when determined" or "in response to a determination" or "when detected (a stated condition or event)" or "in response to a detection (a stated condition or event)", depending on the context.
In addition, the sequence of steps in each method embodiment described below is only an example and is not strictly limited.
The embodiment of the invention provides a network connection method which can be applied to electronic equipment. The electronic device can be an intelligent device or a cloud server. If the method is executed by the intelligent equipment, the intelligent equipment carries out network switching based on the method provided by the embodiment of the invention. If the method is executed by the cloud server, the cloud server can send a network switching instruction to the intelligent device, and the intelligent device executes the network switching instruction to realize network switching.
Fig. 1 is a flowchart of a network connection method according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps:
101. the method comprises the steps of determining a first location area where the intelligent device is located in the target physical environment currently, and a first type network signal connected in the first location area by the intelligent device.
102. And predicting a second position area to be reached next by the intelligent device according to the first traveling direction of the intelligent device.
103. And determining the first signal strength of the first type network signal in the second location area according to the corresponding relation between the preset location area and the signal strengths of the different types of network signals.
104. And if the first signal strength meets the preset signal switching condition, switching from the first type network signal to be connected to the second type network signal.
Optionally, the network signal may include a base station network signal or a Wi-Fi network signal.
The target physical environment may be an indoor environment, or where some Wi-Fi network signals can cover, the target physical environment may also be an outdoor environment, and the embodiment of the present invention is not limited thereto. As shown in fig. 2, assuming that the smart device is currently in a room, the room may be divided into a plurality of location areas. And the current location area where the intelligent device is located is location area a.
There is at least one type of network signal coverage for each location area in the target physical environment. The network signal connected by the intelligent device in the first position area is a first type network signal. The first type network signal may be a base station network signal, a Wi-Fi network signal, or other possible network signal capable of connecting to the internet.
Smart devices move from one location area to another during the course of performing a task. The intelligent device corresponds to a traveling direction in the moving process, and the traveling direction can be obtained from navigation and can be obtained from a moving instruction for controlling the intelligent device to move. By means of the first direction of travel of the smart device, a second location area to be reached next by the smart device can be predicted. Still as shown in FIG. 2, assuming that the smart device is coming out of location area A and will continue to travel eastward, the next location area to be reached is location area B.
The first signal strength of the first type network signal in the second location area may be determined according to a preset correspondence between the location area and the signal strengths of the different types of network signals.
Alternatively, the correspondence may be represented as a list, i.e. the correspondence between different location areas and signal strengths of different types of network signals is recorded in each list entry of the list. Or, optionally, the corresponding relationship may be represented as a map layer of the target physical environment, where the map layer includes all location areas partitioned from the target physical environment, and each location area is correspondingly labeled with signal strength of different types of network signals covered.
For example, as shown in fig. 3, assume that the smart device is currently located in a room that is covered by both base station network signals and Wi-Fi network signals. The signal strength at different location areas is affected differently by various factors. In particular, the signal strength may be affected by factors such as the distance between the location area and the signal source, whether an obstacle is present near the location area to block the network signal, the thickness of the obstacle, and the like. According to the division of the position areas of the room, the signal intensity of the base station network signal and the signal intensity of the Wi-Fi network signal of each position area can be respectively recorded in the map layer.
In the map layer shown in fig. 3, the outermost circle is marked with the signal strength of the Wi-Fi network signal, the second circle is marked with the signal strength of the base station network signal, and the blank area in the innermost circle represents a forbidden area. It can be appreciated that the signal strength of the various types of network signals in the forbidden area may not be noted because the smart device will not travel in the forbidden area. The forbidden area may be, for example, several walls that are close together.
Before determining the signal strength of a certain type of network signal in a certain location area using the above correspondence, the correspondence needs to be established. Based on this, optionally, the map layer may be created and obtained by the intelligent device in the process of executing a scanogram task in the target physical environment, where the scanogram task is to collect images that need to be used when the target physical environment is mapped to the virtual twin environment.
The map layer may be a layer having a specific function in a comprehensive map of the target physical environment. As shown in fig. 4, the integrated map may include, for example, a static layer, a barrier layer, a safety expansion layer, a virtual wall layer, a signal strength layer, and other functional layers.
In which, some objects detected when the smart device performs the scanning task initially may be marked in the static layer, and these objects may basically be considered as not moving.
The safe expansion layer is generated based on the static layer and is obtained by expanding objects in the static layer outwards for a certain safe distance. For example, a table peripheral outline is marked in the static layer, when the intelligent device is planned, the intelligent device cannot be planned to run close to the table peripheral outline in consideration of the influence of a certain volume space occupied by the intelligent device and other control factors, so that collision or friction is likely to be generated, and therefore, the intelligent device needs to expand a certain safety distance outwards along the table peripheral outline. When planning the travel route of the smart device, it is necessary to travel outside this safe distance.
The obstacle layer may be marked with an obstacle detected by the smart device in the process of performing a task later, and the obstacle is, for example, a person in front of the smart device.
An area which the intelligent device does not want to enter can be marked in the virtual wall layer, but the periphery of the area is not blocked by an obstacle, for example, no wall surface is used for blocking. At this time, a virtual wall can be manually added to isolate the area where the intelligent device is not expected to enter from other areas.
The signal strength layer is the functional layer for marking the signal strength of different types of network signals of each location area as described above.
The composite map may be the sum of all functional layer alignment overlays. costmap is a map higher than the integrated map. In the process of realizing the navigation of the intelligent equipment, the costmap can be referred to for planning the traveling path and avoiding the obstacle.
Optionally, after the map layer is established in the process of executing the map scanning task, the method provided in the embodiment of the present invention may further include: for target position areas in all the position areas, detecting whether the signal intensity of different types of network signals covered by the target position areas is smaller than a third preset threshold value or not on the basis of the map layer, wherein the target position areas are any position areas in all the position areas; if the signal intensity of different types of network signals covered by the target position area is smaller than a third preset threshold, outputting prompt information, wherein the prompt information is used for prompting maintenance personnel to deploy any type of network signals in the target position area so as to improve the signal intensity of any type of network signals in the target position area; and when the signal intensity of any type of network signal in the target position area is detected to be changed, correspondingly modifying the signal intensity of any type of network signal in the target position area in the map layer.
As shown in fig. 3, for the B area, the signal strength of the base station network signal of the area is-80 db, and the signal strength of the Wi-Fi network signal of the area is-80 db. Assuming that the third preset threshold is-75 db, the signal strength of the two types of network signals in the B area is weak, and in order to avoid signal blind areas, when all location areas with weak signal strength are detected, corresponding prompts can be provided for maintenance personnel. Since the signal strength of the network signal of the base station is difficult to improve, the maintenance personnel can choose to improve the signal strength of the Wi-Fi network signal.
Specifically, maintenance personnel may move a router providing Wi-Fi network signals to the B-zone to enhance the signal strength of the Wi-Fi network signals of the B-zone. Or, the maintenance personnel can also purchase more routers, and the routers are additionally arranged near the area B to enhance the signal strength of the Wi-Fi network signals in the area B.
After finding that the signal strength of the Wi-Fi network signals in the B-zone is improved, the signal strength of the Wi-Fi network signals in the B-zone may be modified accordingly in the signal strength layer.
After determining the first signal strength of the first type network signal in the second location area according to the signal strength of the different types of network signals of each location area marked by the signal strength layer, it can be determined whether the first signal strength meets a preset signal switching condition, and if the first signal strength meets the preset signal switching condition, the first type network signal is switched to be connected to the second type network signal.
Alternatively, if the first signal strength satisfies the preset signal switching condition, the process of switching from the first type network signal to the second type network signal may be implemented as follows: if the first signal intensity is smaller than a first preset threshold value, switching from the first type network signal to be connected to a second type network signal; or determining the second signal strength of the second type network signal in the second location area according to the corresponding relation, and switching to connect the first type network signal to the second type network signal if the difference value between the second signal strength and the first signal strength is greater than a second preset threshold value.
As shown in FIG. 3, it is assumed that the smart device is currently in the A + area, the signal strength of the network signal of the base station in the area is-40 db, the signal strength of the Wi-Fi network signal in the area is-50 db, and the network signal connected to the smart device in the A + area is a Wi-Fi network signal. And the area to be reached next by the intelligent equipment is an area A, the signal strength of the network signal of the base station in the area is-40 db, and the signal strength of the Wi-Fi network signal in the area is-80 db. And assuming that the set first preset threshold is-75 db, the signal intensity of the Wi-Fi network signal in the area A is smaller than the first preset threshold, and the signal switching condition is met. At this time, the network connection of the intelligent device can be switched from the Wi-Fi network signal to the base station network signal.
By the mode, the network signals can be timely switched before the intelligent equipment enters the area with weak signal strength, so that the stability of the intelligent equipment in connection with the network is enhanced, and the reliability of network data transmission is improved.
In addition, for example, when it is detected that the difference between the second signal strength and the first signal strength of the second type network signal in the second location area is greater than the second preset threshold, even if the first signal strength is greater than the first preset threshold, the connection to the second type network signal can be switched from the first type network signal. By adopting the mode, the intelligent equipment can be connected to the network signal with stronger signal intensity, the smoothness of the network is improved, and the speed of network data transmission is accelerated.
Optionally, the first type network signal is a network signal that is preferentially used.
In some alternative embodiments, the preferred network signal may be a Wi-Fi network signal. It will be appreciated that Wi-Fi network signals are generally more stable than base station network signals, especially for indoor environments. In addition, the Wi-Fi network signal may be preferentially used considering that if the base station network signal is used, a certain fee may need to be paid to an enterprise providing the base station network signal according to consumed network data traffic.
In addition, in some optional embodiments, the network signal preferentially used may also be a base station network signal. For some environments with poor Wi-Fi network signals, such as some hotels and outdoor environments, the priority of using the base station network signals can be set.
The first type network signal is a network signal which is preferentially used, and after the first type network signal is switched to be connected to the second type network signal, the method provided by the embodiment of the invention can further comprise the following steps: when it is detected that the smart device leaves the second location area, a connection is switched back from the second type network signal to the first type network signal.
For example, assuming that the network signal preferentially used is a Wi-Fi network signal, as shown in fig. 3, after the smart device passes through the a-zone, the next location zone reached is the a-zone, and the smart device may switch back to the Wi-Fi network signal in the a-zone.
Alternatively, the process of switching the connection back from the second type network signal to the first type network signal may be implemented as: predicting a third location area to be reached next after the intelligent device leaves the second location area according to a second traveling direction of the intelligent device in the second location area; determining a third signal strength of the first type network signal in the third location area according to the corresponding relation; and if the third signal strength is greater than the first preset threshold value, switching to connect back the first type network signal from the second type network signal.
Correspondingly, the method provided by the embodiment of the invention can further comprise the following steps: and if the third signal strength is smaller than the first preset threshold value, keeping the connection with the second type network signal in the third location area.
Still taking the above example as an example, assuming that the Wi-Fi network signals of the a-zone and the Wi-Fi network signals of the a-zone are similar and both of them are smaller than the first preset threshold, if the smart device switches back to the Wi-Fi network signals in the a-zone, it needs to switch to the base station network signals again. At this time, whether the Wi-Fi network signal of the A-area is strengthened or not can be judged in advance, and the Wi-Fi network signal is switched back in the A-area under the condition that the Wi-Fi network signal of the A-area is strengthened.
By adopting the mode, frequent network signal switching can be prevented, and the network connection efficiency is improved.
By adopting the method and the device, the signal intensity of the first type network signal of the next position area can be pre-judged according to the next position area to which the intelligent equipment is about to enter. If the signal strength of the first type network signal is weak, the network connection can be switched from the first type network signal to the second type network signal in advance before entering the next location area. Therefore, the stability of the network connected with the intelligent equipment can be ensured, and the reliability of network data transmission is further improved.
The network connection device of one or more embodiments of the present invention will be described in detail below. Those skilled in the art will appreciate that these network connection devices may each be constructed using commercially available hardware components configured through the steps taught in this disclosure.
Fig. 5 is a schematic structural diagram of a network connection device according to an embodiment of the present invention, and as shown in fig. 5, the network connection device includes:
a determining module 51, configured to determine a first location area in which the smart device is currently located in the target physical environment, and a first type network signal connected to the smart device in the first location area;
a prediction module 52, configured to predict a second location area to be reached next by the smart device according to the first direction of travel of the smart device;
the determining module 51 is configured to determine a first signal strength of the first type network signal in the second location area according to a preset correspondence between location areas and signal strengths of different types of network signals;
and a switching module 53, configured to switch from the first type network signal to a second type network signal if the first signal strength meets a preset signal switching condition.
Optionally, the switching module 53 is configured to:
if the first signal strength is smaller than a first preset threshold value, switching from the first type network signal to be connected to a second type network signal; or,
and determining second signal strength of the second type network signal in the second location area according to the corresponding relation, and switching to connect the first type network signal to the second type network signal if the difference value between the second signal strength and the first signal strength is greater than a second preset threshold value.
Optionally, the first type network signal is a network signal preferentially used, and the switching module 53 is further configured to:
switching connection back from the second type network signal to the first type network signal when the smart device is detected to leave the second location area.
Optionally, the switching module 53 is configured to:
predicting a third location area to be reached next after the smart device leaves the second location area according to a second direction of travel of the smart device in the second location area;
determining a third signal strength of the first type network signal in the third location area according to the corresponding relation;
and if the third signal strength is greater than the first preset threshold value, switching to connect back the first type network signal from the second type network signal.
Optionally, the switching module 53 is further configured to:
if the third signal strength is less than the first preset threshold, maintaining the connection with the second type network signal in the third location area.
Optionally, the corresponding relationship is expressed as a map layer of the target physical environment, the map layer includes all location areas partitioned from the target physical environment, and each location area is correspondingly marked with signal strength of different types of network signals covered.
Optionally, the map layer is established and obtained by the intelligent device in a process of executing a scanning task in the target physical environment, where the scanning task is to collect an image that needs to be used when the target physical environment is mapped to a virtual twin environment.
Optionally, the apparatus further includes a prompt module, where the prompt module is configured to:
for a target position area in all position areas, detecting whether the signal intensity of different types of network signals covered by the target position area is smaller than a third preset threshold value or not based on the map layer, wherein the target position area is any one of the all position areas;
if the signal intensity of different types of network signals covered by the target position area is smaller than a third preset threshold, outputting prompt information, wherein the prompt information is used for prompting maintenance personnel to deploy any type of network signals in the target position area so as to improve the signal intensity of any type of network signals in the target position area;
when the signal intensity of any type of network signal in the target position area is detected to be changed, the signal intensity of any type of network signal in the target position area is correspondingly modified in the map layer.
Optionally, the network signal comprises a base station network signal or a Wi-Fi network signal.
The apparatus shown in fig. 5 may perform the network connection method provided in the embodiments shown in fig. 1 to fig. 4, and the detailed implementation process and technical effect are described in the foregoing embodiments and are not described herein again.
In one possible design, the structure of the network connection device shown in fig. 5 may be implemented as an electronic device, as shown in fig. 6, which may include: a processor 91, and a memory 92. Wherein the memory 92 has stored thereon executable code, which when executed by the processor 91, makes the processor 91 at least implement the network connection method as provided in the foregoing embodiments shown in fig. 1 to 4.
Optionally, the electronic device may further include a communication interface 93 for communicating with other devices.
In addition, an embodiment of the present invention provides a non-transitory machine-readable storage medium, on which executable code is stored, and when the executable code is executed by a processor of an electronic device, the processor is enabled to implement at least the network connection method provided in the foregoing embodiments shown in fig. 1 to 4.
The above-described apparatus embodiments are merely illustrative, wherein the units described as separate components may or may not be physically separate. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by adding a necessary general hardware platform, and of course, can also be implemented by a combination of hardware and software. With this understanding in mind, the above-described aspects and portions of the present technology which contribute substantially or in part to the prior art may be embodied in the form of a computer program product, which may be embodied on one or more computer-usable storage media having computer-usable program code embodied therein, including without limitation disk storage, CD-ROM, optical storage, and the like.
The network connection method provided by the embodiment of the present invention may be executed by a certain program/software, the program/software may be provided by a network side, the electronic device mentioned in the foregoing embodiment may download the program/software into a local nonvolatile storage medium, and when it needs to execute the network connection method, the program/software is read into a memory by a CPU, and then the CPU executes the program/software to implement the network connection method provided in the foregoing embodiment, and an execution process may refer to the schematic in fig. 1 to fig. 4.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (20)

1. A network connection method, comprising:
determining a first location area where the intelligent device is currently located in a target physical environment and a first type network signal connected in the first location area by the intelligent device;
predicting a second location area to be reached next by the smart device according to the first traveling direction of the smart device;
determining first signal strength of the first type network signals in the second location area according to a corresponding relation between preset location areas and signal strengths of different types of network signals;
and if the first signal strength meets a preset signal switching condition, switching from the first type network signal to a second type network signal.
2. The method of claim 1, wherein switching from the first type network signal to a second type network signal if the first signal strength satisfies a predetermined signal switching condition comprises:
if the first signal strength is smaller than a first preset threshold value, switching from the first type network signal to be connected to a second type network signal; or,
and determining second signal strength of the second type network signal in the second location area according to the corresponding relation, and switching to connect the first type network signal to the second type network signal if the difference value between the second signal strength and the first signal strength is greater than a second preset threshold value.
3. The method according to claim 2, wherein the first type network signal is a network signal to be preferentially used, and after switching connection from the first type network signal to a second type network signal, the method further comprises:
switching connection back from the second type network signal to the first type network signal when the smart device is detected to leave the second location area.
4. The method of claim 3, wherein said switching connection back from said second type network signal to said first type network signal comprises:
predicting a third location area to be reached next after the smart device leaves the second location area according to a second direction of travel of the smart device in the second location area;
determining a third signal strength of the first type network signal in the third location area according to the corresponding relation;
and if the third signal strength is greater than the first preset threshold value, switching to connect back the first type network signal from the second type network signal.
5. The method of claim 4, further comprising:
if the third signal strength is less than the first preset threshold, maintaining the connection with the second type network signal in the third location area.
6. The method of claim 1, wherein the correspondence is represented as a map layer of the target physical environment, the map layer includes all location areas partitioned from the target physical environment, and each location area corresponds to a signal strength of a different type of network signal marked with coverage.
7. The method according to claim 6, wherein the map layer is established and obtained by the intelligent device in a process of executing a scanning task in the target physical environment, and the scanning task is to collect images required to be used for mapping the target physical environment into a virtual twin environment.
8. The method of claim 7, wherein after the map layers are established during the execution of the sweeping task, the method further comprises:
for a target position area in all position areas, detecting whether the signal intensity of different types of network signals covered by the target position area is smaller than a third preset threshold value or not based on the map layer, wherein the target position area is any one of the all position areas;
if the signal intensity of different types of network signals covered by the target position area is smaller than a third preset threshold, outputting prompt information, wherein the prompt information is used for prompting maintenance personnel to deploy any type of network signals in the target position area so as to improve the signal intensity of any type of network signals in the target position area;
when the signal intensity of any type of network signal in the target position area is detected to be changed, the signal intensity of any type of network signal in the target position area is correspondingly modified in the map layer.
9. The method of any of claims 1-8, wherein the network signal comprises a base station network signal or a Wi-Fi network signal.
10. A network connection device, comprising:
the device comprises a determining module, a judging module and a judging module, wherein the determining module is used for determining a first position area where the intelligent device is located in a target physical environment currently and a first type network signal connected in the first position area by the intelligent device;
a prediction module configured to predict a second location area to be reached next by the smart device according to a first direction of travel of the smart device;
the determining module is configured to determine a first signal strength of the first type network signal in the second location area according to a correspondence between a preset location area and signal strengths of different types of network signals;
and the switching module is used for switching and connecting the first type network signal to a second type network signal if the first signal strength meets a preset signal switching condition.
11. The apparatus of claim 10, wherein the switching module is configured to:
if the first signal strength is smaller than a first preset threshold value, switching from the first type network signal to be connected to a second type network signal; or,
and determining second signal strength of the second type network signal in the second location area according to the corresponding relation, and switching to connect the first type network signal to the second type network signal if the difference value between the second signal strength and the first signal strength is greater than a second preset threshold value.
12. The apparatus of claim 11, wherein the first type network signal is a preferred network signal, and wherein the switching module is further configured to:
switching connection back from the second type network signal to the first type network signal when the smart device is detected to leave the second location area.
13. The apparatus of claim 12, wherein the switching module is configured to:
predicting a third location area to be reached next after the smart device leaves the second location area according to a second direction of travel of the smart device in the second location area;
determining a third signal strength of the first type network signal in the third location area according to the corresponding relation;
and if the third signal strength is greater than the first preset threshold value, switching to connect back the first type network signal from the second type network signal.
14. The apparatus of claim 13, wherein the switching module is further configured to:
if the third signal strength is less than the first preset threshold, maintaining the connection with the second type network signal in the third location area.
15. The apparatus of claim 10, wherein the correspondence is represented as a map layer of the target physical environment, the map layer includes all location areas partitioned from the target physical environment, and each location area corresponds to a signal strength of a different type of network signal marked with coverage.
16. The apparatus according to claim 15, wherein the map layer is created and obtained by the smart device in a process of executing a scan task in the target physical environment, and the scan task is to collect an image that needs to be used when the target physical environment is mapped to a virtual twin environment.
17. The apparatus of claim 16, further comprising a prompting module configured to:
for a target position area in all position areas, detecting whether the signal intensity of different types of network signals covered by the target position area is smaller than a third preset threshold value or not based on the map layer, wherein the target position area is any one of the all position areas;
if the signal intensity of different types of network signals covered by the target position area is smaller than a third preset threshold, outputting prompt information, wherein the prompt information is used for prompting maintenance personnel to deploy any type of network signals in the target position area so as to improve the signal intensity of any type of network signals in the target position area;
when the signal intensity of any type of network signal in the target position area is detected to be changed, the signal intensity of any type of network signal in the target position area is correspondingly modified in the map layer.
18. The apparatus of any of claims 10-17, wherein the network signal comprises a base station network signal or a Wi-Fi network signal.
19. An electronic device, comprising: a memory, a processor; wherein the memory has stored thereon executable code which, when executed by the processor, causes the processor to perform the network connection method of any of claims 1-9.
20. A non-transitory machine-readable storage medium having executable code stored thereon, which when executed by a processor of an electronic device, causes the processor to perform the network connection method of any one of claims 1-9.
CN202111627035.4A 2021-12-28 2021-12-28 Network connection method, device, equipment and storage medium Pending CN114339912A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111627035.4A CN114339912A (en) 2021-12-28 2021-12-28 Network connection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111627035.4A CN114339912A (en) 2021-12-28 2021-12-28 Network connection method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114339912A true CN114339912A (en) 2022-04-12

Family

ID=81015450

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111627035.4A Pending CN114339912A (en) 2021-12-28 2021-12-28 Network connection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114339912A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002858A (en) * 2022-05-25 2022-09-02 中国第一汽车股份有限公司 Networking state switching method and device, vehicle and storage medium
CN115209348A (en) * 2022-06-30 2022-10-18 Oppo广东移动通信有限公司 Device processing method and device, electronic device and storage medium
CN115334604A (en) * 2022-08-09 2022-11-11 青岛海信移动通信技术股份有限公司 Terminal device, network control method and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100054210A1 (en) * 2008-09-02 2010-03-04 Sony Ericsson Mobile Communications Ab Wireless network transitioning for mobile devices
WO2015058502A1 (en) * 2013-10-22 2015-04-30 惠州Tcl移动通信有限公司 Method, system, and storage medium for intelligent switchover of network connections
WO2016082283A1 (en) * 2014-11-30 2016-06-02 中国科学院沈阳自动化研究所 Ap handover method in industrial mobile network based on double wireless network interface cards
WO2017140127A1 (en) * 2016-02-17 2017-08-24 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for processing network connection, and terminal
CN107820289A (en) * 2017-11-20 2018-03-20 珠海市魅族科技有限公司 A kind of WIFI network switching method, device, terminal and medium
CN108141837A (en) * 2015-09-22 2018-06-08 三菱电机株式会社 For the device and method of tracking
WO2018157512A1 (en) * 2017-03-03 2018-09-07 华为技术有限公司 Method for connecting to network, mobile terminal, electronic device, and graphical user interface
US20200100063A1 (en) * 2018-09-20 2020-03-26 International Business Machines Corporation Cognitive progressive method and system for deploying indoor location sensor networks
US20210006984A1 (en) * 2019-07-02 2021-01-07 Centurylink Intellectual Property Llc Determination of distribution of wi-fi devices within a local network
CN113079471A (en) * 2021-04-16 2021-07-06 北京云迹科技有限公司 User information display method and related equipment
RU2751083C1 (en) * 2020-10-02 2021-07-08 Самсунг Электроникс Ко., Лтд. Network switching device and how the network switching device works
CN113645674A (en) * 2021-08-03 2021-11-12 辽宁铁道职业技术学院 Computer network communication method and computer software and hardware
CN113784407A (en) * 2021-09-14 2021-12-10 北京小米移动软件有限公司 Wireless access point switching method and device, mobile terminal and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100054210A1 (en) * 2008-09-02 2010-03-04 Sony Ericsson Mobile Communications Ab Wireless network transitioning for mobile devices
WO2015058502A1 (en) * 2013-10-22 2015-04-30 惠州Tcl移动通信有限公司 Method, system, and storage medium for intelligent switchover of network connections
WO2016082283A1 (en) * 2014-11-30 2016-06-02 中国科学院沈阳自动化研究所 Ap handover method in industrial mobile network based on double wireless network interface cards
CN108141837A (en) * 2015-09-22 2018-06-08 三菱电机株式会社 For the device and method of tracking
WO2017140127A1 (en) * 2016-02-17 2017-08-24 宇龙计算机通信科技(深圳)有限公司 Method and apparatus for processing network connection, and terminal
WO2018157512A1 (en) * 2017-03-03 2018-09-07 华为技术有限公司 Method for connecting to network, mobile terminal, electronic device, and graphical user interface
CN107820289A (en) * 2017-11-20 2018-03-20 珠海市魅族科技有限公司 A kind of WIFI network switching method, device, terminal and medium
US20200100063A1 (en) * 2018-09-20 2020-03-26 International Business Machines Corporation Cognitive progressive method and system for deploying indoor location sensor networks
US20210006984A1 (en) * 2019-07-02 2021-01-07 Centurylink Intellectual Property Llc Determination of distribution of wi-fi devices within a local network
RU2751083C1 (en) * 2020-10-02 2021-07-08 Самсунг Электроникс Ко., Лтд. Network switching device and how the network switching device works
CN113079471A (en) * 2021-04-16 2021-07-06 北京云迹科技有限公司 User information display method and related equipment
CN113645674A (en) * 2021-08-03 2021-11-12 辽宁铁道职业技术学院 Computer network communication method and computer software and hardware
CN113784407A (en) * 2021-09-14 2021-12-10 北京小米移动软件有限公司 Wireless access point switching method and device, mobile terminal and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115002858A (en) * 2022-05-25 2022-09-02 中国第一汽车股份有限公司 Networking state switching method and device, vehicle and storage medium
CN115002858B (en) * 2022-05-25 2023-10-27 中国第一汽车股份有限公司 Networking state switching method and device, vehicle and storage medium
CN115209348A (en) * 2022-06-30 2022-10-18 Oppo广东移动通信有限公司 Device processing method and device, electronic device and storage medium
CN115334604A (en) * 2022-08-09 2022-11-11 青岛海信移动通信技术股份有限公司 Terminal device, network control method and storage medium

Similar Documents

Publication Publication Date Title
CN114339912A (en) Network connection method, device, equipment and storage medium
CN110861094B (en) Robot control method, robot, and readable storage medium
CN110861095B (en) Robot control method, robot, and readable storage medium
CN107000975B (en) Method and system for the indoor pathfinding based on elevator information
CN111680362B (en) Automatic driving simulation scene acquisition method, device, equipment and storage medium
JP6277199B2 (en) Use of geolocation and centralized spectrum management database to enable seamless channel-based handover and geofencing
CN109508019A (en) A kind of motion planning and robot control method, apparatus and storage medium
CN110419211A (en) Information processing unit, information processing method and message handling program
US10157543B1 (en) Smart parking system
WO2020263333A1 (en) Augmented 3d map
US20240028030A1 (en) System and apparatus for resource management
US11084496B2 (en) Utilizing qualitative models to provide transparent decisions for autonomous vehicles
US11519743B2 (en) Stalled self-driving vehicle rescue system
JP2020106980A (en) Vehicle control device, vehicle control method and vehicle control system
CN113568400A (en) Robot control method and device, electronic equipment and storage medium
WO2014116623A1 (en) Efficient generation of radio coverage map of access points in an indoor environment
KR20210089409A (en) Apparatus for providing service using vehicle resource and operating method thereof
CN113848937A (en) Robot obstacle avoidance control method and related equipment
JP6791309B1 (en) Mobile terminals and programs
KR102443130B1 (en) Service system and method for provding indoor position information
CN110348626A (en) A kind of polling path planing method, device, equipment and storage medium
KR101566857B1 (en) Appratus and method for controlling movement of virtual object
KR102544611B1 (en) Apparatus for creating work position for loading and unloading of autonomous yard tractor
WO2023181982A1 (en) Information processing system, information processing method, and information processing device
Braidotti et al. Effectiveness assessment and simulation of a wearable guiding device for ship evacuation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 200245 Building 8, No. 207, Zhongqing Road, Minhang District, Shanghai

Applicant after: Dayu robot Co.,Ltd.

Address before: 200245 Building 8, No. 207, Zhongqing Road, Minhang District, Shanghai

Applicant before: Dalu Robot Co.,Ltd.

CB02 Change of applicant information