Anti-freezing network method and device based on WiFi6 router
By obtaining the floor plan and device location information built by the sweeping robot, it is determined whether to disconnect the WiFi6 router, which solves the problem of insufficient identification of network-connected devices on the WiFi6 router in the existing technology and improves network security.
Patent Information
- Application Number
- CN202210828992.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-13
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-07-13
AI Technical Summary
Existing technology is difficult to accurately identify and prevent network-robbing devices on WiFi6 routers, resulting in insufficient network security.
By obtaining the floor plan information constructed by the target sweeping robot and the location information of the device connected to the WiFi6 router, it is determined whether to disconnect the device based on the floor plan and location information, and the floor plan construction ability of the sweeping robot is used to improve the accuracy of identification of network-censoring devices and prevent network-censorship. effectiveness.
The accuracy of identification and network security of network-robbing devices have been improved, and preventive measures against network-robbing devices have been strengthened.
Smart Images

Figure CN115396982B
Abstract
Description
Technical Field
[0001] The disclosed embodiments relate to the field of WiFi6 routers, and in particular to a method and device for preventing freeloading based on WiFi6 routers. Background Art
[0002] "Freeloading" refers to the act of occupying and stealing other people's Internet resources without the owner's permission.
[0003] In the prior art, it is usually determined whether a network-connected device is a freeloading device based on the signal strength, frequency, duration, etc. of the device connecting to the wireless network. If it is determined to be a freeloading device, the connection between the freeloading device and the router providing the wireless network can be further disconnected. Summary of the invention
[0004] In view of this, the embodiments of the present disclosure provide a method and device for preventing freeloading based on a WiFi6 router.
[0005] In a first aspect, an embodiment of the present disclosure provides an anti-free-network method based on a WiFi6 router, wherein the WiFi6 router is used to provide a wireless network for a target space, and the method includes:
[0006] Obtaining the plan view information of the target space constructed by the target sweeping robot;
[0007] Obtain target location information of a first device connected to the WiFi6 router;
[0008] Based on the location indicated by the above-mentioned target location information and the area range corresponding to the above-mentioned floor plan information, determine whether to disconnect the connection between the above-mentioned first device and the above-mentioned WiFi6 router.
[0009] Optionally, in the method of any embodiment of the present disclosure, the step of obtaining the target location information of the first device connected to the WiFi6 router includes:
[0010] Obtain wireless network strength information of the first device connected to the WiFi6 router;
[0011] Based on the wireless network strength information, the target location information of the first device is determined.
[0012] Optionally, in the method of any embodiment of the present disclosure, the step of obtaining the target location information of the first device connected to the WiFi6 router includes:
[0013] Sending a positioning request to a first device connected to the WiFi6 router;
[0014] Receiving location information returned by the first device and input by a user of the first device;
[0015] The location information returned by the first device is determined as the target location information.
[0016] Optionally, in the method of any embodiment of the present disclosure, the step of obtaining the target location information of the first device connected to the WiFi6 router includes:
[0017] Obtain at least one of first location information, second location information, and third location information of a first device connected to the WiFi6 router, wherein the first location information is determined based on wireless network strength information of the first device, the second location information is determined based on signal strength information of communication between the first device and a base station, and the third location information is obtained via a global positioning system;
[0018] Receiving fourth location information returned by the first device and input by a user of the first device;
[0019] In the case where the fourth location information matches the at least one item of location information, the fourth location information is determined as the target location information.
[0020] Optionally, in the method of any embodiment of the present disclosure, the method further includes:
[0021] When the fourth location information does not match the at least one item of location information, the connection between the first device and the WiFi6 router is disconnected.
[0022] Optionally, in the method of any embodiment of the present disclosure, the determining whether to disconnect the first device from the WiFi6 router based on the location indicated by the target location information and the area range corresponding to the floor plan information includes:
[0023] When the location indicated by the target location information is outside the area corresponding to the floor plan information, disconnect the first device from the WiFi6 router.
[0024] Optionally, in the method of any embodiment of the present disclosure, the determining whether to disconnect the first device from the WiFi6 router based on the location indicated by the target location information and the area range corresponding to the floor plan information includes:
[0025] When the location indicated by the target location information is outside the area corresponding to the floor plan information, a prompt message is sent to the second device, wherein the second device is used to determine whether to disconnect the first device from the WiFi6 router.
[0026] In a second aspect, an embodiment of the present disclosure provides an anti-freeloading device based on a WiFi6 router, wherein the WiFi6 router is used to provide a wireless network for a target space, and the device includes:
[0027] A first acquisition unit is configured to acquire plan view information of a target space constructed by a target cleaning robot;
[0028] A second acquisition unit is configured to acquire target location information of a first device connected to the WiFi6 router;
[0029] The determination unit is configured to determine whether to disconnect the connection between the first device and the WiFi6 router based on the location indicated by the target location information and the area range corresponding to the floor plan information.
[0030] Optionally, in the device of any embodiment of the present disclosure, the second acquisition unit is specifically configured to:
[0031] Obtain wireless network strength information of the first device connected to the WiFi6 router;
[0032] Based on the wireless network strength information, the target location information of the first device is determined.
[0033] Optionally, in the device of any embodiment of the present disclosure, the second acquisition unit is specifically configured to:
[0034] Sending a positioning request to a first device connected to the WiFi6 router;
[0035] Receiving location information returned by the first device and input by a user of the first device;
[0036] The location information returned by the first device is determined as the target location information.
[0037] Optionally, in the device of any embodiment of the present disclosure, the second acquisition unit is specifically configured to:
[0038] Obtain at least one of first location information, second location information, and third location information of a first device connected to the WiFi6 router, wherein the first location information is determined based on wireless network strength information of the first device, the second location information is determined based on signal strength information of communication between the first device and a base station, and the third location information is obtained via a global positioning system;
[0039] Receiving fourth location information returned by the first device and input by a user of the first device;
[0040] In the case where the fourth location information matches the at least one item of location information, the fourth location information is determined as the target location information.
[0041] Optionally, in the device of any embodiment of the present disclosure, the device further includes:
[0042] The disconnection unit is configured to disconnect the first device from the WiFi6 router when the fourth location information does not match the at least one item of location information.
[0043] Optionally, in the device of any embodiment of the present disclosure, the determining unit is specifically configured to:
[0044] When the location indicated by the target location information is outside the area corresponding to the floor plan information, disconnect the first device from the WiFi6 router.
[0045] Optionally, in the device of any embodiment of the present disclosure, the determining unit is specifically configured to:
[0046] When the location indicated by the target location information is outside the area corresponding to the floor plan information, a prompt message is sent to the second device, wherein the second device is used to determine whether to disconnect the first device from the WiFi6 router.
[0047] In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
[0048] Memory for storing computer programs;
[0049] The processor is used to execute the computer program stored in the above-mentioned memory, and when the above-mentioned computer program is executed, it implements the method of any embodiment of the anti-freeloading method based on WiFi6 router of the above-mentioned first aspect of the present disclosure.
[0050] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium. When the computer program is executed by a processor, it implements a method as described in any embodiment of the anti-freeloading method based on a WiFi6 router of the first aspect above.
[0051] In a fifth aspect, an embodiment of the present disclosure provides a computer program, which includes a computer-readable code. When the computer-readable code runs on a device, the processor in the device executes instructions for implementing the steps of the method in any embodiment of the anti-freeloading method based on a WiFi6 router as described in the first aspect above.
[0052] In the anti-freeloading method based on WiFi6 router provided by the embodiment of the present disclosure, the WiFi6 router is used to provide a wireless network for the target space. The method can obtain the floor plan information of the target space constructed by the target sweeping robot, and then obtain the target position information of the first device connected to the above WiFi6 router. Finally, based on the position indicated by the above target position information and the area range corresponding to the above floor plan information, it is determined whether to disconnect the above first device from the above WiFi6 router. This method, with the help of the floor plan construction capability of the sweeping robot, determines whether to disconnect the first device from the WiFi6 router based on the position of the first device and the area range corresponding to the floor plan constructed by the sweeping robot, enriches the way to identify the freeloading device, helps to improve the accuracy of freeloading device identification, improves the effectiveness of preventing the freeloading device from freeloading, and improves network security. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] Figure 1 A flowchart of a method for preventing freeloading based on a WiFi6 router provided in an embodiment of the present disclosure;
[0054] Figure 2 A flowchart of another method for preventing freeloading based on a WiFi6 router provided in an embodiment of the present disclosure;
[0055] Figure 3 A flowchart of another method for preventing freeloading based on a WiFi6 router provided in an embodiment of the present disclosure;
[0056] Figure 4 A schematic diagram of the structure of an anti-freeloading device based on a WiFi6 router provided in an embodiment of the present disclosure;
[0057] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0058] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that the relative arrangement of components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless otherwise specifically stated.
[0059] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of the present disclosure are only used to distinguish objects such as different steps, devices or modules, and do not represent any specific technical meanings, nor do they indicate the logical order between them.
[0060] It should also be understood that in this embodiment, “plurality” may refer to two or more than two, and “at least one” may refer to one, two or more than two.
[0061] It should also be understood that any component, data or structure mentioned in the embodiments of the present disclosure can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.
[0062] In addition, the term "and / or" in the present disclosure is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in the present disclosure generally indicates that the associated objects before and after are in an "or" relationship.
[0063] It should also be understood that the description of the various embodiments in the present disclosure focuses on the differences between the various embodiments, and the same or similar aspects thereof can be referenced to each other, and for the sake of brevity, they will not be described one by one.
[0064] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0065] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the above-mentioned technologies, methods, and equipment should be considered as part of the specification.
[0066] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0067] It should be noted that, in the absence of conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other. To facilitate the understanding of the embodiments of the present disclosure, the present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.
[0068] Figure 1 A flowchart of a method for preventing freeloading based on a WiFi6 router is provided in an embodiment of the present disclosure, such as Figure 1 As shown, the method specifically includes:
[0069] 101. Obtain the plan view information of the target space constructed by the target sweeping robot.
[0070] In this embodiment, the execution entity of the anti-freeloading method based on WiFi (Wireless Fidelity) 6 router (such as a server, a terminal device, an anti-freeloading device based on WiFi6 router, etc.) can obtain the floor plan information of the target space constructed by the target sweeping robot.
[0071] Among them, the above-mentioned WiFi6 router can provide a wireless network for the above-mentioned target space.
[0072] The target sweeping robot can be used to clean the floor of the target space.
[0073] The target space may be any space with a boundary. For example, the target space may be a store or a house.
[0074] The floor plan information may represent the floor plan (eg, floor plan) of the target space. As an example, the floor plan information may include boundary information of the target space.
[0075] In practice, the target sweeping robot can plan the path of the target space to be cleaned, thereby constructing a plan view of the target space.
[0076] 102. Obtain target location information of a first device connected to the WiFi6 router.
[0077] In this embodiment, the above-mentioned execution entity can obtain the target location information of the first device connected to the above-mentioned WiFi6 router.
[0078] The target location information may represent the location of the first device.
[0079] In some optional implementations of this embodiment, the execution subject may perform step 102 in the following manner to obtain the target location information of the first device connected to the WiFi6 router:
[0080] First, obtain the wireless network strength information of the first device connected to the WiFi6 router. The wireless network strength information can represent the signal strength of one or more wireless networks scanned by the first device.
[0081] Afterwards, based on the wireless network strength information, the target location information of the first device is determined.
[0082] Here, triangulation positioning and / or fingerprint algorithm may be used to determine the location of the first device based on the wireless network strength information, thereby obtaining target location information.
[0083] It can be understood that in the above optional implementation, the location of the first device can be determined based on the wireless network strength of the first device.
[0084] In some optional implementations of this embodiment, the execution subject may also perform step 102 in the following manner to obtain the target location information of the first device connected to the WiFi6 router:
[0085] First, a positioning request is sent to a first device connected to the WiFi6 router, wherein the positioning request can be used to obtain the location information of the first device input by a user of the first device.
[0086] Afterwards, the location information input by the user of the first device and returned by the first device is received.
[0087] Then, the location information returned by the first device is determined as the target location information.
[0088] It can be understood that in the above optional implementation, the location information input by the user of the first device can be used as the target location information of the first device.
[0089] Here, the execution order of the above steps 101 and 102 is not limited. In other words, the above execution subject may first execute the above step 101 and then execute step 102, or may first execute the above step 102 and then execute step 101.
[0090] 103. Based on the location indicated by the target location information and the area range corresponding to the floor plan information, determine whether to disconnect the first device from the WiFi6 router.
[0091] In this embodiment, the above-mentioned execution entity can determine whether to disconnect the connection between the above-mentioned first device and the above-mentioned WiFi6 router based on the location indicated by the above-mentioned target location information and the area range corresponding to the above-mentioned floor plan information.
[0092] The area range corresponding to the plan view information can represent the boundary position of the target space.
[0093] In some optional implementations of this embodiment, the execution subject may perform step 103 in the following manner to determine whether to disconnect the first device from the WiFi6 router based on the location indicated by the target location information and the area range corresponding to the floor plan information:
[0094] When the position indicated by the target position information is outside the area corresponding to the plan view information, a prompt message is sent to the second device.
[0095] The second device is used to determine whether to disconnect the first device from the WiFi6 router. The second device may be a predetermined device logged in with an administrator account of the WiFi6 router.
[0096] It can be understood that in the above optional implementation method, when the position indicated by the target position information is outside the area corresponding to the floor plan information (that is, the position is outside the boundary of the target space), a prompt message can be sent to the second device, and the second device determines whether to disconnect the connection between the first device and the WiFi6 router. This further improves the accuracy of identifying freeloading devices and improves the effectiveness of preventing freeloading.
[0097] Here, the execution subject may also perform step 103 in the following manner to determine whether to disconnect the first device from the WiFi6 router based on the location indicated by the target location information and the area range corresponding to the floor plan information:
[0098] First, the area range corresponding to the above-mentioned plan view information is adjusted to generate an adjusted area range.
[0099] Here, the adjusted region range may be obtained by filling the sunken region in the boundary image, or by expanding the range of the boundary image (eg, expanding the boundary outward by a preset distance value).
[0100] In addition, the above adjustment can be performed by a user of the second device, or the above plan view information can be input into a pre-trained adjustment model to obtain an adjusted area range. The adjustment model can be a model such as a convolutional neural network trained based on a predetermined training sample set. The training samples in the training sample set can include plan view information and the area range after the user adjusts the area range corresponding to the plan view information.
[0101] In practice, when the target space is a residence, the adjusted area range may be a boundary image of a floor plan.
[0102] Afterwards, when the position indicated by the target position information is outside the area indicated by the adjusted boundary image, the connection between the first device and the WiFi6 router is disconnected.
[0103] In the anti-freeloading method based on WiFi6 router provided by the embodiment of the present disclosure, the WiFi6 router provides a wireless network for the above-mentioned target space. The method can obtain the floor plan information of the target space constructed by the target sweeping robot, and then obtain the target position information of the first device connected to the above-mentioned WiFi6 router. Finally, based on the position indicated by the above-mentioned target position information and the area range corresponding to the above-mentioned floor plan information, it is determined whether to disconnect the connection between the above-mentioned first device and the above-mentioned WiFi6 router. This method, with the help of the floor plan construction capability of the sweeping robot, determines whether to disconnect the first device from the WiFi6 router based on the position of the first device and the area range corresponding to the floor plan constructed by the sweeping robot, enriches the way to identify the freeloading device, helps to improve the accuracy of freeloading device identification, improves the effectiveness of preventing the freeloading device from freeloading, and improves network security.
[0104] Figure 2 A flowchart of another anti-freeloading method based on a WiFi6 router provided in an embodiment of the present disclosure is shown in FIG. Figure 2 As shown, the method specifically includes:
[0105] 201. Obtain plan view information of a target space constructed by a target sweeping robot.
[0106] In this embodiment, the executor of the anti-freeloading method based on WiFi6 router (such as a server, a terminal device, an anti-freeloading device based on WiFi6 router, etc.) can obtain the floor plan information of the target space constructed by the target sweeping robot.
[0107] Among them, the above-mentioned WiFi6 router provides a wireless network for the above-mentioned target space.
[0108] In this embodiment, step 201 and Figure 1 Step 101 in the corresponding embodiment is basically the same and will not be described again here.
[0109] 202. Obtain at least one of the first location information, second location information and third location information of a first device connected to the WiFi6 router, wherein the first location information is determined based on the wireless network strength information of the first device, the second location information is determined based on the signal strength information of the communication between the first device and the base station, and the third location information is obtained via a global positioning system.
[0110] In this embodiment, the above-mentioned execution entity can obtain at least one item of location information among the first location information, the second location information and the third location information of the first device connected to the above-mentioned WiFi6 router.
[0111] The first location information is determined based on the wireless network strength information of the first device. The second location information is determined based on the signal strength information of the first device communicating with a base station. The third location information is obtained via a global positioning system (GPS).
[0112] The first location information may be location information determined based on the wireless network strength information of the first device.
[0113] The second location information may be location information determined based on signal strength information of communication between the first device and the base station.
[0114] The third location information may be location information obtained via a global positioning system.
[0115] The wireless network strength information may represent the signal strength of one or more wireless networks scanned by the first device.
[0116] Here, triangulation positioning and / or fingerprint algorithm may be used to determine the target location information of the first device.
[0117] 203. Receive fourth location information returned by the first device and input by a user of the first device.
[0118] In this embodiment, the execution entity may receive fourth location information returned by the first device and input by a user of the first device.
[0119] The fourth location information may be location information returned by the first device or input by a user of the first device.
[0120] 204. When the fourth location information matches the at least one item of location information, determine the fourth location information as target location information.
[0121] In this embodiment, the execution subject may determine the fourth location information as the target location information when the fourth location information matches the at least one item of location information.
[0122] As an example, if the location information obtained in step 202 only includes the first location information, then, when the fourth location information matches the first location information, the fourth location information can be determined as the target location information; if the location information obtained in step 202 only includes the first location information, the second location information and the third location information, then, when the fourth location information matches the first location information, the second location information and the third location information, the fourth location information can be determined as the target location information.
[0123] Here, if the distance between the location indicated by the fourth location information and the location indicated by at least one item of location information (eg, the first location information) is less than or equal to a preset distance threshold, it can be determined that the fourth location information matches the at least one item of location information (eg, the first location information).
[0124] 205. Based on the location indicated by the target location information and the area range corresponding to the floor plan information, determine whether to disconnect the first device from the WiFi6 router.
[0125] In this embodiment, the above-mentioned execution entity can determine whether to disconnect the connection between the above-mentioned first device and the above-mentioned WiFi6 router based on the location indicated by the above-mentioned target location information and the area range corresponding to the above-mentioned floor plan information.
[0126] In this embodiment, step 205 and Figure 1 Step 103 in the corresponding embodiment is basically the same and will not be described again here.
[0127] It should be noted that, in addition to the above contents, this embodiment may also include Figure 1 The technical features described in the corresponding embodiments are realized Figure 1 The technical effect of the anti-freeloading method based on WiFi6 router is shown in the figure. For details, please refer to Figure 1 For the sake of brevity, the relevant description is not repeated here.
[0128] The anti-freeloading method based on WiFi6 router provided by the embodiment of the present disclosure can usually indicate that the location information input by the user of the first device is its real location information when the fourth location information matches at least one item of location information obtained. In this scenario, the fourth location information is determined as the target location information, which can improve the accuracy of positioning the first device.
[0129] In some optional implementations of this embodiment, when the fourth location information does not match the at least one item of location information, the execution entity may also disconnect the first device from the WiFi6 router.
[0130] It can be understood that in the above optional implementation method, when the fourth location information does not match at least one of the above location information, it can usually be said that the location information input by the user of the first device is not its real location information. Therefore, the first device is usually a freeloading device, and therefore the connection between the first device and the WiFi6 router can be disconnected.
[0131] Figure 3A flowchart of another anti-freeloading method based on a WiFi6 router provided in an embodiment of the present disclosure is shown in FIG. Figure 3 As shown, the method specifically includes:
[0132] 301. Obtain plan view information of a target space constructed by a target sweeping robot.
[0133] In this embodiment, the executor of the anti-freeloading method based on WiFi6 router (such as a server, a terminal device, an anti-freeloading device based on WiFi6 router, etc.) can obtain the floor plan information of the target space constructed by the target sweeping robot.
[0134] Among them, the above-mentioned WiFi6 router provides a wireless network for the above-mentioned target space.
[0135] In this embodiment, step 301 and Figure 1 Step 101 in the corresponding embodiment is basically the same and will not be described again here.
[0136] 302. Obtain target location information of a first device connected to the WiFi6 router.
[0137] In this embodiment, the above-mentioned execution entity can obtain the target location information of the first device connected to the above-mentioned WiFi6 router.
[0138] In this embodiment, step 302 and Figure 1 Step 102 in the corresponding embodiment is basically the same and will not be described again here.
[0139] 303. When the location indicated by the target location information is outside the area corresponding to the floor plan information, disconnect the first device from the WiFi6 router.
[0140] In this embodiment, when the location indicated by the target location information is outside the area corresponding to the floor plan information, the execution entity may disconnect the first device from the WiFi6 router.
[0141] It should be noted that, in addition to the above contents, this embodiment may also include Figure 1 The technical features described in the corresponding embodiments are realized Figure 1 The technical effect of the anti-freeloading method based on WiFi6 router is shown in the figure. For details, please refer to Figure 1 For the sake of brevity, the relevant description is not repeated here.
[0142] The anti-freeloading method based on WiFi6 router provided by the embodiment of the present disclosure can usually indicate that the user of the second device is not located in the target space, and is most likely a freeloading device, when the location indicated by the above-mentioned target location information is outside the area corresponding to the above-mentioned floor plan information. Therefore, the connection between the above-mentioned first device and the above-mentioned WiFi6 router can be disconnected.
[0143] Figure 4 A schematic diagram of a structure of an anti-freeloading device based on a WiFi6 router provided in an embodiment of the present disclosure specifically includes:
[0144] The first acquisition unit 401 is configured to acquire the plan view information of the target space constructed by the target sweeping robot, wherein the WiFi6 router provides a wireless network for the target space;
[0145] The second acquisition unit 402 is configured to acquire target location information of a first device connected to the WiFi6 router;
[0146] The determination unit 403 is configured to determine whether to disconnect the connection between the first device and the WiFi6 router based on the location indicated by the target location information and the area range corresponding to the floor plan information.
[0147] Optionally, in the device of any embodiment of the present disclosure, the second acquisition unit 402 is specifically configured to:
[0148] Obtain wireless network strength information of the first device connected to the WiFi6 router;
[0149] Based on the wireless network strength information, the target location information of the first device is determined.
[0150] Optionally, in the device of any embodiment of the present disclosure, the second acquisition unit 402 is specifically configured to:
[0151] Sending a positioning request to a first device connected to the WiFi6 router;
[0152] Receiving location information returned by the first device and input by a user of the first device;
[0153] The location information returned by the first device is determined as the target location information.
[0154] Optionally, in the device of any embodiment of the present disclosure, the second acquisition unit 402 is specifically configured to:
[0155] Obtain at least one of first location information, second location information, and third location information of a first device connected to the WiFi6 router, wherein the first location information is determined based on wireless network strength information of the first device, the second location information is determined based on signal strength information of communication between the first device and a base station, and the third location information is obtained via a global positioning system;
[0156] Receiving fourth location information returned by the first device and input by a user of the first device;
[0157] In the case where the fourth location information matches the at least one item of location information, the fourth location information is determined as the target location information.
[0158] Optionally, in the device of any embodiment of the present disclosure, the device further includes:
[0159] The disconnection unit (not shown in the figure) is configured to disconnect the first device from the WiFi6 router when the fourth location information does not match the at least one item of location information.
[0160] Optionally, in the device of any embodiment of the present disclosure, the determining unit 403 is specifically configured to:
[0161] When the location indicated by the target location information is outside the area corresponding to the floor plan information, disconnect the first device from the WiFi6 router.
[0162] Optionally, in the device of any embodiment of the present disclosure, the determining unit 403 is specifically configured to:
[0163] When the location indicated by the target location information is outside the area corresponding to the floor plan information, a prompt message is sent to the second device, wherein the second device is used to determine whether to disconnect the first device from the WiFi6 router.
[0164] The anti-freeloading device based on WiFi6 router provided in this embodiment can be as follows Figure 4 The anti-freeloading device based on WiFi6 router shown in the figure can be executed as follows Figure 1-3 All steps of the anti-freeloading method based on WiFi6 router, and then achieve Figure 1-3 The technical effect of the anti-freeloading method based on WiFi6 router is shown in the figure. For details, please refer to Figure 1-3 For the sake of brevity, the relevant description is not repeated here.
[0165] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure is provided. Figure 5 The electronic device 500 shown includes: at least one processor 501, a memory 502, at least one network interface 504 and other user interfaces 503. The various components in the electronic device 500 are coupled together via a bus system 505. It is understood that the bus system 505 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 505 is not shown in FIG. Figure 5 Various buses are labeled as bus system 505 .
[0166] The user interface 503 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touch pad, or a touch screen).
[0167] It can be understood that the memory 502 in the embodiment of the present disclosure can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct RAM bus random access memory (DRRAM). The memory 502 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0168] In some implementations, the memory 502 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 5021 and an application program 5022 .
[0169] The operating system 5021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application 5022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program for implementing the method of the embodiment of the present disclosure can be included in the application 5022.
[0170] In this embodiment, by calling the program or instruction stored in the memory 502, specifically, the program or instruction stored in the application 5022, the processor 501 is used to execute the method steps provided by each method embodiment, for example, including:
[0171] Obtaining the plan view information of the target space constructed by the target sweeping robot, wherein the WiFi6 router provides a wireless network for the target space;
[0172] Obtain target location information of a first device connected to the WiFi6 router;
[0173] Based on the location indicated by the above-mentioned target location information and the area range corresponding to the above-mentioned floor plan information, determine whether to disconnect the connection between the above-mentioned first device and the above-mentioned WiFi6 router.
[0174] Optionally, in the method of any embodiment of the present disclosure, the step of obtaining the target location information of the first device connected to the WiFi6 router includes:
[0175] Obtain wireless network strength information of the first device connected to the WiFi6 router;
[0176] Based on the wireless network strength information, the target location information of the first device is determined.
[0177] Optionally, in the method of any embodiment of the present disclosure, the step of obtaining the target location information of the first device connected to the WiFi6 router includes:
[0178] Sending a positioning request to a first device connected to the WiFi6 router;
[0179] Receiving location information returned by the first device and input by a user of the first device;
[0180] The location information returned by the first device is determined as the target location information.
[0181] Optionally, in the method of any embodiment of the present disclosure, the step of obtaining the target location information of the first device connected to the WiFi6 router includes:
[0182] Obtain at least one of first location information, second location information, and third location information of a first device connected to the WiFi6 router, wherein the first location information is determined based on wireless network strength information of the first device, the second location information is determined based on signal strength information of communication between the first device and a base station, and the third location information is obtained via a global positioning system;
[0183] receiving fourth location information returned by the first device and input by a user of the first device;
[0184] In the case where the fourth location information matches the at least one item of location information, the fourth location information is determined as the target location information.
[0185] Optionally, in the method of any embodiment of the present disclosure, the method further includes:
[0186] When the fourth location information does not match the at least one item of location information, the connection between the first device and the WiFi6 router is disconnected.
[0187] Optionally, in the method of any embodiment of the present disclosure, the determining whether to disconnect the first device from the WiFi6 router based on the location indicated by the target location information and the area range corresponding to the floor plan information includes:
[0188] When the location indicated by the target location information is outside the area corresponding to the floor plan information, disconnect the first device from the WiFi6 router.
[0189] Optionally, in the method of any embodiment of the present disclosure, the determining whether to disconnect the first device from the WiFi6 router based on the location indicated by the target location information and the area range corresponding to the floor plan information includes:
[0190] When the location indicated by the target location information is outside the area corresponding to the floor plan information, a prompt message is sent to the second device, wherein the second device is used to determine whether to disconnect the first device from the WiFi6 router.
[0191] The method disclosed in the above embodiment of the present disclosure can be applied to the processor 501, or implemented by the processor 501. The processor 501 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 501 or the instruction in the form of software. The above processor 501 can be a general processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present disclosure can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiment of the present disclosure can be directly embodied as a hardware decoding processor to execute, or the hardware and software units in the decoding processor can be executed. The software unit can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 502, and the processor 501 reads the information in the memory 502 and completes the steps of the above method in combination with its hardware.
[0192] It is understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application specific integrated circuits (ASIC), digital signal processors (DSP), digital signal processing devices (DSPDevice, DSPD), programmable logic devices (PLD), field programmable gate arrays (FPGA), general purpose processors, controllers, microcontrollers, microprocessors, other electronic units for performing the above functions of the present disclosure, or a combination thereof.
[0193] For software implementation, the technology described above in this article can be implemented by a unit that performs the functions described above in this article. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or outside the processor.
[0194] The electronic device provided in this embodiment may be Figure 5 The electronic device shown in FIG. 1 may perform the following steps: Figure 1-3 All steps of the anti-freeloading method based on WiFi6 router, and then achieve Figure 1-3 The technical effect of the anti-freeloading method based on WiFi6 router is shown in the figure. For details, please refer to Figure 1-3 For the sake of brevity, the relevant description is not repeated here.
[0195] The embodiments of the present disclosure also provide a storage medium (computer-readable storage medium). The storage medium here stores one or more programs. The storage medium may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a read-only memory, a flash memory, a hard disk or a solid-state drive; the memory may also include a combination of the above-mentioned types of memory.
[0196] When one or more programs in the storage medium can be executed by one or more processors, the above-mentioned anti-freeloading method based on WiFi6 router executed on the electronic device side can be implemented.
[0197] The above-mentioned processor is used to execute the anti-freeloading program based on the WiFi6 router stored in the memory to implement the following steps of the anti-freeloading method based on the WiFi6 router executed on the electronic device side:
[0198] Obtaining the plan view information of the target space constructed by the target sweeping robot, wherein the WiFi6 router provides a wireless network for the target space;
[0199] Obtain target location information of a first device connected to the WiFi6 router;
[0200] Based on the location indicated by the above-mentioned target location information and the area range corresponding to the above-mentioned floor plan information, determine whether to disconnect the connection between the above-mentioned first device and the above-mentioned WiFi6 router.
[0201] Optionally, in the method of any embodiment of the present disclosure, the step of obtaining the target location information of the first device connected to the WiFi6 router includes:
[0202] Obtain wireless network strength information of the first device connected to the WiFi6 router;
[0203] Based on the wireless network strength information, the target location information of the first device is determined.
[0204] Optionally, in the method of any embodiment of the present disclosure, the step of obtaining the target location information of the first device connected to the WiFi6 router includes:
[0205] Sending a positioning request to a first device connected to the WiFi6 router;
[0206] Receiving location information returned by the first device and input by a user of the first device;
[0207] The location information returned by the first device is determined as the target location information.
[0208] Optionally, in the method of any embodiment of the present disclosure, the step of obtaining the target location information of the first device connected to the WiFi6 router includes:
[0209] Obtain at least one of first location information, second location information, and third location information of a first device connected to the WiFi6 router, wherein the first location information is determined based on wireless network strength information of the first device, the second location information is determined based on signal strength information of communication between the first device and a base station, and the third location information is obtained via a global positioning system;
[0210] Receiving fourth location information returned by the first device and input by a user of the first device;
[0211] In the case where the fourth location information matches the at least one item of location information, the fourth location information is determined as the target location information.
[0212] Optionally, in the method of any embodiment of the present disclosure, the method further includes:
[0213] When the fourth location information does not match the at least one item of location information, the connection between the first device and the WiFi6 router is disconnected.
[0214] Optionally, in the method of any embodiment of the present disclosure, the determining whether to disconnect the first device from the WiFi6 router based on the location indicated by the target location information and the area range corresponding to the floor plan information includes:
[0215] When the location indicated by the target location information is outside the area corresponding to the floor plan information, disconnect the first device from the WiFi6 router.
[0216] Optionally, in the method of any embodiment of the present disclosure, the determining whether to disconnect the first device from the WiFi6 router based on the location indicated by the target location information and the area range corresponding to the floor plan information includes:
[0217] When the location indicated by the target location information is outside the area corresponding to the floor plan information, a prompt message is sent to the second device, wherein the second device is used to determine whether to disconnect the first device from the WiFi6 router.
[0218] The professionals should further realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0219] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0220] The specific implementation methods described above further illustrate the objectives, technical solutions and beneficial effects of the present disclosure in detail. It should be understood that the above description is only the specific implementation methods of the present disclosure and is not intended to limit the protection scope of the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.
Claims
1. A method to prevent freeloading based on WiFi6 router. It is characterized in that The WiFi6 router is used to provide a wireless network for the target space, and the method includes: Acquire the plan view information of the target space constructed by the target sweeping robot; Obtain target location information of a first device connected to the WiFi6 router; Based on the location indicated by the target location information and the area range corresponding to the plan view information, determine whether to disconnect the first device from the WiFi6 router; Wherein, obtaining the target location information of the first device connected to the WiFi6 router includes: Obtain at least one of first location information, second location information, and third location information of a first device connected to the WiFi6 router, wherein the first location information is determined based on wireless network strength information of the first device, the second location information is determined based on signal strength information of communication between the first device and a base station, and the third location information is obtained via a global positioning system; receiving fourth location information returned by the first device and input by a user of the first device; In a case where the fourth location information matches the at least one item of location information, the fourth location information is determined as target location information.
2. The method according to claim 1, It is characterized in that The obtaining target location information of the first device connected to the WiFi6 router includes: Obtain wireless network strength information of a first device connected to the WiFi6 router; Based on the wireless network strength information, target location information of the first device is determined.
3. The method according to claim 1, It is characterized in that The obtaining target location information of the first device connected to the WiFi6 router includes: Sending a positioning request to a first device connected to the WiFi6 router; receiving location information returned by the first device and input by a user of the first device; The location information returned by the first device is determined as the target location information.
4. The method according to claim 1, It is characterized in that The method further comprises: When the fourth location information does not match the at least one item of location information, disconnect the first device from the WiFi6 router.
5. The method according to any one of claims 1 to 4, It is characterized in that The determining whether to disconnect the first device from the WiFi6 router based on the location indicated by the target location information and the area range corresponding to the plan view information includes: When the location indicated by the target location information is outside the area corresponding to the floor plan information, disconnect the first device from the WiFi6 router.
6. The method according to any one of claims 1 to 4, It is characterized in that The determining whether to disconnect the first device from the WiFi6 router based on the location indicated by the target location information and the area range corresponding to the plan view information includes: When the location indicated by the target location information is outside the area corresponding to the floor plan information, a prompt message is sent to a second device, wherein the second device is used to determine whether to disconnect the first device from the WiFi6 router. 7.An anti-freezing device based on WiFi6 router, It is characterized in that The WiFi6 router is used to provide a wireless network for the target space, and the device includes: A first acquisition unit is configured to acquire the plan view information of the target space constructed by the target cleaning robot; A second acquisition unit is configured to acquire target location information of a first device connected to the WiFi6 router; A determination unit configured to determine whether to disconnect the first device from the WiFi6 router based on the location indicated by the target location information and the area range corresponding to the plan view information; Wherein, obtaining the target location information of the first device connected to the WiFi6 router includes: Obtain at least one of first location information, second location information, and third location information of a first device connected to the WiFi6 router, wherein the first location information is determined based on wireless network strength information of the first device, the second location information is determined based on signal strength information of communication between the first device and a base station, and the third location information is obtained via a global positioning system; receiving fourth location information returned by the first device and input by a user of the first device; In a case where the fourth location information matches the at least one item of location information, the fourth location information is determined as target location information.
8. An electronic device, It is characterized in that include: Memory for storing computer programs; A processor, configured to execute a computer program stored in the memory, and when the computer program is executed, implement the method described in any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method described in any one of claims 1 to 6 is implemented.
