Method and apparatus for constructing a virtual area map based on wifi mesh channels
By constructing a virtual area map based on WiFi Mesh channels and using signal equipment to collect signal strength and channel attenuation values, the distance and perpendicular bisector of corner locations are determined, solving the problem of size mismatch of smart home products and enabling accurate placement and selection of smart home products.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- FOSHAN VIOMI ELECTRICAL TECH
- Filing Date
- 2021-09-26
- Publication Date
- 2026-05-15
AI Technical Summary
In existing technologies, the size of smart home products is not compatible with the application environment, resulting in aesthetic and inconvenience issues.
By constructing a virtual area map based on WiFi Mesh channels, signal strength and channel attenuation values are collected using signal devices to determine the distance and perpendicular bisector of corner locations, thereby constructing a virtual area map of the application environment.
Accurately constructing application environment maps for smart home products helps users select and place suitable smart home products, improving the accuracy of selection and the aesthetics of the environment.
Smart Images

Figure CN115884068B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart home technology, and in particular to a method and apparatus for constructing a virtual area map based on WiFi Mesh channels. Background Technology
[0002] With the continuous enrichment of smart home products and the continuous improvement of people's living standards, people are becoming increasingly enthusiastic about smart home products. People place the smart home products they need in their living and working environments to make their lives and work more convenient. For example, by placing a smart refrigerator in the dining room, people can interact with the smart refrigerator while eating or cooking and know in a timely and accurate manner what food is stored in the smart refrigerator.
[0003] In real life, people often choose smart home products based on their own preferences. However, practice has shown that the size of the smart home products chosen is often mismatched with their application environment. This not only ruins the aesthetics of the environment but may also cause inconvenience in daily life and work. For example, an oversized smart refrigerator could easily cause users to trip over it. Therefore, proposing a method to accurately construct a regional map of the application environment for smart home products is particularly important, in order to select suitable smart home products and accurately place them. Summary of the Invention
[0004] The technical problem to be solved by the present invention is to provide a method and apparatus for constructing a virtual area map based on WiFi Mesh channels, which can accurately construct an area map of the application environment of smart home products, so as to facilitate the selection of suitable smart home products and the accurate placement of smart home products.
[0005] To address the aforementioned technical problems, the first aspect of this invention discloses a method for constructing a virtual area map based on WiFi Mesh channels, the method comprising:
[0006] The first signal strength emitted by the second signal device at the second corner of the application environment is collected by the first signal device at the first corner of the application environment, and the second signal strength emitted by the first signal device is collected by the second signal device, and the first corner and the second corner correspond to the same edge of the application environment;
[0007] Based on the first signal strength and the second signal strength, a first distance value between the first corner position and the second corner position is determined;
[0008] Based on the mobile signal device, a second distance value between the perpendicular bisectors of the first corner position and the second corner position is determined, and based on the first distance value, the second distance value, the first corner position and the second corner position, a first position and a second position are determined, wherein the distance value between the first position and the second position is equal to the first distance value;
[0009] The system determines the first channel attenuation value of the first signal device at the first location, and controls the mobile signal device to move to the first location to perform a positioning operation based on the first channel attenuation value, thereby obtaining the coordinates of the first location. The system then updates the second signal device to the first signal device and the second location to the first location, and re-executes the operation of determining the first channel attenuation value of the first signal device at the first location and controlling the mobile signal device to move to the first location to perform a positioning operation based on the first channel attenuation value to obtain the coordinates of the first location.
[0010] A virtual region map of the application environment is constructed based on the coordinates of the first position, the second position, the first corner position, and the second corner position.
[0011] As an optional implementation, in the first aspect of the invention, determining the second distance value of the perpendicular bisectors of the first corner position and the second corner position based on the mobile signal device includes:
[0012] The mobile signal device is controlled to move within the area formed between the first corner position and the second corner position to obtain the first real-time signal strength emitted by the first signal device and the second real-time signal strength emitted by the second signal device.
[0013] Based on the first real-time signal strength, the second real-time signal strength, and the first distance value, determine the second distance value of the perpendicular bisector of the first corner position and the second corner position.
[0014] As an optional implementation, in a first aspect of the present invention, determining the second distance value of the perpendicular bisectors of the first corner position and the second corner position based on the first real-time signal strength, the second real-time signal strength, and the first distance value includes:
[0015] By analyzing the first real-time signal strength and the second real-time signal strength, the locations where the signal strength is equal and the maximum, and the locations where the signal strength is equal and the minimum are obtained.
[0016] The third signal strength emitted by the first signal device is acquired by the mobile signal device at the location where the signal strength is equal and the signal strength is the greatest, and the fourth signal strength emitted by the mobile signal device at the location where the signal strength is equal and the signal strength is the greatest is acquired by the first signal device at the first corner position;
[0017] Based on the third signal strength, the fourth signal strength, the first corner position, and the second corner position, determine the second distance value of the perpendicular bisector of the first corner position and the second corner position.
[0018] As an optional implementation, in a first aspect of the present invention, determining a second distance value between the perpendicular bisectors of the first corner position and the second corner position based on the third signal strength, the fourth signal strength, the first corner position, and the second corner position includes:
[0019] Based on the third signal strength and the fourth signal strength, a third distance value is determined between the first corner position and the position with the largest and equal signal strength.
[0020] Based on the first distance value and the third distance value, determine the second distance value of the perpendicular bisectors of the first corner position and the second corner position.
[0021] As an optional implementation, in a first aspect of the present invention, the step of controlling the mobile signal device to move to the first position to perform a positioning operation based on the first channel attenuation value, and obtaining the coordinates of the first position, includes:
[0022] The mobile signal device acquires a fifth signal strength emitted by the first signal device at the first location, and acquires a sixth signal strength of the mobile signal device at the first location based on the first signal device.
[0023] Based on the fifth signal strength and the sixth signal strength, calculate the channel attenuation value of the first signal device at the first position, and determine whether the channel attenuation difference between the channel attenuation value and the first channel attenuation value is less than or equal to the determined channel attenuation difference threshold. When the determination result is yes, locate the coordinates of the first position.
[0024] As an optional implementation, in the first aspect of the present invention, before constructing the virtual area map of the application environment based on the coordinates of the first position, the coordinates of the second position, the coordinates of the first corner position, and the coordinates of the second corner position, the method further includes:
[0025] After the mobile signal device moves to the target position, the mobile signal device is controlled to move in four directions (front, back, left, and right) at the target position according to a preset distance value. The target position includes the first position or the second position.
[0026] Determine whether the mobile signal device can move a distance less than or equal to a preset distance value in any of the four directions (front, back, left, and right) of the target location.
[0027] When the judgment result is yes, the target position is determined as the boundary position of the application environment, and the operation of constructing a virtual area map of the application environment based on the coordinates of the first position, the coordinates of the second position, the coordinates of the first corner position, and the coordinates of the second corner position is executed.
[0028] As an optional implementation, in the first aspect of the present invention, the method further includes:
[0029] When the judgment result is negative, it is determined that the target location is not the boundary location of the application environment, and the mobile signal device is controlled to move in the direction where the channel attenuation value of the first signal device or the second signal device increases;
[0030] When it is detected that the mobile signal device can no longer move in the current direction of movement, the position where the mobile signal device can no longer move is determined as the boundary position of the application environment, and the coordinates of the position where the mobile signal device can no longer move are located.
[0031] The coordinates of the position where the mobile signal device can no longer be moved are updated to the coordinates of the first position or the second position, and the operation of constructing a virtual area map of the application environment based on the coordinates of the first position, the coordinates of the second position, the coordinates of the first corner position, and the coordinates of the second corner position is performed.
[0032] The step of updating the coordinates of the position where the mobile signal device can no longer be moved to the coordinates of the first position or the second position includes:
[0033] When the target location is the first location, the coordinates of the location where the mobile signal device can no longer move are updated to the coordinates of the first location;
[0034] When the target position is the second position, the coordinates of the position where the mobile signal device can no longer move are updated to the coordinates of the second position.
[0035] A second aspect of the present invention discloses an apparatus for constructing a virtual area map based on a WiFi Mesh channel, the apparatus comprising:
[0036] The acquisition module is used to acquire the first signal strength emitted by the second signal device at the second corner of the application environment based on the first signal device at the first corner of the application environment, and to acquire the second signal strength emitted by the first signal device based on the second signal device, wherein the first corner and the second corner correspond to the same edge of the application environment;
[0037] The first determining module is configured to determine a first distance value between the first corner position and the second corner position based on the first signal strength and the second signal strength;
[0038] The second determining module is used to determine a second distance value between the perpendicular bisectors of the first corner position and the second corner position based on the mobile signal device;
[0039] The first determining module is further configured to determine a first position and a second position based on the first distance value, the second distance value, the first corner position, and the second corner position, wherein the distance value between the first position and the second position is equal to the first distance value;
[0040] The control module is used to determine the first channel attenuation value of the first signal device at the first position, and control the mobile signal device to move to the first position to perform a positioning operation based on the first channel attenuation value, so as to obtain the coordinates of the first position;
[0041] The update module is used to update the second signal device to the first signal device and update the second position to the first position, and re-trigger the control module to perform the operation of determining the first channel attenuation value of the first signal device at the first position, and controlling the mobile signal device to move to the first position to perform the positioning operation according to the first channel attenuation value, so as to obtain the coordinates of the first position;
[0042] The construction module is used to construct a virtual area map of the application environment based on the coordinates of the first position, the coordinates of the second position, the coordinates of the first corner position, and the coordinates of the second corner position.
[0043] As an optional implementation, in a second aspect of the invention, the second determining module includes:
[0044] The control submodule is used to control the movement of the mobile signal device within the area formed between the first corner position and the second corner position, and to obtain the first real-time signal strength emitted by the first signal device and the second real-time signal strength emitted by the second signal device.
[0045] The determination submodule is used to determine the second distance value of the perpendicular bisector of the first corner position and the second corner position based on the first real-time signal strength, the second real-time signal strength and the first distance value.
[0046] As an optional implementation, in a second aspect of the present invention, the determining submodule determines the second distance value of the perpendicular bisector of the first corner position and the second corner position based on the first real-time signal strength, the second real-time signal strength, and the first distance value, specifically in the following manner:
[0047] By analyzing the first real-time signal strength and the second real-time signal strength, the locations where the signal strength is equal and the maximum, and the locations where the signal strength is equal and the minimum are obtained.
[0048] The third signal strength emitted by the first signal device is acquired by the mobile signal device at the location where the signal strength is equal and the signal strength is the greatest, and the fourth signal strength emitted by the mobile signal device at the location where the signal strength is equal and the signal strength is the greatest is acquired by the first signal device at the first corner position;
[0049] Based on the third signal strength, the fourth signal strength, the first corner position, and the second corner position, determine the second distance value of the perpendicular bisector of the first corner position and the second corner position.
[0050] As an optional implementation, in a second aspect of the present invention, the determining submodule determines the second distance value of the perpendicular bisectors of the first corner position and the second corner position based on the third signal strength, the fourth signal strength, the first corner position, and the second corner position in the following specific manner:
[0051] Based on the third signal strength and the fourth signal strength, a third distance value is determined between the first corner position and the position with the largest and equal signal strength.
[0052] Based on the first distance value and the third distance value, determine the second distance value of the perpendicular bisectors of the first corner position and the second corner position.
[0053] As an optional implementation, in a second aspect of the present invention, the control module controls the mobile signal device to move to the first position to perform a positioning operation based on the first channel attenuation value, and the method for obtaining the coordinates of the first position is specifically as follows:
[0054] The mobile signal device acquires a fifth signal strength emitted by the first signal device at the first location, and acquires a sixth signal strength of the mobile signal device at the first location based on the first signal device.
[0055] Based on the fifth signal strength and the sixth signal strength, calculate the channel attenuation value of the first signal device at the first position, and determine whether the channel attenuation difference between the channel attenuation value and the first channel attenuation value is less than or equal to the determined channel attenuation difference threshold. When the determination result is yes, locate the coordinates of the first position.
[0056] As an optional implementation, in a second aspect of the invention, the apparatus further includes:
[0057] The control module is also used to control the mobile signal device to move in four directions (front, back, left, and right) at the target position according to a preset distance value after the mobile signal device moves to the target position. The target position includes the first position or the second position.
[0058] The judgment module is used to determine whether the mobile signal device has a preset number of directions in which it can move a distance less than or equal to the preset distance value in all four directions (front, back, left, and right) of the target position.
[0059] The first determining module is further configured to, when the determination result is yes, determine the target position as the boundary position of the application environment, and trigger the construction module to perform the operation of constructing a virtual region map of the application environment based on the coordinates of the first position, the coordinates of the second position, the coordinates of the first corner position, and the coordinates of the second corner position.
[0060] As an optional implementation, in a second aspect of the invention, the apparatus further includes:
[0061] The first determining module is further configured to determine, when the determination result is negative, that the target location is not a boundary location of the application environment;
[0062] The control module is also used to control the mobile signal device to move in the direction where the channel attenuation value of the first signal device or the second signal device increases;
[0063] The first determining module is further configured to determine the position where the mobile signal device can no longer move as the boundary position of the application environment when it is detected that the mobile signal device can no longer move in the current direction of movement;
[0064] A positioning module is used to locate the coordinates of the position where the mobile signal device can no longer be moved;
[0065] The execution module is used to update the coordinates of the position where the mobile signal device can no longer move to the coordinates of the first position or the second position, and to perform the operation of constructing a virtual area map of the application environment based on the coordinates of the first position, the coordinates of the second position, the coordinates of the first corner position and the coordinates of the second corner position.
[0066] Specifically, the execution module updates the coordinates of the position where the mobile signal device can no longer move to the coordinates of the first position or the second position in the following way:
[0067] When the target location is the first location, the coordinates of the location where the mobile signal device can no longer move are updated to the coordinates of the first location;
[0068] When the target position is the second position, the coordinates of the position where the mobile signal device can no longer move are updated to the coordinates of the second position.
[0069] A third aspect of the present invention discloses another apparatus for constructing a virtual area map based on WiFi Mesh channels, the apparatus comprising:
[0070] Memory containing executable program code;
[0071] A processor coupled to the memory;
[0072] The processor calls the executable program code stored in the memory to execute some or all of the steps in the method for constructing a virtual area map based on WiFi Mesh channels disclosed in the first aspect of the present invention.
[0073] The fourth aspect of the present invention discloses a computer storage medium storing computer instructions, which, when invoked, are used to execute some or all of the steps in the method for constructing a virtual area map based on a WiFi Mesh channel disclosed in the first aspect of the present invention.
[0074] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:
[0075] In this embodiment of the invention, the distance between two corner locations is determined by collecting the signal strength of the other party from signal devices located at each corner of the application environment. The distance between the perpendicular bisectors of the two corner locations is then determined by a moving signal device, thereby identifying the diagonal vertices of the two corner locations. A positioning operation is then performed on the diagonal vertices based on the channel attenuation values of the signal devices at the diagonal vertices, obtaining the coordinates of the diagonal vertices. Based on the coordinates of the two corner locations and the diagonal vertices, a virtual area map of the application environment is constructed. This accurately creates a virtual area map of the application environment for smart home products, providing a reference for users when selecting or placing smart home products, facilitating the selection and accurate placement of suitable smart home products. Attached Figure Description
[0076] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0077] Figure 1 This is a flowchart illustrating a method for constructing a virtual area map based on a WiFi Mesh channel, as disclosed in an embodiment of the present invention.
[0078] Figure 2 This is a flowchart illustrating another method for constructing a virtual area map based on WiFi Mesh channels disclosed in an embodiment of the present invention;
[0079] Figure 3 This is a schematic diagram of the structure of a device for constructing a virtual area map based on a WiFi Mesh channel, as disclosed in an embodiment of the present invention.
[0080] Figure 4 This is a schematic diagram of another device for constructing a virtual area map based on a WiFi Mesh channel, as disclosed in an embodiment of the present invention.
[0081] Figure 5 This is a schematic diagram of the structure of another device for constructing a virtual area map based on a WiFi Mesh channel, as disclosed in an embodiment of the present invention. Detailed Implementation
[0082] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0083] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, apparatus, product, or end that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or ends.
[0084] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0085] This invention discloses a method and apparatus for constructing a virtual area map based on WiFi Mesh channels. It determines the distance between two corner locations by collecting signal strength data from signal devices positioned at each corner of the application environment, and then determines the distance between the perpendicular bisectors of the two corner locations based on the moving signal devices, thereby identifying the diagonal vertices of the two corner locations. Next, it performs a positioning operation on the diagonal vertices based on the channel attenuation values of the signal devices at the diagonal vertices, obtaining the coordinates of the diagonal vertices. Based on these coordinates, a virtual area map of the application environment is constructed. This map accurately depicts the application environment of smart home products, providing users with a reference when selecting or placing smart home products, facilitating the selection and accurate placement of suitable products. Detailed descriptions follow.
[0086] Example 1
[0087] Please see Figure 1 , Figure 1This is a flowchart illustrating a method for constructing a virtual area map based on WiFi Mesh channels, as disclosed in an embodiment of the present invention. Figure 1 The described method can be applied to a virtual area map construction device, which includes any one of a virtual area map construction equipment, a virtual area map construction system, or a virtual area map construction server (including a cloud server or a field server). The virtual area map construction device can communicate with other intelligent devices (such as intelligent robotic vacuum cleaners) and user terminals in the current scene. Figure 1 As shown, the method for constructing a virtual area map based on WiFi Mesh channels may include the following operations:
[0088] 101. The first signal strength emitted by the second signal device at the second corner position in the application environment is collected by the first signal device at the first corner position in the application environment, and the second signal strength emitted by the first signal device is collected by the second signal device, and the first corner position and the second corner position correspond to the same edge of the application environment.
[0089] In this embodiment of the invention, the application environment includes one or more of the following: a room, a living room, a kitchen, a bathroom, a balcony, etc. The first signal device, the second signal device, and the mobile signal device are any devices capable of providing a network, such as a WiFi signal device.
[0090] 102. Determine the first distance value between the first corner position and the second corner position based on the first signal strength and the second signal strength.
[0091] In this embodiment of the invention, optionally, determining the first distance value between the first corner position and the second corner position based on the first signal strength and the second signal strength includes:
[0092] Determine the target signal-related information, which includes the transmit power of the first signal device, the transmit power of the second signal device, the distance loss correction factor, the transmit power frequency influence correction factor, the gain of the transmit and receive antennas, and the antenna attenuation factor.
[0093] Based on the first signal strength, the second signal strength, and relevant information about the target signal, a first distance value between the first corner position and the second corner position is determined.
[0094] In this optional implementation, the midpoint of the edge formed by the first corner position and the second corner position can also be determined based on the first signal strength, the second signal strength, and target signal related information.
[0095] As can be seen, this optional embodiment, by combining various relevant information, determines the distance values between the two corner positions, thereby improving the accuracy and reliability of the distance value determination.
[0096] 103. Based on the mobile signal device, determine the second distance value of the perpendicular bisector of the first corner position and the second corner position, and determine the first position and the second position based on the first distance value, the second distance value, the first corner position and the second corner position, wherein the distance value between the first position and the second position is equal to the first distance value.
[0097] 104. Determine the first channel attenuation value of the first signal device at the first position, and control the mobile signal device to move to the first position to perform a positioning operation based on the first channel attenuation value, so as to obtain the coordinates of the first position.
[0098] 105. Update the second signal device to the first signal device and the second position to the first position, and repeat step 104.
[0099] 106. Based on the coordinates of the first position, the second position, the first corner position, and the second corner position, construct a virtual area map of the application environment.
[0100] In this embodiment of the invention, the virtual region map includes a 2D planar map.
[0101] It is evident that implementation Figure 1 The described method determines the distance between two corner locations by collecting the signal strength of each other from signal devices located at each corner of the application environment. It then determines the distance between the perpendicular bisectors of the two corner locations based on the moving signal device, thereby identifying the diagonal vertices of the two corner locations. Next, it performs a positioning operation on the diagonal vertices based on the channel attenuation values of the signal devices at the diagonal vertices, obtaining the coordinates of the diagonal vertices. Finally, based on the coordinates of the two corner locations and their diagonal vertices, it constructs a virtual area map of the application environment. This map accurately represents the application environment of smart home products, providing users with a reference when selecting or placing smart home products, facilitating the selection and accurate placement of suitable products.
[0102] In an optional embodiment, determining a second distance value between the perpendicular bisectors of the first and second corner positions based on the mobile signal device includes:
[0103] The mobile signaling device is controlled to move within the area formed between the first corner position and the second corner position, and the first real-time signal strength emitted by the first signaling device and the second real-time signal strength emitted by the second signaling device are obtained.
[0104] Based on the first real-time signal strength, the second real-time signal strength, and the first distance value, determine the second distance value of the perpendicular bisector of the first corner position and the second corner position.
[0105] In this optional embodiment, the mobile signal device can start moving from the midpoint of the edge formed by the first corner position and the second corner position to collect the first real-time signal strength emitted by the first signal device and the second real-time signal strength emitted by the second signal device.
[0106] As can be seen, this optional embodiment, by controlling the movement of the mobile signal device within the area formed between the two corner positions and collecting the real-time signal strength emitted by the signal devices at the two corner positions, determines the perpendicular bisector and the distance between the two corner positions, thereby improving the accuracy and reliability of determining the perpendicular bisector and the distance between the two corner positions.
[0107] In another optional embodiment, determining a second distance value between the perpendicular bisectors of the first corner position and the second corner position based on the first real-time signal strength, the second real-time signal strength, and the first distance value includes:
[0108] By analyzing the first real-time signal strength and the second real-time signal strength, we can obtain the locations where the signal strength is equal and the maximum, and the locations where the signal strength is equal and the minimum.
[0109] The third signal strength emitted by the first signal device is collected by the mobile signal device at a position where the signal strength is equal and minimum, and the fourth signal strength emitted by the mobile signal device at a position where the signal strength is equal and minimum is collected by the first signal device at a first corner position.
[0110] Based on the third signal strength, the fourth signal strength, the first corner position, and the second corner position, determine the second distance value of the perpendicular bisector of the first corner position and the second corner position.
[0111] In this optional embodiment, further optionally, determining the second distance value of the perpendicular bisector of the first corner position and the second corner position based on the third signal strength, the fourth signal strength, the first corner position, and the second corner position includes:
[0112] Based on the third signal strength and the fourth signal strength, determine the third distance value between the first corner position and the position with the largest and equal signal strength;
[0113] Based on the first distance value and the third distance value, determine the second distance value of the perpendicular bisector of the first corner position and the second corner position.
[0114] In this optional embodiment, the coordinates of the location with the highest and lowest signal strength are further combined with the coordinates of the first location, the second location, the first corner location, and the second corner location to construct a virtual area map of the application environment. This further improves the accuracy of the virtual area map construction.
[0115] As can be seen, this optional embodiment can calculate the distance between the perpendicular bisectors of the two corner positions by collecting the signal strength emitted by the mobile signal device at the position where the signal strength is equal and minimum on the perpendicular bisector of the two corner positions, and collecting the signal strength emitted by the mobile signal device at the position where the signal strength is equal and minimum on the perpendicular bisector of the two corner positions, and calculating the distance between the perpendicular bisectors of the two corner positions. This can further improve the accuracy and reliability of determining the distance between the perpendicular bisectors, thereby helping to further improve the accuracy and reliability of constructing the virtual area map of the application environment.
[0116] In yet another optional embodiment, the method may further include the following operations:
[0117] Determine whether the coordinates of the midpoint between the first and second corner positions are equal to the coordinates of the position with the greatest signal strength.
[0118] When the signals are determined to be equal, the above-mentioned operations are performed to obtain the third signal strength emitted by the first signal device at the position where the signal strength is equal and the signal strength is the smallest, and the fourth signal strength emitted by the mobile signal device at the position where the signal strength is equal and the signal strength is the smallest, which are obtained by the first signal device at the first corner position.
[0119] In this optional embodiment, when it is determined that they are not equal, the orientation of the first signal device at the first corner position and the orientation of the second signal device at the second corner position are adjusted so that the positions where the first signal device and the second signal device transmit signals are facing each other, and step 101 is executed again.
[0120] As can be seen, this optional embodiment verifies the midpoint between the calculated two corner positions against the position on the calculated vertical axis where the signal strength is equal and the maximum. If the positions are equal, the subsequent operations continue, which helps improve the accuracy and reliability of the subsequent operations. If they are not equal, the orientation of the signal devices at the two corner positions is adjusted, and the operation of determining the midpoint between the two corner positions and the subsequent operations are re-executed, which helps improve the accuracy and reliability of constructing the virtual area map of the application environment.
[0121] In another optional embodiment, controlling the mobile signal device to move to a first position to perform a positioning operation based on a first channel attenuation value, and obtaining the coordinates of the first position, includes:
[0122] The fifth signal strength emitted by the mobile signal device at the first location is collected based on the mobile signal device, and the sixth signal strength of the mobile signal device at the first location is collected based on the first signal device.
[0123] Based on the fifth and sixth signal strengths, calculate the channel attenuation value of the first signal device at the first position, and determine whether the channel attenuation difference between the channel attenuation value and the first channel attenuation value is less than or equal to the determined channel attenuation difference threshold. If the determination result is yes, locate the coordinates of the first position.
[0124] In this optional embodiment, when it is determined that the channel attenuation difference between the channel attenuation value and the first channel attenuation value is greater than the channel attenuation difference threshold, the first position is determined not to be the boundary position of the application environment, and the mobile signal device is controlled to move in the direction where the channel attenuation value of the first signal device increases.
[0125] When it is detected that the mobile signal device can no longer move in the current direction of movement, the location where the mobile signal device can no longer move is determined as the boundary location of the application environment, and the coordinates of the location where the mobile signal device can no longer move are located.
[0126] As can be seen, this optional embodiment determines the signal strength transmitted by the signal device at the corner position, which is collected by the mobile signal device at the vertex position, and the signal strength transmitted by the mobile signal device at the vertex position, which is collected by the signal device at the corner position. The channel attenuation value of the signal device at the corner position is calculated and compared with the signal attenuation value calculated by distance. If the difference between the two is small, the coordinates of the position are determined, that is, the boundary position of the application environment. This can improve the accuracy and reliability of determining the boundary position of the application environment.
[0127] Example 2
[0128] Please see Figure 2 , Figure 2 This is a flowchart illustrating another method for constructing a virtual area map based on WiFi Mesh channels, as disclosed in an embodiment of the present invention. Figure 2 The described method can be applied to a virtual area map construction device, which includes any one of a virtual area map construction equipment, a virtual area map construction system, or a virtual area map construction server (including a cloud server or a field server). The virtual area map construction device can communicate with other intelligent devices (such as intelligent robotic vacuum cleaners) and user terminals in the current scene. Figure 2As shown, the method for constructing a virtual area map based on WiFi Mesh channels may include the following operations:
[0129] 201. The first signal strength emitted by the second signal device at the second corner position in the application environment is collected by the first signal device at the first corner position in the application environment, and the second signal strength emitted by the first signal device is collected by the second signal device, and the first corner position and the second corner position correspond to the same edge of the application environment.
[0130] 202. Determine the first distance value between the first corner position and the second corner position based on the first signal strength and the second signal strength.
[0131] 203. Based on the mobile signal device, determine the second distance value of the perpendicular bisector of the first corner position and the second corner position, and based on the first distance value, the second distance value, the first corner position, and the second corner position, determine the first position and the second position, wherein the distance value between the first position and the second position is equal to the first distance value.
[0132] 204. Determine the first channel attenuation value of the first signal device at the first position, and control the mobile signal device to move to the first position to perform a positioning operation based on the first channel attenuation value, so as to obtain the coordinates of the first position.
[0133] 205. Update the second signal device to the first signal device and the second position to the first position, and repeat step 204.
[0134] 206. After the mobile signal device moves to the target position, control the mobile signal device to move in four directions (front, back, left, right) according to a preset distance value. The target position includes either the first position or the second position.
[0135] 207. Determine whether the mobile signal device can move a distance less than or equal to a preset distance in all four directions (front, back, left, and right) of the target location. If the determination result is yes, trigger step 208. If the determination result is no, end the process.
[0136] 208. Determine the target location as the boundary location of the application environment.
[0137] 209. Based on the coordinates of the first position, the second position, the first corner position, and the second corner position, construct a virtual area map of the application environment.
[0138] In this embodiment of the invention, it should be noted that for the relevant descriptions of steps 201-205 and step 209, please refer to the detailed description of steps 101-106 in Embodiment 1. These descriptions will not be repeated in this embodiment of the invention.
[0139] As can be seen, the embodiments of the present invention can also control the mobile signal device to move in multiple directions at the vertex position. If it is determined that the distance that the mobile signal device can move in multiple directions (such as the forward direction and the left direction) at the vertex position is short, the vertex position is determined as a boundary point. This can improve the accuracy of boundary point determination and further improve the accuracy and reliability of constructing the virtual area map of the application environment.
[0140] It is evident that implementation Figure 2 The described method determines the distance between two corner locations by collecting signal strength data from signal devices positioned at each corner of the application environment. It then determines the distance between the perpendicular bisectors of the two corner locations using a moving signal device, thus identifying the diagonal vertices of each corner. Next, it performs a positioning operation on the diagonal vertices based on the channel attenuation values of the signal devices at each corner, obtaining their coordinates. Based on these coordinates, a virtual area map of the application environment is constructed. This map accurately depicts the application environment for smart home products, providing users with a reference when selecting or placing smart home products, facilitating the selection and accurate placement of suitable devices. Furthermore, it improves the accuracy of boundary point determination, further enhancing the accuracy and reliability of the constructed virtual area map.
[0141] In an optional embodiment, the method may further include the following steps:
[0142] When the judgment result is negative, it is determined that the target location is not a boundary location of the application environment, and the mobile signal device is controlled to move in the direction where the channel attenuation value of the first signal device or the second signal device increases;
[0143] When it is detected that the mobile signal device can no longer move in the current direction of movement, the position where the mobile signal device can no longer move is determined as the boundary position of the application environment, and the coordinates of the position where the mobile signal device can no longer move are located.
[0144] Update the coordinates of the position where the mobile signal device can no longer be moved to the coordinates of the first position or the second position, and perform the above-mentioned operation of constructing a virtual area map of the application environment based on the coordinates of the first position, the second position, the first corner position, and the second corner position.
[0145] In this optional embodiment, updating the coordinates of the position where the mobile signal device can no longer move to the coordinates of the first position or the second position includes:
[0146] When the target position is the first position, the coordinates of the position where the mobile signal device can no longer move are updated to the coordinates of the first position;
[0147] When the target position is the second position, the coordinates of the position where the mobile signal device can no longer move are updated to the coordinates of the second position.
[0148] As can be seen, when the vertex position is determined not to be the boundary position of the application environment, this optional embodiment further controls the mobile signal device to move along the direction of the increased channel attenuation of the signal devices at the two corner positions to find the boundary point. This can improve the accuracy and efficiency of determining the boundary position of the application environment, thereby further improving the accuracy of constructing the virtual area map of the application environment.
[0149] In another alternative embodiment, the method may further include the following steps:
[0150] Collect information about objects that the mobile signal device collides with, including the object's material information and hardness information;
[0151] Based on the information of the collected object, it is determined whether the object matches the identified wall information. When a match is found, the operation of determining the position where the mobile signal device can no longer move is triggered as the boundary position of the application environment.
[0152] In this optional embodiment, when a mismatch is detected, the direction of the mobile signal device is adjusted, and the mobile signal device continues to be controlled to move along that direction, and the operation of determining the boundary position of the application environment continues.
[0153] As can be seen, this optional embodiment, when the mobile signal device cannot move, further determines the position where it can no longer move as the boundary position of the application environment only when it is determined that the object it collided with is a wall. This can improve the accuracy of determining the boundary position of the application environment, thereby improving the accuracy and reliability of constructing the virtual area map of the application environment.
[0154] Example 3
[0155] Please see Figure 3 , Figure 3 This is a schematic diagram of a device for constructing a virtual area map based on a WiFi Mesh channel, as disclosed in an embodiment of the present invention. The virtual area map construction device includes any one of a virtual area map construction equipment, a virtual area map construction system, and a virtual area map construction server (including a cloud server or a field server). The virtual area map construction device can communicate with other intelligent devices (such as intelligent robotic vacuum cleaners) and user terminals in the current scene. Figure 3 As shown, the apparatus for constructing a virtual area map based on WiFi Mesh channels may include:
[0156] The acquisition module 301 is used to acquire the first signal strength emitted by the second signal device at the second corner of the application environment based on the first signal device at the first corner position in the application environment, and to acquire the second signal strength emitted by the first signal device based on the second signal device, wherein the first corner position and the second corner position correspond to the same edge of the application environment.
[0157] The first determining module 302 is used to determine a first distance value between the first corner position and the second corner position based on the first signal strength and the second signal strength.
[0158] The second determining module 303 is used to determine a second distance value of the perpendicular bisector of the first corner position and the second corner position based on the mobile signal device.
[0159] The first determining module 302 is further configured to determine a first position and a second position based on a first distance value, a second distance value, a first corner position, and a second corner position, wherein the distance value between the first position and the second position is equal to the first distance value.
[0160] The control module 304 is used to determine the first channel attenuation value of the first signal device at the first position, and control the mobile signal device to move to the first position to perform a positioning operation based on the first channel attenuation value, so as to obtain the coordinates of the first position.
[0161] The update module 305 is used to update the second signal device to the first signal device and update the second position to the first position, and re-trigger the control module 304 to perform the above-mentioned operation of determining the first channel attenuation value of the first signal device at the first position, and controlling the mobile signal device to move to the first position to perform the positioning operation according to the first channel attenuation value, so as to obtain the coordinates of the first position.
[0162] The construction module 306 is used to construct a virtual area map of the application environment based on the coordinates of the first position, the second position, the first corner position, and the second corner position.
[0163] It is evident that implementation Figure 3The described virtual area map construction device can determine the distance between two corner positions by collecting the signal strength of each other from signal devices located at each corner of the application environment, and determine the distance between the perpendicular bisectors of the two corner positions based on the moving signal devices, thereby determining the diagonal vertices of the two corner positions. Then, based on the channel attenuation value of the signal devices at the diagonal vertices, a positioning operation is performed on the diagonal vertices to obtain the coordinates of the diagonal vertices of the two corner positions. Based on the coordinates of the two corner positions and the coordinates of the diagonal vertices, a virtual area map of the application environment is constructed. This device can accurately construct a virtual area map of the application environment of smart home products, providing users with a reference when selecting or placing smart home products, so as to facilitate the selection of suitable smart home products and accurate placement of smart home products.
[0164] In an optional embodiment, such as Figure 4 As shown, the second determining module 303 includes:
[0165] The control submodule 3031 is used to control the movement of the mobile signal device within the area formed between the first corner position and the second corner position, and to obtain the first real-time signal strength emitted by the first signal device and the second real-time signal strength emitted by the second signal device.
[0166] The determination submodule 3032 is used to determine the second distance value of the perpendicular bisector of the first corner position and the second corner position based on the first real-time signal strength, the second real-time signal strength and the first distance value.
[0167] It is evident that implementation Figure 4 The virtual area map construction device described herein can determine the perpendicular bisector and the distance between the two corner positions by controlling the movement of a mobile signal device in the area formed between two corner positions and collecting the real-time signal strength emitted by the signal devices at the two corner positions. This improves the accuracy and reliability of determining the perpendicular bisector and the distance between the two corner positions.
[0168] In another alternative embodiment, such as Figure 4 As shown, the method by which the determining submodule 3032 determines the second distance value of the perpendicular bisector of the first corner position and the second corner position based on the first real-time signal strength, the second real-time signal strength, and the first distance value is as follows:
[0169] By analyzing the first real-time signal strength and the second real-time signal strength, we can obtain the locations where the signal strength is equal and the maximum, and the locations where the signal strength is equal and the minimum.
[0170] The third signal strength emitted by the first signal device is collected by the mobile signal device at a position where the signal strength is equal and minimum, and the fourth signal strength emitted by the mobile signal device at a position where the signal strength is equal and minimum is collected by the first signal device at a first corner position.
[0171] Based on the third signal strength, the fourth signal strength, the first corner position, and the second corner position, determine the second distance value of the perpendicular bisector of the first corner position and the second corner position.
[0172] In this optional embodiment, the method by which the determining submodule 3032 determines the second distance value of the perpendicular bisector of the first corner position and the second corner position based on the third signal strength, the fourth signal strength, the first corner position, and the second corner position is as follows:
[0173] Based on the third signal strength and the fourth signal strength, determine the third distance value between the first corner position and the position with the largest and equal signal strength;
[0174] Based on the first distance value and the third distance value, determine the second distance value of the perpendicular bisector of the first corner position and the second corner position.
[0175] It is evident that implementation Figure 4 The described virtual area map construction device can further improve the accuracy and reliability of determining the distance value of the perpendicular bisector by collecting the signal strength emitted by the mobile signal device at the position where the signal strength is equal and minimum on the perpendicular bisector of the two corner positions, and collecting the signal strength emitted by the mobile signal device at the position where the signal strength is equal and minimum on the perpendicular bisector of the two corner positions, as well as the two corner positions, and calculating the distance value of the perpendicular bisector of the two corner positions. This can further improve the accuracy and reliability of the distance value of the perpendicular bisector, thereby helping to further improve the accuracy and reliability of the construction of the virtual area map of the application environment.
[0176] In yet another alternative embodiment, such as Figure 4 As shown, the control module 304 controls the mobile signal device to move to the first position to perform a positioning operation based on the first channel attenuation value. The specific method for obtaining the coordinates of the first position is as follows:
[0177] The fifth signal strength emitted by the mobile signal device at the first location is collected based on the mobile signal device, and the sixth signal strength of the mobile signal device at the first location is collected based on the first signal device.
[0178] Based on the fifth and sixth signal strengths, calculate the channel attenuation value of the first signal device at the first position, and determine whether the channel attenuation difference between the channel attenuation value and the first channel attenuation value is less than or equal to the determined channel attenuation difference threshold. If the determination result is yes, locate the coordinates of the first position.
[0179] It is evident that implementation Figure 4 The virtual area map construction device described above can also determine the signal strength transmitted by the signal device at the corner position collected by the mobile signal device at the vertex position and the signal strength transmitted by the mobile signal device at the vertex position collected by the signal device at the corner position. The channel attenuation value of the signal device at the corner position is calculated and compared with the signal attenuation value calculated by distance. If the difference between the two is small, the coordinates of the position are determined, that is, the boundary position of the application environment at that position. This can improve the accuracy and reliability of the boundary position determination of the application environment.
[0180] In yet another alternative embodiment, such as Figure 4 As shown, the device also includes:
[0181] The control module 304 is also used to control the mobile signal device to move in four directions (front, back, left, and right) according to a preset distance value after the mobile signal device moves to the target position. The target position includes a first position or a second position.
[0182] The judgment module 307 is used to determine whether the mobile signal device has a preset number of directions in which it can move a distance less than or equal to a preset distance value in all four directions (front, back, left, and right) at the target location.
[0183] The first determining module 302 is further configured to, when the determination result is that the target position is determined to be the boundary position of the application environment, trigger the construction module 306 to perform the above-mentioned operation of constructing a virtual area map of the application environment based on the coordinates of the first position, the coordinates of the second position, the coordinates of the first corner position and the coordinates of the second corner position.
[0184] It is evident that implementation Figure 4 The described virtual region map construction device can also control a mobile signal device to move in multiple directions at a vertex position. If it is determined that the distance that the mobile signal device can move in multiple directions (such as the forward direction and the left direction) at the vertex position is short, then the vertex position is determined as a boundary point. This can improve the accuracy of boundary point determination and further improve the accuracy and reliability of virtual region map construction in the application environment.
[0185] In yet another alternative embodiment, such as Figure 4 As shown, the device also includes:
[0186] The first determining module 302 is also used to determine that the target location is not a boundary location of the application environment when the judgment result is negative.
[0187] The control module 304 is also used to control the mobile signal device to move in the direction where the channel attenuation value of the first signal device or the second signal device increases.
[0188] The first determining module 302 is further configured to determine the position where the mobile signal device can no longer move as the boundary position of the application environment when it is detected that the mobile signal device can no longer move in the current direction of movement.
[0189] Positioning module 308 is used to locate the coordinates of the position where the mobile signal device can no longer be moved;
[0190] Execution module ( Figure 4 (Not shown), used to update the coordinates of the position where the mobile signal device can no longer be moved to the coordinates of the first position or the second position, and to perform the above-mentioned operation of constructing a virtual area map of the application environment based on the coordinates of the first position, the coordinates of the second position, the coordinates of the first corner position and the coordinates of the second corner position;
[0191] In this optional embodiment, the execution module updates the coordinates of the position where the moving signal device can no longer be moved to the coordinates of the first position or the second position in the following specific way:
[0192] When the target position is the first position, the coordinates of the position where the mobile signal device can no longer move are updated to the coordinates of the first position;
[0193] When the target position is the second position, the coordinates of the position where the mobile signal device can no longer move are updated to the coordinates of the second position.
[0194] It is evident that implementation Figure 4 The described virtual region map construction device can further control the mobile signal device to move along the direction of increasing channel attenuation of the signal devices at the two corners when it is determined that the vertex position is not the boundary position of the application environment, in order to find the boundary point. This can improve the accuracy and efficiency of determining the boundary position of the application environment, thereby further improving the accuracy of the construction of the virtual region map of the application environment.
[0195] Example 4
[0196] Please see Figure 5 , Figure 5 This is a schematic diagram of another device for constructing a virtual area map based on a WiFi Mesh channel, as disclosed in an embodiment of the present invention. The controllable device includes any one of a virtual area map construction device, a virtual area map construction system, and a virtual area map construction server (including a cloud server or a field server). The virtual area map construction device can communicate with other intelligent devices (such as intelligent robotic vacuum cleaners) and user terminals in the current scene. Figure 5 As shown, the device may include:
[0197] Memory 501 storing executable program code;
[0198] Processor 502 coupled to memory 501;
[0199] Furthermore, it may also include an input interface 503 and an output interface 504 coupled to the processor 502;
[0200] The processor 502 calls the executable program code stored in the memory 501 to execute some or all of the steps in the method for constructing a virtual area map based on WiFi Mesh channels disclosed in Embodiment 1 or Embodiment 2 of the present invention.
[0201] Example 5
[0202] This invention discloses a computer storage medium storing computer instructions. When these computer instructions are invoked, they are used to execute some or all of the steps in the method for constructing a virtual area map based on a WiFi Mesh channel disclosed in Embodiment 1 or Embodiment 2 of this invention.
[0203] The device embodiments described above are merely illustrative. The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0204] Through the detailed description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, including read-only memory (ROM), random access memory (RAM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), one-time programmable read-only memory (OTPROM), electrically-Erasable Programmable Read-Only Memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disc storage, disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.
[0205] Finally, it should be noted that the method and apparatus for constructing a virtual area map based on a WiFi Mesh channel disclosed in the embodiments of the present invention are merely preferred embodiments of the present invention and are only used to illustrate the technical solutions of the present invention, not to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for constructing a virtual area map based on WiFi Mesh channels, characterized in that, The method includes: The first signal strength emitted by the second signal device at the second corner of the application environment is collected by the first signal device at the first corner of the application environment, and the second signal strength emitted by the first signal device is collected by the second signal device, and the first corner and the second corner correspond to the same edge of the application environment; Based on the first signal strength and the second signal strength, a first distance value between the first corner position and the second corner position is determined; Based on the mobile signal device, a second distance value between the perpendicular bisectors of the first corner position and the second corner position is determined, and based on the first distance value, the second distance value, the first corner position and the second corner position, a first position and a second position are determined, wherein the distance value between the first position and the second position is equal to the first distance value; The system determines the first channel attenuation value of the first signal device at the first location, and controls the mobile signal device to move to the first location to perform a positioning operation based on the first channel attenuation value, thereby obtaining the coordinates of the first location. The system then updates the second signal device to the first signal device and the second location to the first location, and re-executes the operation of determining the first channel attenuation value of the first signal device at the first location and controlling the mobile signal device to move to the first location to perform a positioning operation based on the first channel attenuation value to obtain the coordinates of the first location. A virtual region map of the application environment is constructed based on the coordinates of the first position, the second position, the first corner position, and the second corner position.
2. The method for constructing a virtual area map based on a WiFi Mesh channel according to claim 1, wherein determining the second distance value of the perpendicular bisector of the first corner position and the second corner position based on the mobile signal device includes: The mobile signal device is controlled to move within the area formed between the first corner position and the second corner position to obtain the first real-time signal strength emitted by the first signal device and the second real-time signal strength emitted by the second signal device. Based on the first real-time signal strength, the second real-time signal strength, and the first distance value, determine the second distance value of the perpendicular bisector of the first corner position and the second corner position.
3. The method for constructing a virtual area map based on WiFi Mesh channels according to claim 2, characterized in that, The step of determining the second distance value of the perpendicular bisectors of the first corner position and the second corner position based on the first real-time signal strength, the second real-time signal strength, and the first distance value includes: By analyzing the first real-time signal strength and the second real-time signal strength, the locations where the signal strength is equal and the maximum, and the locations where the signal strength is equal and the minimum are obtained. The third signal strength emitted by the first signal device is acquired by the mobile signal device at the location where the signal strength is equal and the signal strength is the greatest, and the fourth signal strength emitted by the mobile signal device at the location where the signal strength is equal and the signal strength is the greatest is acquired by the first signal device at the first corner position; Based on the third signal strength, the fourth signal strength, the first corner position, and the second corner position, determine the second distance value of the perpendicular bisector of the first corner position and the second corner position.
4. The method for constructing a virtual area map based on WiFi Mesh channels according to claim 3, characterized in that, The step of determining the second distance value of the perpendicular bisectors of the first corner position and the second corner position based on the third signal strength, the fourth signal strength, the first corner position, and the second corner position includes: Based on the third signal strength and the fourth signal strength, a third distance value is determined between the first corner position and the position with the largest and equal signal strength. Based on the first distance value and the third distance value, determine the second distance value of the perpendicular bisectors of the first corner position and the second corner position.
5. The method for constructing a virtual area map based on WiFi Mesh channels according to any one of claims 1-4, characterized in that, The step of controlling the mobile signal device to move to the first position to perform a positioning operation based on the first channel attenuation value, and obtaining the coordinates of the first position, includes: The mobile signal device acquires a fifth signal strength emitted by the first signal device at the first location, and acquires a sixth signal strength of the mobile signal device at the first location based on the first signal device. Based on the fifth signal strength and the sixth signal strength, calculate the channel attenuation value of the first signal device at the first position, and determine whether the channel attenuation difference between the channel attenuation value and the first channel attenuation value is less than or equal to the determined channel attenuation difference threshold. When the determination result is yes, locate the coordinates of the first position.
6. The method for constructing a virtual area map based on WiFi Mesh channels according to any one of claims 1-4, characterized in that, Before constructing the virtual region map of the application environment based on the coordinates of the first position, the coordinates of the second position, the coordinates of the first corner position, and the coordinates of the second corner position, the method further includes: After the mobile signal device moves to the target position, the mobile signal device is controlled to move in four directions (front, back, left, and right) at the target position according to a preset distance value. The target position includes the first position or the second position. Determine whether the mobile signal device can move a distance less than or equal to a preset distance value in any of the four directions (front, back, left, and right) of the target location. When the judgment result is yes, the target position is determined as the boundary position of the application environment, and the operation of constructing a virtual area map of the application environment based on the coordinates of the first position, the coordinates of the second position, the coordinates of the first corner position, and the coordinates of the second corner position is executed.
7. The method for constructing a virtual area map based on WiFi Mesh channels according to claim 6, characterized in that, The method further includes: When the judgment result is negative, it is determined that the target location is not the boundary location of the application environment, and the mobile signal device is controlled to move in the direction where the channel attenuation value of the first signal device or the second signal device increases; When it is detected that the mobile signal device can no longer move in the current direction of movement, the position where the mobile signal device can no longer move is determined as the boundary position of the application environment, and the coordinates of the position where the mobile signal device can no longer move are located. The coordinates of the position where the mobile signal device can no longer be moved are updated to the coordinates of the first position or the second position, and the operation of constructing a virtual area map of the application environment based on the coordinates of the first position, the coordinates of the second position, the coordinates of the first corner position, and the coordinates of the second corner position is performed. The step of updating the coordinates of the position where the mobile signal device can no longer be moved to the coordinates of the first position or the second position includes: When the target location is the first location, the coordinates of the location where the mobile signal device can no longer move are updated to the coordinates of the first location; When the target position is the second position, the coordinates of the position where the mobile signal device can no longer move are updated to the coordinates of the second position.
8. An apparatus for constructing a virtual area map based on WiFi Mesh channels, characterized in that, The device includes: The acquisition module is used to acquire the first signal strength emitted by the second signal device at the second corner of the application environment based on the first signal device at the first corner of the application environment, and to acquire the second signal strength emitted by the first signal device based on the second signal device, wherein the first corner and the second corner correspond to the same edge of the application environment; The first determining module is configured to determine a first distance value between the first corner position and the second corner position based on the first signal strength and the second signal strength; The second determining module is used to determine a second distance value between the perpendicular bisectors of the first corner position and the second corner position based on the mobile signal device; The first determining module is further configured to determine a first position and a second position based on the first distance value, the second distance value, the first corner position, and the second corner position, wherein the distance value between the first position and the second position is equal to the first distance value; The control module is used to determine the first channel attenuation value of the first signal device at the first position, and control the mobile signal device to move to the first position to perform a positioning operation based on the first channel attenuation value, so as to obtain the coordinates of the first position; The update module is used to update the second signal device to the first signal device and update the second position to the first position, and re-trigger the control module to perform the operation of determining the first channel attenuation value of the first signal device at the first position, and controlling the mobile signal device to move to the first position to perform the positioning operation according to the first channel attenuation value, so as to obtain the coordinates of the first position; The construction module is used to construct a virtual area map of the application environment based on the coordinates of the first position, the coordinates of the second position, the coordinates of the first corner position, and the coordinates of the second corner position.
9. An apparatus for constructing a virtual area map based on WiFi Mesh channels, characterized in that, The device includes: Memory containing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the method for constructing a virtual area map based on WiFi Mesh channels as described in any one of claims 1-7.
10. A computer storage medium, characterized in that, The computer storage medium stores computer instructions, which, when invoked, execute the method for constructing a virtual area map based on a WiFi Mesh channel as described in any one of claims 1-7.