Control system switching method, control device, mobile device and readable storage medium
By collecting environmental characteristics signals and matching the reference signal, the target room and control system are automatically determined, which solves the tedious problem of manual switching between the central control screen or wire controller when moving between different rooms. And use effect.
Patent Information
- Application Number
- CN202310921489.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-25
- Publication Date
- 2025-01-28
AI Technical Summary
In the prior art, when the central control screen or wire controller is moved to different rooms, it is necessary to manually switch pages or configure electronic devices to establish associations with electronic devices in the new room, resulting in cumbersome operation and poor use effect.
By collecting environmental characteristics signals, the target room is determined according to the environmental characteristics signal and the reference environmental characteristics signal corresponding to each room, and the target control system of electronic equipment in the target room is then automatically switched to the target room.
The automatic control system switching of the control device when moving to different rooms, simplifying the operating process and improving the use effect.
Smart Images

Figure CN119376291A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent electronic technology, and in particular to a control system switching method, a control device, a mobile device and a readable storage medium. Background Art
[0002] In some technologies, a central control screen or a wired controller can control electronic devices in multiple rooms, and these central control screens or wired controllers can be moved to each room. Since the control method or control system of the electronic devices in each room is different, when the central control screen or wired controller is moved to a different room, the control interface and the associated configuration (control system) need to be switched to adapt to the control of the electronic devices in different rooms.
[0003] Currently, when the central control screen or wired controller is moved to a different room, it is necessary to manually switch pages or configure electronic devices to establish associations with the electronic devices in the new room. However, manual switching brings about cumbersome operations and poor usage effects.
[0004] It should be noted that the above contents are only used to assist in understanding the technical problems solved by the present invention, and do not constitute an admission that the above contents are prior art. Summary of the invention
[0005] The main purpose of the present invention is to provide a control system switching method, a control device, a mobile device and a readable storage medium, so that when the control device (such as a central control screen or a wire controller) is moved to different rooms to control different electronic devices, it can automatically switch to the control system of the corresponding electronic device to be controlled, thereby simplifying the operation and improving the use effect.
[0006] Based on this, the present invention provides a control system switching method, the control system switching method comprising the following steps:
[0007] Collecting environmental characteristic signals, and determining a target room corresponding to the environmental characteristic signals according to the environmental characteristic signals and reference environmental characteristic signals corresponding to each room;
[0008] Determine a target control system of electronic equipment in the target room;
[0009] Switch to the target control system.
[0010] Optionally, the environmental characteristic signal includes a wireless signal, and the step of determining the target room corresponding to the environmental characteristic signal according to the environmental characteristic signal and reference environmental characteristic signals corresponding to each room includes:
[0011] Performing signal strength matching based on the wireless signal and reference wireless signals corresponding to each room;
[0012] The room to which the reference wireless signal with the highest matching degree belongs is taken as the corresponding target room.
[0013] Optionally, the environmental characteristic signal includes an image formed by characteristic information of the electronic device, and the step of determining the target room corresponding to the environmental characteristic signal according to the environmental characteristic signal and reference environmental characteristic signals corresponding to each room includes:
[0014] Matching feature information of the image with reference electronic devices corresponding to each room;
[0015] The room to which the electronic device with the highest matching degree belongs is taken as the corresponding target room.
[0016] Optionally, the step of collecting environmental characteristic signals and determining a target room corresponding to the environmental characteristic signals according to the environmental characteristic signals and reference environmental characteristic signals corresponding to each room includes:
[0017] Collecting at least two environmental characteristic signals, wherein the environmental characteristic signals include at least two of WiFi, Bluetooth, and images;
[0018] Matching the at least two environmental characteristic signals with reference environmental characteristic signals corresponding to the respective rooms respectively, to obtain at least two room sets with a matching degree greater than or equal to a preset threshold;
[0019] The rooms in each of the room sets are taken as the target rooms.
[0020] Optionally, the step of collecting environmental characteristic signals and determining a target room corresponding to the environmental characteristic signals according to the environmental characteristic signals and reference environmental characteristic signals corresponding to each room includes:
[0021] Collect WiFi signals, and determine a first room set whose signal strength difference is less than or equal to a first difference according to the signal strength of the WiFi signals and the reference WiFi signals corresponding to the rooms;
[0022] When the first room set includes at least two rooms, collecting Bluetooth signals, and determining a second room set whose signal strength is less than or equal to a second difference value according to the signal strength of the Bluetooth signals and the reference Bluetooth signals corresponding to each of the first room sets;
[0023] When the second room set includes at least two, images of electronic devices in the room are collected, and a target room where the reference electronic device with the highest matching degree is located is determined based on the images and the reference electronic devices corresponding to each of the second room sets.
[0024] Optionally, the control system switching method further includes:
[0025] Receive environmental characteristic signals corresponding to each room collected by a mobile device, and use the environmental characteristic signals as reference environmental characteristic signals;
[0026] Alternatively, environmental characteristic signals corresponding to each room collected by a mobile device are received, and the reference environmental characteristic signals are updated based on the environmental characteristic signals.
[0027] Optionally, after the step of determining the target control system of the electronic device in the target room, the method further includes:
[0028] Determining whether a current control system of a control device is the same as the target control system;
[0029] If yes, maintaining the current control system;
[0030] If not, the step of switching to the target control system is performed.
[0031] The present invention also provides a control system switching method, which is applied to a mobile device. The control system switching method comprises the following steps:
[0032] When the mobile device moves in the room, it collects environmental characteristic signals at various locations;
[0033] Generate a reference environmental characteristic signal according to the environmental characteristic signals collected at each position;
[0034] The reference environment characteristic signal is associated with the room, a reference environment characteristic signal of the room is generated, and the reference environment characteristic signal of the room is sent to a control device.
[0035] Optionally, the step of generating a reference environmental characteristic signal corresponding to the room according to the environmental characteristic signals collected at various positions includes:
[0036] Determine the average signal strength of the environmental characteristic signal collected at each position;
[0037] The signal strength mean is used as the signal strength of the reference environment characteristic signal corresponding to the room.
[0038] The present invention also provides a control device, which is used to control various household appliances. The control device includes a memory, a processor, and a control system switching program stored in the memory and executable on the processor. When the control system switching program is executed by the processor, the steps of the control system switching method described above are implemented.
[0039] The present invention also provides a mobile device, which includes a memory, a processor, and a control system switching program stored in the memory and executable on the processor, wherein the control system switching program implements the steps of the control system switching method described above when executed by the processor.
[0040] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a control system switching program, and when the control system switching program is executed by a processor, the steps of the control system switching method described above are implemented.
[0041] The present invention provides a control system switching method, device, multi-link and readable storage medium. In the embodiment of the present invention, the control device can control electronic devices in different rooms. When the control device moves to a new room, the target room is determined based on the environmental characteristic signals and the pre-configured reference environmental characteristic signals corresponding to each room by collecting the environmental characteristic signals of the room, and then the electronic device in the target room is determined, and the control system of the electronic device is automatically switched to, without the need for the user to manually switch and configure the control system, thereby simplifying the operation process. The user can directly control the electronic equipment in the room after the move, thereby improving the use effect. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying creative work.
[0043] Figure 1 A schematic diagram of the hardware environment architecture involved in the control system switching method provided by the present invention;
[0044] Figure 2 A schematic flow chart of a first embodiment of a control system switching method provided by the present invention;
[0045] Figure 3 A schematic flow chart of a second embodiment of a control system switching method provided by the present invention;
[0046] Figure 4 A schematic flow chart of a third embodiment of a control system switching method provided by the present invention;
[0047] Figure 5 This is a flow chart of a fourth embodiment of the control system switching method provided by the present invention.
[0048] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0049] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0050] In the related art, a central control screen or a wired controller can control electronic devices in multiple rooms, and these central control screens or wired controllers can be moved to each room. Since the control method or control system of the electronic devices in each room is different, when the central control screen or wired controller is moved to a different room, the control interface and the associated configuration (control system) need to be switched to adapt to the control of the electronic devices in different rooms.
[0051] Currently, when the central control screen or wired controller is moved to a different room, it is necessary to manually switch pages or configure electronic devices to establish associations with the electronic devices in the new room. However, manual switching brings about cumbersome operations, poor usage effects, and lack of intelligent effects.
[0052] Based on this, the control system switching method provided in the embodiment of the present invention determines the target room where the control terminal is currently located through the environmental characteristic signals and the reference environmental characteristic signals corresponding to each room, and then automatically switches to the target control system of the electronic equipment in the target room, thereby realizing association and control with the electronic equipment. There is no need for the user to manually switch the control system, thereby simplifying the operation and improving the use effect.
[0053] In order to better understand the technical solutions provided by the embodiments of the present invention, exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0054] As an implementation method, the hardware environment architecture involved in the control system switching method can be as follows: Figure 1 shown.
[0055] Optionally, the hardware architecture involved in the control system switching method includes control devices and mobile devices, wherein the control devices are such as a central control screen or a wire control box, and the mobile devices include but are not limited to a sweeping robot, a household robot, etc.
[0056] As an implementation, the control device or mobile device includes: a processor 101, such as a CPU, a memory 102, and a communication bus 103. The communication bus 103 is used to realize the connection and communication between these components. The processor 101 is used to call an application to perform a control operation.
[0057] The memory 102 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory.
[0058] It can be understood that, in one embodiment, a control system switching program for implementing the control system switching process is stored in the memory 102, or stored in a computer-readable storage medium, and when the processor 101 calls the control system switching program from the memory 102 or the computer-readable storage medium, the following operations are performed:
[0059] Collecting environmental characteristic signals, and determining a target room corresponding to the environmental characteristic signals according to the environmental characteristic signals and reference environmental characteristic signals corresponding to each room;
[0060] Determine a target control system of electronic equipment in the target room;
[0061] Switch to the target control system.
[0062] Based on the hardware architecture of the above control device or mobile device, the following embodiments of the present invention are proposed.
[0063] First embodiment
[0064] Please refer to Figure 2 The control system switching method proposed in the embodiment of the present invention comprises the following steps:
[0065] Step S110, collecting environmental characteristic signals, and determining a target room corresponding to the environmental characteristic signals according to the environmental characteristic signals and reference environmental characteristic signals corresponding to each room;
[0066] The execution terminal of this embodiment is a control device, which includes but is not limited to a central control screen and a wire control box. The control device is equipped with a control system for electronic devices in each room of the home, and can control the electronic devices in each room. The electronic devices include but are not limited to air conditioners, dehumidifiers, microwave ovens, rice cookers, refrigerators, etc.
[0067] In this embodiment, the environmental characteristic signal includes but is not limited to wireless signals, image signals, etc.
[0068] The control device has an environment characteristic collection component for collecting characteristic signals of the environment where the control device is currently located.
[0069] Optionally, in some embodiments, the reference environment characteristic signals corresponding to each room may be pre-stored, such as before using the control device, by moving the control device to each room in turn, collecting the environment characteristic signals of each room, and then associating with each room to establish the reference environment characteristic signals of each room and store them in the memory. During the use of the control device, the reference environment characteristic signals of each room may be directly retrieved.
[0070] Alternatively, in some other embodiments, the reference environment characteristic signal of each room may be sent through other devices, such as mobile devices used in the home, such as a sweeping robot, a household robot, and the like.
[0071] In this embodiment, the control device receives the environmental characteristic signals corresponding to each room collected by the mobile device, and uses the environmental characteristic signals as the reference environmental characteristic signals. Since the mobile device can scan and model the home rooms, the mobile device is used to collect the environmental characteristic signals of each room, so as to realize automatic collection of environmental characteristic signals and automatically establish the corresponding relationship between each room and the environmental characteristic signals.
[0072] Alternatively, in this embodiment, the control device can also periodically update the reference environment characteristic signals corresponding to each room according to the data collected by the mobile device. If the reference environment characteristic signals in the room change, the control device can also update the reference environment characteristic signals in time to avoid the control system switching error caused by the untimely update of the control device. That is, in this embodiment, the control device periodically receives the environment characteristic signals corresponding to each room collected by the mobile device, and updates the reference environment characteristic signals based on the environment characteristic signals, so that the reference environment characteristic signals synchronized in the control device are the latest signals, thereby improving the accuracy of the control device in identifying the target room, and thus improving the accuracy of the system switching.
[0073] In some embodiments, the control device collects environmental characteristic signals at regular intervals, and then determines the target room corresponding to the environmental characteristic signals based on the environmental characteristic signals and reference environmental characteristic signals of each room (the environmental characteristic signals refer to the environmental characteristic signals where the control device is located, so the target room corresponding to the environmental characteristic signals refers to the target room where the control device is located). Determine whether the control device has moved to a new room, and if so, switch the control system of the control device.
[0074] In other embodiments, when the control device detects movement from one room to another, it collects environmental characteristic signals, determines the target room corresponding to the environmental characteristic signals based on the environmental characteristic signals and reference environmental characteristic signals corresponding to each room, and then determines the control system of the electronic device corresponding to the target room, and then automatically switches the control system. That is, in this embodiment, the control device collects environmental characteristic signals only when it detects movement to a new environment, and then determines the moved room based on the environmental characteristic signals.
[0075] Optionally, in this embodiment, the control device may detect movement information based on a gyroscope or other device, and detect movement from one room to another room based on the movement information.
[0076] Optionally, different types of environmental characteristic signals have different ways of determining the target room. The following describes the ways of determining the target room for different types of environmental characteristic signals:
[0077] (1) The environmental characteristic signal includes a wireless signal. Optionally, the wireless signal includes but is not limited to WiFi of a router, WiFi and Bluetooth of a wireless module of an electronic device.
[0078] In this embodiment, the step of determining the target room corresponding to the environmental characteristic signal according to the environmental characteristic signal and the reference environmental characteristic signals corresponding to each room includes:
[0079] Performing signal strength matching based on the wireless signal and reference wireless signals corresponding to each room;
[0080] The room to which the reference wireless signal with the highest matching degree belongs is taken as the corresponding target room.
[0081] This embodiment collects wireless signals at the location of the control device, determines the signal strength of the wireless signal, and matches the wireless signal based on the signal strength of the reference wireless signal corresponding to each room. For example, the difference between the signal strength of the wireless signal and the signal strength of the reference wireless signal is determined. If the difference is the smallest, it means that the wireless signal has the highest matching degree with the reference wireless signal. At this time, it is determined that the control device is in the room corresponding to the reference wireless signal, that is, the room is determined as the target room. Optionally, the wireless signal can be WiFi or Bluetooth. When WiFi is detected in the environment where the control device is located, WiFi is used as the wireless signal to identify the target room where the control device is located. If WiFi is not detected in the environment where the control device is located, but Bluetooth is detected, Bluetooth is used as the wireless signal to identify the target room where the control device is located.
[0082] Optionally, in another embodiment, when the difference in signal strength is less than or equal to the first preset difference, it can also be said that the wireless signal has the highest matching degree with the reference wireless signal. In this case, there may be one or more reference wireless signals involved, that is, based on the matching degree of the signal strength of the collected wireless signal and the signal strength of the reference wireless signal, the determined target room may include one or more. When the target room includes multiple rooms, the room with the highest matching degree can be used as the target room. Or further judgment can be made in combination with the signal strength of other wireless signals.
[0083] Different wireless transmitting devices transmit different wireless signal strengths, and the layout and location of the room where the wireless transmitting devices are located are different, so the collected wireless signal strengths are different. Based on the different signal strengths of wireless signals collected in different rooms, this embodiment binds different signal strengths to room IDs. In this way, the room ID can be determined by the wireless signal strength, and then the room where the control device is located can be determined, so as to automatically switch the control system of the control device to the control system of the electronic equipment in the room.
[0084] (ii) The environmental characteristic signal includes but is not limited to an image formed by the characteristic information of the electronic device, and may also be an image formed by the layout characteristics of the room. Regardless of whether it is an image formed by the layout characteristics of the room or an image formed by the characteristic information of the electronic device, the determination method of the target room is the same, so the following description takes the image formed by the characteristic information of the electronic device as an example. The image may be a color picture of the appearance of the electronic device, or an image formed by the key characteristic points of the electronic device.
[0085] In this embodiment, the step of determining the target room corresponding to the environmental characteristic signal according to the environmental characteristic signal and the reference environmental characteristic signals corresponding to each room includes:
[0086] Matching feature information of the image with reference electronic devices corresponding to each room;
[0087] The room to which the electronic device with the highest matching degree belongs is taken as the corresponding target room.
[0088] This embodiment collects images of electronic devices at the location where the control device is located, and uses image recognition technology to compare them with reference electronic devices corresponding to each room, thereby determining in which room the electronic devices collected at the location are similar or identical to the electronic devices in the room, and then determining that the room is the room where the control device is located.
[0089] Optionally, in some embodiments, feature information of the electronic device in the image may be analyzed, and the feature information may be compared with feature information of a reference electronic device to determine the degree of match. Optionally, the feature information may be marker information of the electronic device, such as the shape and outline of the electronic device, identification information on the panel of the electronic device, the size of the electronic device, etc.
[0090] Optionally, in some other embodiments, the reference electronic device is also an image, and the matching degree is determined by analyzing and comparing the similarity of the images.
[0091] In this embodiment, if the image representing the electronic device has the highest matching degree with the reference electronic device corresponding to each room, it means that the electronic device detected in the environment where the control device is located is the same as or similar to the electronic device in the room, and the control device is located in the room, thereby determining that the room is the target room.
[0092] Different electronic devices may be installed in different rooms. In this embodiment, different electronic devices in each room are associated with room IDs. When the control device collects an image of the electronic device at the location, the room can be quickly determined by the electronic device in the image. By using different types of electronic devices, the target room can be quickly determined with high recognition accuracy.
[0093] Step S120, determining a target control system of electronic equipment in the target room;
[0094] Optionally, different electronic devices have their own control systems and control parameters. In this embodiment, the control system includes but is not limited to a control interface, a control mode and control parameters associated with the control interface, and the like.
[0095] After determining the target room where the control device is located, the target electronic device is determined based on the association between the room and the electronic device, and the target control system of the target electronic device is determined based on the association between the electronic device and the control system. In this way, the target control system of the electronic device in the target room is determined.
[0096] Optionally, in some embodiments, after the control device determines the target control system of the electronic device in the target room, it determines whether the current control system of the control device is the same as the target control system; if so, the current control system is maintained, that is, if the current control system is the same as the target control system, it can be determined that the control device has not moved to a new room, or after the control device moves to a new room, the control system of the electronic device in the room is the same as the control system of the electronic device previously controlled by the control device, and the electronic device in the target room can be controlled. At this time, the control system of the control device can be kept unchanged, and the current control system can be maintained to control the electronic device in the target room. If not, that is, the control device has moved to a new room, and the current control system of the control device cannot control the electronic device in the target room, and the control system of the control device needs to be switched. Based on this, this embodiment automatically triggers the control device to switch the current control system to the target control system, and then the electronic device in the target room can be controlled based on the target control system.
[0097] Step S130, switching to the target control system.
[0098] Optionally, in this embodiment, the control system includes but is not limited to a control interface, such as control parameters, control modes, and the like.
[0099] Optionally, in some embodiments, when the target control system of the electronic device in the target room is configured to be switched, it indicates that the connection with the electronic device is successful, and the device can be controlled based on the target control system.
[0100] Optionally, in other embodiments, when the target control system of the electronic device in the target room is configured to be switched, the control device is automatically triggered to connect with the electronic device in the target room, and after the connection is successful, the electronic device in the target room can be controlled based on the target control system.
[0101] The control device of this embodiment can control electronic devices in different rooms. When the control device moves to a new room, it collects environmental characteristic signals of the room, determines the target room according to the environmental characteristic signals and the pre-configured reference environmental characteristic signals corresponding to each room, and then determines the electronic device in the target room, and automatically switches to the control system of the electronic device. There is no need for the user to manually switch and configure the control system, which simplifies the operation process. The user can directly control the electronic equipment in the room after the move, thereby improving the use effect.
[0102] Second embodiment
[0103] Please refer to Figure 3Based on the above first embodiment, this embodiment proposes that the control device combines at least two environmental characteristic signals to determine which room the location is in, thereby improving the accuracy of the judgment, avoiding misjudgment, and further improving the accuracy of automatic switching of the control system of the control device, thereby enhancing the intelligent experience.
[0104] This embodiment is based on step S110 of the first embodiment and includes:
[0105] Step S111, collecting at least two environmental characteristic signals, where the environmental characteristic signals include at least two of WiFi, Bluetooth, and images;
[0106] Optionally, the method for collecting the environmental characteristic signal is the same as that of the first embodiment. For details, please refer to the first embodiment, and the description will not be repeated here.
[0107] Step S112, matching the at least two environmental characteristic signals with reference environmental characteristic signals corresponding to the respective rooms, to obtain at least two room sets having a matching degree greater than or equal to a preset threshold;
[0108] Step S113: taking the rooms in each of the room sets as the target rooms.
[0109] Optionally, an environmental characteristic signal is matched with a reference environmental characteristic signal corresponding to each room to determine a room set, and multiple environmental characteristic signals correspond to multiple room sets. The intersection of the multiple room sets is the room in each of the room sets, which is the target room.
[0110] Taking two environmental characteristic signals as an example, the two environmental characteristic signals are respectively a first environmental characteristic signal and a second environmental characteristic signal. Optionally, the two environmental characteristic signals may include WiFi of a router and WiFi transmitted by a wireless module of an electronic device; or, the two environmental characteristic signals may include WiFi (either WiFi of a router or WiFi transmitted by a wireless module of an electronic device) and Bluetooth; or, the two environmental characteristic signals may be WiFi / Bluetooth and an image.
[0111] Based on matching the first environment characteristic signal with the first reference environment characteristic signal corresponding to each room, a first reference environment characteristic signal with a matching degree greater than or equal to a preset threshold is obtained, and a first room set corresponding to the first reference environment characteristic signal is determined. Optionally, the first environment characteristic signal is matched with the first reference environment characteristic signal, and the rooms corresponding to all first reference environment characteristic signals with a matching degree greater than a certain value are taken as a room set. Taking the wireless signal as an example, the signal strength of the first wireless signal where the control device is located is compared with the first reference wireless signal corresponding to each room, and the first reference wireless signal whose signal strength difference is less than or equal to the first preset difference is determined as the first wireless reference signal with a matching degree greater than or equal to the preset threshold, thereby determining the first room set.
[0112] Based on matching the second environment characteristic signal with the second reference environment characteristic signal corresponding to each room, a second reference environment characteristic signal with a matching degree greater than or equal to a preset threshold is obtained, and a second room set to which the second reference environment signal belongs is obtained. Taking the image formed by the characteristic information of the electronic device in the room as an example, the image collected at the location where the control device is located is matched with the electronic devices in each room for characteristic information, such as similarity, and the rooms where the electronic devices with a matching degree greater than or equal to the preset threshold are located are determined as the second room set.
[0113] In this way, after obtaining the first room set and the second room set, the intersection of the first room set and the second room set is determined, and the room that is the intersection is determined as the target room.
[0114] Optionally, if the environmental characteristic signals include three types, the three environmental characteristic signals can determine at least three room sets, and the target room can be determined based on the intersection of the three room sets. Similarly, the target room can be determined based on multiple room sets determined based on multiple environmental characteristic signals and the intersection of multiple room sets, which will not be described in detail here.
[0115] Optionally, in this embodiment, the reference environment characteristic signal that meets the matching requirement also meets the connection requirement. For example, when the reference environment characteristic signal is WiFi or Bluetooth, the signal strength of the reference WiFi or reference Bluetooth with a matching degree greater than or equal to a preset threshold is within a normal connectable range, that is, the control device can be connected to the electronic device.
[0116] This embodiment uses at least two environmental characteristic signals to determine the target room to which the control device moves, thereby improving the accuracy of the target room determination and further improving the accuracy of the control system switching.
[0117] Third embodiment
[0118] Please refer to Figure 4Based on the first embodiment, this embodiment proposes that the control device combines at least two environmental characteristic signals to determine which room the location is in, thereby improving the accuracy of the judgment, avoiding judgment errors, and improving the accuracy of the automatic switching of the control system of the control device, thereby enhancing the intelligent experience. This embodiment is different from the second embodiment. This embodiment preferentially uses the WiFi signal to determine the target room where the control device is located. When the WiFi signal cannot determine the only target room, it is combined with other environmental characteristic signals for auxiliary judgment, such as Bluetooth signals or image signals of electronic devices.
[0119] This embodiment is based on step S110 of the first embodiment and includes:
[0120] Step S114, collecting WiFi signals, and determining a first room set whose signal strength difference is less than or equal to a first difference according to the signal strength of the WiFi signals and the reference WiFi signals corresponding to the rooms;
[0121] Step S115: when the first room set includes at least two rooms, collect Bluetooth signals, and determine a second room set whose signal strength is less than or equal to a second difference value according to the signal strength of the Bluetooth signals and the reference Bluetooth signals corresponding to each of the first room sets;
[0122] When the first room set includes one room, the room is the target room.
[0123] Step S116, when the second room set includes at least two, collect images of electronic devices in the room, and determine the target room where the reference electronic device with the highest matching degree is located based on the images and the reference electronic devices corresponding to each of the second room sets.
[0124] When the second room set includes one room, the room is the target room.
[0125] In this embodiment, signal strength matching is performed based on WiFi and the reference WiFi corresponding to each room to determine the reference WiFi signal that meets the requirements (the signal strength difference is less than or equal to the first difference), and all the rooms corresponding to the reference WiFi signals that meet the requirements are used as the first room set. If the first room set includes at least two, the target room (the room that matches the WiFi signal) where the control device is located cannot be determined. Based on this, Bluetooth signals are further collected, and rooms that match the Bluetooth signals are obtained from the first room set. These rooms form a second room set. Optionally, the Bluetooth signal matching method is the same as all the above embodiments, and the above embodiments can be specifically referred to. If the second room set includes at least two, the target room where the control device is located cannot be determined. At this time, based on the image of the electronic device at the location of the control device, the matching room is determined from the second room set according to the image, and it is determined as the third room set. If the third room set includes at least two, in some embodiments, other environmental feature signals can continue to be collected until the only target room is determined. In other embodiments, the room with the highest matching degree can be determined in the third room set as the target room.
[0126] This embodiment prioritizes matching based on WiFi, and then determines a unique target room from the matched room set through other environmental feature signals, which can quickly determine the target room where the control device is located and improve the switching efficiency of the control system of the control device.
[0127] Fourth embodiment
[0128] Please refer to Figure 5 Based on all the above embodiments, this embodiment proposes a method for obtaining the reference environment characteristic signal corresponding to each room. Optionally, this embodiment proposes obtaining the reference environment characteristic signal corresponding to each room through a mobile device that communicates with the control device. The reference environment characteristic signal can be collected once to form data and synchronized to the control device. Data can also be collected and generated regularly and synchronized to the control device regularly, so that the control device can regularly update the reference environment characteristic signal corresponding to each room.
[0129] Optionally, in this embodiment, the control system switching method includes the following steps:
[0130] Step S210, the mobile device collects environmental characteristic signals at various positions while moving in the room;
[0131] Optionally, the mobile device is a device that can model or map the room layout of a home. For example, the mobile device includes but is not limited to a sweeping robot, a home robot, etc. In a preferred embodiment, the mobile device is a sweeping robot. Since the sweeping robot regularly moves and cleans in each room, and the modeling and positioning accuracy of the sweeping robot is relatively high, the environmental characteristic signals collected by the sweeping robot are relatively accurate, and the reference environmental characteristic signals of the control device are synchronously updated more regularly.
[0132] The mobile device first builds a home space model, divides the space, identifies each room and marks the ID of each room. During the movement of the mobile device, it collects the wireless signal of each room or the image of the electronic equipment in each room to form the environmental characteristic signal of each room and binds it to the corresponding room ID.
[0133] Optionally, in this embodiment, upon receiving an environmental characteristic signal collection instruction, the mobile device may move to each room in turn to collect data. For example, when moving to a room, the mobile device may move within the room and collect the environmental characteristic signals of the room at each position of the movement.
[0134] Alternatively, the mobile device may also start the environment characteristic signal collection function while executing the cleaning task, and collect the environment characteristic signals of the target room at various positions when moving based on the target room of the cleaning task.
[0135] Step S220, generating a reference environmental characteristic signal according to the environmental characteristic signals collected at each position;
[0136] Taking wireless signals as an example, the wireless transmitting device covers wireless signals within a preset range with its location as the center. The farther away from the wireless transmitting device, the weaker the corresponding signal strength, and the closer to the wireless transmitting device, the stronger the corresponding wireless signal strength. Based on this, this embodiment determines the signal strength of the room by the average of the signal strengths of the wireless signals collected at various locations in the room. For example, the average signal strength of the environmental characteristic signals collected at various locations is determined; the average signal strength is used as the signal strength of the reference environmental characteristic signal corresponding to the room.
[0137] For example, when a mobile device enters a room, signal strength information is collected at a fixed time interval. When the mobile device exits the room, the average signal strength is calculated and associated with the room DI. It should be noted that the mobile device moves along various positions in the room within a fixed time, so the signal strength of the collected wireless signal includes multiple types.
[0138] Optionally, the wireless signal may be WiFi, Bluetooth, etc. Wherein, WiFi includes WiFi transmitted by a router and WiFi transmitted by a WiFi module on an electronic device in the room.
[0139] Taking image signals as an example, when a mobile device enters a room, the image recognition technology is used to identify the identifiable electronic equipment in the room and associate it with the room ID. Optionally, the images recognized at various angles can be used to form stereoscopic image information of the electronic device, and then the stereoscopic image information can be used as reference information, so that when comparing images, the comparison accuracy can be higher.
[0140] Step S230: Associating the reference environment characteristic signal with the room, generating a reference environment characteristic signal of the room, and sending the reference environment characteristic signal of the room to a control device.
[0141] After the mobile device collects the environmental characteristic signals of each room, it forms reference environmental characteristic data for each room and sends it to the control device. In this way, the control device can obtain the reference environmental characteristic signals corresponding to each room. The control device can use the reference environmental characteristic signals as a reference to match the target room where the control device is located, thereby automatically switching to the control system of the electronic equipment in the target room and controlling the electronic equipment.
[0142] Optionally, the mobile device may communicate directly with the control device, such as through a smart home network. Optionally, the mobile device may also send reference environment characteristic signals of each room to the control device through a server.
[0143] In this embodiment, the mobile device collects environmental characteristic signals and associates them with the room to form a reference environmental characteristic signal of the room, which has high accuracy and can be updated in real time, thereby improving the accuracy of control system switching of the control device.
[0144] The present invention also provides a control device, which is used to control various household appliances. The control device includes a memory, a processor, and a control system switching program stored in the memory and executable on the processor. When the control system switching program is executed by the processor, the control system switching method as described above is implemented.
[0145] The present invention also provides a mobile device, which includes a memory, a processor, and a control system switching program stored in the memory and executable on the processor, wherein the control system switching program implements the control system switching method described above when executed by the processor.
[0146] The mobile device communicates with the control device.
[0147] The present invention also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a control system switching program, and when the control system switching program is executed by a processor, the control system switching method as described above is implemented.
[0148] It should be noted that the above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A control system switching method, characterized in that: The control system switching method comprises the following steps: Collecting environmental characteristic signals, and determining a target room corresponding to the environmental characteristic signals according to the environmental characteristic signals and reference environmental characteristic signals corresponding to each room; Determine a target control system of electronic equipment in the target room; Switch to the target control system.
2. The control system switching method according to claim 1, characterized in that: The environmental characteristic signal includes a wireless signal, and the step of determining the target room corresponding to the environmental characteristic signal according to the environmental characteristic signal and the reference environmental characteristic signal corresponding to each room includes: Performing signal strength matching based on the wireless signal and reference wireless signals corresponding to each room; The room to which the reference wireless signal with the highest matching degree belongs is taken as the corresponding target room.
3. The control system switching method according to claim 1, characterized in that: The environmental characteristic signal includes an image formed by characteristic information of the electronic device, and the step of determining the target room corresponding to the environmental characteristic signal according to the environmental characteristic signal and the reference environmental characteristic signal corresponding to each room includes: Matching feature information of the image with reference electronic devices corresponding to each room; The room to which the electronic device with the highest matching degree belongs is taken as the corresponding target room.
4. The control system switching method according to claim 1, characterized in that: The step of collecting environmental characteristic signals and determining the target room corresponding to the environmental characteristic signals according to the environmental characteristic signals and reference environmental characteristic signals corresponding to each room comprises: Collecting at least two environmental characteristic signals, wherein the environmental characteristic signals include at least two of WiFi, Bluetooth, and images; Matching the at least two environmental characteristic signals with reference environmental characteristic signals corresponding to the respective rooms respectively, to obtain at least two room sets whose matching degree is greater than or equal to a preset threshold; The rooms in each of the room sets are taken as the target rooms.
5. The control system switching method according to claim 1, characterized in that: The step of collecting environmental characteristic signals and determining the target room corresponding to the environmental characteristic signals according to the environmental characteristic signals and reference environmental characteristic signals corresponding to each room comprises: Collect WiFi signals, and determine a first room set whose signal strength difference is less than or equal to a first difference according to the signal strength of the WiFi signals and the reference WiFi signals corresponding to the rooms; When the first room set includes at least two rooms, collecting Bluetooth signals, and determining a second room set whose signal strength is less than or equal to a second difference value according to the signal strength of the Bluetooth signals and the reference Bluetooth signals corresponding to each of the first room sets; When the second room set includes at least two, images of electronic devices in the room are collected, and a target room where the reference electronic device with the highest matching degree is located is determined based on the images and the reference electronic devices corresponding to each of the second room sets.
6. The control system switching method according to any one of claims 1 to 5, characterized in that: The control system switching method further includes: Receive environmental characteristic signals corresponding to each room collected by a mobile device, and use the environmental characteristic signals as reference environmental characteristic signals; Alternatively, environmental characteristic signals corresponding to each room collected by a mobile device are received, and the reference environmental characteristic signals are updated based on the environmental characteristic signals.
7. The control system switching method according to claim 1, characterized in that: After the step of determining the target control system of the electronic equipment in the target room, the method further includes: Determining whether a current control system of a control device is the same as the target control system; If yes, maintaining the current control system; If not, the step of switching to the target control system is performed.
8. A control system switching method, characterized in that: The control system switching method comprises the following steps: When the mobile device moves in the room, it collects environmental characteristic signals at various locations; Generate a reference environmental characteristic signal according to the environmental characteristic signals collected at each position; The reference environment characteristic signal is associated with the room, a reference environment characteristic signal of the room is generated, and the reference environment characteristic signal of the room is sent to a control device.
9. The control system switching method according to claim 8, characterized in that: The step of generating a reference environmental characteristic signal corresponding to the room according to the environmental characteristic signals collected at various positions comprises: Determine the average signal strength of the environmental characteristic signal collected at each position; The signal strength mean is used as the signal strength of the reference environment characteristic signal corresponding to the room.
10. A control device, characterized in that: The control device is used to control various household appliances. The control device includes a memory, a processor, and a control system switching program stored in the memory and executable on the processor. When the control system switching program is executed by the processor, the steps of the control system switching method as described in any one of claims 1 to 7 are implemented.
11. A mobile device, characterized in that: The mobile device includes a memory, a processor, and a control system switching program stored in the memory and executable on the processor. When the control system switching program is executed by the processor, the steps of the control system switching method as described in any one of claims 8 to 9 are implemented.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a control system switching program, and when the control system switching program is executed by a processor, the steps of the control system switching method according to any one of claims 1 to 7, or any one of claims 8 to 9 are implemented.