Information processing method, device, readable storage medium, and program product
By displaying status control information after receiving messages from switching equipment, the central control device solves the problem of users having to wait to check the status of smart devices, and realizes instant feedback and convenient operation.
Patent Information
- Application Number
- PCT/CN2025/071447
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2024-06-20
- Filing Date
- 2025-01-09
- Publication Date
- 2025-12-26
AI Technical Summary
In smart home systems, users have to wait for the control to end after operating the switch before they can check the final status of the smart device, resulting in poor timeliness and cumbersome operation, which reduces the user experience.
After receiving the message from the switchgear, the central control equipment displays the status control information and sends messages to the host equipment, providing real-time feedback on the switchgear operation, so that users can understand the control process and results in real time on the central control equipment's display screen.
This improves the user experience, allowing users to see the results of their actions without waiting for the controls to complete, simplifying the viewing process and enhancing convenience and timeliness.
Smart Images

Figure CN2025071447_26122025_PF_FP_ABST
Abstract
Description
Information processing method, device, readable storage medium and program product
[0001] The present application claims priority from the Chinese patent application No. 202410807499.0 filed on June 20, 2024, and entitled "Information processing method, device, readable storage medium and program product", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD
[0002] The present application relates to the field of communication technology, and in particular, to an information processing method, device, readable storage medium and program product. BACKGROUND
[0003] With the rapid development of technology, the application of smart home systems is becoming more and more widespread. Among them, the switch device, as an important component in the smart home system, enhances the flexibility of user control of smart devices. Users only need to simply operate the switch device to control the state of the smart device, such as adjusting the brightness of the lamp.
[0004] However, in the current smart home system, there are still some deficiencies in the user's control experience of the smart device. For example, after the user operates the switch device, the user needs to wait until the control is completed before checking the final state of the smart device after being controlled by means of other devices (such as the user's mobile phone). In this way, the timeliness is poor and the operation is cumbersome, which reduces the user experience. SUMMARY
[0005] The present application provides an information processing method, device, readable storage medium and program product, which can automatically display state control information for a target object based on a message sent by a switch device, providing the user with immediate feedback of switch device operation, so that the user can perceive the control process in time and improve the user experience.
[0006] To achieve the above-mentioned purpose, the present application adopts the following technical solutions:
[0007] The first aspect provides an information processing method applied to a central control device, the method comprising receiving a message from a switch device, the message being used to control the state of a target object; displaying state control information based on the message, the state control information indicating the control situation of the state of the target object; and sending the message to a host device.
[0008] In the above-mentioned solution, the user is provided with immediate feedback of switch device operation, so that the user can perceive the control process and understand the control operation performed on the target object without waiting for the control to be completed, thereby improving the user experience. Moreover, the user does not need to check by operating other devices, thereby improving the convenience of checking.
[0009] In a possible implementation, the displaying the state control information based on the message comprises: displaying the state control information based on the message in a case where one or more of the following conditions are met: the signal strength of the signal used to carry the message meets a target strength threshold; the distance between the switch device and the central control device meets a target distance threshold; the distance between the central control device and the object with the face meets a target distance threshold.
[0010] In the above solution, the message is parsed to display the state control information in a case where one or more of the conditions are met, so that the state control information is displayed on the display screen of the central control device closest to the user or the switch device, which facilitates the user to view and improves the user experience. When the number of central control devices is multiple, the message is parsed only by the central control device closest to the user or the switch device, so that the problem of resource waste caused by parsing the message by multiple central control devices is avoided.
[0011] In a possible implementation, the state control information can be presented in the form of text, image, animation, etc.
[0012] In a possible implementation, the state control information comprises state change information or target state information, the state change information indicating a state change of the target object in a control process, and the target state information indicating a target state of the target object.
[0013] In a possible implementation, in a case where the type of the target object is a first type, the state control information is the state change information.
[0014] In a possible implementation, in a case where the type of the target object is a second type, the state control information is the target state information.
[0015] The above solution can flexibly display the state control information of the target object to the user according to the type of the target object, so that the user can intuitively grasp the control situation of the target object, and the visual effect of the state control information display and the user experience are improved.
[0016] In the present application, the step of displaying the state control information based on the message can be performed simultaneously with the step of sending the message to the host device; or the step of displaying the state control information based on the message can be performed first, and then the step of sending the message to the host device is performed; or the step of sending the message to the host device can be performed first, and then the step of displaying the state control information based on the message is performed. In the present application, the order of execution of the two steps is not limited.
[0017] In a possible implementation, the displaying the state control information based on the message comprises: parsing the message to obtain identification information and operation information of the switch device, the operation information indicating an operation behavior of the user on the switch device; determining the target object based on the identification information; and displaying the state control information based on the operation information.
[0018] In the above scheme, the state control information is displayed based on the operation information, so that the operation feedback of the switch device can be provided for the user in a timely manner, and the user experience is improved.
[0019] In a possible implementation, the determining the target object based on the identification information comprises: obtaining one or more initial objects corresponding to the identification information; obtaining a type of an input event acting on the switch device; and determining the target object from the one or more initial objects based on the type of the input event.
[0020] In the above scheme, the target object is determined based on the identification information and the type of the input event acting on the switch device, so that the accuracy of the determined target object is improved.
[0021] In a possible implementation, the displaying the state control information based on the operation information comprises: determining a target display mode based on the type of the target object; and displaying the state control information in the target display mode based on the operation information.
[0022] The corresponding relationship between the type of the object and the display mode can be obtained, and the target display mode is determined based on the type of the target object and the corresponding relationship.
[0023] In the above scheme, the target display mode can be flexibly determined based on the type of the target object, so that the intuitiveness and readability of the state control information presented to the user in the target display mode are ensured.
[0024] In a possible implementation, the determining the target display mode based on the type of the target object comprises: in a case where the type of the target object is a first type, determining that the target display mode is a dynamic display mode.
[0025] The dynamic display mode may, for example, be an animation display mode.
[0026] In the above scheme, in a case where the type of the target object is the first type, the state change of the target object can be presented to the user through the dynamic display mode, so that the visual effect of the presentation is improved, the user can understand the state change details of the target object in the control process, and the control experience of the user is improved.
[0027] In a possible implementation, the determining the target display mode based on the type of the target object comprises: in a case where the type of the target object is the second type, determining that the target display mode is a static display mode.
[0028] The static display mode can be a mode of statically displaying a specific state (i.e., a target state) of the target object that is expected to be achieved. The target state can also be referred to as an expected state.
[0029] In the case where the type of the target object is the second type, the target state information indicating the specific state of the target object, for example, the target state indicated by the message, can be displayed to the user by using the static display mode, so that the user can intuitively understand the target state of the target object, and user experience is improved.
[0030] In a possible implementation, after the message is sent to the host device, the method further includes: receiving control feedback information about the state of the target object from the host device; and displaying current state information of the target object based on the control feedback information, the current state information indicating a current state (a state of the target object achieved after control ends) of the target object.
[0031] In the above solution, the current state information of the target object is displayed based on the control feedback information, so that the user can be shown the state of the target object achieved after control ends without the need to operate other devices to check, and the convenience of the user in checking the state of the target object achieved after control ends is improved. Moreover, the user can understand the entire control activity for the target object based on the state control information and the current state information, and user control experience is improved.
[0032] The second aspect provides an information processing method, which can be executed by a central control device, a component of the central control device, or a logic module or software capable of implementing all or part of the functions of the central control device.
[0033] The method includes: receiving a message from a switch device, the message being used to control a state of a target object; sending a control instruction to a user device based on the message, the control instruction being used to control the user device to display state control information, the state control information indicating a control situation for the state of the target object; and sending the message to a host device. The user device can be, for example, a mobile phone, a smart watch, a tablet computer, or a portable computer of the user.
[0034] The information processing method provided in the application can send a first control instruction to a user equipment based on a message, so that the user equipment can display state control information, and the user can be actively shown the control situation of a target object without operating the user equipment, thereby improving the convenience of viewing. Moreover, instant on-off equipment operation feedback is provided for the user during the control process, so that the user can perceive the control process and understand the control operation performed on the target object without waiting for the control to be completed, thereby improving the user experience.
[0035] In a possible implementation, the sending of the first control instruction to the user equipment based on the message comprises: sending the first control instruction to the user equipment when one or more of the following conditions are met: a signal strength of a signal used to carry the message meets a target strength threshold; a distance between the on-off equipment and the central control equipment meets a target distance threshold; and a distance between the central control equipment and an object with a face meets a target distance threshold.
[0036] In a possible implementation, the sending of the first control instruction to the user equipment based on the message comprises: analyzing the message to obtain identification information and operation information of the on-off equipment, wherein the operation information represents an operation behavior of the user on the on-off equipment; determining the target object based on the identification information; and sending the first control instruction to the user equipment based on the operation information.
[0037] In a possible implementation, the sending of the first control instruction to the user equipment based on the operation information comprises: generating the state control information based on the operation information; and sending the first control instruction to the user equipment, wherein the first control instruction carries the state control information.
[0038] In a possible implementation, the determination of the target object based on the identification information comprises: obtaining one or more initial objects corresponding to the identification information; obtaining a type of an input event acting on the on-off equipment; and determining the target object from the one or more initial objects based on the type of the input event.
[0039] In a possible implementation, the sending of the first control instruction to the user equipment based on the operation information comprises:
[0040] determining a target display mode based on the type of the target object; generating the state control information based on the operation information; and sending the first control instruction to the user equipment, wherein the first control instruction carries the target display mode and the state control information, and the first control instruction is used to control the user equipment to display the state control information in the target display mode.
[0041] In a possible implementation, the determining the target display mode based on the type of the target object comprises: in a case where the type of the target object is a first type, determining that the target display mode is a dynamic display mode.
[0042] In a possible implementation, the displaying the state control information in the target display mode based on the operation information comprises: in a case where the type of the target object is the first type, displaying state change information in the dynamic display mode based on the operation information, the state control information comprising the state change information.
[0043] In a possible implementation, the determining the target display mode based on the type of the target object comprises: in a case where the type of the target object is a second type, determining that the target display mode is a static display mode.
[0044] In a possible implementation, the displaying the state control information in the target display mode based on the operation information comprises: in a case where the type of the target object is the second type, displaying target state information in the static display mode based on the operation information, the state control information comprising the target state information.
[0045] In a possible implementation, after the sending the message to the host device, the method further comprises: receiving control feedback information for the state of the target object from the host device; and based on the control feedback information, sending a second control instruction to the user device, the second control instruction being used to control the user device to display current state information of the target object.
[0046] The advantages of the implementations of the second aspect can refer to the description of the first aspect, and will not be described here.
[0047] The third aspect provides a device, comprising a memory, one or more processors, and one or more programs; wherein the one or more programs are stored in the memory; and the one or more processors, when executing the one or more programs, cause the device to implement the method in any one of the aspects or any one of the possible implementation manners of the aspects.
[0048] The fourth aspect provides a chip system, comprising a processor, configured to invoke and run a program from a memory, so that the method in any one of the aspects or any one of the possible implementation manners of the aspects is executed.
[0049] The fifth aspect provides a readable storage medium (also referred to as a computer readable storage medium), which stores a program (also referred to as code or instruction), and when the program is run on a device, the device executes the method in any one of the above aspects or any possible implementation manner of any one of the aspects.
[0050] The sixth aspect provides a program product, which comprises a program (also referred to as code or instruction), and when the program is run, the method in any one of the above aspects or any possible implementation manner of any one of the aspects is executed.
[0051] The technical effects obtained by the third aspect to the sixth aspect are similar to the technical effects obtained by the corresponding technical means in the first aspect, and thus are not described herein. BRIEF DESCRIPTION OF DRAWINGS
[0052] FIG. 1 is a structural schematic diagram of a device provided by an embodiment of the present application;
[0053] FIG. 2 is a structural schematic diagram of a smart home system to which an information processing method provided by an embodiment of the present application is applied;
[0054] FIG. 3 is a flow schematic diagram of an information processing method provided by an embodiment of the present application;
[0055] FIG. 4 is an interface schematic diagram of a central control device in an information processing method provided by an embodiment of the present application;
[0056] FIG. 5 is a flow schematic diagram of another information processing method provided by an embodiment of the present application;
[0057] FIG. 6 is an interface schematic diagram of a central control device in another information processing method provided by an embodiment of the present application;
[0058] FIG. 7 is a flow schematic diagram of still another information processing method provided by an embodiment of the present application;
[0059] FIG. 8 is a flow schematic diagram of an information processing method provided by another embodiment of the present application. DETAILED DESCRIPTION
[0060] The information processing method provided in the embodiments of the present application can be applied to a central control device with a display screen, a smart screen, a large-screen device, a television, a mobile phone, a tablet computer, a vehicle-mounted device, an augmented reality (AR) device / virtual reality (VR) device, a tablet device, a notebook computer, an ultra-mobile personal computer (UMPC), a personal digital assistant (PDA), and the like. The embodiments of the present application do not limit the specific type of the device.
[0061] FIG. 1 is a structural schematic diagram of a device 100 provided in the embodiments of the present application. The device 100 can include a processor 110, a memory 120, a communication module 130, a display screen 140, and the like.
[0062] The processor 110 can include one or more processing units, and the memory 120 is configured to store program codes and data. In the embodiments of the present application, the processor 110 can execute the program codes stored in the memory 120, to control and manage the actions of the device 100.
[0063] The communication module 130 can be used for communication between various internal modules of the device 100, or communication between the device 100 and other external devices, and the like. For example, if the device 100 communicates with other devices through a wired connection, the communication module 130 can include an interface, such as a USB interface, which can be an interface conforming to the USB standard specification, and can be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface can be used to connect a charger to charge the device 100, or to transmit data between the device 100 and a peripheral device. It can also be used to connect a headset to play audio through the headset.
[0064] Alternatively, the communication module 130 can include one or more of an audio device, a radio frequency circuit, a Bluetooth chip, a wireless fidelity (Wi-Fi) chip, a near-field communication (NFC) module, and the like, and the interaction between the device 100 and other devices can be achieved in various ways.
[0065] The display screen 140 can display text, images, or videos in a human-computer interaction interface. In some embodiments, the display screen 140 can be a flexible screen, and the display screen 140 can form a larger display screen by stretching or unfolding the flexible screen, or form a smaller display screen by rolling or folding the flexible screen.
[0066] It should be understood that the structure of the device 100 is not specifically limited by the embodiments of the present application except for the various components or modules listed in FIG. 1. In other embodiments of the present application, the device 100 can also include more or fewer components than the illustration, or combine certain components, or split certain components, or different arrangement of components. The illustrated components can be implemented in hardware, software or a combination of software and hardware.
[0067] The following explains and describes the technical terms related to the present application.
[0068] The movable switch device is a device that can be moved and is used to realize circuit on-off, device remote control and the like. The movable switch device includes an intelligent MINI (Pro) and an intelligent MIN. Among them:
[0069] Intelligent MINI (Pro): a whole-house intelligent device with knob control function, which can control the state of the subsystem. For example, it can support adjusting the brightness of the intelligent device in the lighting subsystem.
[0070] Intelligent MINI: another whole-house intelligent device with key control function, which can control the execution of scene service.
[0071] Hub: connection control center of whole-house device, realizing interconnection and collaborative control of all devices. The hub can also be called whole-house hub.
[0072] Bluetooth gateway is a relay device integrating Bluetooth low energy (BLE), Wi-Fi and Ethernet. The Bluetooth gateway can be a gateway with Hibeacon message parsing capability, for example.
[0073] Central control device: whole-house intelligent control device integrating Bluetooth gateway and configuration display screen, through which the intelligent devices and intelligent scenes of the whole house can be viewed and edited. The central control device can also be called intelligent central control screen.
[0074] In order to facilitate understanding of the technical solutions in the embodiments of the present application, the related background involved in the embodiments of the present application will be explained and described first.
[0075] In the field of smart home, the switch device as an important interactive tool between users and intelligent devices, its convenience is crucial to improve user experience. The switch device is usually a screenless device and does not have display capability. After operating the switch device, the user needs to wait until the control is completed, and then check the state of the intelligent device after being controlled by means of other devices (such as mobile phone). This operation method is time-consuming and cumbersome, which reduces the user experience.
[0076] For example, a switch is used to adjust the brightness of a bedroom light. When a user operates the switch, and after the control command is executed, they can find a card representing the bedroom light from the interface of a corresponding application (e.g., a smart living application) running on their mobile phone, and view the brightness achieved by the light after being controlled based on the card. This operation method requires waiting for the control to end before obtaining the state of the bedroom light after being controlled, resulting in poor timeliness. Moreover, the user needs to perform multiple operations on their mobile phone to obtain the card representing the bedroom light, making the process cumbersome, time-consuming, and degrading the user experience.
[0077] Therefore, how to solve the above problems is an urgent issue that needs to be addressed.
[0078] Based on this, embodiments of this application provide an information processing method applied to a central control device. Upon receiving a message, the central control device not only sends the message to a host device, enabling the host device to control the state of the target object based on the message, but also displays status control information based on the message, indicating the control status of the target object. This provides users with immediate feedback on device switching operations, allowing them to perceive the control process and understand the control operations performed on the target object without waiting for completion, thus improving the user experience. Furthermore, it simplifies the viewing process and increases convenience by eliminating the need for users to operate other devices to view the information.
[0079] The aforementioned information processing method can be applied to a smart home system. As shown in Figure 2, the smart home system 200 may include a switch device 210, a central control device 220, a host device 230, and a subsystem 240. The central control device 220 establishes a communication connection with the host device 230, and the host device 230 establishes a communication connection with the subsystem 240. The number of subsystems 240 can be at least one; Figure 2 illustrates an example with one subsystem 240. It should be understood that the communication connections described herein include both wireless and wired connections.
[0080] The host device 230 integrates some modules that can control the subsystem 240. For example, the module can be a central hub. The host device 230 is responsible for connecting and managing the subsystem 240 through the central hub. The subsystem 240 is the basic framework of the smart home system and is responsible for realizing various functional requirements. The smart devices are the basic components of the subsystem 240 and are responsible for performing specific operations.
[0081] Each of the subsystems 240 can be composed of at least one intelligent device capable of performing a certain specific function. The subsystem 240 can be, for example, a lighting subsystem including lights in a room responsible for the lighting needs of the room.
[0082] In the embodiments of the present application, the switch device 210 can be a key switch device with a key control function or a rotary knob switch device with a rotary knob control function, or an integrated switch device integrating the key control function and the rotary knob control function. For example, the key switch device is a smart MINI, and the rotary knob switch device is a smart MINI (Pro).
[0083] In a possible implementation, the switch device 210 can control the state of the subsystem 240, such as a lighting subsystem, through the rotary knob control function to control the brightness of the lighting subsystem.
[0084] In a possible implementation, the switch device 210 can control the state of the scene service through the key control function. The scene service can be a combination or linkage of functions of multiple subsystems 240 in a preset or customized manner to provide users with convenient, comfortable and personalized use experience. For example, when the user executes a leaving-home scene service through the key control function of the switch device 210, the smart devices such as lights and air conditioners can be automatically turned off; when the user executes a viewing scene service through the key control function of the switch device 210, the light brightness and background music volume can be automatically adjusted to create a comfortable viewing environment.
[0085] The following takes the key control scene as an example to illustrate the information processing method in combination with the smart home system 200. FIG. 3 is a flowchart of the information processing method. As shown in FIG. 3, the method is not limited to the specific order of FIG. 3 and the following, and it should be understood that in other embodiments, the order of some steps of the method can be exchanged according to actual needs, or some steps can be omitted or deleted. The method includes the following steps:
[0086] S301, the switch device generates a first message in response to a key operation of a user.
[0087] In the embodiments of the present application, the switch device can be an integrated switch device integrating the key control function and the rotary knob control function. Of course, the switch device can also be a key switch device.
[0088] S302, the switch device sends the first message to the central control device. Correspondingly, the central control device receives the first message.
[0089] In the embodiments of the present application, the switch device can broadcast the first message through the BLE technology.
[0090] S303, in a case where the signal strength of the signal carrying the first message is greater than a signal strength threshold, the central control device parses the first message to obtain a media access control address (MAC) of the switch device and operation information.
[0091] The operation information represents an operation behavior of the user on the switch device.
[0092] In a possible implementation, the operation information can represent that the user performs a key operation on the switch device, and the operation information can include information such as a time of performing the key operation and a key duration.
[0093] In the embodiment of the present application, when the central control device receives the first message, the signal strength of the signal carrying the first message can be determined by measuring a received signal strength indicator (RSSI) value, analyzing a signal transmission path, or the like; in a case where the signal strength is greater than a target strength threshold, the first message is parsed to obtain the MAC address of the switch device and the operation information, and the target strength threshold can be preset.
[0094] The above scheme determines whether to parse the first message by judging whether the signal strength of the signal carrying the first message meets a target strength threshold, so that the central control device closest to the user or the switch device parses the first message, so that the user can see the control situation on the display screen of the closest central control device after operating the switch device, thereby improving the user experience. Moreover, when the number of central control devices is multiple, the central control device that parses the first message is selected by the signal strength, thereby avoiding the problem of resource waste caused by multiple central control devices parsing the same first message.
[0095] S304, the central control device determines a target object controlled based on the MAC address of the switch device and a type of an input event acting on the switch device, and the target object can be a viewing scene service.
[0096] In the embodiment of the present application, the switch device can be an integrated switch device, which can control a scene service through a key control function or a knob control function. The central control device can determine all objects (i.e., initial objects in the following embodiments) that can be controlled by the switch device based on the MAC address of the switch device, and then determine the target object from the all objects based on the type of the input event acting on the switch device.
[0097] The type of the input event acting on the switch device can be determined after analyzing the operation information. Of course, the first message can also have a field indicating the type of the input event, and the value of the field can be obtained to determine the type of the input event. In the key control scenario, the type of the input event acting on the switch device is a key input type.
[0098] In S305, the state control information indicating the control situation of the state of the scenario service can be displayed on the display screen based on the operation information.
[0099] In the embodiments of the present application, the target object controlled by the switch device is determined to be a scenario service, such as a specific viewing scenario service. The state control information can indicate the state change of the viewing scenario service, or the state of the viewing scenario service.
[0100] In a possible implementation, the state control information can be target state information, which is information indicating that the viewing scenario service is in an execution state. The information can be presented in the form of text, images, etc.
[0101] In a possible implementation, the state control information can be state change information, which is information indicating the process of changing the viewing scenario service from an unexecuted state to an executing state. The information can be presented in the form of text, animation, etc.
[0102] The above scheme provides the user with instant feedback of the switch device operation after the user operates the switch device, so that the user can perceive the control process and improve the user experience.
[0103] In S306, the first message is sent to the host device by the central control device. Correspondingly, the first message is received by the host device.
[0104] The first message is used to control the state of the viewing scenario service.
[0105] In the embodiments of the present application, S306 and S303 can be executed simultaneously; S306 can also be executed before S303; and S306 can also be executed after S303. The execution order between S306 and S303 is not limited in the embodiments of the present application.
[0106] In S307, the viewing scenario service can be executed by the host device based on the first message.
[0107] In the embodiments of the present application, the host device can generate operation instructions for the n smart devices in the subsystem corresponding to the movie watching scene service based on the first message, and send the operation instructions to the n smart devices. After receiving the operation instructions, the n smart devices can adjust their states to implement the execution of the movie watching scene service. For example, the n smart devices include at least one of a lamp and a projector, and n is an integer greater than or equal to 1.
[0108] In the embodiments of the present application, the host device can receive the state feedback sent by the n smart devices in the subsystem corresponding to the movie watching scene service, and generate control feedback information for the movie watching scene service based on the state feedback of the n smart devices, and send the control feedback information to the central control device. The control feedback information can indicate that the movie watching scene service is successfully executed or that the movie watching scene service fails.
[0109] In the embodiments of the present application, the host device can receive the state feedback sent by the n smart devices in the subsystem corresponding to the movie watching scene service, and generate control feedback information for the movie watching scene service based on the state feedback of the n smart devices, and send the control feedback information to the central control device. The control feedback information can indicate that the movie watching scene service is successfully executed or that the movie watching scene service fails.
[0110] For example, the host device executes the movie watching scene service, such as adjusting the brightness of the indoor lamp through the hub to avoid light interference with the movie watching experience, adjusting the volume and sound effects of the sound equipment through the hub to provide the best sound quality effect, and turning on the projector, etc. Wherein, the indoor lamp, the sound equipment and the projector can belong to different subsystems, that is, the host device needs to control the states of the smart devices in multiple subsystems when executing the movie watching scene service, and the subsystems are not shown in FIG. 3. Subsequently, the hub receives the state feedback of the lamp, the state feedback of the sound, and the state feedback of the projector. In the case that the state feedback of the lamp indicates that the brightness of the lamp has been reduced to the preset brightness, the state feedback of the sound indicates that the volume and the sound effects of the sound equipment have been adjusted to the preset volume and the preset sound effects, and the state feedback of the projector indicates that the projector has been turned on, it is determined that the movie watching scene service is successfully executed. The host device can generate control feedback information and send the control feedback information to the central control device, and the control feedback information indicates that the movie watching scene service is successfully executed.
[0111] In the embodiments of the present application, the central control device can update the content displayed on the display screen based on the control feedback information, and the updated content displayed on the display screen is the current state information of the movie watching scene service.
[0112] In the embodiments of the present application, the central control device can update the content displayed on the display screen based on the control feedback information, and the updated content displayed on the display screen is the current state information of the movie watching scene service.
[0113] Exemplarily, taking the example that the switching device can be a smart MINI and the lighting subsystem is specifically the lamp of the bedroom, the smart MINI can generate a first message in response to the key operation of the user. The first message is sent to the central control device, and when the signal strength of the signal carrying the first message is greater than -50dbm, the first message can be parsed to display the text indicating the execution of the scene service on the display screen of the central control device; the first message is used to execute the scene service. Wherein, after parsing the first message, the central control device can switch from the main interface shown in (a) of FIG. 4 to the display interface shown in (b) of FIG. 4, as shown in (b) of FIG. 4, the central control device can present the text indicating the execution of the scene service to the user. Subsequently, the central control device receives the control feedback information for the scene service, and when the control feedback information indicates that the scene service is executed successfully, the central control device can switch from the display interface shown in (b) of FIG. 4 to the display interface shown in (c) of FIG. 4, as shown in (c) of FIG. 4, the text indicating the successful execution of the scene service is presented to the user.
[0114] In the embodiment of the present application, when the host device executes the viewing scene service, the control feedback information is sent to the central control device to inform the execution result of the viewing scene service, so that the central control device can display the current state information indicating the execution result of the viewing scene service on the display screen based on the control feedback information. The user can understand the execution result of the viewing scene service by watching the content on the display screen. The user does not need to check the execution result of the viewing scene service from the smart life APP through multiple click operations, which simplifies the process of the user checking the execution result of the viewing scene service, improves the checking efficiency, and further improves the user experience.
[0115] In the embodiment of the present application, the state control information of the viewing scene service is displayed on the display screen of the central control device, which is not affected by the subsequent control link. After displaying the state control information of the viewing scene service, if the central control device does not display the current state information indicating the execution result of the viewing scene service within the target time length, it can be determined that the subsequent control link is abnormal. The control link is the communication link between the central control device and the host device, and the communication link between the host device and the intelligent devices in the subsystem involved in the viewing scene service. In this way, the fault detection of the communication link in the smart home system is realized, which does not need manual detection and positioning of the fault point, and the efficiency of fault detection is improved.
[0116] The embodiment of the present application provides an information processing method. After receiving a first message, the first message is not only sent to a host device, so that the host device can control the state of a viewing scene service based on the first message, but also state control information is displayed based on the first message, the state control information indicating a control condition for the state of the viewing scene service. In this way, instant on-off device operation feedback is provided for a user, so that the user can perceive the control process, and the control operation performed for the viewing scene service can be understood without waiting for the control to be completed, thereby improving user experience. Moreover, the user does not need to operate other devices to check, thereby improving checking convenience.
[0117] The following takes a rotary knob control scene as an example, and the information processing method is exemplarily explained in combination with the smart home system 200. FIG. 5 is a flowchart of the information processing method. As shown in FIG. 5, the method is not limited to the specific order in FIG. 5 and the following, and it should be understood that in other embodiments, the order of some steps in the method can be exchanged according to actual needs, or some steps in the method can be omitted or deleted. The method includes the following steps.
[0118] S401, the switch device generates a second message in response to a rotation operation of a user.
[0119] In the embodiment of the present application, the switch device can be an integrated switch device integrating a key control function and a rotary knob control function. Of course, the switch device can also be a rotary knob switch device.
[0120] S402, the switch device sends the second message to the central control device. Correspondingly, the central control device receives the second message.
[0121] S403, the central control device analyzes the second message to obtain the MAC address of the switch device and operation information in a case where the signal strength of a signal carrying the second message is greater than a signal strength threshold.
[0122] The operation information indicates a user operation behavior on the switch device.
[0123] In a feasible implementation manner, the operation information can indicate that the user performs a rotation operation on the switch device, and the operation information includes at least one of a rotation direction, a rotation angle, a rotation speed and the like.
[0124] In the embodiment of the present application, when the central control device receives the second message, the signal strength of the signal carrying the second message can be determined by measuring an RSSI value, analyzing a signal transmission path and the like; in a case where the signal strength is greater than a target strength threshold, the second message is analyzed to obtain the MAC address of the switch device and the operation information, and the target strength threshold can be preset.
[0125] The above scheme determines whether to parse the second message by judging whether the signal strength of the signal carrying the second message meets a target strength threshold, so that the central control device closest to the user or the switch device parses the second message, so that the user can see the control process on the display screen of the closest central control device after operating the switch device, which helps the user to understand the control situation and improves the user experience. Moreover, when the number of central control devices is multiple, the central control device that parses the second message is selected by the signal strength, which avoids the problem of resource waste caused by multiple central control devices parsing the second message.
[0126] In S404, the central control device determines the target object based on the MAC address of the switch device and the type of the input event acting on the switch device. The target object can be a subsystem, such as a lighting subsystem.
[0127] In the embodiments of the present application, the switch device can be used to control a subsystem and a scene service. The central control device can determine all objects (i.e., initial objects in the following embodiments) that can be controlled by the switch device based on the MAC address of the switch device, and then determine the target object from the all objects based on the type of the input event acting on the switch device.
[0128] The type of the input event acting on the switch device can be determined by analyzing the operation information. Of course, the second message can also have a field representing the type of the input event, and the value of the field can be obtained to obtain the type of the input event. In the rotary knob control scene, the type of the input event acting on the switch device is a rotary input type.
[0129] In S405, the central control device can display state control information on the display screen based on the operation information. The state control information represents the control situation of the state of the lighting subsystem.
[0130] In the embodiments of the present application, the target object controlled by the switch device is a subsystem, such as a lighting subsystem. The state control information can be state change information, which represents the state change of the lighting subsystem during the control process. Of course, the state control information can also be target state information, which represents the target state of the lighting subsystem.
[0131] In one possible implementation, the state control information can be state change information, which can be presented in the form of text, animation, etc. The state change information can be information representing the change of the brightness of the lamp in the bedroom, such as an animation representing the change of brightness.
[0132] In a possible implementation, the state control information can be target state information, which can be presented in the form of text, image, or the like. The state change information can be information indicating that the brightness of the light in the bedroom is the target brightness, such as text indicating the target brightness.
[0133] The above scheme can provide the user with instant feedback of the switch device operation after the user operates the switch device, so that the user can perceive the control process, and the user experience is improved.
[0134] In S406, the central control device sends the second message to the host device. Correspondingly, the host device receives the second message.
[0135] The second message is used to control the state of the lighting subsystem.
[0136] In the embodiment of the present application, S406 and S403 can be executed simultaneously; S406 can also be executed before S403; and S406 can also be executed after S403. The present application does not limit the execution order between S406 and S403.
[0137] In S407, the host device can control the state of the lighting subsystem based on the second message.
[0138] In the embodiment of the present application, the host device can generate an operation instruction for the intelligent device in the lighting subsystem based on the second message, and send the operation instruction to the intelligent device. After receiving the operation instruction, the intelligent device can adjust its state. In this way, the execution of the lighting subsystem can be realized. The lighting subsystem can be composed of one intelligent device, such as the light in the bedroom.
[0139] For example, based on the second message, the state of the lighting subsystem can be adjusted from 50% to 80%.
[0140] In S408, the host device sends control feedback information for the lighting subsystem to the central control device.
[0141] In the embodiment of the present application, the host device can receive the state feedback sent by the intelligent device in the lighting subsystem, generate control feedback information for the lighting subsystem based on the state feedback, and send the control feedback information to the central control device. The control feedback information can indicate the current brightness of the intelligent device in the lighting subsystem.
[0142] Exemplarily, the host device can control the state of the lighting subsystem which is composed of one smart device, such as the light of the bedroom. The host device can adjust the brightness of the light of the bedroom based on the second message through the hub, so as to adjust the brightness of the light to the brightness indicated by the second message. Subsequently, the hub receives the state feedback of the light of the bedroom, generates the control feedback information for the lighting subsystem based on the state feedback, and the host device can send the control feedback information to the hub device. The control feedback information indicates the brightness of the light of the bedroom after being controlled.
[0143] In S409, the hub device displays the current state information of the lighting subsystem based on the control feedback information.
[0144] In the embodiment of the present application, the hub device can update the content displayed on the display screen based on the control feedback information, and the updated content displayed on the display screen is the current state information of the lighting subsystem. The current state information can indicate the state of the smart device in the lighting subsystem after being controlled.
[0145] Exemplarily, taking the smart MINI (Pro) as the switch device and the light of the bedroom as the lighting subsystem, when the user rotates the smart MINI (Pro), the smart MINI (Pro) can generate the second message in response to the rotation operation of the user, and send the second message to the hub device. When the signal strength of the signal carrying the second message is greater than -50dbm, the second message can be parsed to display the animation indicating the change of the brightness of the light of the bedroom on the display screen of the hub device. Wherein, if the second message indicates that the brightness of the light of the bedroom is adjusted to 80%, and the current brightness (brightness before adjustment) of the light is 50%, the hub device can switch from the main interface shown in (a) of FIG. 6 to the display interface shown in (b) of FIG. 6, and as shown in (b) of FIG. 6, the hub device shows the user the animation indicating the process that the brightness of the light of the bedroom changes from 50% to 80%. Subsequently, the hub device receives the control feedback information for the light of the bedroom, and when the control feedback information indicates that the brightness of the light of the bedroom after being controlled is 80%, the hub device can switch from the interface shown in (b) of FIG. 6 to the interface shown in (c) of FIG. 6, and as shown in (c) of FIG. 6, the hub device shows the user the text indicating that the brightness of the light of the bedroom after being controlled is 80%.
[0146] In the embodiment of the present application, when the host device ends to control the state of the lighting subsystem, the control feedback information is sent to the central control device. The central control device can display the current state information of the lighting subsystem on the display screen of the central control device based on the control feedback information. The user can understand the latest state of the lighting subsystem (i.e. the state of the intelligent device in the lighting subsystem after being controlled) by watching the content on the display screen of the central control device. The user does not need to check the latest state of the lighting subsystem from the intelligent life APP through multiple click operations, which simplifies the process of checking the latest state of the lighting subsystem by the user, improves the checking efficiency, and further improves the user experience.
[0147] In the embodiment of the present application, the state control information of the lighting subsystem is displayed on the display screen of the central control device, which is not affected by the subsequent control link. After displaying the state control information of the lighting subsystem, if the current state information of the lighting subsystem is not displayed on the display screen of the central control device within the target time, it can be determined that the subsequent control link is abnormal. The control link is the communication link between the central control device and the host device, and the communication link between the host device and the intelligent device in the lighting subsystem. In this way, the fault detection of the communication link in the smart home system is realized, which does not need manual detection and positioning of the fault point, and improves the fault detection efficiency.
[0148] It should be noted that when the user controls the state of the subsystem (such as the lighting subsystem) through the knob control function of the switch device, if multiple rotation operations are performed on the switch device, each rotation operation corresponds to a second message; wherein the corresponding message generated by the first rotation of the switch device can be represented as the first second message, the corresponding message generated by the second rotation of the switch device can be represented as the second second message, and the corresponding message generated by the Nth rotation of the switch device can be represented as the Nth second message; wherein N is a positive integer. The central control device will execute S403-S406 for each second message.
[0149] Exemplarily, the lighting subsystem can be composed of one smart device, such as a lamp in a bedroom. Taking the number of the second messages as three as an example, the switch device sends a first second message to the central control device in response to a first rotating operation of the user, the central control device can display a first state control information based on the first second message after receiving the first second message, the first state control information is an animation representing a process of adjusting the brightness of the lamp in the bedroom from 50% to 60%; the central control device can display a second state control information based on a second second message after receiving the second second message, the second state control information is an animation representing a process of adjusting the brightness of the lamp in the bedroom from 60% to 70%. The central control device can display a third state control information based on a third second message after receiving the third second message, the third state control information is an animation representing a process of adjusting the brightness of the lamp in the bedroom from 70% to 80%.
[0150] In the process of controlling the state of the lighting subsystem, the host device does not send state feedback information to the central control device for each second message, but sends control feedback information to the central control device after controlling the lighting subsystem based on the three second messages. For example, the host device generates control feedback information indicating that the brightness of the lamp in the bedroom is 80% in the case that the host device does not receive other second messages from the switch device within a preset time length and receives state feedback from the lamp in the bedroom for each of the three second messages, and the control feedback information can be sent to the central control device; the central control device can display text or images representing that the brightness of the lamp in the bedroom is 80% on the display screen based on the control feedback information.
[0151] The information processing method provided in the embodiments of the present application not only sends the second message to the host device after receiving the second message, so that the host device can control the state of the lighting subsystem based on the second message, but also displays state control information based on the second message, the state control information representing the control of the state of the lighting subsystem. In this way, the user is provided with instant feedback of the operation of the switch device, so that the user can perceive the control process and understand the control operation performed on the lighting subsystem without waiting for the control to be completed, thereby improving the user experience. Moreover, the user does not need to operate other devices to check, thereby improving the convenience of checking.
[0152] FIG. 7 is a flowchart of an information processing method according to an embodiment of the present application. The information processing method is applied to a smart home system. The information processing method is not limited to the specific order of FIG. 7 and the following. It should be understood that in other embodiments, the order of some steps of the method can be exchanged according to actual needs, or some steps can be omitted or deleted. As shown in FIG. 7, the information processing method includes S501-S507, and each step is explained in detail as follows.
[0153] S501, the switch device generates a message in response to a user operation.
[0154] The identification information uniquely refers to the switch device. The message is used to control the state of a target object, which can be a subsystem or a scene service in the smart home system. The subsystem can be composed of at least one smart device, such as a lighting subsystem, which can be a bedroom lamp. The scene service can be a service provided by multiple subsystems in cooperation.
[0155] In a possible implementation, the switch device can be a key switch device with a key control function, such as a smart MINI. The user operation can be a key operation, the message can be the first message in the above embodiment, and the target object can be a scene service, such as a movie watching scene service.
[0156] In a possible implementation, the switch device can be a rotary switch device with a rotary control function, such as a smart MINI (Pro). The user operation can be a rotation operation, the message can be the second message in the above embodiment, and the target object can be a subsystem, such as a lighting subsystem.
[0157] In a possible implementation, the switch device can be an integrated switch device integrating a key control function and a rotary control function. If the user operation is a key operation, the message can be the first message in the above embodiment, and the target object can be a scene service, such as a movie watching scene service. If the user operation is a rotation operation, the message can be the second message in the above embodiment, and the target object can be a subsystem, such as a lighting subsystem.
[0158] The position of the switch device can be movable, i.e., the switch device is a movable switch device. Of course, the position of the switch device can also be fixed, i.e., the switch device is not movable, i.e., the switch device is a non-movable switch device.
[0159] S502, the switch device sends the message to the central control device. Correspondingly, the central control device receives the message from the switch device.
[0160] S503, the central control device displays the state control information based on the message.
[0161] In the embodiment of the present application, the central control device can analyze the message to display the state control information of the target object; wherein the state control information can be presented in at least one of the following ways: animation, text, data chart, etc. In this way, the user is provided with instant feedback on the operation of the switching device, enabling the user to perceive the control process and understand the control operation performed on the target object without waiting for the control to complete, thereby improving the user experience.
[0162] Wherein, based on the message, the state control information of the target object is displayed, including: based on the message, the state control information of the target object is displayed in the following one or more cases.
[0163] The first item: the signal strength of the signal carrying the message meets the target strength threshold.
[0164] In the embodiment of the present application, the central control device can determine the signal strength of the signal carrying the message by measuring the RSSI value, analyzing the signal transmission path, etc. In the case where the signal strength is greater than or equal to the target strength threshold, it is determined that the signal strength meets the target strength threshold, and at this time the message is analyzed to display the state control information of the target object. In the case where the signal strength is less than the target strength threshold, it is determined that the signal strength does not meet the target strength threshold, and at this time the message is not analyzed. Wherein, the target strength threshold may, for example, be -50dbm, and the target strength threshold can be flexibly set according to the application scenario, and the present application does not specifically limit the target strength threshold.
[0165] The second item: the distance between the central control device and the object with a face meets the target distance threshold.
[0166] Wherein, the object with a face can be the user operating the switching device.
[0167] In the embodiment of the present application, the distance between the user and the central control device can be determined by the signal strength of the signal carrying the message; the position information of the user can also be obtained; based on the position information of the user and the position information of the central control device, the distance between the user and the central control device is determined. In the case where the distance is less than or equal to the target distance threshold, it is determined that the distance meets the target distance threshold, and at this time the message can be analyzed to display the state control information of the target object. In the case where the distance is greater than the target distance threshold, it is determined that the distance does not meet the target distance threshold, and at this time the message is not analyzed. Wherein, the target distance threshold may, for example, be 2m, and the target distance threshold can be flexibly set according to the application scenario, and the present application does not specifically limit the target distance threshold.
[0168] The third item: the distance between the switch device and the device meets a target distance threshold.
[0169] In the embodiments of the present application, the central control device can obtain the position information of the switch device, determine the distance between the switch device and the central control device based on the position information of the switch device and the position information of the central control device, in the case that the distance is less than or equal to the target distance threshold, determine that the distance meets the target distance threshold, at this time, the message can be parsed to display the state control information of the target object. In the case that the distance is greater than the target distance threshold, it is determined that the distance does not meet the target distance threshold, at this time, the message is not parsed.
[0170] Based on the above scheme, at least one of the above three items is used to determine whether to parse the message to display the state control information of the target object. In this way, after the user operates the switch device, the user can see the display of the state control information of the target object on the display screen of the central control device closest to the user or the switch device, improving the user experience. When the number of central control devices is multiple, the message can be parsed only in the central control device closest to the user or the switch device, avoiding the problem of resource waste caused by parsing the message in multiple central control devices.
[0171] Among them, based on the message, the display of the state control information of the target object can be realized by the following way:
[0172] Parsing the message to obtain the identification information and operation information of the switch device, the operation information representing the operation behavior of the user on the switch device; based on the identification information, determining the target object; based on the operation information, displaying the state control information of the target object.
[0173] In the embodiments of the present application, the identification information of the switch device is used to uniquely represent the switch device. The identification information of the switch device may, for example, be the MAC address of the switch device or the internet protocol address of the switch device. The operation information may, for example, include the operation parameters of the operation of the switch device.
[0174] In a possible implementation, for the key control scenario, the operation information can represent that the user has performed a key operation on the switch device, and the operation information can include operation parameters such as the time of performing the key operation and the key duration.
[0175] In a possible implementation, for the knob control scenario, the operation information can represent that the user has performed a rotation operation on the switch device, and the operation information can include operation parameters such as the rotation direction, the rotation angle, and the rotation speed. Of course, the operation information can also be operation parameters such as the increment of the rotation direction and the increment of the rotation angle.
[0176] In the embodiments of the present application, the initial object corresponding to the identification information can be acquired, and the initial object is taken as the target object, or the initial object can be filtered to obtain the target object. The number of the initial objects can be one or more. The target object can be determined based on the identification information in the following manner:
[0177] In a possible implementation, the initial object corresponding to the identification information can be acquired, and the initial object is taken as the target object when the number of the initial objects is one.
[0178] In a possible implementation, the initial object corresponding to the identification information can be acquired based on the identification information, and the initial object corresponding to the type of the input event acting on the switch device is determined from the multiple initial objects based on the type of the input event acting on the switch device when the number of the initial objects is more than one, and the initial object is taken as the target object.
[0179] The type of the input event acting on the switch device can be determined after analyzing the operation information. Of course, the message can also have a field indicating the type of the input event, and the value of the field can be acquired to obtain the type of the input event. In the key control scenario, the type of the input event acting on the switch device is a key input type. In the rotary knob control scenario, the type of the input event acting on the switch device is a rotary input type.
[0180] In the embodiments of the present application, the operation information-based display of the state control information can be specifically that target state information corresponding to the operation information is acquired, and the state control information is displayed based on the target state information. The target state information indicates a state (i.e., a target state) that the target object is expected to reach by operating the switch device. The state control information includes state change information or target state information, the state change information is used to indicate a state change of the target object in the control process, and the target state information is used to indicate a target state of the target object. The operation information-based display of the state control information can also be implemented in the following manner:
[0181] In a possible implementation, the target display manner is determined based on the type of the target object, and the state control information is displayed in the target display manner.
[0182] The type of the target object is different, and the corresponding target display manner is different.
[0183] In the embodiments of the present application, the correspondence between the type of the object and the display manner can be acquired in advance, and the display manner corresponding to the type of the target object can be determined based on the type of the target object and the correspondence, and the display manner is taken as the target display manner.
[0184] The target display manner can be determined based on the type of the target object in the following manner.
[0185] In a possible implementation, when the type of the target object is the first type, it is determined that the target display manner is a dynamic display manner, and the state change information is displayed in the dynamic display manner based on the operation information. When the type of the target object is the first type, the target object can be a subsystem, for example, a lighting subsystem.
[0186] For example, the dynamic display manner can be an animation display manner.
[0187] In a possible implementation, when the type of the target object is the second type, it is determined that the target display manner is a static display manner, and the target state information is displayed in the static display manner based on the operation information. When the type of the target object is the second type, the target object can be a scene service, for example, a movie watching scene service.
[0188] For example, the static display manner can be a text display manner.
[0189] In the embodiment of the present application, S503 and S504 can be executed simultaneously; S503 can also be executed before S504; of course, S503 can also be executed after S504. The embodiment of the present application does not limit the execution order between S503 and S504.
[0190] For example, S504 can be executed before S503. In this way, when the host device controls the state of the target object based on the packet, the display screen of the control device can display the state control information of the target object, for example, display text indicating the execution of the movie watching scene service, or display an animation indicating that the brightness of the lamp in the bedroom is adjusted from 50% to 80%.
[0191] S504, the packet is sent to the host device. Correspondingly, the host device receives the packet.
[0192] S505, the host device controls the state of the target object based on the packet.
[0193] In the embodiment of the present application, when the target object is a subsystem, the host device can issue operation instructions to one or more intelligent devices in the subsystem based on the packet, and the one or more intelligent devices can adjust their own states in response to the operation instructions to control the state of the subsystem.
[0194] Exemplarily, the host device analyzes the states of the intelligent devices in the current subsystem, and generates operation instructions corresponding to each intelligent device according to the message. The operation instructions usually involve switching, adjusting parameters (such as brightness, volume, temperature, etc.) and the like of the intelligent devices. The host device sends the operation instructions to the intelligent devices through a specific communication protocol (such as message queuing telemetry transport (MQTT), hypertext transfer protocol (HTTP), constrained application protocol (CoAP) and the like), and the intelligent devices execute corresponding operations based on the operation instructions after receiving the operation instructions, to adjust their own states.
[0195] In the embodiments of the present application, when the target object is a scene service, the host device first analyzes the scene requirements, determines the intelligent devices in the involved subsystems and their cooperative relationship. Then, the host device generates operation instructions corresponding to each intelligent device, and sends the operation instructions to the intelligent devices through a specific communication protocol (such as MQTT, HTTP, CoAP). The intelligent devices execute corresponding operations based on the operation instructions after receiving the operation instructions, to realize the control of the state of the scene service.
[0196] Exemplarily, a scene service usually involves the cooperative work of multiple subsystems to realize a specific scene effect. For example, a viewing scene service may include adjusting the brightness and color of the lights in the lighting subsystem, controlling the sound of the sound system to play the original sound of the movie and the like. In this case, the host device generates operation instructions corresponding to each intelligent device involved according to the user's selection or the preset scene setting, to execute the viewing scene service.
[0197] S506, sending control feedback information of the state of the target object to the central control device. Correspondingly, the central control device receives the control feedback information.
[0198] In the embodiments of the present application, when the host device controls the state of the target object (such as a subsystem or a scene service) based on the message, the state feedback from the intelligent devices involved in the target object is received after the control ends, and the control feedback information of the state of the target object is generated based on the state feedback, and the control feedback information is sent to the central control device, which indicates the state reached by the target object after the control ends.
[0199] S507, the central control device displays the current state information of the target object based on the control feedback information.
[0200] In the embodiments of the present application, the central control device updates the content displayed on the display screen of the central control device based on the control feedback result to display the current state information of the target object, which can be presented in the form of images, texts, etc. In this way, the user can understand the control result for the target object through the current state information displayed on the central control device. In this way, the user can understand the entire control activity for the target object through the state control information and the current state information displayed on the display screen of the central control device, and the control experience of the user is improved.
[0201] It should be understood that the message, the first message, the second message referred to herein are merely an implementation manner, which can be replaced by a request, a first request, a second request, or an instruction, a first instruction, a second instruction, and does not constitute a limitation on the present application.
[0202] It should be noted that the descriptions of the same steps and the same contents in the embodiments of the present application and other embodiments can refer to the descriptions in other embodiments, which will not be repeated here.
[0203] The embodiments of the present application provide an information processing method. After receiving the message, the message is not only sent to the host device, so that the host device can control the state of the target object based on the message, but also the state control information is displayed based on the message, and the state control information indicates the control situation of the state of the target object. In this way, the user is provided with instant switch device operation feedback, and the user can see the control situation during the control process, and can understand the control operation performed on the target object without waiting for the control to be completed, thereby improving the user experience. Moreover, the user does not need to operate other devices to view, and the convenience of viewing is improved.
[0204] FIG. 8 is a flow diagram of an information processing method provided by an embodiment of the present application, which is applied to a smart home system. The information processing method is not limited to the specific order of FIG. 8 and the following, and it should be understood that in other embodiments, the order of some steps of the method can be exchanged according to actual needs, or some steps can be omitted or deleted. As shown in FIG. 8, the information processing method includes S601-S609, and the following detailed explanation and description of each step.
[0205] S601, the switch device generates a message in response to the operation of the user.
[0206] S602, the switch device sends the message to the central control device. Correspondingly, the central control device receives the message from the switch device.
[0207] S603, based on the message, sending a control instruction (which can be represented by the first control instruction) to the user equipment, the first control instruction being used to control the user equipment to display state control information, the state control information representing a control situation of a state of the target object. Correspondingly, the user equipment receives the first control instruction.
[0208] In a possible implementation, based on the message, the first control instruction is sent to the user equipment, including: based on the message, the first control instruction is sent to the user equipment in the case that one or more of the following conditions are met:
[0209] The first condition: the signal strength of the signal used to carry the message meets a target strength threshold.
[0210] The second condition: the distance between the switch device and the central control device meets a target distance threshold.
[0211] The third condition: the distance between the central control device and the object with the face meets a target distance threshold.
[0212] In a possible implementation, based on the message, the first control instruction is sent to the user equipment, including: the message is parsed to obtain the identification information of the switch device and the operation information, the operation information representing the operation behavior of the user on the switch device; based on the identification information, the target object is determined; based on the operation information, the first control instruction is sent to the user equipment.
[0213] The first control instruction can be sent to the user equipment based on the operation information in the following ways:
[0214] The state control information is generated based on the operation information; the first control instruction is sent to the user equipment, and the state control information is carried in the first control instruction.
[0215] In a possible implementation, based on the identification information, the target object is determined, including: one or more initial objects corresponding to the identification information are obtained; the type of the input event acting on the switch device is obtained; based on the type of the input event, the target object is determined from the one or more initial objects.
[0216] In a possible implementation, based on the operation information, the first control instruction is sent to the user equipment, including: based on the type of the target object, a target display mode is determined; based on the operation information, the state control information is generated, and the first control instruction is sent to the user equipment; the target display mode and the state control information are carried in the first control instruction, and the first control instruction is used to control the user equipment to display the state control information in the target display mode.
[0217] In a possible implementation, based on the type of the target object, the target display mode is determined in the following ways:
[0218] In a case where the type of the target object is the first type, it is determined that the target display mode is a dynamic display mode; in a case where the type of the target object is the second type, it is determined that the target display mode is a static display mode.
[0219] In a possible implementation, in a case where the type of the target object is the first type, the state change information is displayed in the dynamic display mode based on the operation information, and the state control information includes the state change information.
[0220] In a possible implementation, in a case where the type of the target object is the second type, the target state information is displayed in the static display mode based on the operation information, and the state control information includes the target state information.
[0221] In the embodiments of the present application, S603 and S605 can be executed simultaneously; S603 can also be executed before S605; S603 can also be executed after S605. The embodiments of the present application do not limit the execution order between S603 and S605.
[0222] S604, the user equipment displays the state control information based on the first control instruction.
[0223] S605, the central control equipment sends a message to the host equipment.
[0224] S606, the host equipment controls the state of the target object based on the message.
[0225] S607, the host equipment sends control feedback information for the state of the target object to the central control equipment. Correspondingly, the central control equipment receives the control feedback information.
[0226] S608, the central control equipment sends a second control instruction to the user equipment based on the control feedback information, and the second control instruction is used to control the user equipment to display the current state information of the target object. Correspondingly, the user equipment receives the second control instruction.
[0227] S609, the user equipment displays the current state information of the target object based on the second control instruction.
[0228] It should be understood that the control instruction, the first control instruction, and the second control instruction involved herein are only one implementation, and can also be replaced by a message, a first message, and a second message, or can also be replaced by a request, a first request, and a second request, and do not constitute a limitation on the present application.
[0229] It should be noted that the descriptions of the same steps and contents in the embodiments of the present application and other embodiments can refer to the descriptions in other embodiments, and will not be described here.
[0230] The embodiment of the present application provides an information processing method, which can send a first control instruction to a user equipment based on a message, so that the user equipment can display state control information, and the user can be actively shown control conditions of a target object without operating the user equipment, thereby improving the convenience of viewing. Moreover, instant on-off equipment operation feedback is provided for the user in the control process, so that the user can perceive the control process, and can know the control operation performed on the target object without waiting for the control to be completed, thereby improving the user experience.
[0231] Based on the same inventive concept, the embodiment of the present application further provides a device. The device comprises a memory and a processor, the memory is used to store a program, and the processor is used to execute the method of the above method embodiments when the program is called.
[0232] The device provided by the embodiment can execute the above method embodiments, and the implementation principles and technical effects are similar, which will not be described here.
[0233] Based on the same inventive concept, the embodiment of the present application further provides a chip system. The chip system comprises a processor, the processor is coupled with a memory, and the processor executes a program stored in the memory to realize the method of the above method embodiments.
[0234] The chip system can be a single chip or a chip module composed of multiple chips.
[0235] The embodiment of the present application further provides a readable storage medium, which stores a program, and the program is executed by a processor to realize the method of the above method embodiments.
[0236] The embodiment of the present application further provides a program product, which makes the device execute the method of the above method embodiments when the program product runs on the device.
[0237] The integrated units described above can be stored in a readable storage medium if they are realized in the form of software function units and sold or used as independent products. Based on such understanding, the present application can realize all or part of the processes in the above embodiment methods by programs to instruct related hardware, and the programs can be stored in a readable storage medium. The programs can realize the steps of the above method embodiments when executed by a processor. The programs include program codes, which can be in the form of source codes, object codes, executable files or some intermediate forms. The readable storage medium at least includes any entity or device capable of carrying the program codes to the device, recording medium, memory, read-only memory, random access memory, electrical carrier signal, telecommunication signal and software distribution medium, such as U disk, mobile hard disk, magnetic disk or optical disk.
[0238] In the above embodiments, the description of each embodiment has its own focus, and the parts not described or recorded in a certain embodiment can be referred to the relevant description of other embodiments.
[0239] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division. In actual implementation, another division mode can be adopted. For example, a plurality of modules or units can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed elements can be through some interfaces, indirect coupling or communication connection between elements, and can be electrical, mechanical or in other forms.
[0240] It should be understood that when used in the specification and the appended claims of the present application, the term "comprising" indicates the presence of described features, integers, steps, operations, elements, and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or sets thereof.
[0241] As used in the specification and the appended claims of the present application, the term "if" can be interpreted as "when" or "upon" or "in response to a determination" or "in response to detecting" depending on the context. Similarly, the phrase "if determined" or "if detected [the described condition or event]" can be interpreted to mean "upon determining" or "in response to determining" or "upon detecting [the described condition or event]" or "in response to detecting [the described condition or event]" depending on the context.
[0242] It should also be understood that the term "and / or" used in the specification and the appended claims of the present application refers to any combination of one or more of the associated listed items and all possible combinations, and includes these combinations.
[0243] In addition, in the description of the specification and the appended claims of the present application, the terms "first", "second", etc. are only used for differentiation of description, and cannot be understood as indicating or implying relative importance.
[0244] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0245] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. An information processing method, characterized in that, Applied to central control equipment, the method includes: Receive a message from a switching device, the message being used to control the state of a target object; Based on the message, status control information is displayed, which indicates the control status of the target object. Send the message to the host device.
2. The method according to claim 1, characterized in that, The step of displaying status control information based on the message includes: displaying the status control information based on the message when one or more of the following conditions are met: The signal strength of the signal used to carry the message meets the target strength threshold. The distance between the switching device and the central control device meets the target distance threshold.
3. The method according to claim 1 or 2, characterized in that, The step of displaying the status control information based on the message includes: The message is parsed to obtain the identification information and operation information of the switching device, wherein the operation information represents the user's operation behavior on the switching device; The target object is determined based on the identification information; Based on the operation information, the status control information is displayed.
4. The method according to claim 3, characterized in that, Determining the target object based on the identification information includes: Obtain one or more initial objects corresponding to the identification information; Obtain the type of input event acting on the switching device; The target object is determined from the one or more initial objects based on the type of the input event.
5. The method according to claim 3, characterized in that, The step of displaying the status control information based on the operation information includes: The target display method is determined based on the type of the target object; Based on the operation information, the status control information is displayed in the target display mode.
6. The method according to claim 5, characterized in that, Determining the target display method based on the type of the target object includes: If the type of the target object is the first type, the target display method is determined to be a dynamic display method; Accordingly, displaying the status control information in the target display mode based on the operation information includes: Based on the operation information, the state change information is displayed in the dynamic display mode, and the state control information includes the state change information; or... If the type of the target object is the second type, the target display method is determined to be a static display method; Accordingly, displaying the status control information in the target display mode based on the operation information includes: Based on the operation information, the target status information is displayed in the static display mode, and the status control information includes the target status information.
7. The method according to any one of claims 1 to 6, characterized in that, After sending the message to the host device, the method further includes: Receive control feedback information from the host device regarding the state of the target object; Based on the control feedback information, the current status information of the target object is displayed.
8. An information processing method, characterized in that, Applied to central control equipment, the method includes: Receive a message from a switching device, the message being used to control the state of a target object; Based on the message, a control command is sent to the user equipment. The control command is used to control the user equipment to display status control information, which indicates the control status of the target object. Send the message to the host device.
9. A device, characterized in that, The device includes a processor for executing at least one program instruction or code stored in a memory to implement the information processing method of any one of claims 1 to 7, or 8.
10. A readable storage medium, characterized in that, The readable storage medium stores a program that, when run on the device, causes the device to perform the information processing method according to any one of claims 1 to 7, or 8.
Citation Information
Patent Citations
Intelligent appliance system and intelligent appliance control method
CN104360607A
LED lamp control method, LED lamp and control system
CN106658854A
An intelligent knob control system and an implementation method
CN109471607A
Smart home system
CN109901412A
Panel switch, smart home system and control method thereof
CN113359489A