Equipment state updating method and device and computer equipment

By combining the advantages of cloud services and clients, and utilizing device status data version comparison and timestamp information, the data latency and reliability issues in traditional device status monitoring methods are solved, enabling efficient monitoring and management of device status and improving system performance and user experience.

CN122069183APending Publication Date: 2026-05-19OPPLE LIGHTING CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
OPPLE LIGHTING CO LTD
Filing Date
2024-11-18
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

Traditional device status monitoring methods rely on the client side, which suffers from data transmission delays, slow processing speeds, and low reliability. They cannot meet users' expectations for real-time and accurate device status display when there are network or performance issues, leading to user confusion and dissatisfaction.

Method used

By combining the advantages of cloud services and clients, and by sending status update commands, receiving responses from target devices and cloud data, we ensure efficient monitoring and management of device status. We use device status data version comparison and timestamp information to update data and use cloud data to compensate for user expectations.

Benefits of technology

It effectively displays device status when network conditions are poor, improves system performance and user experience, and ensures real-time monitoring and management of device status.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122069183A_ABST
    Figure CN122069183A_ABST
Patent Text Reader

Abstract

The invention provides an equipment state updating method and device and computer equipment, and the method comprises the steps: transmitting a state updating instruction to target equipment, and displaying a user expectation value of the target equipment; receiving a change response instruction sent by the target equipment, and displaying an equipment actual value of the target equipment; receiving equipment state data sent by the cloud; and when the version of the equipment state data is greater than the version of the equipment actual value, finishing updating according to the equipment state data to obtain an updated equipment actual value, and displaying the updated equipment actual value. According to the method, the device state is displayed in cooperation with the advantages of the cloud service and the client, the device state can be effectively displayed when the network condition is poor, efficient monitoring and management of the device state are ensured, and the overall performance of the system and the user experience are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of Internet of Things (IoT) technology, and in particular to a device status update method, apparatus, and computer device. Background Technology

[0002] Traditional device status monitoring methods typically rely on the client side, which suffers from data transmission latency, slow processing speed, and low reliability. Users often have high expectations for the display on terminal pages, hoping that device status can be presented in real time and accurately. However, when network or performance issues occur, traditional methods often fail to meet these expectations, leading to user confusion and dissatisfaction.

[0003] Especially in critical application scenarios such as industrial automation, smart agriculture, intelligent transportation, and smart homes, real-time monitoring and rapid response of equipment status are crucial. Summary of the Invention

[0004] This application proposes a device status update method, apparatus, and computer device, which can effectively display device status when network conditions are poor, ensuring efficient monitoring and management of device status, and significantly improving the overall system performance and user experience.

[0005] On one hand, embodiments of this application provide a device status update method, including:

[0006] Send a status update command to the target device and display its user expectations;

[0007] Receive the change response command sent by the target device and display the actual device value of the target device;

[0008] Receive device status data sent from the cloud;

[0009] When the version of the device status data is greater than the version of the actual device value, the updated actual device value is obtained based on the device status data and then displayed.

[0010] In one possible implementation, the target device is configured to trigger itself to update its device state according to the state update instruction when it receives the state update instruction.

[0011] In one possible implementation, the target device is further configured to store its device status data after completing its device status update, and to compress the device status data and send it to the cloud when it is in an idle state.

[0012] In one possible implementation, while receiving the change response instruction sent by the target device and displaying the actual device value of the target device, the method further includes:

[0013] Update its terminal status to the device-reported status.

[0014] In one possible implementation, the cloud is configured to filter the currently received device status data based on historical device status data, and to complete data filling and update the stored data.

[0015] In one possible implementation, the cloud is configured to compare the version of the currently received device status data with the version of the stored device status data, so as to complete the data update operation when it is determined that the former version is greater than the latter version.

[0016] One possible implementation also includes:

[0017] When it is determined that the target device has a network communication abnormality, a status determination request is sent to the cloud.

[0018] The device status data stored in the cloud is received to obtain the current device status of the target device as the actual device value, which is then used to replace the user's expected value for display.

[0019] In one possible implementation, receiving device status data sent from the cloud then includes:

[0020] Obtain the timestamp information from the device status data;

[0021] The version of the device status data is determined based on the timestamp information;

[0022] The version of the device status data is compared with the version corresponding to the currently displayed actual device value. If it is determined that the former version is greater than the latter version, the device status data is updated.

[0023] On one hand, embodiments of this application provide a device status update apparatus, including:

[0024] Control command sending unit: used to send status update commands to the target device and display its user expectations;

[0025] Device reporting and receiving unit: used to receive the change response command sent by the target device and display the actual device value of the target device;

[0026] Cloud push receiving unit: used to receive device status data sent from the cloud;

[0027] When the version of the device status data is greater than the version of the actual device value, the updated actual device value is obtained based on the device status data and then displayed.

[0028] On one hand, embodiments of this application provide a computer device, including: a storage device and a processor;

[0029] A memory, wherein one or more computer programs are stored;

[0030] A processor is used to load one or more computer programs to implement the above-described device state update method.

[0031] In this embodiment, a status update command is first sent to the target device, displaying the user's expected value; then, a change response command sent by the target device is received, displaying the actual device value; and device status data sent from the cloud is received. Finally, when the version of the device status data is greater than the version of the actual device value, the updated actual device value is obtained based on the device status data and displayed. Thus, this application sets an expected value to replace the actual status value on the current terminal display page before device status reporting. When an anomaly is detected in the communication between the terminal and the device, status data is obtained from the cloud as compensation to replace the expected value. This achieves a collaborative display of device status by combining cloud services and terminal advantages, ensuring efficient monitoring and management of device status, and significantly improving the overall system performance and user experience. Attached Figure Description

[0032] To more clearly illustrate the technical solutions and advantages in the embodiments or prior art of this specification, the drawings used in the description of the embodiments or prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this specification. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0033] Figure 1 A schematic flowchart illustrating a device status update method provided in an embodiment of this specification;

[0034] Figure 2 An interactive schematic diagram illustrating a device status update method provided in an embodiment of this specification;

[0035] Figure 3 This is a schematic diagram of a device status update apparatus provided in an embodiment of this specification. Detailed Implementation

[0036] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0037] like Figure 1 and Figure 2 As shown, this application provides a device status update method, including:

[0038] S100: Send a status update command to the target device and display its user expectations;

[0039] S200: Receive the change response instruction sent by the target device and display the actual device value of the target device;

[0040] It should be noted that the device status update method of this application is applied in IoT fields such as industrial automation, smart agriculture, smart transportation and smart home. Based on the control commands sent by the client: Web / App terminal, the device status is adjusted, and real-time monitoring and management of multiple devices are performed on the client.

[0041] Traditional device status monitoring methods typically rely on the client side, which suffers from problems such as data transmission latency, slow processing speed, and low reliability. When network or performance issues occur, traditional methods often fail to meet these expectations, leading to user confusion and dissatisfaction.

[0042] Therefore, in order to solve the above-mentioned technical problems, this application proposes a device status update method that combines the advantages of cloud services and clients to collaboratively display device status. This method can effectively display device status even when network conditions are poor, ensuring efficient monitoring and management of device status, and significantly improving the overall performance and user experience of the system.

[0043] In one implementation, the target device is configured to trigger itself to update its device state according to the state update instruction when it receives the state update instruction.

[0044] Specifically, the Web / App terminal sends a control command, such as a color temperature change control command for the lamp, to trigger an update of the color temperature status of its device.

[0045] For example, change the color temperature from 2000K to 4000K.

[0046] While issuing control commands, the Web / App terminal marks the device's color temperature status as the user's desired value, and the page displays a color temperature of 4000K.

[0047] Specifically, after receiving its color temperature change control command, the device triggers a change in its own color temperature state. It then proactively reports its current device status value to the app / web terminal via communication protocols such as TCP or UDP.

[0048] In one implementation, while receiving the change response instruction sent by the target device and displaying the actual device value of the target device, the method further includes:

[0049] Update its terminal status to the device-reported status.

[0050] Specifically, when the Web / App terminal receives a color temperature change response from the device, it changes the original user expectation value to the actual value of the device, thus displaying the actual color temperature status of the device.

[0051] It then marks this value as the actual value of the device internally and updates its terminal status to the device-reported status.

[0052] When the number of channels through which multiple devices send change responses exceeds the maximum capacity that the Web / App terminal can process simultaneously, the Web / App terminal enters a queue waiting state to complete the update and display of device status values ​​for different devices in sequence.

[0053] In one implementation, the target device is further configured to store its device status data after completing its device status update, and to compress the device status data and send it to the cloud when it is in an idle state.

[0054] On the other hand, after receiving its color temperature change control command, the device triggers a change in its own color temperature state. Simultaneously, it actively reports its current device status value to the app / web terminal via communication protocols such as TCP or UDP, and places the current device status value into its internal status queue. When the device is idle, the data is compressed and sent to the cloud in batches.

[0055] In one implementation, the cloud is configured to filter the currently received device status data based on historical device status data, and to complete data population and update the stored data.

[0056] The cloud configuration compares the version of the currently received device status data with the version of the stored device status data, and completes the data update operation when it is determined that the former version is greater than the latter version.

[0057] Specifically, after receiving batch status reports from devices, the cloud caches them. Then, it filters the color temperature data, populates the color temperature status data, and compares it with historically reported color temperature status data. If no anomalies are found, the cloud updates the color temperature status values.

[0058] In one embodiment, the device status update of this application further includes:

[0059] When it is determined that the target device has a network communication abnormality, a status determination request is sent to the cloud.

[0060] The device status data stored in the cloud is received to obtain the current device status of the target device as the actual device value, which is then used to replace the user's expected value for display.

[0061] Specifically, when a device experiences network issues or abnormal communication with the Web / App terminal, the color temperature status data in the cloud can be used as compensation.

[0062] If the user's expected value does not change into the actual value after waiting for a preset time, the Web / App terminal can actively obtain the device's color temperature status from the cloud.

[0063] In some other implementations, the cloud can also push the color temperature status to the Web / App terminal via WebSocket communication when business is not busy, i.e., when service pressure is normal and resource consumption is low.

[0064] S300: Receives device status data sent from the cloud;

[0065] In one implementation, step S300 receives device status data sent from the cloud, and then includes:

[0066] Obtain the timestamp information from the device status data;

[0067] The version of the device status data is determined based on the timestamp information;

[0068] The version of the device status data is compared with the version corresponding to the currently displayed actual device value. If it is determined that the former version is greater than the latter version, the device status data is updated.

[0069] S400: When the version of the device status data is greater than the version of the actual device value, the updated actual device value is obtained by updating the device status data and then displayed.

[0070] Due to network latency, a reporting timestamp (such as version number) is added when pushing color temperature status updates.

[0071] In this application, when processing status color temperature data in the cloud (for receiving device push data) and the Web / App terminal (for receiving device and cloud push data), only status data with a version number greater than the current version number is processed, thus avoiding frequent or incorrect changes in device status.

[0072] Even if the device experiences network issues or communication failures with the cloud, the web / app terminal can still update the user's expected color temperature display based on the color temperature status reported by the device. Once the device pushes color temperature data to the cloud later, the final color temperature status will remain consistent.

[0073] See Figure 3 , Figure 3 This is a schematic diagram of a device status update apparatus provided in an embodiment of this application. Specifically, the device status update apparatus 600 may include:

[0074] Control command sending unit 301: used to send status update commands to the target device and display its user expectation value;

[0075] Device reporting and receiving unit 302: used to receive the change response instruction sent by the target device and display the actual device value of the target device;

[0076] Cloud push receiving unit 303: Used to receive device status data sent from the cloud;

[0077] When the version of the device status data is greater than the version of the actual device value, the updated actual device value is obtained based on the device status data and then displayed.

[0078] An embodiment of this application provides a computer device, including: a storage device and a processor;

[0079] A memory, wherein one or more computer programs are stored;

[0080] A processor is used to load one or more computer programs to implement the device state update method in this application.

[0081] Furthermore, it should be noted that this application embodiment also provides a computer storage medium, which stores a computer program, and the computer program includes program instructions. When the processor executes the above program instructions, it can execute the methods in the corresponding embodiments described above. Therefore, it will not be described again here.

[0082] For technical details not disclosed in the embodiments of the computer storage medium involved in this application, please refer to the description of the method embodiments of this application. As an example, program instructions may be deployed on a computer device, or executed on multiple computer devices located in one location, or executed on multiple computer devices distributed in multiple locations and interconnected through a communication network.

[0083] According to one aspect of this application, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, enabling the computer device to perform the methods described in the preceding embodiments; therefore, further details will not be provided here.

[0084] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0085] In the above embodiments, implementation can be achieved, in whole or in part, through software, hardware, firmware, or any combination thereof. When implemented in software, it can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in or transmitted through a computer-readable storage medium. The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data processing device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid-state disk (SSD)).

[0086] The above-disclosed embodiments are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall still fall within the scope of this application.

Claims

1. A method for updating device status, characterized in that, include: Send a status update command to the target device and display its user expectations; Receive the change response command sent by the target device and display the actual device value of the target device; Receive device status data sent from the cloud; When the version of the device status data is greater than the version of the actual device value, the updated actual device value is obtained based on the device status data and then displayed.

2. The device status update method according to claim 1, characterized in that, The target device is configured to trigger an update of its device status based on the status update instruction when it receives the status update instruction.

3. The device status update method according to claim 2, characterized in that, The target device is also configured to store its device status data after completing its device status update, and to compress the device status data and send it to the cloud when it is in an idle state.

4. The device status update method according to claim 1, characterized in that, In addition to receiving the change response instruction sent by the target device and displaying the actual device value of the target device, the method also includes: Update its terminal status to the device-reported status.

5. The device status update method according to claim 1, characterized in that, The cloud configuration is to filter the currently received device status data based on historical device status data, and to complete data filling and update the stored data.

6. The device status update method according to claim 5, characterized in that, The cloud configuration compares the version of the currently received device status data with the version of the stored device status data, and completes the data update operation when it is determined that the former version is greater than the latter version.

7. The device status update method according to claim 1, characterized in that, Also includes: When it is determined that the target device has a network communication abnormality, a status determination request is sent to the cloud. The device status data stored in the cloud is received to obtain the current device status of the target device as the actual device value, which is then used to replace the user's expected value for display.

8. The device status update method according to claim 1, characterized in that, The process of receiving device status data sent from the cloud includes: Obtain the timestamp information from the device status data; The version of the device status data is determined based on the timestamp information; The version of the device status data is compared with the version corresponding to the currently displayed actual device value. If it is determined that the former version is greater than the latter version, the device status data is updated.

9. A device for updating equipment status, characterized in that, include: Control command sending unit: used to send status update commands to the target device and display its user expectations; Device reporting and receiving unit: used to receive the change response command sent by the target device and display the actual device value of the target device; Cloud push receiving unit: used to receive device status data sent from the cloud; When the version of the device status data is greater than the version of the actual device value, the updated actual device value is obtained based on the device status data and then displayed.

10. A computer device, characterized in that, include: Storage devices and processors; A memory, wherein one or more computer programs are stored; A processor for loading one or more computer programs to implement the device state update method as described in any one of claims 1-8.