CN112672280A - Control method and device of mobile router, computer equipment and storage medium - Google Patents

Control method and device of mobile router, computer equipment and storage medium Download PDF

Info

Publication number
CN112672280A
CN112672280A CN202011522508.XA CN202011522508A CN112672280A CN 112672280 A CN112672280 A CN 112672280A CN 202011522508 A CN202011522508 A CN 202011522508A CN 112672280 A CN112672280 A CN 112672280A
Authority
CN
China
Prior art keywords
mobile router
distance
user equipment
controlling
move
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011522508.XA
Other languages
Chinese (zh)
Inventor
汶兴琪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Wingtech Electronic Technology Co Ltd
Original Assignee
Xian Wingtech Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Wingtech Electronic Technology Co Ltd filed Critical Xian Wingtech Electronic Technology Co Ltd
Priority to CN202011522508.XA priority Critical patent/CN112672280A/en
Publication of CN112672280A publication Critical patent/CN112672280A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The application relates to a control method, a device, a computer device and a storage medium of a mobile router, wherein the method comprises the following steps: detecting a first distance between the mobile router and the user equipment, and a first location of the user equipment; judging whether the first distance is larger than a preset distance threshold value or not; the distance threshold is generated by responding to a distance setting operation of a user; if so, controlling the mobile router to move to the first position; and in the process that the mobile router moves to the first position, updating the distance between the mobile router and the user equipment, and controlling the mobile router to stop moving when the updated distance is not greater than the distance threshold. The method and the device can provide high-quality network signals for users, and avoid the installation cost of additional network equipment.

Description

Control method and device of mobile router, computer equipment and storage medium
Technical Field
The present application relates to the field of router technologies, and in particular, to a method and an apparatus for controlling a mobile router, a computer device, and a storage medium.
Background
The router is used as a gateway device and almost becomes a necessity of each household. A traditional router generally needs to be fixedly installed at a certain position through a network cable; however, the network coverage of the router is limited, and when a user is in a range far from the installation position of the router, the signal strength is often weak, and the internet access is not smooth. For the problem of limited network coverage, at present, one more router is installed or a relay is used to expand the network coverage, which not only increases the trouble of installing network equipment, but also increases additional cost.
Disclosure of Invention
In order to solve the technical problem or at least partially solve the technical problem, the present application provides a control method, an apparatus, a computer device and a storage medium for a mobile router.
The application provides a control method of a mobile router, which is applied to control equipment of the mobile router; the method comprises the following steps: detecting a first distance between the user equipment and a first position of the user equipment; judging whether the first distance is larger than a preset distance threshold value or not; wherein the distance threshold is generated in response to a distance setting operation by a user; if so, controlling the mobile router to move to the first position; and in the process that the mobile router moves to the first position, updating the distance between the mobile router and the user equipment, and controlling the mobile router to stop moving when the updated distance is not greater than the distance threshold.
Further, said controlling said mobile router to move to said first location comprises: acquiring the current position of the mobile router; wherein the current position is determined from ultra-wideband UWB data or is one of a plurality of preset candidate positions; and controlling the mobile router to move from the current position to the first position of the user equipment.
Further, said controlling said mobile router to move to said first location comprises: acquiring the current position and a plurality of preset candidate positions of the mobile router; wherein the current location is determined from ultra-wideband UWB data or is one of the candidate locations; acquiring second distances between the first position of the user equipment and the candidate positions respectively; determining a candidate position corresponding to a second distance smaller than the distance threshold value as a second position; controlling the mobile router to move from a current location to the second location.
Further, said controlling said mobile router to move to said first location comprises: detecting whether an obstacle exists in the driving direction through a preset infrared obstacle avoidance sensor in the process that the mobile router moves to the first position; and if the obstacle exists, generating an avoidance route and moving to the first position according to the avoidance route.
Further, said controlling said mobile router to move to said first location comprises: sending a driving instruction to a preset driving device to control the driving device to drive the mobile router to move to the first position; wherein the driving apparatus includes a motor and a wheel installed under the mobile router.
Further, the mobile router comprises an ultra-wideband UWB base station, and the user equipment comprises a UWB tag; the detecting a first distance between itself and the user equipment includes: determining a transmission time stamp when controlling the UWB base station to transmit a ranging signal to a UWB tag of the user equipment; when the UWB base station receives a response signal corresponding to the ranging signal fed back by the UWB tag, determining a feedback timestamp; determining a first distance between the mobile router and the user equipment based on the transmit timestamp and the feedback timestamp.
Further, the mobile router includes: a network signal conversion module; the network signal conversion module is used for converting the mobile communication network signal received by the mobile router into a wireless internet Wi-Fi signal.
The present application also provides a control device of a mobile router, including: the device is applied to the control equipment of the mobile router; the device comprises: the detection module is used for detecting a first distance between the detection module and user equipment and a first position of the user equipment; the judging module is used for judging whether the first distance is larger than a preset distance threshold value or not; wherein the distance threshold is generated in response to a distance setting operation by a user; the control module is used for controlling the mobile router to move to the first position under the condition of being larger than the first position; and the updating module is used for updating the distance between the mobile router and the user equipment in the process that the mobile router moves to the first position, and controlling the mobile router to stop moving when the updated distance is not greater than the distance threshold.
The present application further provides a computer device, comprising: a processor and a storage device; the storage device has stored thereon a computer program that, when executed by the processor, performs the above-described control method of the mobile router.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above-described control method of the mobile router.
Compared with the prior art, the technical scheme provided by the embodiment of the application has the following advantages:
the embodiment of the application provides a control method and a control device of a mobile router, computer equipment and a storage medium, wherein through the control equipment of the mobile router, a first distance between user equipment and the mobile router and a first position of the user equipment are detected firstly; then judging whether the first distance is greater than a preset distance threshold value, and controlling the mobile router to move to the first position if the first distance is greater than the preset distance threshold value; and in the process that the mobile router moves to the first position, updating the distance between the mobile router and the user equipment, and controlling the mobile router to stop moving when the updated distance is not greater than the distance threshold. In this embodiment, when the user equipment exceeds the distance threshold covered by the network of the router, no additional network equipment needs to be installed, only one mobile router is needed, the mobile router is controlled to move to the user equipment until the distance is not greater than the distance threshold, and the mobile router stops moving until the distance is reduced, so that a high-quality network signal can be provided for the user, and the installation cost of the additional network equipment is avoided; in addition, because the distance has a direct relation with the network signal strength, the distance setting operation based on the user not only can flexibly generate various distance thresholds, but also can fully reflect the strength requirement of the user on the network signal, so that the mobile router can better meet the fluency requirement of the user on surfing the internet.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive exercise.
Fig. 1 is a flowchart of a method for controlling a mobile router according to an embodiment of the present application;
FIG. 2 is a flow chart of a method for controlling mobility of a mobile router according to an embodiment of the present application;
fig. 3 is a block diagram of a control apparatus of a mobile router according to an embodiment of the present application;
fig. 4 is an internal structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
In order that the above-mentioned objects, features and advantages of the present application may be more clearly understood, the solution of the present application will be further described below. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present application, but the present application may be practiced in other ways than those described herein; it is to be understood that the embodiments described in this specification are only some embodiments of the present application and not all embodiments.
Due to the limited network coverage of the router, when the user equipment is far away from the fixed router, the quality of the network signal received by the user equipment is poor. For this reason, the network coverage is currently enlarged mainly by installing additional routers or repeaters, which however increases the installation cost of the device. Based on this, the present embodiments provide a control method, apparatus, computer device and storage medium for a mobile router to provide a high quality network signal to a user at a low cost. For the sake of understanding, the embodiments of the present application will be described in detail below.
In one embodiment, the present embodiment provides a control method of a mobile router, which is applicable to a system including a mobile router and a control device. In order to better understand the technical solution of the present application, the present embodiment first describes the system.
In this embodiment, the control device is a device that controls the mobile router, and may be provided inside the mobile router, such as the control device may be a controller inside the mobile router body; alternatively, the control device may be a separate device that can control the mobile router, such as a controller external to the mobile router.
The mobile router includes: network signal conversion module and power supply system. The network signal conversion module is configured to convert a mobile communication network signal received by the mobile router into a Wi-Fi (Wireless Fidelity, Wireless internet access) signal, where the mobile communication network signal is, for example, a 4G (fourth generation mobile communication network signal) or a 5G (fifth generation mobile communication network signal). Through the network signal conversion module and the power supply system, the mobile router gets rid of the dependence and limitation of the traditional router on network cables and power supply lines.
It can be understood that when the control device is a controller inside the mobile router body, only one power supply system may be provided to simultaneously supply power to the mobile router and the control device, and when the control device is an independent device of the mobile router, the power supply systems may be provided in both the control device and the mobile router, and each power supply system respectively supplies power to the mobile router and the control device to which the power supply system belongs.
The system may also include, but is not limited to, a driver device, a UWB device, and an infrared obstacle avoidance sensor. Wherein, the driving device is connected with the control device and comprises a motor and wheels arranged below the mobile router. The UWB device includes a UWB base station installed to the mobile router and a UWB tag installed to the user equipment. The infrared obstacle avoidance sensor is at least one and is arranged around the mobile router.
In addition, the user equipment in this embodiment may be any device that can establish network connection with a router, such as a mobile phone, a computer, an intelligent sound box, an intelligent lamp, and a wearable device.
In one embodiment, as shown in fig. 1, a method for controlling a mobile router is provided, which is illustrated by applying the method to a control device of a router, and includes the following steps:
step 102, a first distance between the user equipment and a first position of the user equipment are detected.
In this embodiment, after the mobile router establishes a network connection with the user equipment, the control device may detect a first distance between the mobile router and the user equipment and detect a first location of the user equipment using the UWB base station of the mobile router and the UWB tag installed in the user equipment.
And 104, judging whether the first distance is greater than a preset distance threshold value. Wherein the distance threshold is generated in response to a distance setting operation of the user, and is used to represent a maximum distance between the mobile router and the user equipment. It can be understood that when the first distance is not greater than the preset distance threshold, indicating that the user equipment is within the effective network coverage of the mobile router, the mobile router can provide network signals with better quality for the user; in this case, the distance between the user equipment and the mobile router can be continuously detected, and in the case that the user equipment moves, the distance is timely updated and the movement of the mobile router is controlled. When the first distance is greater than the preset distance threshold, the signal quality decreases as the distance increases, which affects the network access fluency of the user, in this case, the following step S106 may be performed.
And 106, controlling the mobile router to move to the first position.
In this embodiment, the control device generates a driving instruction after determining that the first distance is greater than a preset distance threshold; and sending a driving instruction to a preset driving device to control the driving device to drive the mobile router to move to the first position. As the mobile router moves towards the first location, the distance between the mobile router and the user equipment gradually shortens, and accordingly, the quality of the network signal received by the user equipment gradually improves.
And step S108, updating the distance between the mobile router and the user equipment in the process that the mobile router moves to the first position, and controlling the mobile router to stop moving when the updated distance is not greater than the distance threshold.
By updating the distance between the mobile router and the user equipment and controlling the mobile router to move towards the user equipment until the updated distance between the mobile router and the user equipment is not greater than the distance threshold value, the method can provide high-quality network signals for users, and simultaneously can reduce the moving distance of the mobile router, thereby reducing the consumption of resources such as electric quantity and the like.
According to the control method of the mobile router provided by the embodiment of the application, through the control equipment of the mobile router, a first distance between the mobile router and the user equipment and a first position of the user equipment are detected firstly; then judging whether the first distance is greater than a preset distance threshold value, and controlling the mobile router to move to the first position if the first distance is greater than the preset distance threshold value; and in the process that the mobile router moves to the first position, updating the distance between the mobile router and the user equipment, and controlling the mobile router to stop moving when the updated distance is not greater than the distance threshold. In this embodiment, when the user equipment exceeds the distance threshold covered by the network of the router, no additional network equipment needs to be installed, only one mobile router is needed, the mobile router is controlled to move to the user equipment until the distance is not greater than the distance threshold, and the mobile router stops moving until the distance is reduced, so that a high-quality network signal can be provided for the user, and the installation cost of the additional network equipment is avoided; in addition, because the distance has a direct relation with the network signal strength, the distance setting operation based on the user not only can flexibly generate various distance thresholds, but also can fully reflect the strength requirement of the user on the network signal, so that the mobile router can better meet the fluency requirement of the user on surfing the internet.
Based on the UWB base station of the mobile router and the UWB tag of the user equipment, the present embodiment provides a way to detect the first distance between the mobile router and the user equipment, as shown below with reference to:
when controlling a UWB base station to transmit a ranging signal to a UWB tag of user equipment, determining a sending timestamp; when the UWB base station receives a response signal corresponding to the ranging signal fed back by the UWB tag, determining a feedback timestamp; a first distance between the user equipment and the mobile router is determined based on the transmit timestamp and the feedback timestamp. Specifically, the distance between the UWB base station and the UWB tag, that is, the first distance between the mobile router and the user equipment, is measured by a time of flight (TOF) ranging method using a time of flight between a transmission time stamp and a feedback time stamp.
Considering that there is generally more than one user equipment, the present embodiment may calculate the first position of each user equipment by triangulation based on the distance between the mobile router and the plurality of user equipments.
And after the first distance is acquired, judging whether the first distance is greater than a preset distance threshold value. In this embodiment, the distance threshold may be an initial value when the control device is shipped from a factory, or may be a value set by a user to meet personal requirements. When the distance threshold is set by the user, the setting method may be: the distance threshold is generated in response to a distance setting operation by a user.
In practical application, after the user equipment part is connected with the Wi-Fi part, the user can set the distance threshold value according to the signal intensity corresponding to different distances. The signal strength can be represented by a signal lattice number, for example, a mobile router is placed at a fixed position, the signal lattice number changes as the user equipment is far away from the mobile router, and when the signal lattice number just meets the user requirement, the user can initiate a distance setting operation to the control equipment. The above-described distance setting operation may be a specific distance value input by the user, in which case the control apparatus determines the specific distance value as the distance threshold value by responding to the distance setting operation by the user. Alternatively, the above-described distance setting operation may also be an operation in which the control apparatus instructs the user to generate the distance threshold, in which case the control apparatus detects the distance between the current movement sensor and the user apparatus by responding to the distance setting operation of the user, and determines the detected distance as the distance threshold.
According to the embodiment, the distance threshold can flexibly meet personalized requirements of different users by responding to the distance setting operation of the users.
In the event that the comparison first distance is greater than the distance threshold, a number of ways may be provided to control the mobile router to move to the first location.
In one embodiment, the movement path to the first location is generated according to a path planning algorithm (e.g., simulated annealing algorithm, fuzzy logic algorithm); updating a distance between the mobile router and the user equipment during movement of the mobile router along the movement path toward the first position; judging whether the updated distance is greater than a distance threshold value; and if not, controlling the mobile router to stop moving. The embodiment can generate any moving route reaching the first position, update the distance between the user equipment and the mobile router as the mobile router moves along the moving route, and control the mobile router to stop when the updated distance is not greater than the distance threshold. In this way, the moving route of the mobile router is more flexible, and the moving distance of the mobile router can be reduced while high-quality network signals can be provided for users, thereby reducing the consumption of resources such as electric quantity.
In one embodiment, referring to fig. 2, controlling the mobile router to move to the first position may include steps S202 and S204 as follows:
step S202, obtaining the current position of the mobile router; the current position is determined according to the UWB data, and the determining manner of the current position may refer to the determining manner of the first position of the user equipment. Or, the current location is one of a plurality of preset candidate locations; mobile routers are typically used in environments with limited space, such as homes, offices, etc., so that a user can easily set one or more candidate locations for placing the mobile router, and the current location of the mobile router is one of the candidate locations. The plurality of candidate locations are distributed over different spatial locations such that a distance to the user equipment of each possible location is within a distance threshold.
And step S204, controlling the mobile router to move from the current position to the first position of the user equipment.
In this embodiment, if the number of the user equipments being used by the user is small (for example, one user equipment) and the requirement of the user equipment on the network quality is high, the mobile router may be controlled to move to the first location where the user equipment is located, so as to minimize the distance between the mobile router and the user equipment, thereby providing better signal quality.
In one embodiment, controlling the mobile router to move to the first location may comprise the steps I to IV of:
step I, acquiring the current position and a plurality of preset candidate positions of the mobile router; wherein the current location is determined from the UWB data or is one of the candidate locations. The step S202 can be referred to in this step, and is not described herein again.
And step II, acquiring second distances between the first position of the user equipment and each candidate position.
For any candidate position, the embodiment calculates a second distance between the candidate position and the first position according to the first position of the user equipment and the candidate position.
And III, determining the candidate position corresponding to the second distance smaller than the distance threshold value as the second position.
In this embodiment, each second distance is compared with the distance threshold, the second distance smaller than the distance threshold is selected, the candidate position corresponding to the selected second distance is determined as the second position, and the second position is used as the destination position of the mobile route.
And IV, controlling the mobile router to move from the current position to the second position.
In this embodiment, the moving route from the current position to the second position may be acquired first; the candidate position is preset, so that the position of the candidate position is accurate and fixed, and the moving route from the current position to the second position is simple and easy to plan; for example, the movement route may be a route set in advance according to the candidate position, or may be a route generated according to a path planning algorithm.
In the method for controlling the movement of the mobile router provided in this embodiment, the second location to be reached by the mobile router is determined from the candidate locations according to the distance threshold, so that, on one hand, the mobile router after reaching the second location can meet the requirement of the user on the network signal quality, and on the other hand, the moving route from the current location to the second location is simple and easy to plan, thereby effectively reducing the control difficulty when the mobile router moves to the second location.
In a practical application environment, various obstacles such as tables, chairs, pets and the like may exist, and the movement of the mobile router may be affected. Based on this, in the above embodiments for controlling the mobile router to move to the user equipment, the following obstacle avoidance manner may be adopted to control the movement of the mobile router.
Should keep away barrier mode includes: in the process that the mobile router moves to the first position, whether an obstacle exists in the driving direction is detected through a preset infrared obstacle avoidance sensor; if an obstacle exists, an avoidance route is generated and moved to the first position according to the avoidance route.
In the present embodiment, when the presence of an obstacle in the detected traveling direction is detected by the infrared obstacle avoidance sensor, an avoidance route may be generated, and the wheels in the drive device may be controlled to change the traveling direction so that the mobile router moves along the avoidance route. The above process of moving to the first position according to the avoidance route includes a process of moving the mobile router to the first position until the distance between the mobile router and the user equipment is not greater than the distance threshold, a process of moving the mobile router to the first position, and a process of moving the mobile router to the second position.
To sum up, in the control method of the mobile router provided in the embodiment of the present application, the UWB ranging technology is utilized to improve the accuracy of distance detection, when the distance between the mobile router and the user equipment is greater than the distance threshold, there is no need to install additional network equipment, and only one mobile router is needed to control the mobile router to move to the user equipment, so as to reduce the distance between the mobile router and the user equipment, and thus a high-quality network signal can be provided for the user, and the installation cost of additional network equipment is avoided. In addition, the distance threshold value can be flexibly set by a user, and the personalized requirements of the user are met; in the process that the mobile router moves to the user equipment, different target positions, such as a position smaller than a distance threshold, a first position and a second position, are set, so that the method can adapt to different application scenes, and the control difficulty of the mobile router is reduced; and the anti-interference capability of movement is effectively improved through an infrared obstacle avoidance mode.
It should be understood that although the various steps in the flow charts of fig. 1-2 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 1-2 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performance of the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternating with other steps or at least some of the sub-steps or stages of other steps.
According to the control method of the mobile router provided in the above embodiment, the present embodiment provides a control apparatus of the mobile router, which is applied to a control device of the mobile router; referring to fig. 3, the control apparatus of the mobile router includes: a detection module 302, a determination module 304, a control module 306, and an update module 308; wherein:
a detecting module 302, configured to detect a first distance between the user equipment and the user equipment, and a first location of the user equipment;
a determining module 304, configured to determine whether the first distance is greater than a preset distance threshold; wherein the distance threshold is generated in response to a distance setting operation by a user;
a control module 306 for controlling the mobile router to move to the first position if greater than;
and the updating module 308 is configured to update the distance between the mobile router and the user equipment during the process that the mobile router moves to the first location, and control the mobile router to stop moving when the updated distance is not greater than the distance threshold.
In one embodiment, the control module 306 is specifically configured to: acquiring the current position of a mobile router; wherein the current position is determined from the UWB data or is one of a plurality of preset candidate positions; and controlling the mobile router to move from the current position to the first position of the user equipment.
In one embodiment, the control module 306 is specifically configured to: acquiring the current position and a plurality of preset candidate positions of a mobile router; wherein the current location is determined from the ultra-wideband UWB data or is one of the candidate locations; acquiring second distances between the first position of the user equipment and each candidate position respectively; determining a candidate position corresponding to a second distance smaller than the distance threshold value as a second position; and controlling the mobile router to move from the current position to the second position.
In one embodiment, the control module 306 is specifically configured to: in the process that the mobile router moves to the first position, whether an obstacle exists in the driving direction is detected through a preset infrared obstacle avoidance sensor; if an obstacle exists, an avoidance route is generated and moved to the first position according to the avoidance route.
In one embodiment, the control module 306 is specifically configured to: sending a driving instruction to a preset driving device to control the driving device to drive the mobile router to move to the first position; wherein the driving device comprises a motor and a wheel installed under the mobile router.
In one embodiment, the mobile router comprises an ultra-wideband UWB base station, and the user equipment comprises a UWB tag; the detection module 302 is specifically configured to: when controlling a UWB base station to transmit a ranging signal to a UWB tag of user equipment, determining a sending timestamp; when the UWB base station receives a response signal corresponding to the ranging signal fed back by the UWB tag, determining a feedback timestamp; a first distance between the user equipment and the mobile router is determined based on the transmit timestamp and the feedback timestamp.
In one embodiment, a mobile router includes: a network signal conversion module; the network signal conversion module is used for converting the mobile communication network signal received by the mobile router into a wireless internet Wi-Fi signal.
According to the control device of the mobile router provided by the embodiment of the application, through the control equipment of the mobile router, a first distance between the user equipment and the mobile router and a first position of the user equipment are detected firstly; then judging whether the first distance is greater than a preset distance threshold value, and controlling the mobile router to move to the first position if the first distance is greater than the preset distance threshold value; and in the process that the mobile router moves to the first position, updating the distance between the mobile router and the user equipment, and controlling the mobile router to stop moving when the updated distance is not greater than the distance threshold. In this embodiment, when the user equipment exceeds the distance threshold covered by the network of the router, no additional network equipment needs to be installed, only one mobile router is needed, the mobile router is controlled to move to the user equipment until the distance is not greater than the distance threshold, and the mobile router stops moving until the distance is reduced, so that a high-quality network signal can be provided for the user, and the installation cost of the additional network equipment is avoided; in addition, because the distance has a direct relation with the network signal strength, the distance setting operation based on the user not only can flexibly generate various distance thresholds, but also can fully reflect the strength requirement of the user on the network signal, so that the mobile router can better meet the fluency requirement of the user on surfing the internet.
For specific limitations of the control device of the mobile router, reference may be made to the above limitations of the control method of the mobile router, which are not described herein again. The respective modules in the control apparatus of the mobile router described above may be implemented in whole or in part by software, hardware, and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, there is provided a computer device comprising: a processor and a storage device; the storage device has stored thereon a computer program which, when executed by the processor, performs the control method of the mobile router according to the foregoing embodiments, as shown below with reference to:
detecting a first distance between the user equipment and a first position of the user equipment; judging whether the first distance is larger than a preset distance threshold value or not; wherein the distance threshold is generated in response to a distance setting operation by a user; if so, controlling the mobile router to move to the first position; and in the process that the mobile router moves to the first position, updating the distance between the mobile router and the user equipment, and controlling the mobile router to stop moving when the updated distance is not greater than the distance threshold.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the current position of a mobile router; wherein the current position is determined from ultra-wideband UWB data or is one of a plurality of preset candidate positions; and controlling the mobile router to move from the current position to the first position of the user equipment.
In one embodiment, the processor, when executing the computer program, further performs the steps of: acquiring the current position and a plurality of preset candidate positions of a mobile router; wherein the current location is determined from the ultra-wideband UWB data or is one of the candidate locations; acquiring second distances between the first position of the user equipment and each candidate position respectively; determining a candidate position corresponding to a second distance smaller than the distance threshold value as a second position; and controlling the mobile router to move from the current position to the second position.
In one embodiment, the processor, when executing the computer program, further performs the steps of: in the process that the mobile router moves to the first position, whether an obstacle exists in the driving direction is detected through a preset infrared obstacle avoidance sensor; if an obstacle exists, an avoidance route is generated and moved to the first position according to the avoidance route.
In one embodiment, the processor, when executing the computer program, further performs the steps of: sending a driving instruction to a preset driving device to control the driving device to drive the mobile router to move to the first position; wherein the driving device comprises a motor and a wheel installed under the mobile router.
In one embodiment, the mobile router comprises an ultra-wideband UWB base station, and the user equipment comprises a UWB tag; the processor, when executing the computer program, further performs the steps of: when controlling a UWB base station to transmit a ranging signal to a UWB tag of user equipment, determining a sending timestamp; when the UWB base station receives a response signal corresponding to the ranging signal fed back by the UWB tag, determining a feedback timestamp; a first distance between the mobile router and the user equipment is determined based on the transmit timestamp and the feedback timestamp.
According to the computer equipment provided by the embodiment of the application, when the user equipment exceeds the distance threshold value covered by the network of the router, no additional network equipment is needed to be installed, only one mobile router is needed to control the mobile router to move towards the user equipment until the distance threshold value is not greater than the distance threshold value, the mobile router is stopped, the distance between the mobile router and the user equipment is reduced, a high-quality network signal can be provided for a user, and the installation cost of the additional network equipment is avoided; in addition, because the distance has a direct relation with the network signal strength, the distance setting operation based on the user not only can flexibly generate various distance thresholds, but also can fully reflect the strength requirement of the user on the network signal, so that the mobile router can better meet the fluency requirement of the user on surfing the internet.
In one embodiment, the internal structure of the computer device may include a processor, a storage device, and a network interface connected via a system bus as shown in fig. 4. Wherein the processor of the computer device is configured to provide computing and control capabilities. The storage device of the computer equipment comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a control method of a mobile router.
Those skilled in the art will appreciate that the architecture shown in fig. 4 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, the present application further provides a mobile router on which a control device including the computer device described above is disposed.
In one embodiment, the control apparatus of the mobile router provided in the present application may be implemented in the form of a computer program, and the computer program may be run on the control device as shown in fig. 4. The memory of the computer device may store therein various program modules constituting the control means of the mobile router, such as the detection module 302, the determination module 304, and the control module 306 shown in fig. 3. The computer program constituted by the respective program modules causes the processor to execute the steps in the control method of the mobile router of the respective embodiments of the present application described in the present specification.
For example, the control apparatus shown in fig. 4 may execute step S102 by the detection module 302, step S104 by the judgment module 304, and step S106 by the control module 306 in the control device of the mobile router shown in fig. 3.
In one embodiment, there is provided a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, performs the following steps of the control method of the mobile router described above:
detecting a first distance between the user equipment and a first position of the user equipment; judging whether the first distance is larger than a preset distance threshold value or not; wherein the distance threshold is generated in response to a distance setting operation by a user; if so, controlling the mobile router to move to the first position; and in the process that the mobile router moves to the first position, updating the distance between the mobile router and the user equipment, and controlling the mobile router to stop moving when the updated distance is not greater than the distance threshold.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the current position of a mobile router; wherein the current position is determined from ultra-wideband UWB data or is one of a plurality of preset candidate positions; and controlling the mobile router to move from the current position to the first position of the user equipment.
In one embodiment, the computer program when executed by the processor further performs the steps of: acquiring the current position and a plurality of preset candidate positions of a mobile router; wherein the current location is determined from the ultra-wideband UWB data or is one of the candidate locations; acquiring second distances between the first position of the user equipment and each candidate position respectively; determining a candidate position corresponding to a second distance smaller than the distance threshold value as a second position; and controlling the mobile router to move from the current position to the second position.
In one embodiment, the computer program when executed by the processor further performs the steps of: in the process that the mobile router moves to the first position, whether an obstacle exists in the driving direction is detected through a preset infrared obstacle avoidance sensor; if an obstacle exists, an avoidance route is generated and moved to the first position according to the avoidance route.
In one embodiment, the computer program when executed by the processor further performs the steps of: sending a driving instruction to a preset driving device to control the driving device to drive the mobile router to move to the first position; wherein the driving device comprises a motor and a wheel installed under the mobile router.
In one embodiment, the mobile router comprises an ultra-wideband UWB base station, and the user equipment comprises a UWB tag; the computer program when executed by the processor further realizes the steps of: when controlling a UWB base station to transmit a ranging signal to a UWB tag of user equipment, determining a sending timestamp; when the UWB base station receives a response signal corresponding to the ranging signal fed back by the UWB tag, determining a feedback timestamp; a first distance between the mobile router and the user equipment is determined based on the transmit timestamp and the feedback timestamp.
According to the computer-readable storage medium provided by the embodiment of the application, when the user equipment exceeds the distance threshold value covered by the network of the router, the user equipment does not need to be provided with additional network equipment, only needs one mobile router, controls the mobile router to move towards the user equipment until the distance is not greater than the distance threshold value, and stops moving, so that the distance between the mobile router and the user equipment is reduced, a high-quality network signal can be provided for the user, and the installation cost of the additional network equipment is avoided; in addition, because the distance has a direct relation with the network signal strength, the distance setting operation based on the user not only can flexibly generate various distance thresholds, but also can fully reflect the strength requirement of the user on the network signal, so that the mobile router can better meet the fluency requirement of the user on surfing the internet.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the embodiments provided herein may include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM is available in many forms, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), and the like.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is merely exemplary of the present application and is presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A control method of a mobile router, characterized in that the method is applied to a control device of the mobile router; the method comprises the following steps:
detecting a first distance between the user equipment and a first position of the user equipment;
judging whether the first distance is larger than a preset distance threshold value or not; wherein the distance threshold is generated in response to a distance setting operation by a user;
if so, controlling the mobile router to move to the first position;
and in the process that the mobile router moves to the first position, updating the distance between the mobile router and the user equipment, and controlling the mobile router to stop moving when the updated distance is not greater than the distance threshold.
2. The method of claim 1, wherein said controlling the mobile router to move to the first location comprises:
acquiring the current position of the mobile router; wherein the current position is determined from ultra-wideband UWB data or is one of a plurality of preset candidate positions;
and controlling the mobile router to move from the current position to the first position of the user equipment.
3. The method of claim 1, wherein said controlling the mobile router to move to the first location comprises:
acquiring the current position and a plurality of preset candidate positions of the mobile router; wherein the current location is determined from ultra-wideband UWB data or is one of the candidate locations;
acquiring second distances between the first position of the user equipment and the candidate positions respectively;
determining a candidate position corresponding to a second distance smaller than the distance threshold value as a second position;
controlling the mobile router to move from a current location to the second location.
4. The method of any of claims 1 to 3, wherein said controlling said mobile router to move to said first location comprises:
detecting whether an obstacle exists in the driving direction through a preset infrared obstacle avoidance sensor in the process that the mobile router moves to the first position;
and if the obstacle exists, generating an avoidance route and moving to the first position according to the avoidance route.
5. The method of claim 1, wherein said controlling the mobile router to move to the first location comprises:
sending a driving instruction to a preset driving device to control the driving device to drive the mobile router to move to the first position; wherein the driving apparatus includes a motor and a wheel installed under the mobile router.
6. The method of claim 1, wherein the mobile router comprises an ultra-wideband UWB base station, and wherein the user device comprises a UWB tag;
the detecting a first distance between itself and the user equipment includes:
determining a transmission time stamp when controlling the UWB base station to transmit a ranging signal to a UWB tag of the user equipment;
when the UWB base station receives a response signal corresponding to the ranging signal fed back by the UWB tag, determining a feedback timestamp;
determining a first distance between the mobile router and the user equipment based on the transmit timestamp and the feedback timestamp.
7. The method of claim 1, wherein the mobile router comprises: a network signal conversion module; the network signal conversion module is used for converting the mobile communication network signal received by the mobile router into a wireless internet Wi-Fi signal.
8. A control apparatus of a mobile router, comprising: the device is applied to the control equipment of the mobile router; the device comprises:
the detection module is used for detecting a first distance between the detection module and user equipment and a first position of the user equipment;
the judging module is used for judging whether the first distance is larger than a preset distance threshold value or not; wherein the distance threshold is generated in response to a distance setting operation by a user;
the control module is used for controlling the mobile router to move to the first position under the condition of being larger than the first position;
and the updating module is used for updating the distance between the mobile router and the user equipment in the process that the mobile router moves to the first position, and controlling the mobile router to stop moving when the updated distance is not greater than the distance threshold.
9. A computer device, comprising: a processor and a storage device;
the storage device has stored thereon a computer program which, when executed by the processor, performs the control method of the mobile router according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method for controlling a mobile router of any one of claims 1 to 7.
CN202011522508.XA 2020-12-21 2020-12-21 Control method and device of mobile router, computer equipment and storage medium Pending CN112672280A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011522508.XA CN112672280A (en) 2020-12-21 2020-12-21 Control method and device of mobile router, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011522508.XA CN112672280A (en) 2020-12-21 2020-12-21 Control method and device of mobile router, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112672280A true CN112672280A (en) 2021-04-16

Family

ID=75407235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011522508.XA Pending CN112672280A (en) 2020-12-21 2020-12-21 Control method and device of mobile router, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112672280A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104540128A (en) * 2014-12-26 2015-04-22 北京奇虎科技有限公司 Method, device and system for wireless network access
CN104540186A (en) * 2014-12-26 2015-04-22 北京奇虎科技有限公司 Method, device and system for wireless network access
CN104602319A (en) * 2015-01-30 2015-05-06 海信集团有限公司 Wireless access device movement controlling method and apparatus
US20170222903A1 (en) * 2016-01-29 2017-08-03 Icomera Ab Wireless communication system and method for trains and other vehicles using trackside base stations
WO2017166683A1 (en) * 2016-03-28 2017-10-05 乐视控股(北京)有限公司 Split router-based communications method and split router
CN107484136A (en) * 2017-07-24 2017-12-15 浙江理工大学 A kind of UWB multi-tag localization methods based on polling dispatching
CN109379749A (en) * 2018-09-07 2019-02-22 普联技术有限公司 A kind of router control method, system, equipment and router
CN111010667A (en) * 2019-12-18 2020-04-14 视境技术(深圳)有限公司 Positioning method and system
CN111148058A (en) * 2019-12-31 2020-05-12 武汉工程大学 Method and system for positioning moving target in indoor environment and mobile robot

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104540128A (en) * 2014-12-26 2015-04-22 北京奇虎科技有限公司 Method, device and system for wireless network access
CN104540186A (en) * 2014-12-26 2015-04-22 北京奇虎科技有限公司 Method, device and system for wireless network access
CN104602319A (en) * 2015-01-30 2015-05-06 海信集团有限公司 Wireless access device movement controlling method and apparatus
US20170222903A1 (en) * 2016-01-29 2017-08-03 Icomera Ab Wireless communication system and method for trains and other vehicles using trackside base stations
WO2017166683A1 (en) * 2016-03-28 2017-10-05 乐视控股(北京)有限公司 Split router-based communications method and split router
CN107484136A (en) * 2017-07-24 2017-12-15 浙江理工大学 A kind of UWB multi-tag localization methods based on polling dispatching
CN109379749A (en) * 2018-09-07 2019-02-22 普联技术有限公司 A kind of router control method, system, equipment and router
CN111010667A (en) * 2019-12-18 2020-04-14 视境技术(深圳)有限公司 Positioning method and system
CN111148058A (en) * 2019-12-31 2020-05-12 武汉工程大学 Method and system for positioning moving target in indoor environment and mobile robot

Similar Documents

Publication Publication Date Title
EP3466141B1 (en) Method and devices for providing wireless coverage
CN112340557B (en) Call information processing method, control board and storage medium
US7925384B2 (en) Location-based provisioning of wireless control systems
US9072103B2 (en) Cognitive inter-cell interference control method and apparatus
CN103107849B (en) Control method, device and system of distributed antenna system
US11708239B2 (en) Seamless tracking of passenger flow within an elevator cabin
CN112312405B (en) Method and system for reinforcing wireless signal and sharing and following wireless network load
US20090111469A1 (en) Method and apparatus for handover based on dynamic beamforming scheme
US20130311558A1 (en) Profile-based wireless sensor network system and communication method
US20130060496A1 (en) Wirelessly-powered electrically-operated device
CN113329435A (en) Wireless communication method, system and wireless communication terminal
US11190839B2 (en) Communication quality adjusting system
KR100961259B1 (en) Wireless terminal and control method for diffusing smell thereof
CN113875293B (en) Controlling the total average transmit power of a radio base station
CN112672280A (en) Control method and device of mobile router, computer equipment and storage medium
JP7322950B2 (en) Wireless communication system, wireless communication method and terminal device
US20230076045A1 (en) Optimized wifi network
US20200153578A1 (en) Communication network access point, communication network, and method of wireless communication
KR20190080695A (en) Adaptive power control method on CDL system
CN114599137A (en) Light control method and device
KR101888584B1 (en) CDL system based adaptive power control and method thereof
CN107757400B (en) Method and system for wireless charging of automobile
WO2022219753A1 (en) Control system, control method, and program
WO2022219752A1 (en) Communication control system, communication control method, and program
Al-Azzawi et al. Radio-friendly building for efficient signal distribution

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination